I’m using SUSE Linux 7.1 (kernel 2.2.18). I picked up a Netgear NIC (FA311). It comes with source code for the driver and a makefile. I haven’t been able to compile it. And have similar problems with another new NIC by D-Link. Since the error I get are the same with either card, I’m sure I’m doing something wrong or trying to compile in the wrong directory. The errors I get are mostly variants of:
(1) “Dereferencing pointer from incomplete type”
(2) “/usr/include/linux/irq.h:53: requested alignment is not a constant”
(3) “/usr/include/asm/hardirq.h:16: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclare here – not in a function”
Three screens of this. Should I bet compiling the source in any particular directory? I’m doing it in the directory where the compiled modules are located: /usr/modules/2.2.18/net/
I never end up with an fa311.o. Netgear advertises Linux on the box, but they support only Windows on the phone.
The MAKEFILE may hold the key, but entering ‘MAKEFILE’ at the prompt does nothing.
I’d appreciate any suggestions.