Hello Linux Gurus!
In attempts to get ip masquerading to work, I tried to compile my kernel
(1.3.73) with IP FIREWALLING turned on (since that's what the IP
Masquerading FAQ says).
However the kernel compilation dies when trying to compile
kernel/ksysms.c
It gives me a lot of warnings with regards to missing braces around
initializer for `symbol_table.symbol[176]
Here are the error messages
ksyms.c:352: warning: missing braces around initializer for
`symbol_table.symbol[162]'
ksyms.c:353: warning: initialization from incompatible pointer type
ksyms.c:374: warning: initialization from incompatible pointer type
ksyms.c:376: initializer element for `symbol_table.symbol[173].name' is
not constant
ksyms.c:378: warning: initialization from incompatible pointer type
ksyms.c:386: warning: braces around scalar initializer for
`symbol_table.symbol[175].name
ksyms.c:386: warning: excess elements in scalar initializer after
`symbol_table.symbol[175].name'
ksyms.c:390: warning: initialization from incompatible pointer type
ksyms.c:436: warning: excess elements in scalar initializer after
`sumbol_table.symbol[202].name'
then make dies.
I think it dies because of the error "initializer element for
`symbol_table.symbol[173].name' is not constant"
Since I am using an NE2000 compatible Ethernet card (Linksys 16 Ether
card) this portion of the code is ifdefd in which produces the above
error.
The warning messages are caused by having IP Firewalling and IP
Forwarding enabled.
Does anyone havea fix for this?
Please CC me in your replies... Thanks!
--
Edsel Adap
Opinions expressed are my own and do not represent Sun Microsystems.