LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Madwifi compile problems (https://www.linuxquestions.org/questions/linux-wireless-networking-41/madwifi-compile-problems-255756/)

Hockeyfan 11-16-2004 07:50 PM

Madwifi compile problems
 
When I run 'make' on the madwifi driver I get the following warnings below. I have searched this forum and have found nothing that helps me get rid of these warnings. I have also seached google (both google and google/linux) and haven't found a solution for these warnings.

I have installed the kernel source, however I haven't recompiled it. I am using kernel version 2.6.9-1.667. I am running fedora core 3.

Please if anyone knows anything about these warnings please let me know.

Hockeyfan

*** Warning: "ath_hal_getwirelessmodes" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwtxpow" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_setupxtxdesc" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_newstate" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_chan2mode" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwessid" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_vlan_register" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_crypto_encap" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwscan" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_init_channels" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwessid" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_findrate" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_getoptie" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwmode" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwscan" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_node_init" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_state_name" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwnickn" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwretry" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_chan2ieee" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwtxpow" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_delkey" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_iwaplist" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_setkey" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_announce" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_media_status" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_delmac" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_iwsetup" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_media_init" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_next_scan" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwencode" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_vlan_kill_vid" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwfrag" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_detach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_node_cleanup" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_addmac" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_iw_getstats" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwrts" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwnickn" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwretry" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwrange" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_probe" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_mhz2ieee" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_find_node" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwpower" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwap" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwfreq" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwfrag" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_beacon_alloc" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwfreq" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_media_change" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwsens" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwpower" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_setparam" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_node_copy" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_detach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwname" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwrts" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_mhz2ieee" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwrate" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_dump_pkt" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_getparam" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_chanlist" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_notify_michael_failure" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_computetxtime" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_newassoc" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwsens" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_free_node" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ifdetach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ether_sprintf" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_attach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwmode" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_setoptie" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_setmlme" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_beacon_update" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwencode" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_sysctl_register" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "_ath_hal_attach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ifattach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwap" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_input" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_encap" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_tx_complete" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwrate" [/root/madwifi/ath/ath_pci.ko] undefined!

Hockeyfan 11-16-2004 11:06 PM

I think I found the problem. its because CONFIG_MODVERSIONS is set to yes. I did this once before changing CONFIG_MODVERSIONS from y to n but I can't remember how to do this. Can I edit the .config file or do I have to go through the make config? If I do edit the .config file, do I have to recompile the kernel?

Thanks,

Hockeyfan

flystar06 11-17-2004 05:38 PM

I'm having problems with the drivers too, I recieve errors after doing make and what not...after that I don't know what to do...arg.
i'm using FC3 as well.

Hockeyfan 11-17-2004 06:35 PM

What errors are you getting when you run make? Have you installed the sharutils rpm? Its on the fourth disk.

chuconyc212 11-19-2004 06:17 PM

I am also having the same problem, Using the MAdWIfi Driver. I have compiled and got the same errors after running make install. I have also installed the sharutils programs via yum. any help will be appreciated.

Hockeyfan 11-19-2004 07:06 PM

Here is what I think is the problem. The reason why the errors are comming up is because the CONFIG_MODVERSIONS variable is set to y rather then n. In your kernel-source directory (make sure you have the source code(.c files) and not just the object files (.ko or .o) otherwise you won't be able to recompile the kernel to change the setting) edit the .config file find CONFIG_MODVERSIONS and change it from y to n. Save and exit. then run the following commands

make oldconfig
make /*this will take some time*/
make modules_install

then I would reboot the computer and select the new kernel that you created. That is if you didn't change the extaversion from -1.667.username to -1.667 in the top level Makefile of the source directory. Then after reboot recompile the Madwifi driver.

Hope this helps


All times are GMT -5. The time now is 12:24 AM.