arm程序编译错误小结

ARM 187浏览

1. /arm-cortexa8-linux-gnueabihf/bin/ld: /tmp/ccETSjmO.o: undefined reference to symbol 'pow@@GLIBC_2.4'

    /arm-cortexa8-linux-gnueabihf/libc/lib/libm.so.6: error adding symbols: DSO missing from command line

    collect2: error: ld returned 1 exit status

在编译命令中添加:-lm -ldl

2.