LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2007, 09:12 AM   #1
LDJ
Member
 
Registered: Nov 2004
Posts: 81

Rep: Reputation: 15
error during 'make' for ipw3945.ko module


Hi guys,
Im running through the instructions from Intel on getting their card working under Linux (im using Slackware). I've followed the instructions to makeing the ieee802.11 subsystem, but the next step tells me to do

Code:
tar xvzf ipw3945-1.0.0.tgz
cd ipw3945-1.0.0.tgz
make
But when i run make from the newly created dir i get this error:


Code:
BT ipw3945-1.0.0 # make

mkdir -p /root/Intel/ipw3945-1.0.0/tmp/.tmp_versions
cp /lib/modules/2.6.18-rc5/net/ieee80211/.tmp_versions/*.mod /root/Intel/ipw3945-1.0.0/tmp/.tmp_versions
make -C /lib/modules/2.6.18-rc5/build M=/root/Intel/ipw3945-1.0.0 MODVERDIR=/root/Intel/ipw3945-1.0.0/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-2.6.18-rc5'
  CC [M]  /root/Intel/ipw3945-1.0.0/ipw3945.o
/root/Intel/ipw3945-1.0.0/ipw3945.c: In function `ipw_send_associate':
/root/Intel/ipw3945-1.0.0/ipw3945.c:3874: error: too few arguments to function `ieee80211_tx_frame'
/root/Intel/ipw3945-1.0.0/ipw3945.c: In function `ipw_bg_daemon_cmd':
/root/Intel/ipw3945-1.0.0/ipw3945.c:4319: error: too few arguments to function `ieee80211_tx_frame'
/root/Intel/ipw3945-1.0.0/ipw3945.c: In function `ipw_auth_work':
/root/Intel/ipw3945-1.0.0/ipw3945.c:8698: error: too few arguments to function `ieee80211_tx_frame'
/root/Intel/ipw3945-1.0.0/ipw3945.c:8742: error: too few arguments to function `ieee80211_tx_frame'
/root/Intel/ipw3945-1.0.0/ipw3945.c: In function `ipw_handle_probe_request':
/root/Intel/ipw3945-1.0.0/ipw3945.c:8813: error: too few arguments to function `ieee80211_tx_frame'
make[2]: *** [/root/Intel/ipw3945-1.0.0/ipw3945.o] Error 1
make[1]: *** [_module_/root/Intel/ipw3945-1.0.0] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18-rc5'
make: *** [modules] Error 2
Im not sure what arguments it is expecting in this situation or how i go about fixing it.

Anyone have any ideas?

Thanks
 
Old 01-27-2007, 03:58 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I think it would be best you supply allot more info such as:
What distro are you using?
64 bit or 32 bit?
Based on the steps done before error it appears kernel source/headers are installed but maybe wrong type. They must be same as kernel(2.6.18-rc5). Before your next attempt it is necessary to issue command:

make clean

before next issue of command:

make

Usually I have found, a function error is the result of a problem between 32 bit application and 64 bit system. Some times the source from intel was built with gcc-3 and your distro may have gcc-4.

Last edited by Junior Hacker; 01-27-2007 at 04:00 PM.
 
Old 01-27-2007, 05:31 PM   #3
LDJ
Member
 
Registered: Nov 2004
Posts: 81

Original Poster
Rep: Reputation: 15
Thanks for the reply.
I am running a clean install of Backtrack2 (based on slackware) and using 32bit for everything. I have used the same files in a previous install of BT so know there isn't a compatibility issue, which i why i cannot fathom what is causing this problem.
It was all working wtih the same files/hardware before
 
Old 01-27-2007, 07:38 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I'm reading up,

You may want to do the same, here are a couple simple google searchs I did.

http://www.google.ca/search?q=ipw394...en-US:official

http://www.google.ca/search?q=Backtr...en-US:official
 
Old 01-27-2007, 07:41 PM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
This one has different instructions, then again maybe not
Got it from one of those Google searchs
If I knew exactly which Dell machine this was, might help greatly.

http://www.puzzle.ch/samsung_q35.html

Last edited by Junior Hacker; 01-27-2007 at 08:26 PM.
 
Old 01-28-2007, 10:11 AM   #6
LDJ
Member
 
Registered: Nov 2004
Posts: 81

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Junior Hacker
This
If I knew exactly which Dell machine this was, might help greatly.

http://www.puzzle.ch/samsung_q35.html
Its an Inspiron 6400 Laptop.

Cheers
 
Old 01-28-2007, 11:28 AM   #7
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I knew it was a Dell related issue,

I have a Dell XPS Gen 5 desktop, and a Dell XPS Gen 2 lappy with 2.18 Pentium M.

When the "in house warranty" runs out, they don't give a flying **ck.

Jeremy!
If you want me out, hurt me.!!!
 
Old 01-28-2007, 11:58 AM   #8
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
LDJ

Allot of the articles I read seem to point at prior steps, namely with the ieee80211,
I do not have wireless access here in "eskimo country", the hotels here do have that luxury, but they are also expensive, it is cheaper for me to drive a babe to my place than parking at a Motel/Hotel.

I will however, keep digging into this issue during free time,

Apparently, ieee80211 (1.1.13) has issues, but ieee80211 version 1.1.11 seems to have Dell users contempt.
 
  


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
OpenSuSE: Compiling arcmsr Module for Areca Make Error makuro Linux - Hardware 0 12-08-2006 04:32 AM
Unable to make ipw3945 helseth Linux - Wireless Networking 4 10-31-2006 04:01 PM
kernel module make error EvilSlim Linux - Newbie 1 10-17-2006 09:33 AM
Error inserting Intel8x0 Module to make Sound Card Work cthrax Linux - Hardware 3 06-15-2004 12:11 AM
2.6.0 make module error RTT Slackware 3 12-19-2003 07:14 PM


All times are GMT -5. The time now is 04:13 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration