编译uclinux问题,问题就在-elf2flt参数上,求助
主机是RedHat Linux 9.0交叉编译器是arm eldk 4.0 (3.3.0 也用过,问题也存在)
linux是uClinux包,文件名是uClinux-dist-20060803.tar.gz
cpu选的是samsung at91
选择编译 linux 2.4.xuClibc
首先执行了make lib_only后成功,没有错误
接着执行make user_only,编译到boa时提示(如果吧boa包去掉继续编译,下一个应用程序也会提示这个错误)
/opt/eldk/arm/usr/bin/../lib/gcc/arm-linux/4.0.0/../../../../arm-linux/bin/ld: warning: cannot find entry symbol lf2flt; defaulting to 000080d0
collect2: ld returned 1 exit status
make: *** Error 1
make: Leaving directory '/root/linux/user/boa/sr'
make: *** Error 2
make: Leaving directory '/root/linux/user/boa'
make: *** Error 2
make: Leaving directory '/root/linux/user'
make: *** Error 2
make: Leaving directory '/root/linux/user'
make: *** Error 2
我自己建立一个.c的文件
a.c
main()
{
}
然后用arm-linux-gcc a.c -elf2lft编译,同样报cannot find entry symbol lf2flt错误
__________________________________ Do you know the meaning of elf2flt? I can not understand your command:
arm-linux-gcc a.c -elf2lft
I refer you can read some manual of gcc to learn how to use it. 问题解决了,看到有人问arm-linux-gcc和arm-elf-gcc的区别,才想到我的错误,对不起,耽误大家时间了
页:
[1]