> Hello,
> maybe this is a question posted many other times...but I don't know how to
> solve this prob :
> 
> I'm trying to compile 2.0.36 with pppd-2.3.4 (even with 2.3.5) but I get
> compilation errors.
> Is there any patch to solve the problem ?
>>From which version of pppd dns-addr option is supported ?

here is something that may help you;

--------------------------------------
                                       Fixing up ppp-2.3.5 with Redhat 5.1

Subject: Re: ppp-2.3.5 compile problems
Date: Wed, 11 Nov 1998 11:05:01 +1000 (EST)
From: Paul Freeman 
To: Minh Van Le 


Hi,
I can provide a little help but it may only be relevant for the 2.0.35 kernel. 

I presume you have compiled ppp into to kernel permanently rather than as a module? 

Anyway, your problem with the make, particularly the sys-linux.c problem (pppstats.c 
will give you the same error) has to do 
withlocating the include file . I got around this problem by editing sys-linux.c 
(located in the pppd subdirectory of the ppp-2
.3.5 
code)and pppstats.c (located in the pppstats subdirectory of the ppp-2.3.5 code) as 
follows. 

sys-linux.c 

Insert the following line after line 67. 

#include 

ie the group of include lines starting at line 67 will now look like 

#include 
#include <------- this has to be added manually
#include 
#include 

For pppstats.c do exactly the same thing except the lines start at line 64. 

Start the make process again and all should work OK (barring any problems with the 
later kernel). 

I am not sure this is the "proper" way to fix the problem but it works! 

ALSO, make sure when you did 'make kernel' that the version of ppp.c in the 2.3.5 
distribution DID replace the version 
in/usr/src/linux/drivers/net (at least this is important with kernel 2.0.35 since the 
version included with this kernel DOES NO
T 
getreplaced because of a mismatch with internal version numbers that the make kernel 
process checks). 

Please let me know if this does not work. 

Regards 

Paul Freeman 
--------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to