Trouble Compiling SMP/tulip driver
Tony Enriquez
t_enriquez@yahoo.com
Fri Oct 8 14:20:28 1999
I have the newer Linksys NIC's and I have beem able to
get them to work except for our SMP server. The server
is running Mandrake 6.1
- 2.2.13.
Thanks,
Tony Enriquez
Here is the syntax:
[root@localhost /root]# tail tulip.c
/*
* Local variables:
* SMP-compile-command: "gcc -D__SMP__ -DMODULE
-D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c
`[ -f /usr/include/linux/modversions.h ] && echo
-DMODVERSIONS`"
* compile-command: "gcc -DMODULE -D__KERNEL__ -Wall
-Wstrict-prototypes -O6 -c tulip.c `[ -f
/usr/include/linux/modversions.h ] && echo
-DMODVERSIONS`"
* cardbus-compile-command: "gcc -DCARDBUS -DMODULE
-D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c
-o tulip_cb.o -I/usr/src/pcmcia-cs-3.0.9/include/"
* c-indent-level: 4
* c-basic-offset: 4
* tab-width: 4
* End:
*/
[root@localhost /root]# gcc -D__SMP__ -DMODULE
-D__KERNEL__ -Wall -Wstrict-proto
types -O6 -c tulip.c `[ -f
/usr/include/linux/modversions.h ] && echo -DMODVERSI
ONS`
[root@localhost /root]# insmod tulip.o
tulip.o: kernel-module version mismatch
tulip.o was compiled for kernel version 2.2.13-7mdk
while this kernel is version 2.2.13-7mdksmp.
=====
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com