Greetings
I tried to install ppp 2.2.0e with kernel 1.3.52. I ran "make kernel" as
was told in the README.linux, and then tried to compile the kernel as
told. I won't put every error message here but here's a snatch from the end:
ppp.c: In function `ppp_alloc':
ppp.c:3323: dereferencing pointer to incomplete type
ppp.c:3339: dereferencing pointer to incomplete type
ppp.c:3341: dereferencing pointer to incomplete type
ppp.c:3342: dereferencing pointer to incomplete type
ppp.c:3343: dereferencing pointer to incomplete type
ppp.c:3315: warning: `ppp' might be used uninitialized in this function
make[2]: *** [ppp.o] Error 1
There was many pages of this same kind of junk. Also the pppd compilation
bombed:
cc -g -D_linux_=1 -DHAVE_PATHS_H -c main.c -o main.o
In file included from /usr/include/net/ppp_defs.h:1,
from pppd.h:31,
from main.c:43:
/usr/include/linux/ppp_defs.h:99: parse error before `ext_accm'
/usr/include/linux/ppp_defs.h:99: warning: data definition has no type or
storag
e class
In file included from main.c:43:
pppd.h:69: parse error before `netmask'
pppd.h:69: warning: data definition has no type or storage class
pppd.h:114: parse error before `GetMask'
pppd.h:114: warning: parameter names (without types) in function declaration
pppd.h:114: warning: data definition has no type or storage class
In file included from main.c:44:
magic.h:23: parse error before `magic'
magic.h:23: warning: data definition has no type or storage class
In file included from main.c:46:
lcp.h:58: parse error before `u_int32_t'
lcp.h:58: warning: no semicolon at end of struct or union
lcp.h:59: warning: data definition has no type or storage class
lcp.h:61: parse error before `lqr_period'
etc.... gives a lot of similiar parse errors...
So, anyone have a clue what's going on here? I'll supply additional
information if needed... Or should I just get some earlier ppp version?
- Mjr
Disclaimer:
The opinions expressed above are mine and (hopefully) not those of the
Microsoft Corporation (not that I have anything to do with the thing)