problems with the "make" part, wlan driver
i am having problems with the "make" part.. this is the error i got:
[remi@localhost linux_3CRUSB10075_drv_1_2_0_0]$ make /lib/modules/2.6.8.1-12mdk/build /home/remi/downloads/linux_3CRUSB10075_drv_1_2_0_0 -I/home/remi/downloads/linux_3CRUSB10075_drv_1_2_0_0/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1 make -C /lib/modules/2.6.8.1-12mdk/build SUBDIRS=/home/remi/downloads/linux_3CRUSB10075_drv_1_2_0_0 modules make: *** /lib/modules/2.6.8.1-12mdk/build: No such file or directory. Stop. make: *** [all] Error 2 [remi@localhost linux_3CRUSB10075_drv_1_2_0_0]$ as you can see i am running with kernel 2.6.8.1-12mdk in Mandrake 10.1 Official Maybee i have to make somechanges inn the makefile? this is a part of the makefile: # # .zd1211 - USB2.0 802.11b/g driver for Zydas ZD1211 chipsets # CC=gcc CPP=g++ LD=ld RM=rm -f -r # if the kernel is 2.6.x, trun on this KERN_26=y KERNEL_SOURCE=/usr/src/linux-2.6.11 # if the kernel is 2.4.x, trun on this #KERN_24=y #KERNEL_SOURCE=/usr/src/linux-2.4 SRC_DIR=src DEFINES=-D__KERNEL__ -DMODULE=1 KERNRELEASE := $(shell uname -r MODPATH := /lib/modules/$(KERNRELEASE) ifeq ($(KERN_26), y) MODULE = zd1211.ko INCLUDES=-I$(KERNEL_SOURCE)/include -I$(SRC_DIR)/include/ -I$(SRC_DIR) Sombody please help.. i am really stuck here now! |
If I'm not mistaken, you need to have the kernel source/headers installed.
Does the driver come with a ./configure script? |
I dont think that i have the kernel-source installed, and not the headers... I havent installed it..
No it doesnt come with that ./configure script... what do i do now? |
Quote:
|
i cant find the source code.. i hva been googling ang googling without resultat.. do you know any URL?
|
You have to install it via your distributions package management system, e.g. "Add Software/Packages" in mandrake.
|
i think i got the kernel source problem sorted out, but now i have a new error..
[root@localhost linux_3CRUSB10075_drv_1_2_0_0]# make gcc -O -Wall -Wstrict-prototypes -pipe -fomit-frame-pointer -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -I/usr/src/linux-2.4/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1 -c src/zd1205.c -o src/zd1205.o make: gcc: Command not found make: *** [src/zd1205.o] Error 127 |
You to installe the gcc abd g++ compiler, again install them using the package management system - they should be under the development category.
|
All times are GMT -5. The time now is 01:13 PM. |