At 09:23 98/09/08 GMT, you wrote:
>I'm still having problems compiling ppp 2.3.5 (or even 2.3.4)
Seems to be everyone's problem..... :-)
>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'.
Usually, for errors, fixing the first one will affect most of the
others (not always).
>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
This warning you can safely ignore.
>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
[snip]
I had to put this line in sys-linux.c and pppstats.c:
#undef _LINUX_TYPES_H
I put the above line in BEFORE this line in both of those files:
#include <linux/types.h>
Once I did that, I was able to compile......
(This fix appeared a couple of months ago on comp.os.linux.networking)
Good luck !
<RANT>
When is ppp-2.3.6 going to come out, with all these fixes included ???!!!???
It's long overdue........ ;-(
</RANT>
**************************************************************************
* Geoff L. Kennedy ** Located on the WEsT Coast of *
* "Kennedy's Space Centre" 8-) ** Beautiful British Columbia ! *
* (pun definitely intended !!) ** Coquitlam, BC, CANADA *
**************************************************************************
* E-mail: [EMAIL PROTECTED] (NOTE: Only ONE "n" !) *
**************************************************************************
** Not affiliated with KSC in Florida, USA (though I'd like to be....!) **
**************************************************************************
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]