Bad Header? (2.1.125)

Dominus Aurorae (avarvae@concentric.net)
Fri, 16 Oct 1998 11:26:27 -0400


I can't seem to compile anything involving ppp_defs.h on 2.1.125. The
problem arised yesterday when I tried to get on the Internet via PPP with
this kernel. I discovered my old pppd just didn't cut it (as the docs
warned) and had to upgrade this to 2.3.5. Well, I download it, chat
compiles fine, then pppd won't compile it all, gives me a huge number of
parse errors in ppp_defs.h (I'm stuck in Win95 due to a lack of Internet
access under Linux (see above) so I can't paste the exact errors though
...), and this problem seems to be traceable to ppp_defs.h:

I created a .c file containing nothing but the following two lines:

#include <linux/ppp_defs.h>
int main() {}

and attempted to compile it, I got the same slew of parse errors in the .h.

Meaning: a) kernel 2.1.125 has runtime errors breaking gcc (but then why
does it build chat fine?), b) gcc 2.7.2.3 doesn't work with this software
(but then why does it build chat fine?), or c) glibc2.0.7 is shot (but then
why does it build chat fine?) or d) something's screwed with that header
(but why wasn't this found earlier, since the released pppd 2.3.5 source
has that same ppp_defs.h file?...)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/