[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openswan-dev
Subject:    Re: [Openswan dev]  [PATCH] Source changes required to build KLIPS
From:       Nate Carlson <natecars () natecarlson ! com>
Date:       2004-06-28 19:41:15
Message-ID: Pine.LNX.4.58.0406281437310.29709 () conformity ! technicality ! org
[Download RAW message or body]

On Mon, 28 Jun 2004, Ferdinand O. Tempel wrote:
> Well, Nate, if it makes you happy, I replayed all your steps too, and I
> got a nice ipsec connection going with KLIPS. As proof, I attached a
> barf :P
>
> When I first tried I couldn't get things to compile as it missed source
> files. Then I figured out you're supposed to run move-files *and*
> move-files-2 (D'oh!). So after I did that, the module built just fine.
> It also loaded just fine, and my test connection comes up fine. So, you
> can take pride in your hard work, you now have at least one success
> report.

Glad to hear you got it working! Yeah, I added the second set of files to 
move later, when I figured out I hadn't enabled ipcomp.

> Also attached you'll find a patch to your Makefile which removes the
> hardcoded paths. Of course it assumes you want to build the module for
> the running 2.6 kernel :P If that is not the case, a method should be
> devised to use KERNELSRC from the toplevel Makefile.inc. But that's
> integration work, later.

Yeah, that makefile is a total hack - I'm really not a programmer, so I
just kludged something together to get it working. Thanks for the patch,
though - makes things easier until someone who knows what they are doing
with the build system can take a look at it.  :)

If you happen to be a programmer, and want to take a look at it, there is
still a problem with NAT Traversal compiling, because of some structural
changes in 2.6 (specifically, tp_pinfo has been removed). If you want to
try this out, just uncomment the line referring to NAT_TRAVERSAL in the
makefile.

------------------------------------------------------------------------
| nate carlson | natecars@natecarlson.com | http://www.natecarlson.com |
|       depriving some poor village of its idiot since 1981            |
------------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic