Re: [bug, -git] ERROR: "ebt_unregister_table"[net/bridge/netfilter/ebtable_nat.ko] undefined

From: Ingo Molnar
Date: Tue Oct 14 2008 - 07:48:35 EST



* Patrick McHardy <kaber@xxxxxxxxx> wrote:

> Ingo Molnar wrote:
>> i think you misunderstood my report. This is about latest upstream -git
>> being broken:
>>
>> ERROR: "ebt_register_table" [net/bridge/netfilter/ebtable_filter.ko] undefined!
>> ERROR: "ebt_do_table" [net/bridge/netfilter/ebtable_filter.ko] undefined!
>> ERROR: "ebt_unregister_table" [net/bridge/netfilter/ebtable_filter.ko] undefined!
>> ERROR: "ebt_register_table" [net/bridge/netfilter/ebtable_broute.ko] undefined!
>> ERROR: "ebt_do_table" [net/bridge/netfilter/ebtable_broute.ko] undefined!
>> ERROR: "ebt_unregister_table" [net/bridge/netfilter/ebtable_broute.ko] undefined!
>> make[1]: *** [__modpost] Error 1
>> make: *** [modules] Error 2
>>
>> i posted to this thread because i wanted to find a relevant context.
>> (but probably is not)
>>
>> Anyway, i started a new thread for this.
>>
>> the dependencies there look pretty complex so i did not find a quick
>> fix - but i can test patches.
>
> This appears to be caused by Jan's Kconfig changes to use menuconfig,
> which lost a dependency on BRIDGE:
>
> -menu "Bridge: Netfilter Configuration"
> - depends on BRIDGE && BRIDGE_NETFILTER
> -
> -config BRIDGE_NF_EBTABLES
> +menuconfig BRIDGE_NF_EBTABLES
> tristate "Ethernet Bridge tables (ebtables) support"
> select NETFILTER_XTABLES
> help
> ebtables is a general, extensible frame/packet identification
> framework. Say 'Y' or 'M' here if you want to do Ethernet
> filtering/NAT/brouting on the Ethernet bridge.
>
> Does this patch fix it?

yeah, the module build now succeeds fine with that config, thanks
Patrick!

Tested-by: Ingo Molnar <mingo@xxxxxxx>

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