Linux 2.0.34pre16 with PPP 2.3.5 won't compile (LONG)

Steve Logue (stevel@mail.cdsnet.net)
Sat, 23 May 1998 00:18:55 +0000


--------------C82631C8A89498165E5CDD14
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

I have been trying to compile a kernel with PPP version 2.3.5. All of
which bombs out horribly on compiling ppp.c. I wonder if PPP is even
being tested on linux-stable anymore as I had the same results with
PPP version 2.3.4? Could someone please tell me what the problem likely
is? I am using glibc 2.0.7 if that is important. Here is the relevent
output of my kernel build:

make all_targets
make[3]: Entering directory `/usr/src/linux/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODVERSIONS
-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[3]: *** [ppp.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/net'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [linuxsubdirs] Error 2

TIA,
-STEVEl

--
--------------------------------------------
  http://www.nettek-llc.com/
  Southern Oregon's PC network technicians
--------------------------------------------

--------------C82631C8A89498165E5CDD14 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

Hello,

I have been trying to compile a kernel with  PPP version 2.3.5.  All of which bombs out horribly on compiling ppp.c.  I wonder if PPP is even being tested on linux-stable anymore as I had the same results with PPP version 2.3.4?  Could someone please tell me what the problem likely is?  I am using glibc 2.0.7 if that is important.  Here is the relevent output of my kernel build:

make all_targets
make[3]: Entering directory `/usr/src/linux/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODVERSIONS -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[3]: *** [ppp.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/net'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [linuxsubdirs] Error 2

TIA,
-STEVEl

-- 
--------------------------------------------
  http://www.nettek-llc.com/
  Southern Oregon's PC network technicians
--------------------------------------------
  --------------C82631C8A89498165E5CDD14-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu