Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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


Richard Guy Briggs enscribed thusly:
> > Richard Guy Briggs enscribed thusly:

> > > 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! :-)

        Hmmm... Didn't seem to make it into the 1998Jul29 snapshot this morning... Ok... Probably missed the wire and should show up later. Now that I know what it is (and that I am not losing my mind) I can just hand patch that one file and get on with it...

        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.

Do you need help?X

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

        Finally, the "make insert" bombed. Seem that the newer "patch" program is really PICKY about the -p option and now requires the numeric parameter to it. Changed all instances of "patch -p" to "patch -p0" in the root Makefile and go that to work (that is backward compatible with the older makefile and should go in cleanly).

        I would recommend chosing some other symbol for the #ifdef's since it ain't just RedHat 5.0 but with be any RedHat 5.x or any other Glibc 6 distribution. I've seen GLIB6 used as a switch in some packages (samba?).

        Oh... And add the RedHat stuff to the README files... I had to run it down by editing the pluto sources and then noticing an #ifdef that was not real close to where the errors occured...

	:
	: - 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
> --
> Richard Guy Briggs -- PGP key available Auto-Free Ottawa!
> rgb at conscoop dot ottawa dot on dot ca
http://www.flora.org/afo/
> http://www.achilles.net/~rgb/ Ottawa-Rideau Bioregion, Canada
> Please send all spam to root@127.0.0.1
>
> "We left our footprints in the Earth
> And punched a hole right through the sky" -- S.Hogarth/J.Helmer(Marillion)

Do you need more help?X

        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


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library