Hi,
again me... what I did to make FreeS/WAN 1.96 with kernel 2.5.21 compile
& actually work is:
* patch drivers/isdn/i4l/isdn_net.c instead of
drivers/isdn/isdn_net.c (file moved...)
* symlink arch/i386/Config.help to Documentation/Configure.help
* net/Makefile needs a little patching
* net/ipsec/Makefile needs heavy patching (the whole Makefile
stuff has changed apparently)
* ipsec_init.c & ipsec_rcv.c need to include net/protocol.h
* the "not a member" errors you get in ipsec_tunnel.c &
pfkey_v2.c are fixed by wrapping the sock struct with
inet_sk()
* the "pointer from int without cast" in ipsec_tunnel.c are
fixed by removing two "0" entries from the device definitions
for ipsec0-3 (the fields rcvmem_(end|start) have been removed)
* sk_alloc in pfkey_v2.c takes a fourth argument which is NULL
* zlib/match[56]86.S check a macro "NO_UNDERLINE" which wasn't
defined here (using gcc-3.1.1) also the symbols should have
had no underlines... fixed this by hardwiring them to
no_underlines
I hope I didn't forget something. A diff against linux-2.5.21 is
available at
http://penguin-breeder.org/?page=kernel
(it also contans ppp_mppe patches and some fixes for the kernel,
furthermore I replaced all struct device with struct net_device there,
but I don't think this was necessary)
best regards
-- jochen
-- ...and I doubt complaining to the author will get you anything but a free procmail rule.
_______________________________________________ Users mailing list Users_at_lists.freeswan.org http://lists.freeswan.org/mailman/listinfo/users
This archive was generated by hypermail 2.1.3 : Mon Jul 29 2002 - 05:20:15 CEST