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

internal symbol `pthreadpool_deallocate' isn't defined erro during build #2

Open
KautzJ opened this issue Apr 22, 2020 · 1 comment

Comments

@KautzJ
Copy link

KautzJ commented Apr 22, 2020

During the ninja build of NNPACK-darknet the following error occurs:

[64/147] LINK bin/transform-benchmark
FAILED: /home/smarteagle/NNPACK-darknet/bin/transform-benchmark
g++ -pthread -o /home/smarteagle/NNPACK-darknet/bin/transform-benchmark /home/smarteagle/NNPACK-darknet/build/bench/transform.c.o /home/smarteagle/NNPACK-darknet/build/bench/median.c.o /home/smarteagle/NNPACK-darknet/build/bench/memread.c.o -lrt /home/smarteagle/NNPACK-darknet/lib/libnnpack.a /home/smarteagle/NNPACK-darknet/lib/libpthreadpool.a
/home/smarteagle/NNPACK-darknet/lib/libpthreadpool.a(pthreads.c.o): In function pthreadpool_create': /home/smarteagle/NNPACK-darknet/deps/pthreadpool/src/pthreads.c:260: undefined reference to pthreadpool_allocate'
/home/smarteagle/NNPACK-darknet/lib/libpthreadpool.a(pthreads.c.o): In function pthreadpool_destroy': /home/smarteagle/NNPACK-darknet/deps/pthreadpool/src/pthreads.c:461: undefined reference to pthreadpool_deallocate'
/usr/bin/ld: /home/smarteagle/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
[69/147] CXX deps/googletest/googletest/src/gtest-all.cc
ninja: build stopped: subcommand failed.

I am using a raspberry pi 3A PLUS Rev 1.0 with Raspian stretch. The requirements all installed succesfully.

@mrhosseini
Copy link

mrhosseini commented May 27, 2021

check #3 (comment)

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

2 participants