Generating include/autoconf.mk
/opt/FriendlyARM/toolschain/4.4.3/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
Generating include/autoconf.mk.dep
/opt/FriendlyARM/toolschain/4.4.3/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
for dir in tools examples/standalone examples/api cpu/arm920t /home/whj/tar_program/u-boot-2010.03/cpu/arm920t/ ; do \
make -C $dir _depend ; done
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/tools”
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/tools”
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/tools”
make[1]: 对“_depend”无需做任何事。
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/tools”
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/examples/standalone”
/opt/FriendlyARM/toolschain/4.4.3/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
/opt/FriendlyARM/toolschain/4.4.3/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
make[1]: *** 没有规则可以创建“_depend”需要的目标“.depend”。 停止。
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/examples/standalone”
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/examples/api”
make[1]: 对“_depend”无需做任何事。
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/examples/api”
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/cpu/arm920t”
/opt/FriendlyARM/toolschain/4.4.3/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
/opt/FriendlyARM/toolschain/4.4.3/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
make[1]: *** 没有规则可以创建“_depend”需要的目标“.depend”。 停止。
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/cpu/arm920t”
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/cpu/arm920t”
make[1]: 对“_depend”无需做任何事。
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/cpu/arm920t”
make -C tools all
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/tools”
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -c -o crc32.o /home/whj/tar_program/u-boot-2010.03/lib_generic/crc32.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o default_image.o default_image.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o fit_image.o fit_image.c -c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o image.o /home/whj/tar_program/u-boot-2010.03/common/image.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o imximage.o imximage.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o kwbimage.o kwbimage.c -c
kwbimage.c: 在函数‘kwbimage_verify_header’中:
kwbimage.c:350:10: 警告:变量‘calc_exthdrcsum’被设定但未被使用 [-Wunused-but-set-variable]
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -c -o md5.o /home/whj/tar_program/u-boot-2010.03/lib_generic/md5.c
/home/whj/tar_program/u-boot-2010.03/lib_generic/md5.c: 在函数‘MD5Final’中:
/home/whj/tar_program/u-boot-2010.03/lib_generic/md5.c:156:2: 警告:提领类型双关的指针将破坏强重叠规则 [-Wstrict-aliasing]
/home/whj/tar_program/u-boot-2010.03/lib_generic/md5.c:157:2: 警告:提领类型双关的指针将破坏强重叠规则 [-Wstrict-aliasing]
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o mkimage.o mkimage.c -c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -o os_support.o os_support.c -c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -c -o sha1.o /home/whj/tar_program/u-boot-2010.03/lib_generic/sha1.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt.o /home/whj/tar_program/u-boot-2010.03/libfdt/fdt.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_ro.o /home/whj/tar_program/u-boot-2010.03/libfdt/fdt_ro.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_rw.o /home/whj/tar_program/u-boot-2010.03/libfdt/fdt_rw.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_strerror.o /home/whj/tar_program/u-boot-2010.03/libfdt/fdt_strerror.c
gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -c -o fdt_wip.o /home/whj/tar_program/u-boot-2010.03/libfdt/fdt_wip.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/whj/tar_program/u-boot-2010.03/include -idirafter /home/whj/tar_program/u-boot-2010.03/include2 -idirafter /home/whj/tar_program/u-boot-2010.03/include -I /home/whj/tar_program/u-boot-2010.03/libfdt -I /home/whj/tar_program/u-boot-2010.03/tools -DTEXT_BASE=0x0CF80000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -o mkimage crc32.o default_image.o fit_image.o image.o imximage.o kwbimage.o md5.o mkimage.o os_support.o sha1.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_wip.o
strip mkimage
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/tools”
make -C examples/standalone all
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/examples/standalone”
arm-linux-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0CF80000 -I/home/whj/tar_program/u-boot-2010.03/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/FriendlyARM/toolschain/4.4.3/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
/opt/FriendlyARM/toolschain/4.4.3/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
/opt/FriendlyARM/toolschain/4.4.3/lib/gcc/arm-none-linux-gnueabi/4.4.3/../../../../arm-none-linux-gnueabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make[1]: *** [hello_world.o] 错误 1
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/examples/standalone”
make: *** [examples/standalone] 错误 2
for dir in tools examples/standalone examples/api cpu/arm920t /home/whj/tar_program/u-boot-2010.03/cpu/arm920t/ ; do \
make -C $dir _depend ; done
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/tools”
make[1]: 对“_depend”无需做任何事。
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/tools”
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/examples/standalone”
make[1]: 对“_depend”无需做任何事。
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/examples/standalone”
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/examples/api”
make[1]: 对“_depend”无需做任何事。
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/examples/api”
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/cpu/arm920t”
make[1]: 对“_depend”无需做任何事。
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/cpu/arm920t”
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/cpu/arm920t”
make[1]: 对“_depend”无需做任何事。
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/cpu/arm920t”
make -C tools all
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/tools”
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/tools”
make -C examples/standalone all
make[1]: 进入目录“/home/whj/tar_program/u-boot-2010.03/examples/standalone”
arm-linux-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -I/home/whj/tar_program/u-boot-2010.03/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/FriendlyARM/toolschain/4.4.3/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
/opt/FriendlyARM/toolschain/4.4.3/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
/opt/FriendlyARM/toolschain/4.4.3/lib/gcc/arm-none-linux-gnueabi/4.4.3/../../../../arm-none-linux-gnueabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make[1]: *** [hello_world.o] 错误 1
make[1]: 离开目录“/home/whj/tar_program/u-boot-2010.03/examples/standalone”
make: *** [examples/standalone] 错误 2
以上是编译过程,请高手帮忙
alick 于 2013-05-26 19:05:45发表:
缺少 c++,zlib 等库