kernel 1.3.73 with IF FIREWALLING

kernel 1.3.73 with IF FIREWALLING

Post by Edsel Adap -- OPCOM Consultan » Thu, 28 Mar 1996 04:00:00



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.

 
 
 

1. Kernel problem 1.2.13 & 1.3.73

        I'm having a problem compiling my kernel.  This just
started recently so I have no idea what is going on, here is the
error:

make[2]: Entering directory `/usr/src/linux-1.2.13/fs/minix'
gcc -b i486-linuxaout -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486 -c bitmap.c
{standard input}: Assembler messages:
{standard input}:446: Error: no such 386 instruction: `rgt'
make[2]: *** [bitmap.o] Error 1
make[2]: Leaving directory `/usr/src/linux-1.2.13/fs/minix'
make[1]: *** [filesystems.a] Error 2
make[1]: Leaving directory `/usr/src/linux-1.2.13/fs'
make: *** [linuxsubdirs] Error 2

        Any suggestions?

        Josh

--
---------------------------------------------------------------

--  Third Year ME Student & CAEL Partner                      --

--  "Together we will rule the universe, all by myself"       --
--                 -- Tom Servo  Mystery Science Theater 3000 --

2. problems with ADSL

3. FTAPE (kernel version 1.3.73) & mount (VFAT)

4. Redirected stdin and 'while-loop'

5. kernel 1.3.73 sometimes crashes while booting up

6. need some linux help

7. Bug (?) with ps -u in 1.3.73 ?

8. IDE drive on master 1 spot

9. Where can I find updated utils for 1.3.73?

10. 1.3.73 failed to detect 387.

11. correct gcc for 1.3.73 ?

12. SLIP module for 1.3.73?

13. loadable module problem on 1.3.73