Using a Redhat 9 install, I want to recompile the kernel without tcp/ip so I can use hogwash as an inline packet filter.

CODE
cd /usr/src/linux-2.4.20-8
make mrproper
make menuconfig
-------Uncheck TCP/IP in Networking Options
---exit
---save
make dep
make clean


To this point, no errors. But here:

CODE
make zImage


Ends with several make errors regarding Union:

/usr/src/linux-2.4.20-8/include/net/TCP_ECN.h:54 union has no member named af_inet
/usr/src/linux-2.4.20-8/include/net/TCP_ECN.h:61 union has no member named af_inet

Followed a suggestion at this page to get a non-redhat kernel. I try 2.4.20 and get many errors.

So I try to continue anyway:

CODE
mkinitrd /boot/noip.img


I then add the new image as an option in the bootloader, and when this option is picked, it boots but it boots with TCP/IP running, so I know it didn't work...


Any suggestions?

Thanks in advance, JW