Subject: Compile ipaq kernel problem on -CURRENT
To: None <port-hpcarm@netbsd.org>
From: Armani Lia <armani_lia@yahoo.com.tw>
List: port-hpcarm
Date: 09/10/2001 10:33:43
Hi,

I tried to compile iPAQ kernel on -CURRENT, I got the following
messages:

netbsd# make depend
depending the kern library objects
mkdep -a -D_LOCORE -I../../../../../../lib/libkern/arch/arm -I../../.
-I../../..
/../../../arch -I../../../../../.. -nostdinc -DHPCARM -DSAIP
-DSAEGPIO_BASE="0x4
9000000" -DLKM -DDIAGNOSTIC -DCONSPEED="0x4b00" -DMAXUSERS=32 -D_KERNEL
-D_KERNE
L_OPT -Dhpcarm -Darm32  -traditional-cpp
../../../../../../lib/libkern/arch/arm/
byte_swap_2.S ../../../../../../lib/libkern/arch/arm/byte_swap_4.S
../../../../.
./../lib/libkern/arch/arm/divsi3.S
../../../../../../lib/libkern/arch/arm/_memcp
y.S ../../../../../../lib/libkern/arch/arm/memcpy.S
../../../../../../lib/libker
n/arch/arm/memmove.S ../../../../../../lib/libkern/arch/arm/memset.S
arm-unknown-netbsdelf-gcc: installation problem, cannot exec `cpp0': No
such fil
e or directory
arm-unknown-netbsdelf-gcc: installation problem, cannot exec `cpp0': No
such fil
e or directory
arm-unknown-netbsdelf-gcc: installation problem, cannot exec `cpp0': No
such fil
e or directory
arm-unknown-netbsdelf-gcc: installation problem, cannot exec `cpp0': No
such fil
e or directory
arm-unknown-netbsdelf-gcc: installation problem, cannot exec `cpp0': No
such fil
e or directory
arm-unknown-netbsdelf-gcc: installation problem, cannot exec `cpp0': No
such fil
e or directory
arm-unknown-netbsdelf-gcc: installation problem, cannot exec `cpp0': No
such fil
e or directory
mkdep: compile failed.
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/hpcarm/compile/MYCONF/lib/kern
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/hpcarm/compile/MYCONF

Would anyone tell me how to solve it, thanks.
BTW, I followed the http://www.netbsd.org/Ports/hpcarm/howto-use.html
to build cross-tools and set environments.

Best regards,
Armani