LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-21-2005, 10:16 PM   #1
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Rep: Reputation: 174Reputation: 174
Angry ipw2100 make errors


Can someone tell me what the problem is here, I cannot seem to get past this error.

Code:
root@JARHEAD:/media/usbdisk/wireless/ipw2100-1.1.2# make
mkdir -p /media/usbdisk/wireless/ipw2100-1.1.2/tmp/.tmp_versions
cp /lib/modules/2.6.12.3/net/ieee80211/.tmp_versions/*.mod /media/usbdisk/wireless/ipw2100-1.1.2/tmp/.tmp_versions
make -C /lib/modules/2.6.12.3/build M=/media/usbdisk/wireless/ipw2100-1.1.2 MODVERDIR=/media/usbdisk/wireless/ipw2100-1.1.2/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-2.6.12.3'
  CC [M]  /media/usbdisk/wireless/ipw2100-1.1.2/ipw2100.o
In file included from /media/usbdisk/wireless/ipw2100-1.1.2/ipw2100.c:166:
/media/usbdisk/wireless/ipw2100-1.1.2/ipw2100.h:809: error: invalid application of `sizeof' to an incomplete type
/media/usbdisk/wireless/ipw2100-1.1.2/ipw2100.c: In function `ipw2100_rx_allocate':
/media/usbdisk/wireless/ipw2100-1.1.2/ipw2100.c:4278: error: invalid application of `sizeof' to an incomplete type
make[2]: *** [/media/usbdisk/wireless/ipw2100-1.1.2/ipw2100.o] Error 1
make[1]: *** [_module_/media/usbdisk/wireless/ipw2100-1.1.2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.3'
make: *** [modules] Error 2
I can get my wireless working with no problem in Ubuntu Hoary, SuSE 9.3, FC 4 and Mepis 3.3.1 but not Slackware. I would much PREFER to use Slackware.

Any assistance would be appreciated.
 
Old 08-22-2005, 04:51 AM   #2
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
Wireless adapter module is compiled against kernel so the reason of compile errors can be an incompatible version - it looks like some of C-type(s) was redefined .
In documentation to ipw2100 should be remark of compatible kernel versions.
Maybe your installed version (2.6.12.3 ?) is too new for this driver. Try some of 2.6.11.x . In some cases it's required kernel source tree has to be updated
(makefiles,include links etc.) based on a new configuration file by prepare target (make prepare).
 
Old 08-22-2005, 05:38 AM   #3
YellowBull
LQ Newbie
 
Registered: Jun 2004
Location: The Netherlands
Distribution: Slackware
Posts: 17

Rep: Reputation: 0
You have to download a patch for ipw2100-1.1.2

Go to the bottom of the homepage of the ipw2100 project.
There you can find the patch.

http://ipw2100.sourceforge.net/patch...11-1.0.3.patch
 
Old 08-22-2005, 08:52 AM   #4
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Original Poster
Rep: Reputation: 174Reputation: 174
Quote:
Originally posted by dunric
Wireless adapter module is compiled against kernel so the reason of compile errors can be an incompatible version - it looks like some of C-type(s) was redefined .
In documentation to ipw2100 should be remark of compatible kernel versions.
Maybe your installed version (2.6.12.3 ?) is too new for this driver. Try some of 2.6.11.x . In some cases it's required kernel source tree has to be updated
(makefiles,include links etc.) based on a new configuration file by prepare target (make prepare).
I try another Kernel later on today. Thanks
 
Old 08-22-2005, 08:53 AM   #5
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Original Poster
Rep: Reputation: 174Reputation: 174
Quote:
Originally posted by YellowBull
You have to download a patch for ipw2100-1.1.2

Go to the bottom of the homepage of the ipw2100 project.
There you can find the patch.

http://ipw2100.sourceforge.net/patch...11-1.0.3.patch
Thanks!! Will give this a shot later on when I have the time. Does the patch include a readme for installing a patch? Not sure how to apply the patch.
 
Old 09-09-2005, 10:37 PM   #6
microft
LQ Newbie
 
Registered: Jun 2004
Location: Portugal
Posts: 8

Rep: Reputation: 0
can you tell me how to apply the patch, I cant find any README...
 
Old 09-09-2005, 10:45 PM   #7
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Sorry: I did not read correctly ipw2100. Sorry.

edit: deleted

Last edited by carboncopy; 09-09-2005 at 11:06 PM.
 
Old 09-10-2005, 04:49 AM   #8
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Normally, a patch is run like this:

Code:
cd /path/to/source
patch -p0 < /path/to/ipw2100.patch
If the patch is in a g/bz2-zipped form, you'll need to unzip it first.

--Shade
 
Old 10-06-2005, 08:47 AM   #9
djibian
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
I had the same problem and I applied the patch you recommend. Now I have another problem and I didn't find any patch for this.

make
mkdir -p /usr/src/ipw2100-1.1.2/tmp/.tmp_versions
cp /lib/modules/2.6.13.2/net/ieee80211/.tmp_versions/*.mod /usr/src/ipw2100-1.1.2/tmp/.tmp_versions
make -C /lib/modules/2.6.13.2/build M=/usr/src/ipw2100-1.1.2 MODVERDIR=/usr/src/ipw2100-1.1.2/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-2.6.13.2'
CC [M] /usr/src/ipw2100-1.1.2/ipw2100.o
/usr/src/ipw2100-1.1.2/ipw2100.c:6155:55: la macro « create_workqueue » a reçu 2 arguments, mais elle n'en prend que 1
/usr/src/ipw2100-1.1.2/ipw2100.c: Dans la fonction « ipw2100_alloc_device »:
/usr/src/ipw2100-1.1.2/ipw2100.c:6155: error: `create_workqueue' undeclared (first use in this function)
/usr/src/ipw2100-1.1.2/ipw2100.c:6155: error: (Each undeclared identifier is reported only once
/usr/src/ipw2100-1.1.2/ipw2100.c:6155: error: for each function it appears in.)
make[2]: *** [/usr/src/ipw2100-1.1.2/ipw2100.o] Erreur 1
make[1]: *** [_module_/usr/src/ipw2100-1.1.2] Erreur 2
make[1]: Leaving directory `/usr/src/linux-2.6.13.2'
make: *** [modules] Erreur 2

I have a recent kernel (2.6.13.2) with the last patch for software suspend 2. I think that I can change the kernel to fix this problem but I don't want to do that !
Could you help me ?
 
  


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
Make errors lazwaz Linux - Software 1 05-21-2005 04:37 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
Make on IPW2100 Gerardoj Slackware 2 01-17-2005 11:52 AM
ipw2100 install question (how to make it boot) true_atlantis Slackware 1 05-27-2004 03:10 PM
'make' errors... drenal Linux - Newbie 3 04-21-2004 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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