Linux-kernel mailing list archive 1998-50,: Again PPP2.3.5 and 2.1.x

# Again PPP2.3.5 and 2.1.x

Catalin BOIE (util@deuroconsult.ro)
Wed, 16 Dec 1998 14:52:15 +0200 (EET)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Pavel Machek: "Re: process checkpointing"
- Previous message: MOLNAR Ingo: "Re: PATCH: Raw device IO for 2.1.131"
- Next in thread: Jason P Schanuel: "Re: Again PPP2.3.5 and 2.1.x"
- Reply: Jason P Schanuel: "Re: Again PPP2.3.5 and 2.1.x"
- Reply: Peter Burgess: "Re: Again PPP2.3.5 and 2.1.x"

Hi!

Thank to all of you that replay to me!

The problem still persist!

I get an 2.1.131 kernel and ppp-2.3.5.
I decompress the kernel in /usr/src.
I decompress the ppp in /usr/src.
I enter in /usr/src/ppp-2.3.5
I did the following commands:
./configure
make kernel (ppp.c was not replaced)
make install

After that I compile the kernel (PPP as module).
I install the kernel.
I boot and I can run ppp but the kernel was not upgraded!

To be honest, I'm confused!

If I upgrade manualy ppp.c in /usr/src/linux/drivers/net/ and I compile
the kernel I get the following errors:
********************************
make[2]: Entering directory `/usr/src/linux-2.1.131/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux-2.1.131/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE -DEXPORT_SYMTAB -c ppp.c
ppp.c:196: warning: `struct ppp_buffer' declared inside parameter list
ppp.c:196: warning: its scope is only this definition or declaration,
ppp.c:196: warning: which is probably not what you want.
ppp.c:202: warning: `struct ppp_buffer' declared inside parameter list
ppp.c:203: warning: `struct ppp_buffer' declared inside parameter list
ppp.c:205: warning: `struct ppp_buffer' declared inside parameter list
ppp.c: In function `ppp_init_ctrl_blk':
ppp.c:530: structure has no member named `rbuf'
ppp.c:531: structure has no member named `wbuf'
ppp.c:532: structure has no member named `ubuf'
ppp.c:533: structure has no member named `cbuf'
ppp.c:536: structure has no member named `write_wait'
ppp.c: In function `ppp_alloc_buf':
ppp.c:603: sizeof applied to an incomplete type
ppp.c:607: dereferencing pointer to incomplete type
ppp.c:608: dereferencing pointer to incomplete type
ppp.c:609: dereferencing pointer to incomplete type
ppp.c:610: dereferencing pointer to incomplete type
ppp.c:611: dereferencing pointer to incomplete type
ppp.c:612: dereferencing pointer to incomplete type
ppp.c:613: dereferencing pointer to incomplete type
ppp.c:614: dereferencing pointer to incomplete type
ppp.c: In function `ppp_free_buf':
ppp.c:627: dereferencing pointer to incomplete type
ppp.c: At top level:
ppp.c:638: conflicting types for `lock_buffer'
ppp.c:203: previous declaration of `lock_buffer'
ppp.c: In function `lock_buffer':
ppp.c:644: dereferencing pointer to incomplete type
ppp.c:647: dereferencing pointer to incomplete type
ppp.c:649: dereferencing pointer to incomplete type
ppp.c: In function `ppp_changedmtu':
ppp.c:719: structure has no member named `wbuf'
ppp.c:720: structure has no member named `rbuf'
ppp.c:721: structure has no member named `cbuf'
ppp.c:722: structure has no member named `tbuf'
ppp.c:724: structure has no member named `wbuf'
ppp.c:725: structure has no member named `rbuf'
ppp.c:726: structure has no member named `cbuf'
ppp.c:727: structure has no member named `tbuf'
ppp.c:730: dereferencing pointer to incomplete type
ppp.c:730: dereferencing pointer to incomplete type
ppp.c:732: structure has no member named `rbuf'
ppp.c:734: warning: implicit declaration of function `buf_base'
ppp.c:748: structure has no member named `s1buf'
ppp.c:749: structure has no member named `s2buf'
ppp.c:750: structure has no member named `xbuf'
ppp.c:672: warning: `old_rbuf' might be used uninitialized in this function
ppp.c:673: warning: `old_wbuf' might be used uninitialized in this function
ppp.c:674: warning: `old_cbuf' might be used uninitialized in this function
ppp.c:675: warning: `old_tbuf' might be used uninitialized in this function
ppp.c: In function `ppp_release':
ppp.c:816: structure has no member named `write_wait'
ppp.c:821: structure has no member named `rbuf'
ppp.c:822: structure has no member named `wbuf'
ppp.c:823: structure has no member named `cbuf'
ppp.c:824: structure has no member named `ubuf'
ppp.c:825: structure has no member named `tbuf'
ppp.c:827: structure has no member named `rbuf'
ppp.c:828: structure has no member named `wbuf'
ppp.c:829: structure has no member named `cbuf'
ppp.c:830: structure has no member named `tbuf'
ppp.c:831: structure has no member named `xbuf'
ppp.c:832: structure has no member named `s1buf'
ppp.c:833: structure has no member named `s2buf'
ppp.c:834: structure has no member named `ubuf'
ppp.c: In function `ppp_tty_open':
ppp.c:950: structure has no member named `ubuf'
ppp.c:950: `RBUFSIZE' undeclared (first use this function)
ppp.c:950: (Each undeclared identifier is reported only once
ppp.c:950: for each function it appears in.)
ppp.c:951: structure has no member named `ubuf'
ppp.c: In function `ppp_tty_wakeup_code':
ppp.c:997: dereferencing pointer to incomplete type
ppp.c:1012: dereferencing pointer to incomplete type
ppp.c:1012: dereferencing pointer to incomplete type
ppp.c:1014: dereferencing pointer to incomplete type
ppp.c:1027: dereferencing pointer to incomplete type
ppp.c:1034: structure has no member named `xbuf'
ppp.c:1037: dereferencing pointer to incomplete type
ppp.c:1038: structure has no member named `xbuf'
ppp.c:1048: structure has no member named `write_wait'
ppp.c:1054: structure has no member named `s1buf'
ppp.c:1055: structure has no member named `s1buf'
ppp.c:1057: structure has no member named `s2buf'
ppp.c:1058: structure has no member named `s2buf'
ppp.c:1065: warning: passing arg 2 of `ppp_kick_tty' from incompatible pointer type
ppp.c:993: warning: `count' might be used uninitialized in this function
ppp.c: In function `ppp_tty_wakeup':
ppp.c:1108: structure has no member named `xbuf'
ppp.c:1093: warning: `xbuf' might be used uninitialized in this function
ppp.c: At top level:
ppp.c:1123: conflicting types for `ppp_kick_tty'
ppp.c:196: previous declaration of `ppp_kick_tty'
ppp.c: In function `ppp_kick_tty':
ppp.c:1127: dereferencing pointer to incomplete type
ppp.c:1136: dereferencing pointer to incomplete type
ppp.c:1137: dereferencing pointer to incomplete type
ppp.c:1142: structure has no member named `xbuf'
ppp.c:1143: dereferencing pointer to incomplete type
ppp.c:1144: structure has no member named `s1buf'
ppp.c:1146: structure has no member named `s2buf'
ppp.c:1155: structure has no member named `xbuf'
ppp.c: In function `ppp_tty_receive':
ppp.c:1204: structure has no member named `rbuf'
ppp.c:1275: structure has no member named `rbuf'
ppp.c:1289: dereferencing pointer to incomplete type
ppp.c:1290: dereferencing pointer to incomplete type
ppp.c:1323: dereferencing pointer to incomplete type
ppp.c:1324: subscripted value is neither array nor pointer
ppp.c:1325: subscripted value is neither array nor pointer
ppp.c:1326: dereferencing pointer to incomplete type
ppp.c:1328: dereferencing pointer to incomplete type
ppp.c:1329: subscripted value is neither array nor pointer
ppp.c:1330: dereferencing pointer to incomplete type
ppp.c:1336: dereferencing pointer to incomplete type
ppp.c:1336: dereferencing pointer to incomplete type
ppp.c:1337: dereferencing pointer to incomplete type
ppp.c:1338: dereferencing pointer to incomplete type
ppp.c:1338: dereferencing pointer to incomplete type
ppp.c:1338: dereferencing pointer to incomplete type
ppp.c: In function `ppp_doframe':
ppp.c:1358: structure has no member named `rbuf'
ppp.c:1358: warning: initialization makes pointer from integer without a cast
ppp.c:1359: structure has no member named `rbuf'
ppp.c:1365: structure has no member named `rbuf'
ppp.c:1365: structure has no member named `rbuf'
ppp.c:1398: structure has no member named `rbuf'
ppp.c: In function `rcv_proto_unknown':
ppp.c:1638: structure has no member named `ubuf'
ppp.c:1643: structure has no member named `ubuf'
ppp.c:1643: structure has no member named `ubuf'
ppp.c:1644: structure has no member named `ubuf'
ppp.c:1649: structure has no member named `ubuf'
ppp.c:1649: subscripted value is neither array nor pointer
ppp.c:1649: structure has no member named `ubuf'
ppp.c:1649: structure has no member named `ubuf'
ppp.c:1650: structure has no member named `ubuf'
ppp.c:1650: subscripted value is neither array nor pointer
ppp.c:1650: structure has no member named `ubuf'
ppp.c:1650: structure has no member named `ubuf'
ppp.c:1652: structure has no member named `ubuf'
ppp.c:1652: subscripted value is neither array nor pointer
ppp.c:1652: structure has no member named `ubuf'
ppp.c:1652: structure has no member named `ubuf'
ppp.c:1653: structure has no member named `ubuf'
ppp.c:1653: subscripted value is neither array nor pointer
ppp.c:1653: structure has no member named `ubuf'
ppp.c:1653: structure has no member named `ubuf'
ppp.c:1657: structure has no member named `ubuf'
ppp.c:1657: subscripted value is neither array nor pointer
ppp.c:1657: structure has no member named `ubuf'
ppp.c:1657: structure has no member named `ubuf'
ppp.c:1664: structure has no member named `ubuf'
ppp.c:1666: structure has no member named `ubuf'
ppp.c:1676: structure has no member named `ubuf'
ppp.c: In function `ppp_tty_read':
ppp.c:1882: structure has no member named `ubuf'
ppp.c:1888: structure has no member named `timeout'
ppp.c:1900: structure has no member named `ubuf'
ppp.c:1900: structure has no member named `ubuf'
ppp.c:1903: structure has no member named `ubuf'
ppp.c:1903: structure has no member named `ubuf'
ppp.c:1903: structure has no member named `ubuf'
ppp.c:1903: structure has no member named `ubuf'
ppp.c:1905: structure has no member named `ubuf'
ppp.c:1905: structure has no member named `ubuf'
ppp.c:1905: structure has no member named `ubuf'
ppp.c:1905: structure has no member named `ubuf'
ppp.c:1915: structure has no member named `ubuf'
ppp.c:1918: structure has no member named `timeout'
ppp.c:1963: structure has no member named `ubuf'
ppp.c:1963: structure has no member named `ubuf'
ppp.c:1963: structure has no member named `ubuf'
ppp.c:1963: structure has no member named `ubuf'
ppp.c:1970: structure has no member named `ubuf'
ppp.c:1974: structure has no member named `ubuf'
ppp.c:1975: structure has no member named `ubuf'
ppp.c:1975: structure has no member named `ubuf'
ppp.c:1976: structure has no member named `ubuf'
ppp.c: At top level:
ppp.c:1988: conflicting types for `ppp_stuff_char'
ppp.c:202: previous declaration of `ppp_stuff_char'
ppp.c: In function `ppp_stuff_char':
ppp.c:1993: dereferencing pointer to incomplete type
ppp.c:1993: dereferencing pointer to incomplete type
ppp.c:1995: dereferencing pointer to incomplete type
ppp.c:2001: dereferencing pointer to incomplete type
ppp.c:2001: dereferencing pointer to incomplete type
ppp.c:2001: dereferencing pointer to incomplete type
ppp.c:2004: dereferencing pointer to incomplete type
ppp.c:2009: dereferencing pointer to incomplete type
ppp.c: In function `ppp_dev_xmit_lower':
ppp.c:2026: dereferencing pointer to incomplete type
ppp.c:2033: dereferencing pointer to incomplete type
ppp.c:2036: dereferencing pointer to incomplete type
ppp.c:2039: dereferencing pointer to incomplete type
ppp.c:2042: dereferencing pointer to incomplete type
ppp.c:2074: dereferencing pointer to incomplete type
ppp.c:2080: dereferencing pointer to incomplete type
ppp.c:2084: dereferencing pointer to incomplete type
ppp.c:2021: warning: `write_fcs' might be used uninitialized in this function
ppp.c: In function `ppp_dev_xmit_frame':
ppp.c:2105: dereferencing pointer to incomplete type
ppp.c: In function `ppp_tty_write':
ppp.c:2247: structure has no member named `write_wait'
ppp.c:2250: structure has no member named `timeout'
ppp.c:2252: structure has no member named `tbuf'
ppp.c:2268: structure has no member named `write_wait'
ppp.c:2285: structure has no member named `tbuf'
ppp.c:2289: structure has no member named `tbuf'
ppp.c: In function `ppp_tty_ioctl':
ppp.c:2671: structure has no member named `ubuf'
ppp.c:2671: structure has no member named `ubuf'
ppp.c:2673: structure has no member named `ubuf'
ppp.c: In function `ppp_tty_poll':
ppp.c:2771: structure has no member named `write_wait'
ppp.c:2775: structure has no member named `ubuf'
ppp.c:2775: structure has no member named `ubuf'
ppp.c:2776: structure has no member named `ubuf'
ppp.c:2777: structure has no member named `ubuf'
ppp.c:2777: structure has no member named `ubuf'
ppp.c:2779: structure has no member named `ubuf'
ppp.c:2785: structure has no member named `tbuf'
ppp.c: At top level:
ppp.c:2981: conflicting types for `ppp_dev_xmit_ip'
ppp.c:205: previous declaration of `ppp_dev_xmit_ip'
ppp.c: In function `ppp_dev_xmit_ip':
ppp.c:3024: structure has no member named `cbuf'
ppp.c:3026: warning: passing arg 4 of `slhc_compress' makes pointer from integer without a cast
ppp.c: In function `ppp_dev_xmit_other':
ppp.c:3073: structure has no member named `wbuf'
ppp.c: In function `ppp_dev_xmit':
ppp.c:3152: structure has no member named `wbuf'
ppp.c:3152: structure has no member named `wbuf'
ppp.c:3153: structure has no member named `tbuf'
ppp.c:3153: structure has no member named `wbuf'
ppp.c:3157: structure has no member named `tbuf'
ppp.c:3157: structure has no member named `wbuf'
ppp.c:3170: structure has no member named `wbuf'
ppp.c:3185: structure has no member named `wbuf'
make[2]: *** [ppp.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1.131/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.131/drivers'
make: *** [_mod_drivers] Error 2
********************************

Can somebody tell me "cristal clear" what's going on?

************************************
Catalin(ux) BOIE
System Administrator at Deuroconsult
catab@deuroconsult.ro
http://www2.deuroconsult.ro/~catab

-
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/

- Next message: Pavel Machek: "Re: process checkpointing"
- Previous message: MOLNAR Ingo: "Re: PATCH: Raw device IO for 2.1.131"
- Next in thread: Jason P Schanuel: "Re: Again PPP2.3.5 and 2.1.x"
- Reply: Jason P Schanuel: "Re: Again PPP2.3.5 and 2.1.x"
- Reply: Peter Burgess: "Re: Again PPP2.3.5 and 2.1.x"