-
Notifications
You must be signed in to change notification settings - Fork 76
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
-fpic flag - error adding symbols - libnpack.a #31
Comments
Got same error as you, did't know how to fix. |
I think this bug may relates with clang version,here is mine:
i don't know which version did the author used.I tried to downgrade my clang version,but there is only one
|
I have the same version as you |
@digitalbrain79 What version of clang did you used when compiling this project?We want to try to compile it with your version. |
clang version 3.8.1-24+rpi1 (tags/RELEASE_381/final) |
for each of the installs - ninja, NNPACk-darknet -> are on the same folder level as darknet-nnpack Or should darknet-nnpack be inside NNPACK-darknet inside ninja ?? |
No it's not nessary ,i did success once when |
I have this error, any suggestions?
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/6/../../../libnnpack.a(softmax.c.o): relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../libnnpack.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:96: recipe for target 'libdarknet.so' failed
The text was updated successfully, but these errors were encountered: