[tulip] error compiling on 2.4.18

Joffer joffer@online.no
Wed Mar 27 19:34:01 2002


when I try to compile the tulip driver from netdriver 3.1 i get this:

<snip>
tulip.c: In function `set_rx_mode':
tulip.c:3249: `NETIF_MSG_RXFILTER' undeclared (first use in this function)
tulip.c.3249: (Eaxh undeclared identifier is reported only once
tulip.c:3249: for each function it apears in.)
make: *** [tulip.o Error 1
</snip>

I tried like http://www.scyld.com/network/updates.html says:
gcc -DMODULE -D__KERNEL__ -O6 -c tulip.c
and also
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/include -include
/usr/src/linux/include/linux/modversions.h -O6 -c tulip.c

but the same error :(

I'm using Trustix 1.5, which is based upon RedHat 6.2. This driver worked ok
with 2.2.20 kernel, but I want to upgrade now to get iptables, ext3, usb
etc..

any suggestion?