Re: socket.h errors in ppp compile

Myrdraal (myrdraal@jackalz.dyn.ml.org)
Sun, 21 Dec 1997 12:02:57 -0500


On Sat, Dec 20, 1997 at 11:42:41PM -0800, Dwight Johnson wrote:
Hi,
> On Sun, 21 Dec 1997, Nicholas J. Leon wrote:
> > On Sat, 20 Dec 1997, Bernhard Rosenkraenzer wrote:
> > # > I am attempting to compile ppp-2.3.2 with kernel 2.0.33.
> > # ppp-2.3.2 is not compatible with glibc.
> > I'm using it under glibc-2.0.5c with no problems.
> Are you sure you are using ppp-2.3.2 and not ppp-2.2.0f?
> If so, how did you compile it?
I also am running ppp 2.3.2 under glibc 2.0.6pre4, it required a bit of
tweaking to compile, though. What I did was copy socket.h to the compile
directory and make sys-linux.c include that copy, then I commented out
where socket.h included sockbits.h, and imported the one thing that was
needed out of sockbits.h into the socket.h (I forget which one it was,
but if you try to compile, it'll complain about that and you can just
move it.), and presto... It worked, albeit with many warnings.
-Myrdraal