主题 : gcc: error trying to exec 'as': execvp: No such file or directory 复制链接 | 浏览器收藏 | 打印
在各种放弃与追求中前进
级别: 新手上路
UID: 28745
精华: 0
发帖: 12
金钱: 60 两
威望: 12 点
综合积分: 24 分
注册时间: 2010-09-16
最后登录: 2012-11-16
楼主  发表于: 2010-09-19 12:21

 gcc: error trying to exec 'as': execvp: No such file or directory

我编译uboot时出现以下error,望高手解救

make[1]: Entering directory `/home/roots/share/u-boot-1.1.7/post/cpu'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/roots/share/u-boot-1.1.7/post/cpu'
make -C tools all
make[1]: Entering directory `/home/roots/share/u-boot-1.1.7/tools'
gcc -Wall -pedantic -idirafter /home/roots/share/u-boot-1.1.7/include -idirafter /home/roots/share/u-boot-1.1.7/include2 -idirafter /home/roots/share/u-boot-1.1.7/include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc: error trying to exec 'as': execvp: No such file or directory
make[1]: *** [img2srec.o] Error 1
make[1]: Leaving directory `/home/roots/share/u-boot-1.1.7/tools'
make: *** [tools] Error 2
在各种放弃与追求中前进
级别: 新手上路
UID: 28745
精华: 0
发帖: 12
金钱: 60 两
威望: 12 点
综合积分: 24 分
注册时间: 2010-09-16
最后登录: 2012-11-16
1楼  发表于: 2010-09-19 13:46
直接输入as,发现as没安装,提示安装命令,安装上解决了