QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 912|回复: 0

急!!!!!!!!请问遇到这种情况怎么办呢?

[复制链接]
发表于 2004-12-29 22:32:10 | 显示全部楼层 |阅读模式
我用的是光盘上自带的uclinux,以及skyeye和arm-elf tools,在编译uclinx时,遇到这种编译错误:
arm-elf-gcc -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float   -nostdinc -I /usr/local/lib/gcc-lib/arm-elf/2.95.3/include -DKBUILD_BASENAME=arch  -c -o arch.o arch.c
arm-elf-gcc -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float   -nostdinc -I /usr/local/lib/gcc-lib/arm-elf/2.95.3/include -DKBUILD_BASENAME=compat  -c -o compat.o compat.c
arm-elf-gcc -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float   -nostdinc -I /usr/local/lib/gcc-lib/arm-elf/2.95.3/include -DKBUILD_BASENAME=dma  -c -o dma.o dma.c
In file included from dma.c:23:
/usr/src/uClinux-dist/linux-2.4.x/include/asm/mach/dma.h:53: warning: useless keyword or type name in empty declaration
/usr/src/uClinux-dist/linux-2.4.x/include/asm/mach/dma.h:53: warning: empty declaration
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include  -DNO_MM -mapcs-32 -marmv4 -msoft-float -mno-fpu   -c -o entry-armv.o entry-armv.S
entry-armv.S: Assembler messages:
entry-armv.S:1035: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1037: Error: Internal_relocation (type 185) not fixed up (IMMEDIATE)
entry-armv.S:1088: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1089: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1320: Error: Can not represent SWI relocation in this object file format (0)
make[2]: *** [entry-armv.o] Error 1
make[2]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/arch/armnommu/kernel'
make[1]: *** [_dir_arch/armnommu/kernel] Error 2
make[1]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
make: *** [linux] Error 1
请问该怎么办?谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-10 11:59 , Processed in 0.142429 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表