Hello All,
I'm in the process of catching up again with the current
progress (real busy at the other office :), and have run into a snag.
I've picked up the binutils-2.6-1.diffs and the gcc-2.7.2-1.diffs and
applied them to create a cross-development environment
(target=mipsel-linuxelf), and the linux-1.3.58.tar.gz source
from fnet.fr. The build seems to make it most of the way through
until it hits the magnum4000.S file upon which the assembler complains
(err, this is configured for a Magnum 4000, elf compiler, extra elf
compiler by the way):
mipsel-linuxelf-gcc -D__KERNEL__ -I/home/davidk/mips/kernel/v1.3/linux/include\
-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G0 -mno-abicalls\
-fno-pic -D__R4000__ -mcpu=r4400 -mips2 -c -o jazzdma.o jazzdma.c
mipsel-linuxelf-gcc -D__KERNEL__ -I/home/davidk/mips/kernel/v1.3/linux/include\
-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G0 -mno-abicalls\
-fno-pic -D__R4000__ -mcpu=r4400 -mips2 -c -o ksyms.o ksyms.c
/home/davidk/mips/kernel/v1.3/linux/include/asm/floppy.h:60: warning: `FDC2'
defined but not used
mipsel-linuxelf-gcc -D__KERNEL__ -I/home/davidk/mips/kernel/v1.3/linux/include\
-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G0 -mno-abicalls\
-fno-pic -D__R4000__ -mcpu=r4400 -mips2 -c magnum4000.S -o magnum4000.o
magnum4000.S: Assembler messages:
magnum4000.S:30: Error: Can not represent relocation in this object file format
make[1]: *** [magnum4000.o] Error 1
make[1]: Leaving directory
`/home/davidk/mips/kernel/v1.3/linux/arch/mips/kernel'
make: *** [linuxsubdirs] Error 2
Any ideas? I presume it has something to do with elf vs a.out, but
I have no idea where to look.
Oh, and another minor problem: the variable 'video_res_x' in
drivers/char/vga.c is undefined. It seems that it was supposed to be
an external, defined in drivers/char/console.c. Is that correct?
I've patched it temporarily and it gets past it now, however I haven't
attempted to boot a kernel yet... (See above :-)
--
David Kerry (davidk@sni.ca)
|