LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-07-2006, 09:48 PM   #1
ERBRMN
Member
 
Registered: Mar 2005
Location: Japan
Distribution: TurboLinux, RHEL, SUSE
Posts: 96

Rep: Reputation: 15
Compile madwifi, ... compile error , how can i do.


I am using redhat Enterprise 4.
I want to compile madwifi driver. I used following site and download current version.


http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

**********************

Error , when I compile madwifi driver ::::::::::

[root@CCC madwifi-ng]# make
Checking requirements... ok.
Checking kernel configuration... ok.
sed: can't read SNAPSHOT: No such file or directory -?????
echo -n '#define SVNVERSION "' > svnversion.h

........

make[1]: Entering directory `/home/bayar/madwifi-ng/ath_hal'
cp -f ./../hal/public/i386-elf.opt_ah.h opt_ah.h
cp -f ./../hal/linux/ah_osdep.c ah_osdep.c
/usr/bin/uudecode ./../hal/public/i386-elf.hal.o.uu
make -C /usr/src/kernels/2.6.9-5.EL-smp-i686 SUBDIRS=/home/bayar/madwifi-ng/ath_hal MODVERDIR=/home/bayar/madwifi-ng/ath_hal/../symbols modules
make[2]: Entering directory `/usr/src/kernels/2.6.9-5.EL-smp-i686'
CC [M] /home/bayar/madwifi-ng/ath_hal/ah_osdep.o
LD [M] /home/bayar/madwifi-ng/ath_hal/ath_hal.o
Building modules, stage 2.
MODPOST
CC /home/bayar/madwifi-ng/ath_hal/ath_hal.mod.o
LD [M] /home/bayar/madwifi-ng/ath_hal/ath_hal.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.9-5.EL-smp-i686'
make[1]: Leaving directory `/home/bayar/madwifi-ng/ath_hal'
make[1]: Entering directory `/home/bayar/madwifi-ng/net80211'
make -C /usr/src/kernels/2.6.9-5.EL-smp-i686 SUBDIRS=/home/bayar/madwifi-ng/net80211 MODVERDIR=/home/bayar/madwifi-ng/net80211/../symbols modules
make[2]: Entering directory `/usr/src/kernels/2.6.9-5.EL-smp-i686'
CC [M] /home/bayar/madwifi-ng/net80211/if_media.o

........................

LD [M] /home/bayar/madwifi-ng/net80211/wlan_scan_ap.o
Building modules, stage 2.
MODPOST
CC /home/bayar/madwifi-ng/net80211/wlan.mod.o
LD [M] /home/bayar/madwifi-ng/net80211/wlan.ko

.................

LD [M] /home/bayar/madwifi-ng/net80211/wlan_xauth.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.9-5.EL-smp-i686'
make[1]: Leaving directory `/home/bayar/madwifi-ng/net80211'
make[1]: Entering directory `/home/bayar/madwifi-ng/ath_rate/sample'
make -C /usr/src/kernels/2.6.9-5.EL-smp-i686 SUBDIRS=/home/bayar/madwifi-ng/ath_rate/sample MODVERDIR=/home/bayar/madwifi-ng/ath_rate/sample/../../symbols modules
make[2]: Entering directory `/usr/src/kernels/2.6.9-5.EL-smp-i686'
CC [M] /home/bayar/madwifi-ng/ath_rate/sample/sample.o
/home/bayar/madwifi-ng/ath_rate/sample/sample.c: In function `update_stats':
/home/bayar/madwifi-ng/ath_rate/sample/sample.c:532: error: `rt' undeclared (first use in this function)
/home/bayar/madwifi-ng/ath_rate/sample/sample.c:532: error: (Each undeclared identifier is reported only once
/home/bayar/madwifi-ng/ath_rate/sample/sample.c:532: error: for each function it appears in.)
make[3]: *** [/home/bayar/madwifi-ng/ath_rate/sample/sample.o] Error 1
make[2]: *** [_module_/home/bayar/madwifi-ng/ath_rate/sample] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.9-5.EL-smp-i686'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/bayar/madwifi-ng/ath_rate/sample'
make: *** [modules] Error 1


********************************

How can I do, please help.

I have set kernel path, ...

[root@CCCC]# export KERNELRELEASE=2.6.9-5.ELsmp
[root@CCCC]# export KERNELPATH=/usr/src/kernels/2.6.9-5.EL-smp-i686
 
Old 03-08-2006, 04:04 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
I think you should have followed this guide > http://madwifi.org/wiki/UserDocs/Distro/RedHat

Edit: And how about this Tutorial right here at LQ:
http://www.linuxquestions.org/linux/..._chipped_cards

Is Google not your friend?

Last edited by Bruce Hill; 03-08-2006 at 05:28 AM.
 
Old 03-08-2006, 07:53 PM   #3
ERBRMN
Member
 
Registered: Mar 2005
Location: Japan
Distribution: TurboLinux, RHEL, SUSE
Posts: 96

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Chinaman
I think you should have followed this guide > http://madwifi.org/wiki/UserDocs/Distro/RedHat

Edit: And how about this Tutorial right here at LQ:
http://www.linuxquestions.org/linux/..._chipped_cards

Is Google not your friend?
Thk u , Chinaman

I am compileing madwifi to using that site.

Last edited by ERBRMN; 03-08-2006 at 08:06 PM.
 
Old 03-08-2006, 07:56 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
I hope those help. I can do madwifi on Slackware,
no problem, but have never used Fedora. If you still
have troubles, you might want to try the madwifi channel:
FreeNode at IRC #madwifi
 
  


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
How do I compile madwifi on a 64-bit OS? Blash Linux - Software 0 05-31-2005 01:53 AM
How do I compile madwifi on a 64-bit OS? Blash Linux - Wireless Networking 0 05-30-2005 04:51 AM
Madwifi compile problems Hockeyfan Linux - Wireless Networking 5 11-19-2004 06:06 PM
MADWifi compile problems MysteriousRevC Linux - Newbie 2 08-28-2004 02:35 PM
MADWifi compile problems MysteriousRevC Linux - Networking 1 08-28-2004 02:18 PM


All times are GMT -5. The time now is 03:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration