当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]make uclinux时的问题?
帖子发表于 : 2007-08-13 0:04 

注册: 2007-07-02 21:48
帖子: 16
送出感谢: 0 次
接收感谢: 0 次
uclinux的版本: uClinux-dist-20070130.tar.gz

在利用skyeye时,skyeye已安装成功!
uclinux目录下make xconfig已完成,
make dep也完成
但make时,运行了蛮久,出现以下错误:
。。。。。。。

make[3]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/arch/armnommu/lib'
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -DN O_MM -mapcs-32 -march=armv4 -msoft-float -c -o backtrace.o backtrace.S
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -DN O_MM -mapcs-32 -march=armv4 -msoft-float -c -o entry-armv.o entry-armv.S
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -DN O_MM -mapcs-32 -march=armv4 -msoft-float -c -o changebit.o changebit.S
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -DN O_MM -mapcs-32 -march=armv4 -msoft-float -c -o csumipv6.o csumipv6.S
entry-armv.S: Assembler messages:
entry-armv.S:1719: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1721: Error: Internal_relocation (type 185) not fixed up (IMMEDIATE)
entry-armv.S:1772: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1773: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:2076: Error: Can not represent SWI relocation in this object file format (0)
make[2]: *** [entry-armv.o] 错误 1
make[2]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/arch/armnommu/kernel'
make[1]: *** [_dir_arch/armnommu/kernel] 错误 2
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=extable -c -o extable.o extable.c
make[1]: *** 正在等待未完成的任务....
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -DN O_MM -mapcs-32 -march=armv4 -msoft-float -c -o csumpartial.o csumpartial.S
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -DN O_MM -mapcs-32 -march=armv4 -msoft-float -c -o csumpartialcopy.o csumpartialcopy.S
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -DN O_MM -mapcs-32 -march=armv4 -msoft-float -c -o csumpartialcopyuser.o csumpartialcopyuser.S
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=fault_common -c -o fault-common.o fault-common.c
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -DN O_MM -mapcs-32 -march=armv4 -msoft-float -c -o clearbit.o clearbit.S
init.c: In function `paging_init':
init.c:506: warning: unused variable `node'
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -DN O_MM -mapcs-32 -march=armv4 -msoft-float -c -o copy_page.o copy_page.S
copy_page.S: Assembler messages:
copy_page.S:26: Error: undefined symbol PAGE_SZ in operation
make[3]: *** [copy_page.o] 错误 1
make[3]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/arch/armnommu/lib'
make[2]: *** [first_rule] 错误 2
make[2]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/arch/armnommu/lib'
make[1]: *** [_dir_arch/armnommu/lib] 错误 2
make -C ethernet
make -C ipv4
make[3]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/ethernet'
make all_targets
make[3]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/ipv4'
make all_targets
fault-common.c: In function `show_pte':
fault-common.c:97: warning: unsigned int format, long unsigned int arg (arg 4)
fault-common.c:97: warning: unsigned int format, long unsigned int arg (arg 5)
make[4]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/ethernet'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/ethernet'
make[3]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/ethernet'
make -C netlink
make[3]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/netlink'
make all_targets
make[4]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/ipv4'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/ipv4'
make[3]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/ipv4'
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=skbuff -c -o skbuff.o skbuff.c
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=consistent -c -o consistent.o consistent.c
make[4]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/netlink'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/netlink'
make[3]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/netlink'
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=scm -c -o scm.o scm.c
make -C packet
make[3]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/packet'
make all_targets
make[4]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/packet'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/packet'
make[3]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/packet'
make -C sched
make[3]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/sched'
make all_targets
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=ioremap -c -o ioremap.o ioremap.c
make[4]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/sched'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/sched'
make[3]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/sched'
make -C sunrpc
make[3]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/sunrpc'
make all_targets
make -C unix
make[3]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/unix'
make all_targets
make[4]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/sunrpc'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/sunrpc'
make[3]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/sunrpc'
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=dev -c -o dev.o dev.c
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=mm_armv -c -o mm-armv.o mm-armv.c
make[4]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/unix'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/unix'
make[3]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/unix'
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=fault_armv -c -o fault-armv.o fault-armv.c
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=memory -c -o memory.o memory.c
mm-armv.c: In function `memtable_init':
mm-armv.c:337: warning: assignment makes integer from pointer without a cast
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=ethtool -c -o ethtool.o ethtool.c
mm-armv.c: In function `free_memmap':
mm-armv.c:428: warning: assignment makes integer from pointer without a cast
mm-armv.c:429: warning: assignment makes integer from pointer without a cast
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -DN O_MM -mapcs-32 -march=armv4 -msoft-float -c -o proc-arm6,7.o proc-arm6,7.S
proc-arm6,7.S:676: warning: #warning "FIXME: Setup anything if required"
proc-arm6,7.S:753: warning: #warning "FIXME: Setup anything if required"
proc-arm6,7.S: Assembler messages:
proc-arm6,7.S:487: Error: undefined symbol LPTE_PRESENT in operation
proc-arm6,7.S:487: Error: undefined symbol LPTE_YOUNG in operation
proc-arm6,7.S:487: Error: undefined symbol LPTE_WRITE in operation
proc-arm6,7.S:487: Error: undefined symbol LPTE_DIRTY in operation
proc-arm6,7.S:493: Error: undefined symbol LPTE_USER in operation
proc-arm6,7.S:493: Error: undefined symbol LPTE_EXEC in operation
proc-arm6,7.S:496: Error: undefined symbol LPTE_WRITE in operation
proc-arm6,7.S:496: Error: undefined symbol LPTE_DIRTY in operation
proc-arm6,7.S:499: Error: undefined symbol LPTE_PRESENT in operation
proc-arm6,7.S:499: Error: undefined symbol LPTE_YOUNG in operation
proc-arm6,7.S:491: Error: Internal_relocation (type 185) not fixed up (IMMEDIATE)
proc-arm6,7.S:494: Error: Internal_relocation (type 185) not fixed up (IMMEDIATE)
proc-arm6,7.S:497: Error: Internal_relocation (type 185) not fixed up (IMMEDIATE)
make[3]: *** [proc-arm6,7.o] 错误 1
make[3]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/arch/armnommu/mm'
make[2]: *** [first_rule] 错误 2
make[2]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/arch/armnommu/mm'
make[1]: *** [_dir_arch/armnommu/mm] 错误 2
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=dev_mcast -c -o dev_mcast.o dev_mcast.c
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=dst -c -o dst.o dst.c
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=neighbour -c -o neighbour.o neighbour.c
dev.c: In function `dev_ifsioc':
dev.c:2115: warning: comparison of distinct pointer types lacks a cast
dev.c:2143: warning: comparison of distinct pointer types lacks a cast
arm-elf-gcc -D__KERNEL__ -I/home/dl/skyeye/uClinux-dist/linux-2.4.x/include -Wall -Wstrict-prot otypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__l inux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtnetlink -c -o rtnetlink.o rtnetlink.c
rm -f core.o
arm-elf-ld -r -o core.o sock.o skbuff.o iovec.o datagram.o scm.o dev.o ethtool.o dev_mcast.o dst.o neighbour.o rtnetlink.o utils.o
make[4]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/core'
make[3]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net/core'
make all_targets
make[3]: Entering directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net'
rm -f network.o
arm-elf-ld -r -o network.o socket.o core/core.o ethernet/ethernet.o 802/802.o sched/sched.o n etlink/netlink.o ipv4/ipv4.o unix/unix.o packet/packet.o sunrpc/sunrpc.o
make[3]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net'
make[2]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x/net'
make[1]: Leaving directory `/home/dl/skyeye/uClinux-dist/linux-2.4.x'
make: *** [linux] 错误 1
root@dllpqh:/home/dl/skyeye/uClinux-dist#


请哪位高手指点一下!!


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-08-14 21:47 

注册: 2007-07-02 21:48
帖子: 16
送出感谢: 0 次
接收感谢: 0 次
怎么没人回复呢?
请高手指点一下吧!

好苦恼亚!


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-08-14 22:55 

注册: 2007-07-02 21:48
帖子: 16
送出感谢: 0 次
接收感谢: 0 次
已解决!


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-08-15 11:06 

注册: 2006-09-21 13:31
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
keendawn兄
我也遇到了类似的问题,
编fs和busybox的时候过不去,
昨天调了一天还是不行,
环境:
uClinux-dist-20070130.tar.gz
crosstoolchain 3.2

兄台能不能写个详细点的步骤阿?


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2007-08-20 23:25 

注册: 2007-07-02 21:48
帖子: 16
送出感谢: 0 次
接收感谢: 0 次
回楼上:
不好意思,这几天一直没上,没看到你的问题!不知你的问题解决了没?

我是如下解决的:
在make xconfig时:
一开始选择的是:
Vendor/Product: GDB/ARMulator
Kernel Version: linux-2.4.x
Libc Version: uC-libc

后来将uC-libc改为ucLibc。
并重新执行
make dep
make
即可!!


你如果还在苦恼中,可试一下!
但看你的错好像和我的不太一样!如果你的已经解决,最好也写一下你的解决方法!


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2007-09-28 1:24 

注册: 2007-09-28 1:21
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
我有和你一样的问题!我用uclib !还是有这样的问题!请问你的工具版本是多少的!!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 6 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译