<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.3.o tools/ndn-autoconfig/dns-srv.cpp.2.o tools/ndn-autoconfig/guess-from-identity-name.cpp.2.o tools/ndn-autoconfig/guess-from-search-domains.cpp.2.o tools/ndn-autoconfig/multicast-discovery.cpp.2.o tools/ndn-autoconfig/ndn-fch-discovery.cpp.2.o tools/ndn-autoconfig/procedure.cpp.2.o tools/ndn-autoconfig/stage.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-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-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>