[Openswan dev] New/final steps to build KLIPS on 2.6

Nate Carlson natecars at natecarlson.com
Tue Jun 29 21:08:00 CEST 2004


On Tue, 29 Jun 2004, Ferdinand O. Tempel wrote:
> While I was working on getting that NAT-T stuff working again, I ran
> into the ugliness of the Makefile again. So I hacked on it a bit, and
> attached is the result.
> 
> This Makefile builds the required library components in place, removing
> the requirement to move the files into the module build directory. What
> this does when you 'make programs' before or after the build I haven't
> looked at (yet). Maybe I'll just force a make clean in all related
> directories.
> 
> One small caveat: I couldn't get the zlib stuff working, so I left that
> out of this Makefile. Zlib is currently a bit messy in openswan as it's
> spread out across different directories. There is a bit in
> linux/lib/zlib, but also a blurp in linux/include/zlib, and they seem to
> be unable to relate to eachother when trying to build from the module
> directory, at least using kbuild. If someone sees a way to fix that, I'd
> love to see it.
> 
> This Makefile works for me, it produces a module which loads and works.
> 
> Now back to NAT-T, and when that is done (or when I give up) I'll hack
> on integrating a 2.6 KLIPS build into the regular build process.

Cool - thanks! I'd like to hear from MCR which way he'd prefer to do it -
when I first brought up the 2.6 port a long time ago, he did indicate that
we'd need to move some files around; not sure which way he meant by that.  
:)

------------------------------------------------------------------------
| 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