On Wed, 2005-01-05 at 11:32 +0100, Peter S. Mazinger wrote:
> On Fri, 31 Dec 2004, Natanael Copa wrote:
> 
> > When it comes to ipsec-tools, it fails during compile. First it says
> > something about --disable-ipv6 so I added ipv6 to IUSE and a
> > $(use_enable ipv6) to the configure script. (btw... why not use
> > --disable-dependency-tracking? it speeds up compiling) Unfortunally it
> > failed to compile anyway:

<snip>

> > make: *** [all] Error 2
> 
> you missed the warning: dont use kernel headers in userspace (pfkey.c, 
> also setkey.c)
> 
> see #76741

It compiles with USE="-ipv6" both on uclibc and glibc.

with USE="ipv6" it fails. With glibc:

 In file included from session.c:32:
config.h:170:1: "INET6" redefined
<command line>:4:1: this is the location of the previous definition
In file included from isakmp_ident.c:34:
config.h:170:1: "INET6" redefined
<command line>:4:1: this is the location of the previous definition
In file included from isakmp.c:32:
config.h:170:1: "INET6" redefined
<command line>:4:1: this is the location of the previous definition
In file included from handler.c:32:
config.h:170:1: "INET6" redefined
<command line>:4:1: this is the location of the previous definition
distcc[32598] ERROR: compile session.c on mail failed
make[3]: *** [session.o] Error 1
make[3]: *** Waiting for unfinished jobs....
distcc[32605] ERROR: compile isakmp_ident.c on proxy failed

I guess this is a problem with the configure script. I suspect that
--disable-ipv6 is ok while --enable-ipv6 is not.

I'll try to find out how to fix it (im no expert on this, but I'm
learning) and add a new patch to bugzilla.

Oh, another thing, the configure takes this parameter also:
--with-kernel-headers=/usr/src/linux/include. So next question is if
that is necessary if ipsec-tools are not supposed to use kernel headers
in userspace?

Maybe it should be reported to the upstream ipsec-tools people?

--
Natanael Copa



--
[EMAIL PROTECTED] mailing list

Reply via email to