主题 : 支持64M/128M/256M/1G mini2440的U-boot现已发布(感谢Tekkaman  Ninja提供) 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 138302
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
贡献值: 0 点
综合积分: 2 分
注册时间: 2018-04-22
最后登录: 2018-04-26
80楼  发表于: 85天前
请教各位,make老是报错要怎么解决,CROSS_COMPILE 已经改过来了,还是报错

make -C examples/standalone all
make[1]: Entering directory '/home/rm/桌面/u-boot-tekkamanninja-2010.03_mini2440_tekkamanninja/examples/standalone'
arm-linux-gcc  -g  -Os   -fno-common -ffixed-r8   -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/home/rm/桌面/u-boot-tekkamanninja-2010.03_mini2440_tekkamanninja/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/opt/FriendlyARM/toolschain/4.4.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.3/include -pipe  -DCONFIG_ARM -D__ARM__         -march=armv4 -Wall -Wstrict-prototypes    -o hello_world.o hello_world.c -c
/usr/local/arm/opt/FriendlyARM/toolschain/4.4.3/bin/../libexec/gcc/arm-none-linux-gnueabi/4.4.3/cc1: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/home/rm/桌面/u-boot-tekkamanninja-2010.03_mini2440_tekkamanninja/config.mk:244: recipe for target 'hello_world.o' failed
make[1]: *** [hello_world.o] Error 1
make[1]: Leaving directory '/home/rm/桌面/u-boot-tekkamanninja-2010.03_mini2440_tekkamanninja/examples/standalone'
Makefile:371: recipe for target 'examples/standalone' failed
make: *** [examples/standalone] Error 2