[Openswan Users] 2.1.2rc1, 2.4.25, ipsec.o: unresolved symbol
ipsec_xform_get_info
Silvan Calarco
silvan.calarco at qilinux.it
Sun Apr 18 19:47:27 CEST 2004
Yes, the patch was applied to a clean 2.4.26 kernel sources dir.
If I do:
#grep ipsec_xform_get_info openswan-2.1.2rc2.kern.patch
+extern int ipsec_xform_get_info(char *buffer, char **start,
+ {"xforms", &proc_net_ipsec_dir, NULL,
ipsec_xform_get_info, NULL, NULL},
But what surprises more is:
# diff openswan-2.1.2rc2.kern.patch openswan-2.1.2rc1.kern.patch
63580c63580
< +IPSECVERSION=2.1.2rc2
---
> +IPSECVERSION=2.1.2
...the only difference beetwen 2.1.2rc1 and 2.1.2rc2 kernel patch.
Are the patches well done ???
The URL I've downloaded from is:
http://www.openswan.org/code/openswan-2.1.2rc2.kern.patch.gz
The include/openswan directory is still missing too (I made a symlink to
include/freeswan, but don't know whether it is correct).
Silvan
Alle 17:51, domenica 18 aprile 2004, hai scritto:
> Did you start with a fresh (well, not patched with 2.1.2rc1) source tree?
>
> In 2.1.2rc2, I do:
>
> $ egrep -r "ipsec_xform_get_info" *
> $
>
> So there's no references to that variable in the tree at all.
>
> On Sun, 18 Apr 2004, Silvan Calarco wrote:
> > Alle 17:49, sabato 17 aprile 2004, Ken Bantoft ha scritto:
> > > You ran into the hazards of rc# builds - rc1 was bad. I've fixed this,
> > > and have issued rc2 now, so give that a shot.
> >
> > I've built 2.1.2rc2 with a 2.4.26 kernel, an got the same unresolved
> > symbol error:
> >
> > [root at coltrane ipsec]# modprobe ipsec
> > /lib/modules/2.4.26preempt/kernel/net/ipsec/ipsec.o:
> > /lib/modules/2.4.26preempt/kernel/net/ipsec/ipsec.o: unresolved symbol
> > ipsec_xform_get_info
> > modprobe: insmod /lib/modules/2.4.26preempt/kernel/net/ipsec/ipsec.o
> > failed modprobe: insmod ipsec failed
> >
> > [root at coltrane ipsec]# /etc/rc.d/init.d/ipsec start
> > ipsec_setup: Starting Openswan IPsec 2.1.2rc2...
> > ipsec_setup: /lib/modules/2.4.26preempt/kernel/net/ipsec/ipsec.o:
> > /lib/modules/2.4.26preempt/kernel/net/ipsec/ipsec.o: unresolved symbol
> > ipsec_xform_get_info
> > ipsec_setup: Using /lib/modules/2.4.26preempt/kernel/net/ipsec/ipsec.o
> > ipsec_setup: modprobe: Can't locate module af_key
> > ipsec_setup: /sbin/insmod
> > /lib/modules/2.4.26preempt/kernel/net/ipsec/ipsec.o ipsec_setup:
> > /lib/modules/2.4.26preempt/kernel/net/ipsec/ipsec.o:
> > /lib/modules/2.4.26preempt/kernel/net/ipsec/ipsec.o: unresolved symbol
> > ipsec_xform_get_info
> > ipsec_setup: modprobe:
> > insmod /lib/modules/2.4.26preempt/kernel/net/ipsec/ipsec.o failed
> > ipsec_setup: modprobe: insmod ipsec failed
> > ipsec_setup: kernel appears to lack KLIPS
--
Silvan Calarco
QiNet s.r.l.
Via Sansovino 243/65L
10151 Torino
Italy
Email: silvan.calarco at qinet.it
Phone: +39 011.19703500
Fax: +39 011.19703509
Mobile: +39 349.3009705
Visit http://www.qilinux.it - Home of the QiLinux distribution
More information about the Users
mailing list