<div dir="ltr">Hi Anthony,<div><br></div><div>What os are you running on RPi? I tried to build NFD natively on RPi 2 with Raspbian Jessie and it worked (<a href="https://www2.cs.arizona.edu/people/philoliang/ndnpi/" target="_blank">https://www2.cs.arizona.edu/p<wbr>eople/philoliang/ndnpi/</a>). I don't have an answer to this issue, but switching to Raspbian may be a quick solution if you are not using it. </div><div><br></div><div>BTW, we are also working on a easy way to cross compile NFD for arm architecture, which should be ready soon.</div><div><br></div><div>Teng</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 18, 2017 at 12:03 PM, Anthony Dowling <span dir="ltr"><<a href="mailto:dowlinah@clarkson.edu" target="_blank">dowlinah@clarkson.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div>I've been attempting to build the latest version of NFD on raspberry pi. However, even using clang++ instead of g++ there is an error with linking to boost regex. After some research, I found that the issue seems to be with the order of switches given to the linker command. When it is ran, -lboost_regex is given to the linker by waf near the end of the list of switches, however, if I manually run :</div><div><br></div><div>/usr/bin/g++ -fuse-ld=gold -Wl,-O1 -lboost_regex -pthread tools/ndn-autoconfig/main.cpp.<wbr>3.o tools/ndn-autoconfig/dns-srv.<wbr>cpp.2.o tools/ndn-autoconfig/guess-<wbr>from-identity-name.cpp.2.o tools/ndn-autoconfig/guess-<wbr>from-search-domains.cpp.2.o tools/ndn-autoconfig/<wbr>multicast-discovery.cpp.2.o tools/ndn-autoconfig/ndn-fch-<wbr>discovery.cpp.2.o tools/ndn-autoconfig/<wbr>procedure.cpp.2.o tools/ndn-autoconfig/stage.<wbr>cpp.2.o core/city-hash.cpp.2.o core/config-file.cpp.2.o core/global-io.cpp.2.o core/manager-base.cpp.2.o core/network-interface-<wbr>predicate.cpp.2.o core/network.cpp.2.o core/privilege-helper.cpp.2.o core/random.cpp.2.o core/rtt-estimator.cpp.2.o core/scheduler.cpp.2.o core/logger-factory.cpp.2.o core/logger.cpp.2.o -o /home/pi/NFD/build/bin/ndn-<wbr>autoconfig -Wl,-Bstatic -L/usr/lib/arm-linux-gnueabihf -Wl,-Bdynamic -L/usr/local/lib -L/usr/lib/arm-linux-gnueabihf -lndn-cxx -lboost_system -lboost_filesystem -lboost_date_time -lboost_iostreams -lboost_program_options -lboost_chrono -lboost_thread -lboost_log -lboost_log_setup -lssl -lcrypto -lsqlite3 -lrt -lpthread -lboost_system -lboost_chrono -lboost_program_options -lboost_thread -lboost_log -lboost_log_setup -lrt -lresolv<br></div><div><br></div><div>with -lboost_regex moved to the begining of the command, the command runs successfully. However, when I run waf build again, it creates this issue again. Is there a workaround or fix for this issue available?</div><div><br></div><div>Thanks,</div><div>Anthony</div></div>
<br>______________________________<wbr>_________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/nfd-dev</a><br>
<br></blockquote></div><br></div>