I am trying to compile the alt1 gigabit ethernet driver and run into this error, any
root/atl1-2.0.7-linux-2.6.20/atl1_main.c:2415: error: dereferencing pointer to incomplete type
/root/atl1-2.0.7-linux-2.6.20/atl1_main.c: At top level: /root/atl1-2.0.7-linux-2.6.20/atl1.h:276: error: storage size of `hw' isn't known /root/atl1-2.0.7-linux-2.6.20/atl1_main.c:2058: warning: 'atl1_tx_timeout_task' defined but not used /root/atl1-2.0.7-linux-2.6.20/atl1_main.c:2073: warning: 'atl1_link_chg_task' defined but not used make[3]: *** [/root/atl1-2.0.7-linux-2.6.20/atl1_main.o] Error 1 make[2]: *** [_module_/root/atl1-2.0.7-linux-2.6.20] Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.EL-i686' make: *** [default] Error 2 |
Is that the complete error mesage? None of it looks helpful, it seems like something is missing farther up. Post everything you can in CODE tags so we can see the whole picture.
|
Quote:
|
Well I trying to compile it on RHEL4, I have downloaded the driver and trying to compile with the instructions in README file
|
http://atl1.sourceforge.net/
QUOTE : ""IMPORTANT NOTE: Don't use a vendor version older than 1.2.40.2 !"" ftp://hogchain.net/pub/linux/attansi....2.40.3.tar.gz > > l1-linux-v1.2.40.3.tar.gz Is this the link you used ? And did you get that version ? = recommended for older kernels. Atheros drivers ... ( if madwifi is usable ? ) http://rpms.arrfab.net/rpmforge/pack...nel.group.html > > madwifi-0.9.4-0.1.r2598.el5.rf http://rpms.arrfab.net/rpmforge/pack...98.el5.rf.html # yum install madwifi .. from the rpmforge.repo or atrpms.repo .. .. ..... |
okay I have installed centos 5.3, new kernel version and the driver you pointed me to. This is the error I run into when I compile the driver
[root@localhost src]# make install make -C /lib/modules/2.6.18-128.el5xen/build SUBDIRS=/root/l1-linux-v1.2.40.3/src modules make[1]: Entering directory `/usr/src/kernels/2.6.18-128.el5-xen-i686' CC [M] /root/l1-linux-v1.2.40.3/src/at_main.o In file included from /root/l1-linux-v1.2.40.3/src/at.h:29, from /root/l1-linux-v1.2.40.3/src/at_main.c:27: /root/l1-linux-v1.2.40.3/src/kcompat.h:1116: error: redefinition of typedef ‘irq_handler_t’ include/linux/interrupt.h:67: error: previous declaration of ‘irq_handler_t’ was here make[2]: *** [/root/l1-linux-v1.2.40.3/src/at_main.o] Error 1 make[1]: *** [_module_/root/l1-linux-v1.2.40.3/src] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-128.el5-xen-i686' make: *** [default] Error 2 |
How about trying out the 'madwifi' package ?
Or wait for the upcoming CentOS 5.5 : http://www.desktoplinux.com/news/NS6...09.html?kc=rss "" There has been a particular focus on WiFi drivers .. "" ..... |
All times are GMT -5. The time now is 11:42 PM. |