LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2010, 06:00 AM   #1
mylvarab
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Rep: Reputation: 0
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
 
Old 03-01-2010, 10:41 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
Old 03-01-2010, 10:58 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by MS3FGX View Post
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.
And some details about your system wouldn't hurt either...like version/distro of Linux, etc...
 
Old 03-02-2010, 04:36 AM   #4
mylvarab
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Well I trying to compile it on RHEL4, I have downloaded the driver and trying to compile with the instructions in README file
 
Old 03-02-2010, 05:42 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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 ..
.. .....
 
Old 03-02-2010, 06:12 AM   #6
mylvarab
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 03-02-2010, 07:21 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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 .. ""

.....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Driver for Realtek RTL8169SC Gigabit Ethernet rajaguru14 Linux - Newbie 1 04-16-2009 08:47 AM
gigabit ethernet card 82556DM driver installation problem shady_Dev Linux - Hardware 2 06-02-2008 01:03 AM
Marvell/Syskonnect Gigabit Ethernet, Linux 2.6.9 and 7.09 driver problem Dmitry Antipov Linux - Hardware 3 01-29-2006 11:08 AM
No driver for onboard Via VT6122 Gigabit Ethernet corkypa Linux - Networking 2 11-06-2005 10:49 PM
how to install driver for gigabit ethernet card? riffraff Linux - Laptop and Netbook 0 08-10-2003 01:40 AM


All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration