[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: Re: CONFIG_FILTER blows sock.h in 2.2.2
From: Thomas Drillich <drillich () uniserve ! de>
Date: 1999-02-24 6:33:56
[Download RAW message or body]
Hi,
just disable socket_filtering ;-)
it seems that somebody change code but not complete,
he had forgotten to define struct sk_filter anywhere.
"Michael H. Warfield" wrote:
>
> 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/
--
mit freundlichem Gruss -- regards
,-,
| | Thomas Drillich <drillich@uniserve.de>
___|__| Geschäftsführer
(___, ) uniserve Internet & Multimedia GmbH
(___, )\ Sophienweg 3
(___, ) \ Technologiezentrum (MIT)
(___,_,)/ \ D-59872 Meschede Germany
\ fon: +49 291 59100 , fax: +49 291 59102
-
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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic