> 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 ?
woops. sorry. i discovered that there was a bug in the html file i captured my
solution to.
here is the capture again, which includes the #include info :)
--------------------------------------
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 wi
th
locating the include file <asm/types.h>. 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 <asm/types.h>
ie the group of include lines starting at line 67 will now look like
#include <linux/types.h><br>
#include <asm/types.h> <------- this has to be added manually<br>
#include <linux/ppp_defs.h><br>
#include <linux/if_ppp.h><br>
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 NOT
get
replaced 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]