I have a Slackware 3.2 installation, I started trying out the included ppp -
version 2.2.0, and it worked, but I wanted dial-on-demand, so I downloaded
ppp-2.3.4. I also needed IP forwarding, and decided if I was going to the
trouble of compiling a kernel, it might as well be the latest stable release, so
I downloaded 2.0.37.
I built and installed a new kernel OK, then started on the ppp. I did
./configure and make kernel, and started rebuilding the kernel again. When I
got to make zImage, I got compilation errors in ppp.c (listed below).
I've checked all the README's and FAQ's I can find on ppp, and the only
(slightly) relevant comment I found was about a broken "rev" in Slackware 3.0
causing make kernel to fail. I'm using Slackware 3.2, but I downloaded a new
"rev" anyway, and it did not affect the problem, so it is not that. Sorry if I
have missed something obvious.
As it might be compiler-related, gcc reports:
gcc version 2.7.2.1
And I'm using:
Linux kernel 2.0.37
Slackware 3.2
ppp 2.3.4
Please help. Thanks.
make zImage errors
--------------------------------------------------------------------------
gcc -D__KERNEL__ -I/usr/src/linux-2.0.37/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o
ppp.o 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
ppp.c: In function `ppp_release':
ppp.c:700: cannot convert to a pointer type
ppp.c: In function `ppp_tty_close_local':
ppp.c:761: cannot convert to a pointer type
ppp.c: In function `ppp_tty_open':
ppp.c:792: cannot convert to a pointer type
ppp.c:838: cannot convert to a pointer type
ppp.c:856: cannot convert to a pointer type
ppp.c: In function `ppp_tty_wakeup_code':
ppp.c:925: cannot convert to a pointer type
ppp.c:927: cannot convert to a pointer type
ppp.c: In function `ppp_rcv_rx':
ppp.c:1208: cannot convert to a pointer type
ppp.c:1214: cannot convert to a pointer type
ppp.c:1222: structure has no member named `ddinfo'
ppp.c: In function `rcv_proto_ip':
ppp.c:1234: cannot convert to a pointer type
ppp.c: In function `rcv_proto_ipx':
ppp.c:1247: cannot convert to a pointer type
ppp.c: In function `ppp_proto_ccp':
ppp.c:1422: cannot convert to a pointer type
ppp.c:1438: cannot convert to a pointer type
ppp.c: In function `ppp_doframe':
ppp.c:1635: `DECOMP_OK' undeclared (first use this function)
ppp.c:1635: (Each undeclared identifier is reported only once
ppp.c:1635: for each function it appears in.)
ppp.c: In function `ppp_set_compression':
ppp.c:2203: cannot convert to a pointer type
ppp.c:2215: cannot convert to a pointer type
ppp.c:2225: cannot convert to a pointer type
ppp.c: In function `ppp_tty_ioctl':
ppp.c:2270: cannot convert to a pointer type
ppp.c:2370: cannot convert to a pointer type
ppp.c:2374: cannot convert to a pointer type
ppp.c:2420: structure has no member named `ddinfo'
ppp.c:2421: structure has no member named `ddinfo'
ppp.c: In function `ppp_dev_xmit_ip':
ppp.c:2925: cannot convert to a pointer type
ppp.c:2927: cannot convert to a pointer type
ppp.c: In function `ppp_dev_xmit_ipx':
ppp.c:3013: cannot convert to a pointer type
ppp.c:3015: cannot convert to a pointer type
ppp.c: In function `ppp_dev_xmit':
ppp.c:3124: structure has no member named `ddinfo'
ppp.c: In function `ppp_alloc':
ppp.c:3250: incompatible types in assignment
make[3]: *** [ppp.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.0.37/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.0.37/drivers/net'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.37/drivers'
make: *** [linuxsubdirs] Error 2
----------------------------------------------------------------------------
--------------------------------------------------------------------
Allan Dyer | Internet: [EMAIL PROTECTED]
Technical Director | http://www.yuikee.com.hk/
Yui Kee Co. Ltd. |
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]