linux/signal.h bug (was Re: [2.1.69] Recipe I used to get pppd 2.3.2 to compile.)

Jimmie Farmer (calvin@malchick.com)
Tue, 2 Dec 1997 15:12:32 -0800 (PST)


On Tue, 2 Dec 1997, Myrdraal wrote:

> Hi,
> What I did to make pppd 2.3.2 compile is copy socket.h to the pppd directory,
> then edited sys-linux.c to use that file instead of the one in the include
> directories, I then edited the local socket.h and commented out the line
> where it included sockbits.h, and added this line to it:
> typedef unsigned int socklen_t;
> and it compiled nicely, infact I'm using it right now.

Actually, all I did to get ppp-2.3.2 to cleanly compile was to:

rm /usr/src/linux ; ln -s /usr/src/linux-2.0 /usr/src/linux

It compiled with no problems whatsoever with the 2.0 includes,
which would suggest that there are problems in the 2.1 includes. In this
case, it seems to be linux/signal.h.

I am using libc5, if this matters (5.4.38).

I would like to thank Manuel J. Galan for his patch to get 2.1.69
to compile with the ppp-2.3.2 ppp.c, though. Thanks!

Sincerely,
Jimmie Farmer

Jimmie Farmer | It is by the fortune of God that, in this country,
Techno Geek/Musician | we have three benefits: freedom of speech, freedom
calvin@malchick.com | of thought, and the wisdom never to use either.
http://www.malchick.com/ | -- Mark Twain