Kernel 2.5.38 EBTables breakage

Eran Man (eran@nbase.co.il)
Sun, 22 Sep 2002 11:59:12 +0300


It seems like the EBTables merge in 2.5.38 is incomplete:
....
gcc -Wp,-MD,./.ebtables.o.d -D__KERNEL__
-I/usr/src/linux-2.5.25/include -Wall -Wstrict-prototypes -Wno-trigraphs
-O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i686
-I/usr/src/linux-2.5.25/arch/i386/mach-generic -nostdinc -iwithprefix
include -DMODULE -DKBUILD_BASENAME=ebtables -DEXPORT_SYMTAB -c -o
ebtables.o ebtables.c
ebtables.c:25:45: linux/netfilter_bridge/ebtables.h: No such file or
directory
ebtables.c:85: variable `ebt_standard_target' has initializer but
incomplete type
ebtables.c:86: extra brace group at end of initializer
ebtables.c:86: (near initialization for `ebt_standard_target')
ebtables.c:86: warning: excess elements in struct initializer
ebtables.c:86: warning: (near initialization for `ebt_standard_target')
ebtables.c:86: `EBT_STANDARD_TARGET' undeclared here (not in a function)
ebtables.c:86: warning: excess elements in struct initializer
ebtables.c:86: warning: (near initialization for `ebt_standard_target')
ebtables.c:86: warning: excess elements in struct initializer
ebtables.c:86: warning: (near initialization for `ebt_standard_target')
ebtables.c:86: warning: excess elements in struct initializer
ebtables.c:86: warning: (near initialization for `ebt_standard_target')
ebtables.c:86: warning: excess elements in struct initializer
ebtables.c:86: warning: (near initialization for `ebt_standard_target')
ebtables.c:86: warning: excess elements in struct initializer
ebtables.c:86: warning: (near initialization for `ebt_standard_target')
ebtables.c:90: warning: `struct ebt_entry_watcher' declared inside
parameter list
ebtables.c:90: warning: its scope is only this definition or
declaration, which is probably not what you want.
ebtables.c: In function `ebt_do_watcher':
ebtables.c:92: dereferencing pointer to incomplete type
ebtables.c:92: dereferencing pointer to incomplete type
ebtables.c:93: dereferencing pointer to incomplete type
ebtables.c: At top level:
ebtables.c:100: warning: `struct ebt_entry_match' declared inside
parameter list
ebtables.c: In function `ebt_do_match':
ebtables.c:102: dereferencing pointer to incomplete type
ebtables.c:102: dereferencing pointer to incomplete type
ebtables.c:103: dereferencing pointer to incomplete type
.....
This goes on for a couple more pages...
On the otherhand, there is no real sign of the ebtables in include/linux:
[eran@eran linux-2.5]$ grep -ri EBT_STANDARD_TARGET include/linux/
[eran@eran linux-2.5]$ grep -ri ebtables include/linux/
include/linux/netfilter_bridge.h:/* Not really a hook, but used for the
ebtables broute table */
include/linux/autoconf.h:#undef CONFIG_BRIDGE_NF_EBTABLES
[eran@eran linux-2.5]$
-- 
Eran Mann                 Direct  : 972-4-9936297
Senior Software Engineer  Fax     : 972-4-9890430
Optical Access            Email   : emann@opticalaccess.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/