Re: ac8 and ac10

Stephen Frost (sfrost@ns.snowman.net)
Sun, 13 Dec 1998 03:30:54 -0500 (EST)


When you patch use patch -E + whatever other options you use (I would
guess -p1). Problem is older patch utilities don't automagically delete empty
files, this doesn't appear to normally cause a problem, however in this case
it does because checksum.c is left around and is used instead of checksum.S,
which is the correct file to use. Another way to correct this would be to
rm arch/i386/checksum.c as I recall.

Stephen

On Sat, 12 Dec 1998, Yasushi Shoji wrote:

> hi kernel hackers,
>
> i just tried ac8 and ac10, applied to vanulla .131
> and i got following errors.
>
> just letting you know :)
>
> ld -m elf_i386 -T /usr/src/linux-2.1.131ac10/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/scsi/scsi.a \
> drivers/cdrom/cdrom.a \
> drivers/pci/pci.a \
> drivers/video/video.a \
> /usr/src/linux-2.1.131ac10/arch/i386/lib/lib.a \
> /usr/src/linux-2.1.131ac10/lib/lib.a \
> /usr/src/linux-2.1.131ac10/arch/i386/lib/lib.a \
> -o vmlinux
> net/network.a(sock_n_syms.o)(__ksymtab+0x280): undefined reference to `csum_part
> ial'
> net/network.a(core.o): In function `csum_partial_copy_fromiovecend':
> core.o(.text+0x158a): undefined reference to `csum_partial'
> core.o(.text+0x15d2): undefined reference to `csum_partial'
> core.o(.text+0x166e): undefined reference to `csum_partial_copy_generic'
> net/network.a(ipv4.o): In function `ip_reply_glue_bits':
> ipv4.o(.text+0x57d2): undefined reference to `csum_partial_copy_generic'
> ipv4.o(.text+0x57fd): undefined reference to `csum_partial_copy_generic'
> net/network.a(ipv4.o): In function `tcp_do_sendmsg':
> ipv4.o(.text+0x7173): undefined reference to `csum_partial'
> ipv4.o(.text+0x71f2): undefined reference to `csum_partial_copy_generic'
> ipv4.o(.text+0x742c): undefined reference to `csum_partial_copy_generic'
> net/network.a(ipv4.o): In function `tcp_fragment':
> ipv4.o(.text+0xb42d): undefined reference to `csum_partial'
> net/network.a(ipv4.o): In function `tcp_retrans_try_collapse':
> ipv4.o(.text+0xb83e): undefined reference to `csum_partial'
> net/network.a(ipv4.o): In function `tcp_v4_send_check':
> ipv4.o(.text+0xe2cb): undefined reference to `csum_partial'
> net/network.a(ipv4.o): In function `tcp_v4_send_synack':
> ipv4.o(.text+0xe4e9): undefined reference to `csum_partial'
> net/network.a(ipv4.o): In function `tcp_v4_rcv':
> ipv4.o(.text+0xf07e): undefined reference to `csum_partial'
> net/network.a(ipv4.o)(.text+0x10840): more undefined references to `csum_partial
> ' follow
> /usr/src/linux-2.1.131ac10/arch/i386/lib/lib.a(checksum2.o): In function `csum_p
> artial_copy':
> checksum2.o(.text+0x34): undefined reference to `csum_partial_copy_generic'
> make: *** [vmlinux] Error 1
>
> ---
> -o) Yasushi Shoji | PGP Public Key
> /\\ yashi@yashi.com | http://yashi.com/public_key.txt
> _\_v2.1.131 Powered by Linux and Open Source Software
>
> -
> 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/