-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'main': symbol multiply defined error building CHaiDNN using SDx IDE #9
Comments
I've found that you cannot build all of the applications in SDx at the same time. If you want to build the SSD example, then you should exclude the other applications from the build. For example, in the Project Explorer-->src-->software-->example right-click on alexnet.cpp and in the menu, select Resource Configurations-->Exclude from Build... Check the "Debug" and "Release" boxes. The alexnet_ex.cpp will be greyed out in the Project Explorer window. Do this for all the example applications (except the one you want to compile). Note that this will create a elf file with the same name as your project. |
Please exclude other example files from the project; Use one example file while building. |
Following the BUILD_USING_SDX_GUI instructions and working around issue #3 by making
clock_start
and related variablesstatic
, I am getting a final link error withmain()
being multiply defined:ERROR: [SdsCompiler 83-5019] Exiting sds++ : Error when calling '/opt/Xilinx/SDx/2017.4/bin/llvm-link -o /workspace/CHaiDNN/Debug/_sds/.llvm/sds_all.o /workspace/CHaiDNN/Debug/_sds/.llvm/./src/software/xtract/caffe.pb.s ...
The text was updated successfully, but these errors were encountered: