急!!!!!!!!请问遇到这种情况怎么办呢?
我用的是光盘上自带的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: *** Error 1
make: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/arch/armnommu/kernel'
make: *** Error 2
make: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
make: *** Error 1
请问该怎么办?谢谢!
页:
[1]