diegobernardes commented on issue #16380: Fail to build from source on 
Raspberry Pi
URL: 
https://github.com/apache/incubator-mxnet/issues/16380#issuecomment-538800328
 
 
   > > /usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libatomic.so.1: error adding 
symbols: DSO missing from command line
   > 
   > Looks like you need to link the libmxnet to the libatomic (which our cmake 
failed to do automatically).
   > 
   > I'm still learning cmake so the following represents my best guess. Does 
it fix the problem if you add the following to the 
[CMakeLists.txt](https://github.com/apache/incubator-mxnet/blob/master/CMakeLists.txt)?
   > 
   > ```cmake
   > if(ARM)
   >   list(APPEND mxnet_LINKER_LIBS atomic)
   > endif()
   > ```
   
   I'll do this change and leave it compiling. It will take some hours to 
finish, I'll send the results later.

----------------------------------------------------------------
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

Reply via email to