LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Compile madwifi, ... compile error , how can i do. (http://www.linuxquestions.org/questions/linux-networking-3/compile-madwifi-compile-error-how-can-i-do-422672/)

ERBRMN 03-07-2006 10:48 PM

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

Bruce Hill 03-08-2006 05:04 AM

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?

ERBRMN 03-08-2006 08:53 PM

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.

Bruce Hill 03-08-2006 08:56 PM

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


All times are GMT -5. The time now is 01:28 PM.