diegobernardes commented on issue #16380: Fail to build from source on Raspberry Pi URL: https://github.com/apache/incubator-mxnet/issues/16380#issuecomment-539229309 No success: ``` [261/276] Linking CXX executable im2rec FAILED: im2rec : && /usr/bin/c++ -Wall -Wno-unknown-pragmas -Wno-sign-compare -O3 -std=c++11 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fopenmp -std=c++0x -O3 -DNDEBUG -rdynamic CMakeFiles/im2rec.dir/tools/im2rec.cc.o -o im2rec -Wl,--whole-archive libmxnet.a -Wl,--no-whole-archive -lopenblas -lrt -ljemalloc -llapack -ljemalloc /usr/lib/arm-linux-gnueabihf/libopencv_highgui.so.3.2.0 3rdparty/dmlc-core/libdmlc.a -llapack /usr/lib/arm-linux-gnueabihf/libopencv_imgcodecs.so.3.2.0 /usr/lib/arm-linux-gnueabihf/libopencv_imgproc.so.3.2.0 /usr/lib/arm-linux-gnueabihf/libopencv_core.so.3.2.0 -lrt && : /usr/bin/ld: libmxnet.a(c_api_profile.cc.o): undefined reference to symbol '__atomic_fetch_sub_8@@LIBATOMIC_1.0' /usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libatomic.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status ``` I don't know much about `cmake` as well. Tried to put at the end of the file and then tried near the `mxnet_LINKER_LIBS` declaration: <img width="317" alt="image" src="https://user-images.githubusercontent.com/14483/66353146-4164d880-e959-11e9-94e4-8a93fd4920e9.png">
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
