linux-2.6.6 kernel make error: fp cannot be used in asm here
Gao Zhan
zhan_gao@yahoo.com
Fri Sep 3 01:22:00 GMT 2004
I've built cross compiler for ARM target on
Cygwin/Windows XP with crosstool-0.28-rc34:
 binutils-2.15, linux-2.6.6 headers, glibc-2.3.2, and
gcc-3.4.1. IÂ try to compile linux-2.6.6 kernel as
"make ARCH=arm
CROSS_COMPILE=arm-unknown-linux-gnu-Â lpd7a400_defconfig
zImage"Â Â Â
Â
After smoothing away error
   1) error: invalid option 'load-short-bytes'Â
   2) Error: use of old and new-style options to set
FPU type
   3) Can't find elf.h (got rid of this error by
installing libelf)
Â
I encountered another error that I couldn't find an
answer on the web.
Â
>Â CCÂ Â Â Â Â arch/arm/kernel/fiq.o
> arch/arm/kernel/fiq.c: In function `set_fiq_regs':
> arch/arm/kernel/fiq.c:126: error: fp cannot be used
in asm here
> make[2]: *** [arch/arm/kernel/fiq.o] Error 1
> make[1]: *** [arch/arm/kernel] Error 2
> make: *** [zImage] Error 2
Â
Any idea?
Â
Thanks
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list