LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-10-2005, 11:40 AM   #1
Haraldsh
LQ Newbie
 
Registered: Sep 2003
Distribution: Debian 2.6.9 Sarge
Posts: 24

Rep: Reputation: 15
MadWIFI compilation problems


Hi

I'm trying to install the madwifi modules.
I've just recently upgraded the kernel to 2.6.10 and now I'm stuck with the wifi module.

The machine I'm installing the module to is a thinkpad t41p with a/b/g
I cannot make out what really is wrong.
Is it possible that I have unhooked something in the making of the kernel that were necessary for the module to work?

T41p:/usr/src/linux# fakeroot make-kpkg --revision Custom.1 --added-modules madwifi modules_image
for module in /usr/src/modules/madwifi ; do \
if test -d $module; then \
(cd $module; \
if ./debian/rules KVERS="2.6.10" KSRC="/usr/src/linux" \
KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf" \
KPKG_DEST_DIR="/usr/src/linux/.." \
KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \
KPKG_EXTRAV_ARG="" \
ARCH="i386" \
KDREV="Custom.1" kdist_image; then \
echo "Module $module processed fine"; \
else \
echo "Module $module failed."; \
if [ "X" != "X" ]; then \
echo "Perhaps $module does not understand --rootcmd?"; \
echo "If you see messages that indicate that it is not"; \
echo "in fact being built as root, please file a bug "; \
echo "against $module."; \
fi; \
echo "Hit return to Continue"; \
read ans; \
fi; \
); \
fi; \
done
make[1]: Entering directory `/usr/src/modules/madwifi'
/usr/bin/make -C /usr/src/modules/madwifi KERNELPATH=/usr/src/linux KERNELRELEASE=2.6.10 TARGET=i386-elf
make[2]: Entering directory `/usr/src/modules/madwifi'
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
done
make[3]: Entering directory `/usr/src/modules/madwifi/ath_hal'
make -C /usr/src/linux SUBDIRS=/usr/src/modules/madwifi/ath_hal modules
make[4]: Entering directory `/usr/src/linux-2.6.10'
Building modules, stage 2.
MODPOST
Warning: could not find /usr/src/modules/madwifi/ath_hal/.hal.o.cmd for /usr/src/modules/madwifi/ath_hal/hal.o
make[4]: Leaving directory `/usr/src/linux-2.6.10'
make[3]: Leaving directory `/usr/src/modules/madwifi/ath_hal'
make[3]: Entering directory `/usr/src/modules/madwifi/ath_rate/onoe'
make -C /usr/src/linux SUBDIRS=/usr/src/modules/madwifi/ath_rate/onoe modules
make[4]: Entering directory `/usr/src/linux-2.6.10'
Building modules, stage 2.
MODPOST
*** Warning: "ieee80211_iterate_nodes" [/usr/src/modules/madwifi/ath_rate/onoe/ath_rate_onoe.ko] undefined!
*** Warning: "ether_sprintf" [/usr/src/modules/madwifi/ath_rate/onoe/ath_rate_onoe.ko] undefined!make[4]: Leaving directory `/usr/src/linux-2.6.10'
make[3]: Leaving directory `/usr/src/modules/madwifi/ath_rate/onoe'
make[3]: Entering directory `/usr/src/modules/madwifi/net80211'
make -C /usr/src/linux SUBDIRS=/usr/src/modules/madwifi/net80211 modules
make[4]: Entering directory `/usr/src/linux-2.6.10'
Building modules, stage 2.
MODPOST
*** Warning: "wireless_send_event" [/usr/src/modules/madwifi/net80211/wlan.ko] undefined!
make[4]: Leaving directory `/usr/src/linux-2.6.10'
make[3]: Leaving directory `/usr/src/modules/madwifi/net80211'
make[3]: Entering directory `/usr/src/modules/madwifi/ath'
make -C /usr/src/linux SUBDIRS=/usr/src/modules/madwifi/ath modules
make[4]: Entering directory `/usr/src/linux-2.6.10'
CC [M] /usr/src/modules/madwifi/ath/if_ath_pci.o
/usr/src/modules/madwifi/ath/if_ath_pci.c: In function `ath_pci_suspend':
/usr/src/modules/madwifi/ath/if_ath_pci.c:245: error: too many arguments to function `pci_save_state'
/usr/src/modules/madwifi/ath/if_ath_pci.c: In function `ath_pci_resume':
/usr/src/modules/madwifi/ath/if_ath_pci.c:260: error: too many arguments to function `pci_restore_state'
make[5]: *** [/usr/src/modules/madwifi/ath/if_ath_pci.o] Error 1
make[4]: *** [_module_/usr/src/modules/madwifi/ath] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.10'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/modules/madwifi/ath'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/usr/src/modules/madwifi'
make[1]: *** [module] Error 2
make[1]: Leaving directory `/usr/src/modules/madwifi'
Module /usr/src/modules/madwifi failed.
Hit return to Continue

Any ideas?

Tell me if there are anything else that might be interesting to look at.

---------------------------------------------------------
Debian: It's not for the faint of heart
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dhclient (or maybe madwifi?) problems jbuckley2004 Linux - Wireless Networking 2 07-30-2005 12:01 PM
Encryption problems on Debian 2.6.5 and madwifi mjbird Linux - Wireless Networking 1 02-06-2005 05:15 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:23 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
Open Source Consulting | Domain Registration