PDA

View Full Version : problem compiling ZD1201 USB WLAN driver



hyno
05-05-2005, 08:14 PM
I'm trying to compile the driver module for the ZD1201 USB WLAN driver. Downloaded from http://sourceforge.net/project/showfiles.php?group_id=94356. I keep getting the following error:

knoppix@2[zd1201-0.14]$ make
make -C /lib/modules/`uname -r`/build/ M=/home/knoppix/zd1201-0.14 modules
make[1]: Entering directory `/UNIONFS/usr/src/linux-2.6.11'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/UNIONFS/usr/src/linux-2.6.11'
make: *** [modules] Error 2


Any suggestions how I can resolve this problem?

fingers99
05-05-2005, 09:25 PM
At a guess, I'd say you're missing the kernel sources.

But how are you compiling?

Usually you'll do:

./configure

make

su to root and

make install.

I'm unsure of how this driver needs to be built.

hyno
05-05-2005, 09:50 PM
I am compiling in Knoppix3.8.1. The kernel sources are present under /usr/src as far as I can see. There is no config file in the driver package. In the readme of the driver there is also no mention of a config file. All it says that is the kernel is newer than 2.6.10 you don't need to patch the kernel, and you can run make to compile the driver.

fingers99
05-05-2005, 11:01 PM
what does

uname -r

show?

Any advice on the site/in the readme about gcc or make versions?

Are you sure you've got the kernel sources?

hyno
05-05-2005, 11:14 PM
uname -r shows 2.6.11.

I also posted this question in the ZD1201 driver forum a week ago, but no answer as yet.

The size of the /usr/src directory is 23.6MB. So I think the kernel source is there.

But I do see the "modules" directory is empty. Does this mean the Knoppix CD made with incomplete kernel sources?