当前时区 GMT+8, 现在时间是 2008-9-5 17:11
游客:
注册
登录
仅登录论坛
|
搜索
帮助
中国Linux公社论坛
»
Skyeye项目专栏
» 编译uClinux-dist-20040408时出现的问题
‹‹ 上一主题
|
下一主题 ››
投票
交易
悬赏
活动
打印
|
推荐
|
订阅
|
收藏
标题: 编译uClinux-dist-20040408时出现的问题
bucketxp
注册会员
UID 88004
精华
8
积分 300
帖子 103
阅读权限 20
注册 2004-1-8
来自 BIT
状态 离线
#1
发表于 2004-8-23 11:09
资料
短消息
加为好友
编译uClinux-dist-20040408时出现的问题
使用软件包为:
uClinux-dist-20040408.tar
arm-elf-tools-20030314.sh
具体操作步骤如下:
1) ./arm-elf-tools-20030314.sh
2) tar zxvf uClinux-dist-20040408.tar
3) cd uClinux-dist
4) make menuconfig
choose ---> Vendor(GDB)
---> GDB Products(ARMulator)
---> Kernel Version(linux-2.4.x)
---> Libc Version(uClibc)
save and exit
5)make dep
6)make
...
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/WinShare/skyeye/src/uClinux-dist/linux-2.4.x/include -DNO_MM -mapcs-32 -march=armv4 -msoft-float -mno-fpu -c
-o entry-armv.o entry-armv.S
entry-armv.S: Assembler messages:
entry-armv.S:1283: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1285: Error: Internal_relocation (type 185) not fixed up (IMMEDIATE)
entry-armv.S:1336: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1337: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1608: Error: Can not represent SWI relocation in this object file format (0)
make[2]: *** [entry-armv.o] Error 1
make[2]: Leaving directory `/home/WinShare/skyeye/src/uClinux-dist/linux-2.4.x/arch/armnommu/kernel'
make[1]: *** [_dir_arch/armnommu/kernel] Error 2
make[1]: Leaving directory `/home/WinShare/skyeye/src/uClinux-dist/linux-2.4.x'
make: *** [linux] Error 1
编译失败。不知道是什么问题?
chyyuu
公社版主
UID 37477
精华
23
积分 1949
帖子 727
阅读权限 225
注册 2003-5-15
来自 China.gif
状态 离线
#2
发表于 2004-8-25 23:15
资料
短消息
加为好友
用老点的uclinux-dist试试
可以到
ftp://166.111.68.183/pub/embed/uclinux/soft 下载
bucketxp
注册会员
UID 88004
精华
8
积分 300
帖子 103
阅读权限 20
注册 2004-1-8
来自 BIT
状态 离线
#3
发表于 2004-8-26 09:37
资料
短消息
加为好友
问题已解决。
原因是原先机器中已经有一个arm-elf的编译器,所在位置刚好和
arm-elf-tools-20030314安装时的目录相同,两者产生冲突。
彻底删除旧的编译器,再重新安装arm-elf-tools-20030314就可以编译通过了。
ywei2004
新手上路
UID 156228
精华 0
积分 40
帖子 16
阅读权限 10
注册 2004-9-27
来自 China.gif
状态 离线
#4
发表于 2004-11-23 16:18
资料
短消息
加为好友
make dep的时候
samsung linux-2.4.x uC-libc
出现如下问题:
make[3]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/arch/armnommu/nwfpe'
make[2]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
find /usr/src/uClinux-dist/linux-2.4.x/include/asm /usr/src/uClinux-dist/linux-2.4.x/include/linux /usr/src/uClinux-dist/linux-2.4.x/include/scsi /usr/src/uClinux-dist/linux-2.4.x/include/net /usr/src/uClinux-dist/linux-2.4.x/include/math-emu \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print | xargs scripts/mkdep -- > .hdepend
scripts/mkdep -- init/*.c > .depend
make[1]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
投票
交易
悬赏
活动
论坛跳转 ...
> 公告区
> 系统安装
> 硬件配置
> Magic Linux技术支持区
> Magic Linux开发培训版
> 中文化与桌面美化
> 桌面使用小技巧
> 命令行使用小技巧与SHELL编程
> 网络工具
> 办公软件
> 多媒体应用
> 游戏乐园
> 服务器与网络安全
> Linux资源共享区
> Debian/LFS/Gentoo专题版
> Linux高质量字体研究
> easyright计算机研究所
> Linux认证考试专题版
> 应用编程技术与项目孵化
> 网站开发技术与项目孵化
> 参与国际开源项目
> 翻译汉化
> 中文GNOME用户交流区
> Skyeye项目专栏
> lumit项目专栏
> eva项目专栏
> fanx项目专栏
> 连连看for Linux项目专栏
> OurLinux杂志专区
> BitStorm项目专栏
> AVS项目专栏
> VirgoFTP项目专栏
> EGui开源项目
> RT-Thread实时操作系统
> 内核源代码阅读交流
> 内核安装和升级
> 嵌入式开发
> 校园行动联盟
> Linux与公社文化杂谈
> 求职与招聘
> 公社接待中心
Powered by
Discuz!
5.5.0
© 2001-2007
Comsenz Inc.
TOP
清除 Cookies
-
联系我们
-
中国Linux公社
-
WAP