- 论坛徽章:
- 0
|
在我对配置的uboot进行测试编译的时候,# make test2410_config可以通过,但是
# make CROSS_COMPILE=arm-linux- 总是通不过。出现如下情况:
[root@localhost u-boot-1.1.6]# make CROSS_COMPILE=arm-linux-
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: Entering directory `/home/u-boot-1.1.6/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/u-boot-1.1.6/tools'
make[1]: Entering directory `/home/u-boot-1.1.6/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/u-boot-1.1.6/examples'
make[1]: Entering directory `/home/u-boot-1.1.6/post'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/u-boot-1.1.6/post'
make[1]: Entering directory `/home/u-boot-1.1.6/post/cpu'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/u-boot-1.1.6/post/cpu'
make -C tools all
make[1]: Entering directory `/home/u-boot-1.1.6/tools'
gcc -Wall -pedantic -idirafter /home/u-boot-1.1.6/include -idirafter /home/u-boot-1.1.6/include2 -idirafter /home/u-boot-1.1.6/include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc: installation problem, cannot exec `cc1': No such file or directory
make[1]: *** [img2srec.o] Error 1
make[1]: Leaving directory `/home/u-boot-1.1.6/tools'
make: *** [tools] Error 2
![]()
怎么办,不知道为什么出这些错 |
|