linux-mips-fnet
[Top] [All Lists]

Building Problem with Haralds Kernel

To: linux-mips@fnet.fr
Subject: Building Problem with Haralds Kernel
From: Frieder Streffer <frist@lehr.chem.tu-berlin.de>
Date: Mon, 23 Mar 1998 14:19:25 +0100 (CET)
Hi Harald,

I've got a problem with your latest DECstation Kernel (2.1.73) and need
help or advice. 
I got the new binutils (2.8.1) and they compiled right out of the box, but
when I try to compile the Kernel (gcc 2.7.2, binutils 2.8.1) it breaks
during the last ld call

mipsel-linux-ld -static -G 0 -T arch/mips/ld.script.little -Ttext 0x80000000 
arch/mips/kernel/head.o arch/mips/kernel/init_task.o init/main.o init/version.o 
\
        arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o mm/mm.o 
fs/fs.o ipc/ipc.o arch/mips/dec/dec.o \
        fs/filesystems.a \
        net/network.a \
        drivers/block/block.a drivers/char/char.a drivers/misc/misc.a 
drivers/net/net.a \
        arch/mips/lib/lib.a /home/frieder/linux/linux/lib/lib.a 
arch/mips/lib/lib.a \
        -o vmlinux
net/network.a(core.o): In function `sock_setsockopt':
sock.c(.text+0x3d0): undefined reference to `dev_get'
sock.c(.text+0x3d0): relocation truncated to fit: R_MIPS_26 dev_get
sock.c(.text+0x40c): undefined reference to `ip_route_output'
sock.c(.text+0x40c): relocation truncated to fit: R_MIPS_26 ip_route_output
make: *** [vmlinux] Error 1

I have no idea about this error and I tried a lot of different
configuration but did'nt succied to resolve the problem. 
Here is the simplest one:
CONFIG_EXPERIMENTAL=y

CONFIG_DECSTATION=y
CONFIG_CPU_R3000=y

CONFIG_CPU_LITTLE_ENDIAN=y
CONFIG_ELF_KERNEL=y
CONFIG_BINFMT_ELF=y

CONFIG_EXT2_FS=y
CONFIG_PROC_FS=y

CONFIG_CROSSCOMPILE=y

It should'nt be to complicated but I do not see the clou.

Any Ideas???

Thanx

Frieder

<Prev in Thread] Current Thread [Next in Thread>