当前时区 GMT+8, 现在时间是 2008-10-7 16:34 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: fedora core 6下编译 uClinux问题多多
lihengzk
新手上路
Rank: 1



UID 228936
精华 0
积分 10
帖子 4
阅读权限 10
注册 2006-10-26
状态 离线
发表于 2006-10-29 19:11  资料  短消息  加为好友 
fedora core 6下编译 uClinux问题多多

问题1:
在 fedora core 6下
用arm-elf-tools-20040427.sh
编译 uClinux-dist-20060803.tar.gz
在make menuconfig 中选GDB/ARMulator
在make dep没错
在make时出现一下信息:

/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+0x29: 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+0x3d: 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]#

在网上查找没有找到答案,想问问高手怎样解决

问题2:
在作完以上内容
我又make romfs
出现一下问题
make[3]: Entering directory `/opt/uClinux-dist/user/boa/src'
romfs-inst.sh /bin/boa
cp: 无法 stat “boa”: 没有那个文件或目录
make[3]: *** [romfs] 错误 1
make[3]: Leaving directory `/opt/uClinux-dist/user/boa/src'
make[2]: *** [romfs] 错误 2
make[2]: Leaving directory `/opt/uClinux-dist/user/boa'
make[1]: *** [romfs] 错误 2
make[1]: Leaving directory `/opt/uClinux-dist/user'
make: *** [romfs.subdirs] 错误 1
怎样解决

问题3:
在make romfs
make image
没有产生romfs.img文件
怎样解决

望大虾高手帮帮忙
万分感谢!!!!

顶部
lihengzk
新手上路
Rank: 1



UID 228936
精华 0
积分 10
帖子 4
阅读权限 10
注册 2006-10-26
状态 离线
发表于 2006-10-31 10:10  资料  短消息  加为好友 
又有问题了

就是根文件系统挂在不成功!
怎样解决



斑竹啊 !!!
快帮帮忙阿!!!!
万分感谢!!!!!!
在网上些没找到原因!!!!

顶部
ksh
高级会员
Rank: 4


UID 92875
精华 1
积分 1478
帖子 798
阅读权限 50
注册 2004-2-4
来自 China
状态 离线
发表于 2006-11-6 11:33  资料  短消息  加为好友  添加 ksh 为MSN好友 通过MSN和 ksh 交谈
什么错误?

顶部
halun2000
新手上路
Rank: 1



UID 228501
精华 0
积分 23
帖子 9
阅读权限 10
注册 2006-10-21
状态 离线
发表于 2006-11-7 14:29  资料  短消息  加为好友 
我用的f5编译,没有问题啊。感觉你的变异错误是由于编译器引起的。是不是安装有问题,或者安装了多个编译器造成库之类的乱了。

顶部
lin9393455
新手上路
Rank: 1



UID 233176
精华 0
积分 5
帖子 2
阅读权限 10
注册 2006-12-11
状态 离线
发表于 2006-12-14 20:13  资料  短消息  加为好友  QQ
我在FC6也是有这个问题!!我的arm-linux-gcc版本是gcc version 3.4.1,我的arm-elf-gcc版本是gcc version 2.95.3 20010315,我编译的uClinux2006
把BOA取消了,在make user_only就出现[dhcpcd] error 1
把dhcpcd取消了就出现 [gdbserver] error 1,把gdbserverq取消了就出现inetd error 1
把inetd取消了就出现init错误了,在取消就还是这个init error 1错误!

顶部
naroya
新手上路
Rank: 1



UID 232871
精华 0
积分 23
帖子 9
阅读权限 10
注册 2006-12-8
状态 离线
发表于 2006-12-26 16:09  资料  短消息  加为好友 
我也有一样的错误……
不理错误的话还是能编译出linux文件的,但是在images目录下只有boot.rom,只有12KB大,没有其他教程上说的romfs.img,使用这个boot.rom却使用不了,skyeye就当掉没反应了!
SKYEYE: If you have ELF kernel file, please use -e option to indicate your ELF format kernel filename
SKYEYE: If you only have kernel binary image, you should put the filename of kernel binary image in skyeye.conf file
Non-option argument linux-2.4.x/linux
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x805a3e0
SKYEYE: use arm7100 mmu ops
Loaded ROM   ./boot.rom

顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP