[Openswan Users] Problem compiling KLIPS as a module

ted leslie tleslie at tcn.net
Mon Apr 17 05:40:43 CEST 2006


i dont have my machine handy , so i cant give you specifics,
but 
i am almost positive the functions that are not found, exist
as assembly code in the openswan directory and not in anything to do with the kernel tree.
when you make all in the openswan directory, and do the install,
at that time a *.ko file is written to the /lib/modules/.........
and that ko file will contain the functions you got in your error list,

when you do  the varient of
make install
in the user land open swan directory,
do a 
make ....... > /tmp/tt1 2> /tmp/tt2
and when its done, look in those files, and you will see its dumping  *.ko file somewhere

if your still having trouble in a 1/2 day, i can reference my machine that runs Klips,
that i infact got the exact same error you got, and overcame it.

-tl


On Mon, 17 Apr 2006 01:25:51 -0700 (PDT)
John Serink <jserink2004 at yahoo.com> wrote:

> Thanx for the tips....
> I did a find for "ipsec.ko" and found only the
> original module from the kernel compile. I tried
> recompiling the user land tools and then doing a "make
> modules_install" but got the same error again.
> 
> Any other tips?
> 
> Cheers,
> John
> 
> 
> --- ted leslie <tleslie at tcn.net> wrote:
> 
> > 
> > i got this too,
> > what i think happened is,
> > you need to put the patch on the kernel, but you
> > need to compile the
> > openswan in its own directory and it has asembly
> > code for the unknown symbols,
> > you will find that the make install of the openswan
> > will write *.ko's
> > actually i think there is just one, that contains
> > thoses files,
> > 
> > assess what happens when you do a make install of
> > openswan,
> > capture the install "work" its doing and see where
> > it sticks the 
> > (i think) ipsec.ko file that it generates,
> > as apposed to the kernel.
> > 
> > -tl
> > 
> > 
> > On Sun, 16 Apr 2006 23:49:36 -0700 (PDT)
> > John Serink <jserink2004 at yahoo.com> wrote:
> > 
> > > Hi All:
> > > 
> > > My kernel:
> > > uname -a
> > > Linux johnathlonlinux 2.6.16-ck3 #8 PREEMPT Mon
> > Apr 17
> > > 18:31:59 SGT 2006 i686 Mobile AMD Athlon(tm) XP
> > 2500+
> > > GNU/Linux
> > > 
> > > When I compile KLIPS as a module, I get this:
> > > ipsec: Unknown symbol des_ede3_cbc_encrypt
> > > ipsec: Unknown symbol ipsec_3des_init
> > > ipsec: Unknown symbol des_check_key
> > > ipsec: Unknown symbol ipsec_aes_init
> > > 
> > > And of course the module won't load.
> > > 
> > > Any ideas?
> > > Cheers,
> > > John
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > > http://mail.yahoo.com 
> > > _______________________________________________
> > > Users at openswan.org
> > > http://lists.openswan.org/mailman/listinfo/users
> > > Building and Integrating Virtual Private Networks
> > with Openswan: 
> > >
> >
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
> > > 
> > _______________________________________________
> > Users at openswan.org
> > http://lists.openswan.org/mailman/listinfo/users
> > Building and Integrating Virtual Private Networks
> > with Openswan: 
> >
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan: 
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
> 


More information about the Users mailing list