LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 05: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, 09:41 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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, 09:58 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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, 03: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, 04:42 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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, 05: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, 06:21 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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



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 3 11-16-2018 08:49 PM
gigabit ethernet card 82556DM driver installation problem shady_Dev Linux - Hardware 2 06-02-2008 12:03 AM
Marvell/Syskonnect Gigabit Ethernet, Linux 2.6.9 and 7.09 driver problem Dmitry Antipov Linux - Hardware 3 01-29-2006 10:08 AM
No driver for onboard Via VT6122 Gigabit Ethernet corkypa Linux - Networking 2 11-06-2005 09:49 PM
how to install driver for gigabit ethernet card? riffraff Linux - Laptop and Netbook 0 08-10-2003 12:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:01 AM.

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
Open Source Consulting | Domain Registration