Package: kernel-patch-openswan
Version: 2.3.0-2
Severity: important

Using the configuration file from kernel-image-2.6.10-1-386,
config-2.6.10-1-386.  I changed no option in menuconfig.

  LD      .tmp_vmlinux1
net/built-in.o(.text+0x68c90): In function `strstr':
: multiple definition of `strstr'
arch/i386/lib/lib.a(strstr.o)(.text+0x0): first defined here
ld: Warning: size of symbol `strstr' changed from 47 in 
arch/i386/lib/lib.a(strstr.o) to 94 in net/built-in.o
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/sw/WORK/Debian/Kernel/kernel-source-2.6.10'
make: *** [stamp-build] Error 2

The strstr in net/built-in.o is from net/ipsec/addrtot.c, added by the
openswan patch:

#if defined(__KERNEL__) /* && !defined(__HAVE_ARCH_STRSTR) */
/*
 * Find the first occurrence of find in s.
 * (from NetBSD 1.6's /src/lib/libc/string/strstr.c)
 */
char *
strstr(s, find)
        const char *s, *find;
{
...
}
#endif

I can find defines for __HAVE_ARCH_STRSTR, but they are not seen:

include/asm-m68knommu/string.h:#define __HAVE_ARCH_STRSTR 1
include/asm-i386/string.h:#define __HAVE_ARCH_STRSTR
include/asm-h8300/string.h:#define __HAVE_ARCH_STRSTR 1
include/asm-s390/string.h:#define __HAVE_ARCH_STRSTR    /* arch function */

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-lpc.7.k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages kernel-patch-openswan depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  fileutils                     5.2.1-2    The GNU file management utilities 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to