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