[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ipw2200 [Wifi Driver] compile problems



I installed etch about a week and a half ago, and it picked up the ipw2200 as part of the regular installation routine. All I had to do was download the firmware (as you'll find it on the sourceforge page for the ipw2200 driver), put it into the hotplug directory (/usr/lib/hotplug) and bam, it worked. Of course, this is after the system's installed, so I had to use my e100 ethernet for the actual installation. Fiddling with the ieee80211 driver is annoying to get to work. I'd suggest (if you aren't too far into it already) to just reinstall the system, try to do the firmware step (granted that it's picking up the ipw2200 in the bootup, which it should if you're doing a 2.6.12+ kernel, and since etch uses a 2.6.15 you're fine) and see if that works a bit better. Then I just added in an entry in /etc/network/interfaces to pick up my WEP network at load, and everything's perfect (the network-admin tool that comes with gnome is occasionally useful, but I've been finding it to be a bit flaky, especially going from one network to another). Apparently there's a way to write in different locales in /etc/network/interfaces to circumvent network-admin completely, I haven't fiddled with it.

hope that's a bit useful to you!

chris




James Brown wrote:

All,

I'm fairly new to Debian and have Etch installed on a Samsung M40 with a custom kernel:

# uname -a
# Linux cloudburst 2.6.8 #1 Sun Oct 2 00:46:23 BST 2005 i686 GNU/Linux

I'd like to install the ipw2200 Wifi drivers, but am struggling.

Here's what I'm doing:

1. apt-get update
2. m-a a-i ieee80211-source
3. apt-get install ipw2200-source
4. cd /usr/src; tar xzf ipw2200-source.tar.gz
5. m-a a-i ipw2200

Unfortunately, step five fails with the following errors in the buildlog:

> [...]

In file included from /usr/src/modules/ipw2200/driver/ipw2200.c:33:
/usr/src/modules/ipw2200/driver/ipw2200.h:1131: error: variable or field `__iomem' declared void /usr/src/modules/ipw2200/driver/ipw2200.h:1131: warning: no semicolon at end of struct or union /usr/src/modules/ipw2200/driver/ipw2200.h:1131: error: syntax error before '*' token /usr/src/modules/ipw2200/driver/ipw2200.h:1248: error: `up' redeclared as different kind of symbol
include/asm/semaphore.h:197: error: previous declaration of `up'
/usr/src/modules/ipw2200/driver/ipw2200.h:1249: error: `down' redeclared as different kind of symbol
include/asm/semaphore.h:115: error: previous declaration of `down'
/usr/src/modules/ipw2200/driver/ipw2200.h:1303: error: syntax error before '}' token /usr/src/modules/ipw2200/driver/ipw2200.c:47: error: conflicting types for `cmdlog' /usr/src/modules/ipw2200/driver/ipw2200.h:1273: error: previous declaration of `cmdlog' /usr/src/modules/ipw2200/driver/ipw2200.c:49: error: conflicting types for `channel' /usr/src/modules/ipw2200/driver/ipw2200.h:1192: error: previous declaration of `channel' /usr/src/modules/ipw2200/driver/ipw2200.c:53: error: conflicting types for `associate' /usr/src/modules/ipw2200/driver/ipw2200.h:1241: error: previous declaration of `associate'
/usr/src/modules/ipw2200/driver/ipw2200.c: In function `__ipw_read8':
/usr/src/modules/ipw2200/driver/ipw2200.c:278: error: dereferencing pointer to incomplete type
/usr/src/modules/ipw2200/driver/ipw2200.c: In function `__ipw_read16':
/usr/src/modules/ipw2200/driver/ipw2200.c:287: error: dereferencing pointer to incomplete type

> [... ~100 lines ...]

usr/src/modules/ipw2200/driver/ipw2200.c:11826: error: dereferencing pointer to incomplete type /usr/src/modules/ipw2200/driver/ipw2200.c:11826: error: dereferencing pointer to incomplete type
make[4]: *** [/usr/src/modules/ipw2200/driver/ipw2200.o] Error 1
make[3]: *** [_module_/usr/src/modules/ipw2200/driver] Error 2
make[3]: Leaving directory `/usr/src/kernel-headers-2.6.8'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/modules/ipw2200/driver'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/ipw2200'
make: *** [kdist_build] Error 2


I would really appreciate any advice you could give me.

Many thanks in advance,

James.





Reply to: