problem getting Fritz WLAN USB running in Fedora 9 x86_64

Robert Cates robert at kormar.de
Mon Mar 2 10:49:55 UTC 2009


Hi all,

I've been doing a lot of searching the net, including this list, for a 
solution to my problem:

I've got Fedora 9 x86_64 running (nicely) with all current updates up to 
now, but I just cannot get my Fritz WLAN USB adaptor (drivers) 
installed. For one thing, since compiling the source code that I got 
from the AVM company web site does not work, I wanted to resort to 
installing the ndiswrapper package, but that is not found/available 
(from Fedora at least).

Does anybody know what I need to either be able to successfully compile 
the source code under x86_64, or to get this ndiswrapper package 
installed? Also, if I go with the ndiswrapper solution would I need to 
use the XP or Vista 64-bit drivers, or the regular 32-bit?

The device monitor recognizes it when plugged in and lsusb gives this:

# lsusb
Bus 002 Device 003: ID 057c:62ff AVM GmbH WLAN USB v1.1 [no firmware]
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 045e:0734 Microsoft Corp.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

and compiling the source code gives this:

[... fritz]# ll
total 156
-rw-r--r-- 1 root root 214 2007-07-05 15:00 config-wpa
-rw-r--r-- 1 root root 215 2007-07-05 15:00 config-wpa2
-rwxr-xr-x 1 root root 104 2007-07-05 15:00 install
drwxr-xr-x 2 root root 4096 2007-07-05 15:00 lib
-rw-r--r-- 1 root root 64210 2007-07-05 15:00 Liesmich.html
-rw-r--r-- 1 root root 62096 2007-07-05 15:00 Readme.html
drwxr-xr-x 2 root root 4096 2007-07-05 15:00 src
[... fritz]# ./install
make: Entering directory `/root/Download/fritz/src'
rm -f main.o driver.o tools.o lib.o buffers.o wext.o
rm -f fwlanusb.o fwlanusb.ko
make: Leaving directory `/root/Download/fritz/src'
make: Entering directory `/root/Download/fritz/src'
make -C /lib/modules/2.6.27.15-78.2.23.fc9.x86_64/build 
SUBDIRS=/root/Download/fritz/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.15-78.2.23.fc9.x86_64'
CC [M] /root/Download/fritz/src/main.o
In file included from /root/Download/fritz/src/tools.h:31,
from /root/Download/fritz/src/main.c:32:
/root/Download/fritz/src/defs.h:63: error: redefinition of typedef 
‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was 
here
make[2]: *** [/root/Download/fritz/src/main.o] Error 1
make[1]: *** [_module_/root/Download/fritz/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.15-78.2.23.fc9.x86_64'
make: *** [fwlanusb.o] Error 2
make: Leaving directory `/root/Download/fritz/src'
make: Entering directory `/root/Download/fritz/src'
cp: cannot stat `fwlanusb.ko': No such file or directory
make: *** [install] Error 1
make: Leaving directory `/root/Download/fritz/src'
[... fritz]#


Thanks in advance for your help!
Robert




More information about the users mailing list