I seem to be having some problems getting ppp 2.3.5 compiled on my
RedHat 5.1 Linux 2.2.0 box. I get through the ./configure, make kernel,
I get the new kernel completed and installed, but when I attempt a
"make" from the ppp-2.3.5 source directory I get "stuff" like:
make[1]: Entering directory `/usr/local/src/ppp-2.3.5/pppd'
cc -O2 -pipe -Wall -g -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE
-I../include -DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DHAS_SHADOW -c
sys-linux.c -o sys-linux.o
In file included from sys-linux.c:68:
../include/linux/ppp_defs.h:97: parse error before `ext_accm'
../include/linux/ppp_defs.h:97: warning: data definition has no type or
storage class
../include/linux/ppp_defs.h:113: parse error before `__u32'
../include/linux/ppp_defs.h:113: warning: no semicolon at end of struct
or union
../include/linux/ppp_defs.h:115: warning: data definition has no type or
storage
This continues for a while then I get:
../include/linux/ppp_defs.h:149: warning: data definition has no type or
storage class
../include/linux/ppp_defs.h:152: parse error before `}'
../include/linux/ppp_defs.h:155: field `p' has incomplete type
../include/linux/ppp_defs.h:156: field `vj' has incomplete type
../include/linux/ppp_defs.h:160: field `c' has incomplete type
../include/linux/ppp_defs.h:161: field `d' has incomplete type
In file included from sys-linux.c:69:
../include/linux/if_ppp.h:92: parse error before `__u8'
../include/linux/if_ppp.h:92: warning: no semicolon at end of struct or
union
../include/linux/if_ppp.h:93: warning: data definition has no type or
storage class
../include/linux/if_ppp.h:95: parse error before `}'
In file included from sys-linux.c:71:
pppd.h:266: parse error before `ext_accm'
sys-linux.c:983: parse error before `ext_accm'
sys-linux.c: In function `ppp_set_xaccm':
sys-linux.c:988: `accm' undeclared (first use this function)
sys-linux.c:988: (Each undeclared identifier is reported only once
sys-linux.c:988: for each function it appears in.)
sys-linux.c: In function `ccp_test':
sys-linux.c:1047: storage size of `data' isn't known
sys-linux.c:1054: sizeof applied to an incomplete type
sys-linux.c:1047: warning: unused variable `data'
make[1]: *** [sys-linux.o] Error 1
make[1]: Leaving directory `/usr/local/src/ppp-2.3.5/pppd'
make: *** [all] Error 2
I'm really not sure what to do now! Any help will certainly be
appreciated. Thanks!
--
John J. LeMay Jr.
NJMC, LLC.
http://www.njmc.com
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]