编译环境如下:
cygwin.040615
uClinux-dist-20040408.tar.gz(解压到/usr/local/src目录下)
arm-elf for cygwin(安装到/usr/local/armtools目录下)
编译内核前三步都通过了:
make dep
make clean
make lib_only
到第四步make user_only,有如下报错并终止编译:
/usr/local/armtools/arm-elf/bin/ld: installation problem, cannot exec '/usr/local/armtools/arm-elf/bin/ld': invalid argument
collect2: ld returned 255 exit status
make[2]: *** [sh] Error 1
make[2]: Leaving directory '/usr/local/src/uClinux-dist/user/sash'
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/local/src/uClinux-dist/user'
make: *** [user_only] Error 2
我一直搞不明白怎么回事,请各位高手不吝赐教,谢谢!
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |