When I tried to compile ppp v2.3.5 with a 2.0.35 kernel, I got errors
also. (I don't recall if they are the same as you are getting.)
It turned out, the part of the ppp install that puts the ppp source in
the kernel source tree checks a version stamp in the files before
copying them. The 2.0.35 kernel comes with a couple of files which
are newer (and incompatible with) the files in ppp 2.3.5.
At this point I gave up. I did not need it bad enough to continue.
Brian Beuning
Graham Leggett wrote:
> Hi all,
>
> When the "make kernel" step of the pppd v2.3.5 installation is executed,
> it makes modifications to the kernel such that the kernel will no longer
> compile.
>
> It can be said that pppd v2.3.5 breaks kernels above v2.0.33 - is anyone
> aware of the problem, and is anyone likely to fix it?
>
> The kernel compilation process breaks as follows:
>
> make[2]: Entering directory `/usr/src/linux-2.0.36-pre12/drivers/net'
> gcc -D__KERNEL__ -I/usr/src/linux-2.0.36-pre12/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
> /usr/src/linux-2.0.36-pre12/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
> 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[2]: *** [ppp.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.0.36-pre12/drivers/net'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.0.36-pre12/drivers'
> make: *** [modules] Error 2
>
> Any idea what "ddinfo" is that seems to be missing?
>
> Regards,
> Graham
> --
> -----------------------------------------
> [EMAIL PROTECTED] "There's a moon
> VWV Interactive over Bourbon Street
> tonight...
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]