Skipping incompatible error when using arm-linux-gnueabihf on beaglebone black [message #1752805] |
Fri, 27 January 2017 09:07  |
Eclipse User |
|
|
|
I am trying to compile pocketsphinx on my beaglebone black. However, i encountered a "Skipping incompatible error" during the building process through the use of Eclipse Luna.
Compiling on my computer using gcc and g++ is fine. When i change the settings to as shown below to allow it to be built for a arm-based device, the "skipping incompatibility" error appears
C/C++ Build -> Settings->Cross Gcc Compiler -> Command (Changed to "arm-linux-gnueabihf-gcc-4.8 -std=c++11" from gcc )
C/C++ Build -> Settings->Cross G++ Compiler -> Command (Changed to "arm-linux-gnueabihf-g++-4.8 -std=c++11" from g++ )
C/C++ Build -> Settings->Cross G++ Linker-> Command (Changed to "arm-linux-gnueabihf-g++-4.8 -std=c++11" from g++ )
C/C++ Build -> Settings->Cross Gcc assembler -> Command (Changed to "arm-linux-gnueabihf-as" )
I tried linking -Lusr/lib/arm-linux-gnueabihf and also -lpthread -lm -lrt -ldl but it does not solve the error.
This is what i get after compiling,
Description Resource Path Location Type skipping incompatible /usr/local/lib/libsphinxbase.a when searching for -lsphinxbase
skipping incompatible /usr/local/lib/libsphinxad.so when searching for -lsphinxad
skipping incompatible /usr/local/lib/libsphinxad.a when searching for -lsphinxad
skipping incompatible /usr/local/lib/libpocketsphinx.so when searching for -lpocketsphinx
skipping incompatible /usr/local/lib/libpocketsphinx.a when searching for -lpocketsphinx
skipping incompatible //usr/local/lib/libsphinxbase.so when searching for -lsphinxbase
skipping incompatible //usr/local/lib/libsphinxbase.a when searching for -lsphinxbase
skipping incompatible //usr/local/lib/libsphinxad.so when searching for -lsphinxad
skipping incompatible //usr/local/lib/libsphinxad.a when searching for -lsphinxad
skipping incompatible //usr/local/lib/libpocketsphinx.so when searching for -lpocketsphinx
skipping incompatible //usr/local/lib/libpocketsphinx.a when searching for -lpocketsphinx
make: *** [pocketsphinx2] Error 1
cannot find -lsphinxbase
cannot find -lsphinxad
cannot find -lpocketsphinx
|
|
|
|
Powered by
FUDForum. Page generated in 0.04570 seconds