Building Linux-2.2.10 with patch-2.2.10-rmk3

"make zImage", in /usr/src/linux/arch/arm/lib, trying to create constant.h with:
perl extractconstants.pl /usr/arm-linux/bin/objdump > constants.h
gives me:
sh: /usr/arm-linux/bin/objdump: No such file or directory
which in turn of course fail to buil cheksum.o from checksum.S.

The binary objdump from binutils 2.9.5.0.13 has only been installed as
/usr/bin/arm-linux-objdump not as /usr/arm-linux/bin/objdump.
I've created a /usr/arm-linux/bin/objdump symlink that points to 
/usr/bin/arm-linux-objdump, which seems to work.
Is that right?

The next Error I hit was building arch/arm/kernel/kernel.o.  It read:

>/usr/arm-linux/bin/ld  -r -o kernel.o armksyms.o leds-footbridge.o dma.o
>hw-foot bridge.o entry-armv.o irq.o process.o ptrace.o setup.o signal.o
>sys_arm.o time.o  traps.o ioport.o dma-footbridge.o  isa.o dec21285.o
>/usr/arm-linux/bin/ld: cannot open ioport.o: No such file or directory
>make[1]: *** [kernel.o] Error 1
>make[1]: Leaving directory `/usr/src/linux-2.2.10/arch/arm/kernel'
>make: *** [_dir_arch/arm/kernel] Error 2

The arch/arm/kernel directory has no ioport.c file (there is one in
each arch/{i386, sparc,mips,sparc64}/kernel.
So I change arch/arm/kernel/Makefile that read:
>O_TARGET := kernel.o
>O_OBJS   := $(ENTRY_OBJ) irq.o process.o ptrace.o setup.o \
>           signal.o sys_arm.o time.o traps.o ioport.o
by erasing ioport.o. That seemed to work.
Is that right?
Would this be destroyed by a new 'make dep' as told in the Makefile header?

The next error I met was:
>make[1]: Leaving directory `/usr/src/linux-2.2.10/arch/arm/nwfpe'
>/usr/arm-linux/bin/ld -T /usr/src/linux/arch/arm/vmlinux-armv.lds -e stext
>-Ttext 0xC0008000 arch/arm/kernel/head-armv.o arch/arm/kernel/init_task.o
>init/main.o init/version.o \ --start-group \ arch/arm/kernel/kernel.o
>arch/arm/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ fs/filesystems.a \
>net/network.a \
>drivers/block/block.a drivers/char/char.a drivers/misc/misc.a drivers/net/net.a
>drivers/pci/pci.a arch/arm/special/special.a arch/arm/nwfpe/math-emu.a \
>arch/arm/lib/lib.a /usr/src/linux/lib/lib.a `/usr/arm-linux/bin/gcc
>-D__KERNEL__ -I/usr/src/linux/include  -mapcs-32 -mshort-load-bytes
>-mcpu=strongarm110 --print-libgcc-file-name` \         --end-group \         -o
>vmlinux /usr/arm-linux/bin/ld: target elf32-arm not found
>make: *** [vmlinux] Error 1                                                  

I know that elf32-arm should be armelf_linux.  I've already made the changes
in /usr/lib/gcc-lib/arm-linux/2.95.1/specs as required by
release.binutils-2.9.5.0.12 (although I thought this was only for glibc?)

Where (if I'm guessing right) are the variables to change, or what else should I
do?

Thank you all so much
--
Fran�ois Desloges
[EMAIL PROTECTED]
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to