[Openswan dev] [PATCH] Source changes required to build KLIPS on 2.6

Nate Carlson natecars at natecarlson.com
Thu Jun 24 11:38:35 CEST 2004


On Thu, 24 Jun 2004, Paul Wouters wrote:
> I also ran the move-files-2 script

You'll also need to move the 'trees.h' file and modify adler32.c - see my 
subsequent followups.

> That 'module' should be 'modules'.

Yeah - sorry about that!

> It almost works and compiles most of the stuff, then dies at not having
> a target for linux/net/ipsec/version.o
> 
> But this is on 2.2.0dr1, so I'll try it on head instead.

version.c is dynamically generated when you build the rest of openswan.

if you run a make programs first, that file should be available; 
alternatively, you can just copy version.in.c to version.c, and modify 
'xxx' to something useful.

In my CVS checkout, I already had a version.c, so I didn't run into this.

I did just run a make programs - it fails, because of some of the files
that need to be moved into linux/net/ipsec. Probably best to just copy
files instead of moving them; that way, make programs will still work.  
Duplication of files sucks, but it's a temporary hack.

> What happens when you try to load both ipsec.ko and af_key.ko/esp4.ko ?
> :) (sync your box before trying this :)

If I try to load ipsec after af_key, it gives a 'Device Busy' error, or 
something like that. Haven't tried the other way.  :)

------------------------------------------------------------------------
| nate carlson | natecars at natecarlson.com | http://www.natecarlson.com |
|       depriving some poor village of its idiot since 1981            |
------------------------------------------------------------------------


More information about the Dev mailing list