Re: [Probably OT] Problems in linking kernel 2.1.xxx

brent verner (damonbrent@earthlink.net)
Sat, 02 Jan 1999 05:25:15 -0500


see the faq relating to compiler version...

i wish i could offer some answer. using egcs 1.1.1, binutils 2.9.1.?,
and libc-2.0.7(pre?) -- 2.2.0pre3 built beautifully for me. though
the broken fat32 support will probably make me hose that dusty ol'
win98 partition (probably about time :-).

brent

Dominik Weis wrote:
>
> I have a problem to link the kernels 2.1.131, 2.1.132, 2.2.0pre1 and
> 2.2.0pre1-ac4(I get the same error message with all four versions). I use
> egcs 1.1.1, binutils 2.9.1.0.15, and glibc 2.0.7pre6. Does someone know
> what part is wrong. Thanks for your help.
>
> Dominik
>
> ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext
> arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
> init/version.o \
> arch/i386/kernel/kernel.o arch/i386/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/cdrom/cdrom.a drivers/pci/pci.a
> drivers/pnp/pnp.a drivers/video/video.a \
> /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
> /usr/src/linux/arch/i386/lib/lib.a \
> -o vmlinux
> arch/i386/kernel/kernel.o(__ksymtab+0x88): undefined reference to
> `csum_partial_copy'
> net/network.a(sock_n_syms.o)(__ksymtab+0x268): undefined reference to
> `csum_partial'
> net/network.a(core.o): In function `csum_partial_copy_fromiovecend':
> core.o(.text+0x171d): undefined reference to `csum_partial'
> core.o(.text+0x175a): undefined reference to `csum_partial'
> core.o(.text+0x17da): undefined reference to `csum_partial_copy_generic'
> net/network.a(ipv4.o): In function `tcp_v4_rcv':
> ipv4.o(.text+0x12204): undefined reference to `csum_partial'
> net/network.a(ipv4.o): In function `udp_getfrag':
> ipv4.o(.text+0x13adc): undefined reference to `csum_partial'
> net/network.a(ipv4.o): In function `udp_rcv':
> ipv4.o(.text+0x144a6): undefined reference to `csum_partial'
> net/network.a(ipv4.o): In function `icmp_glue_bits':
> ipv4.o(.text+0x15a04): undefined reference to `csum_partial_copy'
> ipv4.o(.text+0x15a20): undefined reference to `csum_partial_copy'
> ipv4.o(.text+0x15a33): undefined reference to `csum_partial_copy'
> net/network.a(ipv4.o): In function `icmp_rcv':
> ipv4.o(.text+0x161b0): undefined reference to `csum_partial'
> net/network.a(unix.o): In function `unix_mkname':
> unix.o(.text+0x7d): undefined reference to `csum_partial'
> net/network.a(unix.o): In function `unix_autobind':
> unix.o(.text+0x5b2): undefined reference to `csum_partial'
> make: *** [vmlinux] Error 1
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/