[Ndn-interest] Issue with linking symbols during cross-compilation of ndn-cxx
indiathreya92 at gmail.com
Sun Sep 29 14:32:55 PDT 2019
I'm trying to build the binaries of ndn-cxx in my linux 64-bit machine and
hoping to compile it for raspberry pi 2. I've built crosstool-ng and have
compiled the programs. However, I'm unable to link the symbols in the
program. Here's the output of the program. I've used this
<https://github.com/ath-90/discover-conf/blob/master/ndn.sh> shell script
to run the compilation. Below are the lines that are causing the issue
(Full log with verbose here
tools/ndnsec/cert-dump.cpp.1.o: undefined reference to symbol
error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
This seems to be an issue that the waf is unable to locate the pthread
library. Could someone please guide me on how I can get the waf to
recognize the pthread library? Also, I tried using the -pthread flag but it
seems to introduce new linkage errors for some unknown reason. Here
<https://github.com/ath-90/discover-conf/blob/master/log-w-pthread> is the
output when I have included the -pthread in LDFLAGS.
Any help would be appreciated.
Athreya H N
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-interest