I'm still having problems compiling ppp 2.3.5 (or even 2.3.4)
Kernel is Linux 2.0.35 updated from the RedHat 5.1 distribution.
I know about the inequlity typo and about the make kernels failure to
copy ppp.c to over the old version (keeping a backup).
Ive updated glibc to the latest release as per RedHats
instructions this allows chat to compile ( and others e.g. diald ).
Ive attached the whole log file, if someone out there has time for a
quick look at it, please do, i'm getting a bit desperate, any
solutions, even returning to earlier releases.
The problem seems to centre around ppp-defs.h
It seems like one of the headers from the ppp dist is linking with a
kernel dist header that mis-defines or re-defines something that pp
needs, troube is, which one, there's 'hundreds'.
Thanks in advance
Jason.
Here are a couple lines from the log, see attachment for rest:
.
.
.
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 demand.c -o demand.o
demand.c:21: warning: `rcsid' defined but not used
.
.
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 class
../include/linux/ppp_defs.h:116: parse error before `ppp_ioctects'
.
.
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.
---- File information -----------
File: compile.log
Date: 8 Sep 1998, 9:06
Size: 8351 bytes.
Type: Unknown
compile.log