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

darknet-nnpack make failed #65

Open
wangbard opened this issue Feb 11, 2022 · 0 comments
Open

darknet-nnpack make failed #65

wangbard opened this issue Feb 11, 2022 · 0 comments

Comments

@wangbard
Copy link

I failed to build NNPACK-darknet through ninja. Therefore, i swtiched to cmake/make instead. Below is the cmake command i used

cmake .. -DCMAKE_C_FLAGS=-march=armv6k

However, when I try to build darknet-nnpack, strange error occures.
To note, i am working on a rasberrypi 3B. Below is the error:

/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/10/../../../libpthreadpool.a(pthreads.c.o): in function pthreadpool_create': /home/pi/NNPACK/deps/pthreadpool/src/pthreads.c:258: undefined reference to pthreadpool_allocate'
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/10/../../../libpthreadpool.a(pthreads.c.o): in function pthreadpool_destroy': /home/pi/NNPACK/deps/pthreadpool/src/pthreads.c:459: undefined reference to pthreadpool_deallocate'
/usr/bin/ld: /home/pi/NNPACK/deps/pthreadpool/src/pthreads.c:459: undefined reference to pthreadpool_deallocate' /usr/bin/ld: darknet: internal symbol pthreadpool_deallocate' isn't defined
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

Could anyone lend a hand? I am really stressed.

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

1 participant