为了账号安全,请及时绑定邮箱和手机立即绑定

在 ubunt 环境下 ,编译 uclinux 2.6 的内核出现的错误 ,求指点

在 ubunt 环境下 ,编译 uclinux 2.6 的内核出现的错误 ,求指点

桃花长相依 2023-04-01 14:10:54
arm-elf-gcc: installation problem, cannot exec `cpp0': No such file or directory arm-elf-gcc: installation problem, cannot exec `cc1': No such file or directory as: unrecognized option '-marmv4t' make[4]: *** [error.o] Error 1 make[4]: Leaving directory `/work/uClinux-dist/lib/libc/error' make[3]: *** [subdirs] Error 1 make[3]: Leaving directory `/work/uClinux-dist/lib/libc' make[2]: *** [libc] Error 2 在 ubunt 环境下  编译 uclinux 2.6 的内核 出现的错误    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/work/usr/local/bin 这是环境变量
查看完整描述

2 回答

?
大话西游666

TA贡献1817条经验 获得超14个赞

换了一个高版本的编译器 这个问题暂时没有了  出现了 其他的问题 

work/uClinux-dist/lib/libc/gtermcap/Makefile
LIBC=../libc.a 
OBJ=termcap.o tparam.o 
all: $(LIBC) ($(OBJ)) 

#@$(RM) $(OBJ) 10 11
clean: 
rm -f *.o libc.a


查看完整回答
反对 回复 2023-04-03
?
凤凰求蛊

TA贡献1825条经验 获得超4个赞

看起来应该是环境变量或者编译参数的问题,我搞过openwrt的交叉编译,没遇到过这个问题

查看完整回答
反对 回复 2023-04-03
  • 2 回答
  • 0 关注
  • 77 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信