问答

汇集网友智慧,解决技术难题

21ic问答首页 - TAG - monkey
  • spidermonkey交叉编译问题 sos

    [align=left][color=rgb(51, 51, 51)][font="]linux :ubuntu20.04[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]arm: cortex a7[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]交叉编译工具 gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]出错信息一 :[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]arm-linux-gnueabihf-ld:cannot find -lm[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]rules.mk:118:recipe for target 'Linux_All_DBG.OBJ/libjs.so' failed[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]make[1]: ***[Linux_All_DBG.OBJ/libjs.so] Error 1[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]make[1]: Leavingdirectory '/home/book/linux/arm_spidermonkey/js/src'[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]rules.mk:65:recipe for target 'all' failed[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]make: *** [all]Error 2[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]添加路径解决了 [/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]-L/usr/local/arm/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/libc/usr/lib-lm[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]测试实例的时候出错了[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]arm-linux-gnueabihf-gcc -DXP_UNIX -I/opt/js/src -o excample11 test.c -L/opt/js/src/Linux_All_DBG.OBJ -ljs -lm[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]/usr/local/arm/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.4/../../../../arm-linux-gnueabihf/bin/ld: excample11: hidden symbol `__aeabi_uldivmod' in /usr/local/arm/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.4/libgcc.a(_aeabi_uldivmod.o) is referenced by DSO[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]/usr/local/arm/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.4/../../../../arm-linux-gnueabihf/bin/ld: final link failed: Bad value[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]collect2: error: ld returned 1 exit status[/font][/color][/align][align=left][color=rgb(51, 51, 51)][font="]请问有解决的吗?[/font][/color][/align]

    Spider 交叉编译 monkey ARM linux

    1002浏览量 0回复量 关注量