+ -
当前位置:首页 → 问答吧 → FC6下编译 uClinux 提示boa error 1

FC6下编译 uClinux 提示boa error 1

时间:2006-12-14

来源:互联网

下载arm-linux-gcc-3.4.1.tar.bz2和arm-elf-tools-20040427.sh,都安装了。编译默认用的是arm-linux-gcc
编译 uClinux-dist-20060803.tar.gz
在make menuconfig 中选GDB/ARMulator,linux-2.6.x,uClibc
在make dep,make lib_only没错
在make user_only时出现一下信息:

/opt/uClinux-dist/uClibc/lib/libc.a(__strtofpmax.o)(.text+0x214): In function `__strtofpmax':
: undefined reference to `__muldf3'
/opt/uClinux-dist/uClibc/lib/libc.a(__strtofpmax.o)(.text+0x230): In function `__strtofpmax':
: undefined reference to `__muldf3'
/opt/uClinux-dist/uClibc/lib/libc.a(__strtofpmax.o)(.text+0x25c): In function `__strtofpmax':
: undefined reference to `__muldf3'
/opt/uClinux-dist/uClibc/lib/libc.a(__strtofpmax.o)(.text+0x264): In function `__strtofpmax':
: undefined reference to `__eqdf2'
/opt/uClinux-dist/uClibc/lib/libc.a(__strtofpmax.o)(.text+0x298): In function `__strtofpmax':
: undefined reference to `__divdf3'
/opt/uClinux-dist/uClibc/lib/libc.a(__strtofpmax.o)(.text+0x3cc): In function `__strtofpmax':
: undefined reference to `__floatsidf'
/opt/uClinux-dist/uClibc/lib/libc.a(__strtofpmax.o)(.text+0x3d8): In function `__strtofpmax':
: undefined reference to `__divdf3'
collect2: ld returned 1 exit status
make[4]: *** [boa] 错误 1
make[4]: Leaving directory `/opt/uClinux-dist/user/boa/src'
make[3]: *** [all] 错误 2
make[3]: Leaving directory `/opt/uClinux-dist/user/boa'
make[2]: *** [boa] 错误 2
make[2]: Leaving directory `/opt/uClinux-dist/user'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/opt/uClinux-dist/user'
make: *** [subdirs] 错误 1
[root@localhost uClinux-dist]#
把BOA取消了,在make user_only就出现[dhcpcd] error 1
把dhcpcd取消了就出现 [gdbserver] error 1,把gdbserverq取消了就出现inetd error 1
把inetd取消了就出现init错误了,在取消就还是这个init error 1错误!
在网上查找没有找到答案,想问问高手怎样解决?非常感谢!!      

作者: lin9393455   发布时间: 2006-12-14

可能没有选支持libmath      

作者: AIKO_sex   发布时间: 2006-12-16

我make menuconfig时,在customize kernel settings和customize vendor/user settings里没有找到你所说的libmath,能说的详细点吗?我的QQ:94169916,邮箱:lin9393455@163.com,谢谢你了      

作者: lin9393455   发布时间: 2006-12-17

仔细找找,在设置里      

作者: AIKO_sex   发布时间: 2006-12-17

我把设置里的每一项都看了, 实在是找不到libmath,是不是因为我是用uclinux-dist2006?      

作者: lin9393455   发布时间: 2006-12-18