netdev
[Top] [All Lists]

Fw: [BUG] linux >= 2.6.5 won't compile with CONFIG_IPV6=m and CONFIG_IP6

To: netdev@xxxxxxxxxxx
Subject: Fw: [BUG] linux >= 2.6.5 won't compile with CONFIG_IPV6=m and CONFIG_IP6_NF_QUEUE=y
From: Andrew Morton <akpm@xxxxxxxx>
Date: Mon, 19 Apr 2004 01:14:18 -0700
Sender: netdev-bounce@xxxxxxxxxxx

Begin forwarded message:

Date: Mon, 19 Apr 2004 00:44:36 -0700
From: Corey Hickey <bugfood-ml@xxxxxxxxxx>
To: linux-kernel@xxxxxxxxxxxxxxx
Subject: [BUG] linux >= 2.6.5 won't compile with CONFIG_IPV6=m and 
CONFIG_IP6_NF_QUEUE=y


[If I ought to send this to a different list/person, please tell me and
I'll do so]

I've tested 2.6.5-rc3, 2.6.5, and 2.6.6-rc1-bk3. 2.6.5-rc3  isn't
affected by this problem, but the other two (and I presume any version
in between) fail with this message:

-------------------
  AS      arch/i386/lib/getuser.o
  CC      arch/i386/lib/memcpy.o
  CC      arch/i386/lib/strstr.o
  CC      arch/i386/lib/usercopy.o
  AR      arch/i386/lib/lib.a
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
net/built-in.o(.text+0x67b20): In function `ipq_mangle_ipv6':
: undefined reference to `ip6_route_me_harder'
make: *** [.tmp_vmlinux1] Error 1
-------------------

Attached is my .config from 2.6.5.


Steps to reproduce:
1. Start with a kernel tree from 2.6.5 or later.
2. make defconfig
3. make menuconfig
   a. Enable ipv6 as a module
   b. Enable ipv6 "Userspace queueing via NETLINK" (not as a module).
4. make

I can make the error go away by either (a)setting CONFIG_IPV6=y, or
(b)setting CONFIG_IP6_NF_QUEUE=m.


System details:
2.6.5-mm1
Debian Sarge
libc6 version 2.3.2.ds1-11
gcc version 2.95.4 20011002 (Debian prerelease)
  Note: I have the same problem compiling with GCC 3.3:
  gcc version 3.3.3 (Debian 20040401)
GNU assembler 2.14.90.0.7 20031029 Debian GNU/Linux
GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux

Thanks,
Corey

Attachment: config-2.6.5
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>