Francois Desloges writes:
> "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.
Either your installation of the binutils failed in some manner (it created
/usr/arm-linux/bin/ld and not /usr/arm=linux/bin/objdump), or you have not
correctly set CROSS_COMPILE. I always use the "arm-linux-" version, and
have not been using the full path with it for months now.
> /usr/bin/arm-linux-objdump, which seems to work.
> Is that right?
It's an acceptable way to get around the problem, but it should be reported
to the binutils maintainers.
> >/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
Known problem with 2.2.10. Why not use 2.2.12?
> by erasing ioport.o. That seemed to work.
> Is that right?
No. Get a later version of the source. ioport.c got missed out (cause I
have the reference tree and 4 built trees, ioport.c never got back to the
reference tree for some reason).
> 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?)
You need to remove the `OUTPUT_FORMAT("elf32-arm", "elf32-arm", "elf32-arm")' line
from arch/arm/vmlinux-armv.lds
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King [EMAIL PROTECTED] --- ---
| | | | http://www.arm.linux.org.uk/~rmk/armlinux.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]