LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-02-2006, 02:18 PM   #1
GamerX
Member
 
Registered: Nov 2006
Location: Vancouver, BC
Distribution: Slackware
Posts: 102

Rep: Reputation: Disabled
madwifi-0.9.2 + kernel-2.6.19 = error


(btw, sorry if this is the wrong forum)

Ok so I downloaded, customized and compiled the 2.6.19 kernel, boots and everything.
Now I'm trying to compile the madwifi drivers so I can use wireless; running:
(oh by the way, i created an empty linux/config.h file so it wouldn't bitch about it, no errors about missing types or anything so I guess it's not such a problem...)
Code:
make -k KERNELPATH=/usr/src/linux-2.6.19/
yeilds the following:
Code:
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /usr/src/linux-2.6.19/ SUBDIRS=/usr/local/workshop/madwifi-0.9.2 modules
make[1]: Entering directory `/usr/src/linux-2.6.19'
  CC [M]  /usr/local/workshop/madwifi-0.9.2/ath/if_ath_pci.o
/usr/local/workshop/madwifi-0.9.2/ath/if_ath_pci.c: In function `ath_pci_probe':
/usr/local/workshop/madwifi-0.9.2/ath/if_ath_pci.c:208: warning: passing arg 2 of `request_irq' from incompatible pointer type
make[3]: *** [/usr/local/workshop/madwifi-0.9.2/ath/if_ath_pci.o] Error 1
make[3]: Target `__build' not remade because of errors.
make[2]: *** [/usr/local/workshop/madwifi-0.9.2/ath] Error 2
  CC [M]  /usr/local/workshop/madwifi-0.9.2/net80211/ieee80211_crypto_ccmp.o
/usr/local/workshop/madwifi-0.9.2/net80211/ieee80211_crypto_ccmp.c: In function `rijndael_encrypt':
/usr/local/workshop/madwifi-0.9.2/net80211/ieee80211_crypto_ccmp.c:310: warning: `crypto_cipher_encrypt' is deprecated (declared at include/linux/crypto.h:842)
make[3]: *** [/usr/local/workshop/madwifi-0.9.2/net80211/ieee80211_crypto_ccmp.o] Error 1
make[3]: Target `__build' not remade because of errors.
make[2]: *** [/usr/local/workshop/madwifi-0.9.2/net80211] Error 2
make[2]: Target `__build' not remade because of errors.
make[1]: *** [_module_/usr/local/workshop/madwifi-0.9.2] Error 2
make[1]: Target `modules' not remade because of errors.
make[1]: Leaving directory `/usr/src/linux-2.6.19'
make: *** [modules] Error 2
make -C ./tools  all || exit 1
make[1]: Entering directory `/usr/local/workshop/madwifi-0.9.2/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/workshop/madwifi-0.9.2/tools'
make: Target `all' not remade because of errors.
I read a few posts that this is a problem for madwifi in the early release candidates of 2.6.19, but it seems it made it to the final version as well.
I was read a post which said the best way to do this is to update the function prototypes in madwifi's code (namely request_irq), I went digging around and and shortly thereafter realized I'm clueless here... (I have some descent C++ experience but this is a bit over my head)
Does anyone have a patch for this? or can someone point out specifically what I need to modify in madwifi's source?
 
Old 12-03-2006, 12:04 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Instead of poking around the source code, I'd first download the most recent development snapshot and see if that works. It could be that the madwifi team has done something after 0.9.2 was released.
 
Old 12-03-2006, 02:55 PM   #3
GamerX
Member
 
Registered: Nov 2006
Location: Vancouver, BC
Distribution: Slackware
Posts: 102

Original Poster
Rep: Reputation: Disabled
Hmm that's a good idea! I'll give that a shot
 
Old 12-05-2006, 05:49 PM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
I have found that the 2.6.19 kernel no longer includes (no pun intended!) the file include/linux/config.h this caused both madwifi and ati driver to not compile correctly. Nvidia driver installs fine though.
 
  


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
Madwifi make error coderasm Linux - Wireless Networking 1 01-12-2006 08:45 PM
madwifi error antistatic Linux - Wireless Networking 3 11-22-2005 08:14 AM
Error compiling madwifi drivers thiqued Linux - Software 0 09-24-2004 04:11 PM
madwifi and kernel 2.6.8 ravalox Linux - Wireless Networking 2 08-27-2004 01:41 PM
Error installing madwifi hotwired24 Linux - Wireless Networking 0 08-25-2004 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:37 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