|
|||||||||||
|
Re: linux-ipsec: Latest snapshot and 2.0.35
From: Michael H. Warfield <mhw(at)alcove.wittsend.com>
Date: Wed Jul 29 1998 - 11:32:04 EDT
> > > Right. That is why it is encapsulated with #ifdef CONFIG_IPSEC. If I
> Ok...I am guilty here of not regenerating the patches from my tree...I
:-) Wish that was the worst I've ever done! :-) On to the next thing... RedHat 5.x... Sigh... Couple of my systems are RedHat 5.1 systems. Needless to say, things caught fire and burned. After "smbmount/smbmnt/smbumount" from the samba package and Darren's ipFilter package, I'm getting into the habit of donning asbestos underwhere anytime I start to build anything on RedHat 5.x that comes anywhere near the kernel... :-( I found the "RH50" define in the pluto Makefile and got that to go. None of the sources in klips/utils would compile without some modification. Almost all of them needed the addition of an "#include <asm/types.h>" in order to pick up __u8 and others of its family of defines. Two of them, spi.c and spigrp.c, need to have the "#include <linux/ip.h>" #ifdef'ed out (they conflict on ntohl and htonl and such macros). Then tncfg.c had to have "#include <sys/socket.h>" #ifdef'ed out as well. I'm not TOTALLY sure that those were the "correct" changes to make (the <asm/types.h> probably had better wrapper header files, I just didn't bother to take the time and track them down), but they were the combinations that got the suckers to compile. The #ifdef's were all done under a RH50 define which I added to the Makefile (but see remarks below). I'll let you know if any of them "bomb" in testing... : : - Blow by blow deleted... : > Exactly. I do remember having to add them now... Thanks much for your help.
No problem. :-) Just glad to get this going...
> > Mike
> slainte mhath, RGB
Mike -- Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com (The Mad Wizard) | (770) 925-8248 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!Received on Wed Jul 29 11:32:33 1998 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:25 EDT |
||||||||||
|
|||||||||||