Messages in this thread | | | From | "Michael H. Warfield" <> | Subject | CONFIG_FILTER blows sock.h in 2.2.2 | Date | Tue, 23 Feb 1999 08:27:47 -0500 (EST) |
| |
Hello...
Just got this compile errror in the 2.2.2 kernel compiling loop.o:
/mnt2/src/linux-2.2.2/include/net/sock.h: In function `sk_filter': In file included from loopback.c:51: /mnt2/src/linux-2.2.2/include/net/sock.h:796: dereferencing pointer to incomplete type /mnt2/src/linux-2.2.2/include/net/sock.h:796: dereferencing pointer to incomplete type /mnt2/src/linux-2.2.2/include/net/sock.h:796: warning: passing arg 1 of `sk_run_filter' from incompatible pointer type /mnt2/src/linux-2.2.2/include/net/sock.h:796: too few arguments to function `sk_run_filter' /mnt2/src/linux-2.2.2/include/net/sock.h: In function `sk_filter_release': /mnt2/src/linux-2.2.2/include/net/sock.h:807: warning: implicit declaration of function `sk_filter_len' /mnt2/src/linux-2.2.2/include/net/sock.h:811: dereferencing pointer to incomplete type /mnt2/src/linux-2.2.2/include/net/sock.h: In function `sk_filter_charge': /mnt2/src/linux-2.2.2/include/net/sock.h:817: dereferencing pointer to incomplete type make[3]: *** [loopback.o] Error 1
The code is in sock.h and is #ifdef'ed under CONFIG_FILTER. A kernel I build without CONFIG_FILTER compiled fine. The one enabling it blew the compile error in loop.o.
Regards, Mike -- Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com (The Mad Wizard) | (770) 925-8248 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
- 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/
| |