Hi guys,

I had the problems also, but after several patches to the sources,
I managed pppd to compile ok. I also suggested the fixes to the
linux port maintainer, but still didn't receive any echo.

Well, these fixes are not absolutely correct, but will do the work.
( Tested on RH51 k2.0.25 )

into the file linux/ppp_defs.h add these two lines...
( after #ifndef __PPP_DEFS_H and #define __PPP_DEFS_H )

#define __u32 unsigned long
#define __u8  unsigned char

and in the file:

linux/ppp.c   line 3080:

/*
#if LINUX_VERSION_CODE < VERSION(2,1,86)
#define FREE_SKB(skb)   dev_kfree_skb(skb)
#else
#define FREE_SKB(skb)   dev_kfree_skb(skb, FREE_WRITE)
#endif
*/

only this line is valid ...

#define FREE_SKB(skb)   dev_kfree_skb(skb, FREE_WRITE)


Petr

--
Petr Sebor
[EMAIL PROTECTED]
SCS Software



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

Reply via email to