Skip to content
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

Open
rahmanzf opened this issue Apr 22, 2020 · 5 comments
Open

Error "internal symbol `pthreadpool_deallocate' isn't defined" #50

rahmanzf opened this issue Apr 22, 2020 · 5 comments

Comments

@rahmanzf
Copy link

rahmanzf commented Apr 22, 2020

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.

@KautzJ
Copy link

KautzJ commented Apr 22, 2020

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:

digitalbrain79/NNPACK-darknet#2

@PACarrascoGomez
Copy link

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?
Thanks in advance.

@DanielTizon
Copy link

I am having the same error with RPI4 (4 Gb RAM),

Any tip? thanks!

@angmorpri
Copy link

As said here https://summerbright.xyz/Maratyszcza/NNPACK/issues/187#issuecomment-618771831, the rules that use confu are deprecated. I would recommend you to try the cmake building instructions that you may find in the original NNPACK repo.

@mrhosseini
Copy link

I have merged digitalbrain79/NNPACK-darknet with Maratyszcza/NNPACK, here. It can be built using cmake without any errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants