Re: Compiling 2.1.13

Philip Blundell (pjb27@cam.ac.uk)
Sun, 24 Nov 1996 00:04:53 +0000 (GMT)

On Sat, 23 Nov 1996, Scott Laird wrote:

> 2.1.13 won't build with IPv6 on my UDB. It comes much closer than
> either 2.1.11 or 2.1.12, but it dies in the end with undefined
> references to csum_ipv6_magic.
>
> Of course, it's not that hard to work around, but it's still a pain.

The undefined reference is because arch/alpha/lib/Makefile is still
broken. You need to do something like this:

--- Makefile~ Thu Nov 14 17:01:15 1996
+++ Makefile Thu Nov 14 16:59:30 1996
@@ -5,7 +5,7 @@
OBJS = __divqu.o __remqu.o __divlu.o __remlu.o memset.o memcpy.o io.o \
checksum.o csum_partial_copy.o strlen.o \
strcat.o strcpy.o strncat.o strncpy.o stxcpy.o stxncpy.o \
- strchr.o strrchr.o \
+ strchr.o strrchr.o csum_ipv6_magic.o \
copy_user.o clear_user.o strncpy_from_user.o strlen_user.o

However, that may still not be a win, because the code in
csum_ipv6_magic.S seemed to be buggy last time I tried it, and it doesn't
_look_ like it's been fixed since. In that case, the best thing to do is
to patch include/asm/checksum.h so that the special code doesn't get used:

--- checksum.h~ Sun Nov 24 00:03:53 1996
+++ checksum.h Sat Nov 23 23:56:57 1996
@@ -66,7 +66,7 @@
return ~sum;
}

-#define _HAVE_ARCH_IPV6_CSUM
+#undef _HAVE_ARCH_IPV6_CSUM
extern unsigned short int csum_ipv6_magic(struct in6_addr *saddr,
struct in6_addr *daddr,
__u16 len,

phil

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices