SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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).
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 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 ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.