[tulip] Tulip compile - Debian/Thinkpad/Linksys

Paul Clark paul.clark19@ntlworld.com
Fri, 2 Mar 2001 19:01:29 +0000


Hello.

The story so far:

I tried compiling tulip.c on Debian Potato 2.2r2 using the command,

gcc - DCARDBUS -DMODULE -Wall -Wstrict-prototypes -O6 -c tulip.c -o tulip_cb.o -I/usr/src/pcmcia/include/

that produced,

tulip.c:139 linux/modversions.h: No such file or directory
In file included from tulip.c:162
kern_compat.h:42 linux/modversions.h No such file or directory
tulip.c:3268: pcmcia/driver_ops.h: No such file or directory

So I changed the command to,

gcc - DCARDBUS -DMODULE -Wall -Wstrict-prototypes -O6 -c tulip.c -o tulip_cb.o -I/usr/src/kernel-source-2.2.18pre21/include -I/usr/src/modules/pcmcia-cs/include

that produced,

tulip.c: In function `tulip_attach':
tulip.c:3287: parse error before `pci_read_config_dword_R2ca7e89f'
tulip.c:3274: warning: `pdev' might be used uninitialized in this function
tulip.c:3277: warning: `pciaddr' might be used uninitialized in this function

Am I using the wrong modversions.h, wrong driver_ops.h or have I lost
the plot elsewhere?

Paul Clark