[Openswan dev] Re: CVS HEAD: ipsec: Unknown symbol ipsec_3des_init

Antony Antony appu at phenome.org
Sun May 8 10:33:15 CEST 2005


looked around a bit more, look  like issue is only in CVS HEAD.  The function ipsec_3des_init is an external function. I can't find where its definition or body is. I wonder where this function defined.

make -C /usr/src/linux  BUILDDIR=/usr/src/openswan-2/modobj26 SUBDIRS=/usr/src/openswan-2/modobj26 MODULE_DEF_INCLUDE=/usr/src/openswan-2/packaging/linus/config-all.h ARCH=i386 modules

*** Warning: "ipsec_3des_init" [/usr/src/openswan-2/modobj26/ipsec.ko] undefined!

  CC      /usr/src/openswan-2/modobj26/ipsec.mod.o
  LD [M]  /usr/src/openswan-2/modobj26/ipsec.ko
make[2]: Leaving directory `/usr/src/linux-2.6.11.8'

=========================================================

KLIPS26 module built successfully.
ipsec.ko is in /usr/src/openswan-2/modobj26

-rw-r--r--  1 root src 419471 2005-05-08 08:28 ipsec.ko
   text    data     bss     dec     hex filename
 320616   10480    5884  336980   52454 ipsec.ko


the functions are defined as extern in two places also it appears this function only used in the CVS HEAD version, can't find in other releases. I am pushed to use cvs for other reason. May be I will try 2.3.1 again.

modobj26/ipsec_alg.c:820:               extern int ipsec_3des_init(void);
linux/net/ipsec/ipsec_alg.c:820:                extern int ipsec_3des_init(void);

-antony


On Sat, May 07, 2005 at 01:49:20PM +0200, Antony Antony wrote:
> Hi,
> 
> I am trying to get klips working. modeprobe fails with errors. 
> 
> /usr/src/openswan-2#; modprobe  ipsec
> FATAL: Error inserting ipsec (/lib/modules/2.6.11.8/kernel/net/ipsec/ipsec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
> 
> from dmesg
> 
> NET: Unregistered protocol family 15
> ipsec: Unknown symbol ipsec_3des_init
> NET: Registered protocol family 15
> Initializing IPsec netlink socket
> ipsec: Unknown symbol ipsec_3des_init
> 
> Look like 3DES is not linked? also not sure if 3DES is compiled, but des.ko loaded. Saw the same problem with 2.3.1 release also.
> 
> I compiled openswan cvs head version for kernel 2.6.11.8(from kernel.org), but the module ipsec is not loading.  any suggestions how fix this ?
> 
> -antony


More information about the Dev mailing list