Checking through the archives, I found the following from Kevin Morgan.
I had been having the same problem, and this fixed me up.
------------------------------
For anyone who's interested, here's a followup on this problem.
Various defines that should have been in include/asm-arm/constants.h were
missing. After touching kernel/arch/arm/tools/getconstants.c, now the kernel
builds for me. I still don't know why this was necessary, or why constants.h
was missing the necessary defines.
Kevin
------------------------------
On Aug 23, 14:10, wyeepeng_at_dso.org.sg wrote:
> Subject: RE: [Familiar] Where can I get the .config file for a particular
> Hi,
> I tried some simple customisation of the h3600-devfs config file
> (adding "nfs root at boot", "bootp", "rarp", etc). Then, I "make dep && make
> clean && make zImage". Everything was fine til I got the following errors. Does
> anyone know what's wrong? I used the cross-toolchain from the handhelds.org.
>
> ////////////////////// output listing of make process below /////////
> make[1]: Entering directory `/usr/src/linux-2.4.7-rmk3-np1-
> devfs/arch/arm/kernel'
> arm-linux-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.7-rmk3-np1-
> devfs/include -mapcs-32 -march=armv4 -mno-fpu -c -o entry-armv.o entry-armv.S
> entry-armv.S: Assembler messages:
> entry-armv.S:783: Error: Internal_relocation (type 185) not fixed up (IMMEDIATE)
> entry-armv.S:830: Error: Internal_relocation (type 187) not fixed up
> (OFFSET_IMM)
> entry-armv.S:831: Error: Internal_relocation (type 187) not fixed up
> (OFFSET_IMM)
> entry-armv.S:832: Error: Internal_relocation (type 187) not fixed up
> (OFFSET_IMM)
> make[1]: *** [entry-armv.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.7-rmk3-np1-devfs/arch/arm/kernel'
> make: *** [_dir_arch/arm/kernel] Error 2
-- ----------------------------------------------------------------------- Michael Nidd IBM Zurich Research Laboratory Saumerstrasse 4 CH-8803 Rueschlikon/Switzerland mni_at_zurich.ibm.com Tel: +41-1-724-89-30 Fax: +41-1-724-89-53Received on Fri Aug 24 2001 - 02:05:32 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:33 EDT