JavaPunk
08-05-2003, 07:26 PM
Over the last few day's I have been trying to get an AMD PCnet Home PNA adapter card working.
I can only get it to work if I reboot from windows to linux, then the card works. I have heard that I need to recompile the driver to get it to work correctly.
When I do gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -march=i486 -c pcnet32.c
I get a few nice errors.
In file included from pcnet32.c:53:
/usr/include/linux/netdevice.h:497: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/netdevice.h:497: requested alignment is not a constant
Any clues?
Note: Am on 2.4.19 kernel Suse 8.1
I can only get it to work if I reboot from windows to linux, then the card works. I have heard that I need to recompile the driver to get it to work correctly.
When I do gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -march=i486 -c pcnet32.c
I get a few nice errors.
In file included from pcnet32.c:53:
/usr/include/linux/netdevice.h:497: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/netdevice.h:497: requested alignment is not a constant
Any clues?
Note: Am on 2.4.19 kernel Suse 8.1