2.2.2 SOCK.H Errors in ppp,slip,loopback...

Matthew G. Marsh (mgm@paktronix.com)
Mon, 22 Feb 1999 22:07:20 -0600 (CST)


Well - got 2.2.2 patch - applied cleanly and :

gcc -D__KERNEL__ -I/usr/src/linux/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
-DEXPORT_SYMTAB -c slhc.c /usr/src/linux/include/net/sock.h:
In function `sk_filter': In file included from
/usr/src/linux/include/net/ip.h:39,
from slhc.c:71:
/usr/src/linux/include/net/sock.h:796: dereferencing pointer to incomplete
type
/usr/src/linux/include/net/sock.h:796: dereferencing pointer to incomplete
type
/usr/src/linux/include/net/sock.h:796: warning: passing arg 1 of
`sk_run_filter' from incompatible pointer type
/usr/src/linux/include/net/sock.h:796: too few arguments to function
`sk_run_filter'
/usr/src/linux/include/net/sock.h: In function `sk_filter_release':
/usr/src/linux/include/net/sock.h:807: warning: implicit declaration of
function `sk_filter_len'
/usr/src/linux/include/net/sock.h:811: dereferencing pointer to incomplete
type
/usr/src/linux/include/net/sock.h: In function `sk_filter_charge':
/usr/src/linux/include/net/sock.h:817: dereferencing pointer to incomplete
type
make[3]: *** [slhc.o] Error 1

Tried to make without PPP and SLIP and got the same error messages on
compiling loopback.c.

New filter structures need to be updated in PPP, etc ??

--------------------------------------------------
Matthew G. Marsh, President
Paktronix Systems LLC
1506 North 59th Street
Omaha NE 68104
Phone: (402) 932-7250
Email: mgm@paktronix.com
WWW: http://www.paktronix.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/