This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dsplink.lib问题



Linking C executable ../../bin/SmartNC
/usr/bin/ld: ../../dsplinklib/dsplink.lib: Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../dsplinklib/dsplink.lib: Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../dsplinklib/dsplink.lib: Relocations in generic ELF (EM: 40)
../../dsplinklib/dsplink.lib: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [../bin/SmartNC] 错误 1
make[1]: *** [app/CMakeFiles/SmartNC.dir/all] 错误 2
make: *** [all] 错误 2

我用的是arm-none-linux-gnueabi-gcc,出现上面的错误。请问应该怎么解决,我感觉是dsplink.lib的格式不对,请问如何改呢?