make: *** [ppp.o] Error -- ppp-2.3.4 with linux-2.0.35/drivers/net/ppp.c, etc

Leif Erlingsson (leif@lege.com)
Thu, 5 Nov 1998 20:56:07 +0100 (MET)


(I am also posting a similarly worded post to
comp.protocols.ppp.)

Hi Alan,

I showed my wife the pic of yourself and your wife in
Linux Journal when it was published, and she actually read the
article. She had been thinking that I was extreme... :-)

Anyway, sorry for writing directly, but I didn't find the info
I need on the WWW ... just tried re-subscribing to linux-kernel
but don't know when I'll be "in" ... and your name is in the
linux-2.0.35/drivers/net/ppp.c source, which is more recent than
the ppp-2.3.4/linux/ppp.c source.

Basically, I need to know which version ppp-X.Y.Z I should
compile on a vanilla linux-2.0.35 box? (That was once upon a
time a Slackware 1.3.something box before I upped the libs, gcc
and kernel to 2.0.X.)

It's make modules in the linux-2.0.35 source tree that fails
after make kernel in the ppp-2.3.4 source tree (which modifies
the linux-2.0.35 source tree, or actually /usr/src/linux/...).

When I follow the readme for Linux in ppp-2.3.4, I get a long
string of "cannot convert to a pointer type" in ppp.c -- the
linux-2.0.35 ppc.c, since ppp-2.3.4 replaces some stuff in the
linux-2.0.35 source tree but not all -- it doesn't change stuff
that is more recent in the linux-2.0.35 source, like ppp.c.
The long string of "cannot convert to a pointer type" lines
end with "make[2]: *** [ppp.o] Error 1" for
/usr/src/linux-2.0.35/drivers/net/ppp.c.

I also tried copying over the ppp-2.3.4 ppc.c,
ppp-2.3.4/linux/ppp.c, over linux-2.0.35/drivers/net/ppp.c.
This resulted in
ppp.c: In function `ppp_dev_xmit':
ppp.c:3104: too few arguments to function `dev_kfree_skb_Rc44ce493'
ppp.c:3115: too few arguments to function `dev_kfree_skb_Rc44ce493'
ppp.c:3128: too few arguments to function `dev_kfree_skb_Rc44ce493'
ppp.c:3169: too few arguments to function `dev_kfree_skb_Rc44ce493'
ppp.c:3177: too few arguments to function `dev_kfree_skb_Rc44ce493'
ppp.c:3182: too few arguments to function `dev_kfree_skb_Rc44ce493'
make[2]: *** [ppp.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.0.35/drivers/net'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.35/drivers'
make: *** [modules] Error 2

(Should you be interested in complete logs of every action on
my part w.r.t. linux-2.0.35 and ppp-2.3.4 and complete logs of
every output of every command, they are available as I am almost
fanatic about documenting what I do when installing software.)

Additional dreary data:

ls -ld /usr/src/linux-2.0.35/drivers/net/ppp.c
83712 Jun 4 00:17 /usr/src/linux-2.0.35/drivers/net/ppp.c

ls -ld /usr/src/ppp-2.3.4/linux/ppp.c
84284 Mar 25 1998 /usr/src/ppp-2.3.4/linux/ppp.c

Let's look inside:
grep "==FILEVERSION " /usr/src/linux-2.0.35/drivers/net/ppp.c
* ==FILEVERSION 980512==

grep "==FILEVERSION " /usr/src/ppp-2.3.4/linux/ppp.c
* ==FILEVERSION 980319==

I'm Cc'ing to the authors mentioned in the ppp-2.3.4/linux/ppp.c
source;

Michael Callahan <callahan@maths.ox.ac.uk>
Al Longyear <longyear@netcom.com>
Paul Mackerras <Paul.Mackerras@cs.anu.edu.au>
Dynamic PPP devices by Jim Freeman <jfree@caldera.com>.
ppp_tty_receive ``noisy-raise-bug'' fixed by
Ove Ewerlid <ewerlid@syscon.uu.se>

PS: I just noticed there is a ppp-2.3.5 out there, but it's
for libc.so.6, and I'm still at ...5.3.12. I know, I know,
it's time to move on, but I didn't think PPP was the code
that was going to force me up and onwards.... ;-)

Thanks!
________________________________________________________________
Leif Erlingsson, Katrinebergsvagen 70, 146 50 Tullinge, Sweden
TEL +46 8 778-5038, MOB +46 709 14-0631, URL http://www.lege.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/