lkml.org 
[lkml]   [1998]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: PPP and kernel won't be friends
Date
I did the EXACT same thing.. i was wondering if I did something wrong.. 

On Wed, 21 Oct 1998, 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 . bryan@terran.org
>UNIX Software Engineer . http://www.terran.org/~bryan
>Member since 1.1.59 . finger:bryan@earth.terran.org
>MOTM: Waiting for the DSL to go in :)
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
>the body of a message to majordomo@vger.rutgers.edu
--
Terrelle Shaw
Operations Engineer
Cellnet Data Services, Inc.
Tel: 925.543.1064
Fax: 925.543.1060
email:hshaw@cellnet.com
http://www.cellnet.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.044 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site