Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Philip Blundell <pjb27@cam.ac.uk>
Subject: Re: Compiling 2.1.13
Date: Sun, 24 Nov 1996 00:04:53 +0000 (GMT)	[thread overview]
Message-ID: <6f40006b6d0f50e020ccb6718f6989e1.axp-list@archive.invalid> (raw)

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

             reply	other threads:[~1996-11-24  0:04 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-24  0:04 Philip Blundell [this message]
     [not found] <Pine.GSO.3.95.961124014837.24214A-100000@nks.oulu.fi>
1996-11-25  8:32 ` Compiling 2.1.13 Andreas Kostyrka
     [not found] <199611232231.PAA01836@panda.mosberger>
1996-11-23 22:41 ` Vik Bajaj
1996-11-23 22:43 ` Terran Lane
1996-11-24 16:56 ` Richard Henderson
     [not found] <Pine.LNX.3.95.961124000248.3056B-100000@rebekka.tu-graz.ac.at>
1996-11-24 16:52 ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1996-11-23 23:29 David Mosberger-Tang
1996-11-23 23:50 ` Topi Kanerva
1996-11-24  1:49 ` Terran Lane
1996-11-23 23:21 Matthew Jacob
1996-11-23 23:07 Matthew Jacob
1996-11-23 23:03 Matthew Jacob
     [not found] <Pine.LNX.3.91.961123175146.1841B-100000@localhost>
1996-11-23 23:02 ` Terran Lane
1996-11-23 23:52 ` Philip Blundell
1996-11-23 22:49 Matthew Jacob
1996-11-23 22:54 ` Paul D. Robertson
1996-11-23 22:59 ` Vik Bajaj
1996-11-23 22:31 David Mosberger-Tang
1996-11-23 22:26 Matthew Jacob
1996-11-23 23:06 ` Fritz Ganter
1996-11-23 22:16 Matthew Jacob
1996-11-25  8:30 ` Andreas Kostyrka
1996-11-23 22:04 Scott Laird
1996-11-23 21:59 Terran Lane
1996-11-23 22:21 ` Vik Bajaj
1996-11-23 21:34 Matthew Jacob
1996-11-23 21:16 Vik Bajaj
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox