AW: [Openswan Users] Openswan 2.4.0 + Linux 2.6.12 + Klips?

Martin Bene martin.bene at icomedias.com
Tue Nov 1 11:32:24 CET 2005


Hi Paul,

Thanks for your answer.
> > * Kernel.org kernel 2.6.12.6
> 
> > EFLAGS: 00010246   (2.6.12.6)
> > EIP is at sk_alloc+0xd5/0x100
> 
> Not sure in when sub version of linux 2.6.12 they changed the argument
> order of sk_alloc. You might need to change the define for
> NET_26_12_SKALLOC in ./linux/include/openswan/ipsec_kversion.h

Unfortunately this doesn't seem to be the problem. net/core/sock.c isn't
touched by any of the 2.6.12 fixups, the declaration in the sources
(struct sock *sk_alloc(int family, int priority, struct proto *prot, int
zero_it)) matches what openswan expects.

So, what else would be possible?

OS: gentoo.
C compiler:
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/specs
Configured with: /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/
g++-v3 --host=i686-pc-linux-gnu --disable-altivec --enable-nls
--without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --disable-multilib
--disable-libgcj --enable-languages=c,c++ --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.6 (Gentoo Hardened 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)

Thanks for hany hints,

Martin


More information about the Users mailing list