-
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
Error "internal symbol `pthreadpool_deallocate' isn't defined" #50
Comments
I observe the same error on a raspberry pi 3A PLUS Rev 1.0 with Raspian stretch. I get the error during the ninja build of NNPACK-darknet. Therefore I creaeted a ticket at that repo: |
I am working with an RPI4. I have followed all the steps and installed the dependencies but when I execute the step $NINJA_PATH/ninja in "Install NNPACK-darknet" it gives me the same error as @rahmanzf. Any solution? |
I am having the same error with RPI4 (4 Gb RAM), Any tip? thanks! |
As said here https://summerbright.xyz/Maratyszcza/NNPACK/issues/187#issuecomment-618771831, the rules that use |
I have merged digitalbrain79/NNPACK-darknet with Maratyszcza/NNPACK, here. It can be built using cmake without any errors. |
Hi when i want to make or install it on RPi2 i get this error
I have installed all requirement successfully but cant make it.
I am trying on Raspbian Buster
thanks in advance.
FAILED: /home/pi/ninja/NNPACK-darknet/bin/transform-benchmark
g++ -pthread -o /home/pi/ninja/NNPACK-darknet/bin/transform-benchmark /home/pi/ninja/NNPACK-darknet/build/bench/transform.c.o /home/pi/ninja/NNPACK-darknet/build/bench/median.c.o /home/pi/ninja/NNPACK-darknet/build/bench/memread.c.o -lrt /home/pi/ninja/NNPACK-darknet/lib/libnnpack.a /home/pi/ninja/NNPACK-darknet/lib/libpthreadpool.a
/usr/bin/ld: /home/pi/ninja/NNPACK-darknet/lib/libpthreadpool.a(pthreads.c.o): in function
pthreadpool_create': /home/pi/ninja/NNPACK-darknet/deps/pthreadpool/src/pthreads.c:260: undefined reference to
pthreadpool_allocate'/usr/bin/ld: /home/pi/ninja/NNPACK-darknet/lib/libpthreadpool.a(pthreads.c.o): in function
pthreadpool_destroy': /home/pi/ninja/NNPACK-darknet/deps/pthreadpool/src/pthreads.c:461: undefined reference to
pthreadpool_deallocate'/usr/bin/ld: /home/pi/ninja/NNPACK-darknet/deps/pthreadpool/src/pthreads.c:461: undefined reference to
pthreadpool_deallocate' /usr/bin/ld: /home/pi/ninja/NNPACK-darknet/bin/transform-benchmark: internal symbol
pthreadpool_deallocate' isn't defined/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
[67/147] CXX deps/googletest/googletest/src/gtest-all.cc
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered: