[tulip] problems compiling

ari gold agold@zebware.com
Mon, 5 Feb 2001 14:00:00 -0500


sorry about the weak subject.  there were too many details which i thought
id save for this message body..

anyway, here's my system:

debian woody
2.2.18pre21

i copy pci-scan.h, pci-scan.c, kern_compat.h and tuplip.c (all taken from
http://www.scyld.com/network/updates.html) to /usr/src/linux/net/inet

then i run the command at the bottom of pci-scan.c:

gcc -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -Wstrict-prototypes -O6 -c
pci-scan.c

and i get the following error:

In file included from pci-scan.c:53:
/usr/include/linux/module.h:21: linux/modversions.h No such file or
directory

ive tried a bunch of includes with gcc -I ('cause via a find i KNOW that
modversion.h exists in /usr/src/linux/include/linux) but maybe i didnt do
the right include or maybe its just broken..

any help will be greatly (greatly) appreciated.  and this time, im gonna
make a rescue disk...

thanks a bunch for your time.. ~ari

ps.  please email to ari@zebware.com as im not subscribed..