View Full Version : Safecom Wireless
richardward
2005-12-06, 01:26 PM CST
Apologies for another post about wireless lan drivers, but i can't find what i need at all.
I've installed FC4 and found the zd1211 drivers on sourceforge, but can't seem to install them. It says in the docs that I should set the path for the configured kernel source, and i'm not sure where it is. I tried /usr/src/kernels/FC4.../
and then i get an error when i do "make" it gives an error in one of the source files.
Any help would be very much apreciated.
Sp0k0
2005-12-06, 01:57 PM CST
Apologies for another post about wireless lan drivers, but i can't find what i need at all.
I've installed FC4 and found the zd1211 drivers on sourceforge, but can't seem to install them. It says in the docs that I should set the path for the configured kernel source, and i'm not sure where it is. I tried /usr/src/kernels/FC4.../
and then i get an error when i do "make" it gives an error in one of the source files.
Any help would be very much apreciated.
Hello,
Could you please post a bit more information. What kind of error do you get. Some output would be of good use I guess. Thank you.
Regards,
Sp0k0
richardward
2005-12-06, 02:32 PM CST
Ok, from the readme:
To build zd1211 you will need: Configured kernel source code for the
kernel you are running. Ideally, Configured means that you have at
least run 'make config', 'make menuconfig', or 'make xconfig'.
(not too sure if this is relevant)
and a little later:
cd into the new directory and use "make" and "make install"
to make and install driver.
Be sure to have your configured kernel source at /usr/src/linux
or type make KSRC=[my kernel], replacing [my kernel] with the
/usr/src/linux doesn't exist, so i tried
KSRC=/usr/src/kernels/2.6.11-1.1286_FC4-i686
this gives the following output:
[root@localhost zd1211]# make
make V=0 -C /usr/src/kernels/2.6.11-1.1286_FC4-i686 SUBDIRS=/landrv/zd/zd1211/src/modules-2.6.11-1.1286_FC4n modules
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1286_FC4-i686'
CC [M] /landrv/zd/zd1211/src/modules-2.6.11-1.1286_FC4n/zd1205.o
In file included from /landrv/zd/zd1211/src/modules-2.6.11-1.1286_FC4n/zd1205.c:37:
/landrv/zd/zd1211/src/modules-2.6.11-1.1286_FC4n/zdinlinef.h: In function ‘Cfg_CtrlSetting’:
/landrv/zd/zd1211/src/modules-2.6.11-1.1286_FC4n/zdinlinef.h:307: warning: ‘LenInUs’ may be used uninitialized in this function
/landrv/zd/zd1211/src/modules-2.6.11-1.1286_FC4n/zdinlinef.h:308: warning: ‘NextLenInUs’ may be used uninitialized in this function
/landrv/zd/zd1211/src/modules-2.6.11-1.1286_FC4n/zd1205.c: In function ‘zd1205wext_iw_get_stats’:
/landrv/zd/zd1211/src/modules-2.6.11-1.1286_FC4n/zd1205.c:2592: error: ‘struct driver_stats’ has no member named ‘iw_stats’
/landrv/zd/zd1211/src/modules-2.6.11-1.1286_FC4n/zd1205.c: In function ‘zd1205_ioctl’:
/landrv/zd/zd1211/src/modules-2.6.11-1.1286_FC4n/zd1205.c:4438: warning: ‘verify_area’ is deprecated (declared at include/asm/uaccess.h:105)
make[2]: *** [/landrv/zd/zd1211/src/modules-2.6.11-1.1286_FC4n/zd1205.o] Error 1make[1]: *** [_module_/landrv/zd/zd1211/src/modules-2.6.11-1.1286_FC4n] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1286_FC4-i686'
make: *** [all] Error 2
Thanks in advance
Sp0k0
2005-12-06, 03:06 PM CST
Hmm,
I am not much of a C/C++ coder but seems to me there is something worng with the driver itself. Might want to submit a bug report to the developers.
Regards,
Sp0k0
richardward
2005-12-07, 12:33 PM CST
Could it be something to do with the configured kernel source? I don't know wether or not i have it, how can i find out/where can i get it from? Thanks
Sp0k0
2005-12-07, 02:58 PM CST
I think you need kernel-devel package in order to compile drivers and such. At least I never needed anything else.
To see what kernel-devel packages you have on your system you can try:
rpm -qa | grep kernel-devel
if I remamber right.
If you got the package corresponding to the kernel you are running you should be fine. I still think you need to post a bug report though as it seems to me it is a driver issue rather then a missing kernel-source tree.
Regards,
Sp0k0
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.