make[3]: Entering directory `/usr/src/linux-2.2.2/drivers/net'
........
gcc -D__KERNEL__ -I/usr/src/linux-2.2.2/include -Wall
-Wstrict-prototypes -O6 -fstrict-aliasing -fomit-frame-pointer -D_
_SMP__ -pipe -fno-strength-reduce -mcpu=pentiumpro -march=pentiumpro
-malign-loops=2 -malign-jumps=2 -malign-functions=2
-DCPU=686 -c -o loopback.o loopback.c
/usr/src/linux-2.2.2/include/net/sock.h: In function `sk_filter':
In file included from loopback.c:51:
/usr/src/linux-2.2.2/include/net/sock.h:796: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.2/include/net/sock.h:796: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.2/include/net/sock.h:796: warning: passing arg 1 of
`sk_run_filter' from incompatible pointer type
/usr/src/linux-2.2.2/include/net/sock.h:796: too few arguments to
function `sk_run_filter'
/usr/src/linux-2.2.2/include/net/sock.h: In function
`sk_filter_release':
/usr/src/linux-2.2.2/include/net/sock.h:807: warning: implicit
declaration of function `sk_filter_len'
/usr/src/linux-2.2.2/include/net/sock.h:811: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.2/include/net/sock.h: In function `sk_filter_charge':
/usr/src/linux-2.2.2/include/net/sock.h:817: dereferencing pointer to
incomplete type
I noticed that the offending lines are inside of a #ifdef CONFIG_FILTER
in sock.h,
I would imagine most people aren't turning this on in their compiles,
and maybe
that's how this little bug got out? 2.2.1 with an identical config and
compilation
works great, I'm running it now.. and 2.2.2 breaks in the same setup...
ouch...
the patch-2.2.2 does contain changes to include/net/sock.h...
Can anyone point me in the right direction here?
I'm not on the list, please cc the thread if you don't mind.
Brandon Black
MCI WorldCom
:.˛mkabzwmb˛mbz_^nrzh&zvy杶ii