|
|
下载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错误!
在网上查找没有找到答案,想问问高手怎样解决,非常感谢!! |
|