I bet you're using Redhat 5.1, right? i ran into the same problem. I got
the stock sources and recompiled and then everything was okay. Weird.
-btv
On Wed, Oct 21, 1998 at 12:33:50PM -0700, B. James Phillippe wrote:
> Hello,
>
> I've had some problems getting ppp-2.3.5 working with linux-2.0.35.
> The "kinstall" script replaces most of the includes but skips the ppp.c
> file (says it's newer). But when trying to compile with PPP as a module,
> it dies with this:
>
> gcc -D__KERNEL__ -I/home/bryan/work/imports/linux-2.0.35-ssl/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe
> -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
> -DMODULE -DMODVERSIONS -include
> /home/bryan/work/imports/linux-2.0.35-ssl/include/linux/modversions.h
> -DEXPORT_SYMTAB -c ppp.c
> ppp.c: In function `ppp_init_ctrl_blk':
> ppp.c:465: structure has no member named `ddinfo'
> ppp.c:466: structure has no member named `ddinfo'
> ppp.c: In function `ppp_changedmtu':
> ppp.c:585: cannot convert to a pointer type
> ...
>
> And dozens of other errors.
>
> If, however, I replace the ppp.c with the one from ppp-2.3.5 by hand and
> flip-flop the comparison below from lt to gt (in ppp.c, line 3076), I get a
> clean compile:
>
> /*
> * Send a frame to the remote.
> */
> #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
>
> I have not yet tried the stock 2.0.35 PPP. What is the current official
> combination of files for PPP under 2.0.35?
>
> IMHO I sincerely think the FILEVERSION/carbon-based-CVS idea needs to be
> replaced with something that will better prevent this ppp vs. linux-kernel
> skewage.
>
> Comments?
>
> -bp
> --
> B. James Phillippe . [EMAIL PROTECTED]
> UNIX Software Engineer . http://www.terran.org/~bryan
> Member since 1.1.59 . finger:[EMAIL PROTECTED]
> MOTM: Waiting for the DSL to go in :)
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.tux.org/lkml/
--
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]