C Link SDK移植到openwrt遇到问题[阿里云Iot]

我在物联网平台里面下载的C Link SDK,使用默认编译器时,编译没问题,测试与云平台通讯也是可以的。当我使用openwrt里面的交叉编译链时: CC:=mipsel-openwrt-linux-gcc AR:=mipsel-openwrt-linux-ar 然后进行make时,编译失败。 /opt/openwrt-toolchain-ramips-mt76x8_gcc-11.2.0_musl.Linux-x86_64/toolchain-mipsel_24kc_gcc-11.2.0_musl/bin/../lib/gcc/mipsel-openwrt-linux-musl/11.2.0/../../../../mipsel-openwrt-linux-musl/bin/ld: output/./external/mbedtls/library/error.o: Relocations in generic ELF (EM: 62) /opt/openwrt-toolchain-ramips-mt76x8_gcc-11.2.0_musl.Linux-x86_64/toolchain-mipsel_24kc_gcc-11.2.0_musl/bin/../lib/gcc/mipsel-openwrt-linux-musl/11.2.0/../../../../mipsel-openwrt-linux-musl/bin/ld: output/./external/mbedtls/library/error.o: Relocations in generic ELF (EM: 62) /opt/openwrt-toolchain-ramips-mt76x8_gcc-11.2.0_musl.Linux-x86_64/toolchain-mipsel_24kc_gcc-11.2.0_musl/bin/../lib/gcc/mipsel-openwrt-linux-musl/11.2.0/../../../../mipsel-openwrt-linux-musl/bin/ld: output/./external/mbedtls/library/error.o: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status Makefile:63: recipe for target ‘libaiot’ failed make: *** [libaiot] Error 1

还请知道原因的大佬指点一二,感谢

「点点赞赏,手留余香」

    还没有人赞赏,快来当第一个赞赏的人吧!
=====这是一个广告位,招租中,联系qq 78315851====