problem with kernel build for h5400 familiar 0.8.1 kernel

From: Jim Kaba <jkaba_at_sarnoff.com>
Date: Mon, 07 Mar 2005 16:58:58 -0500

Help!
  I just downloaded from CVS a fresh snapshot of the kernel
(tag=K2-4-19-rmk6-pxa1-hh37-5 ), which, near as I can tell, is the kernel
that corresponds to the familiar 0.8.1 distribution.
  When I attempt to build for an h5550 ipaq, make ipaqpxa_config and make
oldconfig go fine, but make dep bombs out thusly:

[root_at_csue1 kernel]# make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
scripts/mkdep.c
rm -f include/asm
( cd include ; ln -sf asm-arm asm)
make[1]: Entering directory
`/root/linux/ipaq/linux_kernel_from_cvs/linux_hh37-5/kernel/arch/arm/tools'
/root/linux/ipaq/linux_kernel_from_cvs/linux_hh37-5/kernel/scripts/mkdep
-D__KERNEL__
-I/root/linux/ipaq/linux_kernel_from_cvs/linux_hh37-5/kernel/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -Uarm -fno-common -pipe -frename-registers -mapcs-32
-D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes
-msoft-float -Uarm -- getconstants.c |\
 sed s,getconstants.o,constants.h, > .depend
make all
make[2]: Entering directory
`/root/linux/ipaq/linux_kernel_from_cvs/linux_hh37-5/kernel/arch/arm/tools'
awk -f gen-mach-types mach-types >
/root/linux/ipaq/linux_kernel_from_cvs/linux_hh37-5/kernel/include/asm-arm/mach-types.h
arm-linux-gcc -D__KERNEL__
-I/root/linux/ipaq/linux_kernel_from_cvs/linux_hh37-5/kernel/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -Uarm -fno-common -pipe -frename-registers -mapcs-32
-D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes
-msoft-float -Uarm -S -o constants.h.tmp.1 getconstants.c
cc1: Invalid option `-frename-registers'
cc1: bad value (xscale) for -mtune= switch
cc1: bad value (xscale) for -mcpu= switch
make[2]: *** [constants.h] Error 1
make[2]: Leaving directory
`/root/linux/ipaq/linux_kernel_from_cvs/linux_hh37-5/kernel/arch/arm/tools'
make[1]: *** [dep] Error 2
make[1]: Leaving directory
`/root/linux/ipaq/linux_kernel_from_cvs/linux_hh37-5/kernel/arch/arm/tools'
make: *** [archdep] Error 2

I'm using gcc 2.95.3 as the cross-compiler.
A previous download/compilation of the kernel tag=K2-4-19-rmk6-pxa1-hh37
went smoothly.
If I attempt to compile for another ipaq -- e.g. a 3800 using make
ipaqsa_config -- things seem to go smoothly.

Any suggestions?

Thanks,
Jim
  

-- 
----------------------------------------------------------------------
James T. Kaba                   
Sarnoff Corporation   There are 10 kinds of people in the world:
jkaba_at_sarnoff.com     those who understand binary, and those who don't.
609-734-2246
Received on Mon Mar 07 2005 - 17:01:21 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:20:11 EDT