Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-20-2005, 05:54 AM
|
#1
|
LQ Newbie
Registered: Aug 2005
Posts: 8
Rep:
|
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!
|
|
|
08-20-2005, 06:24 AM
|
#2
|
Member
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364
Rep:
|
If I'm not mistaken, you need to have the kernel source/headers installed.
Does the driver come with a ./configure script?
|
|
|
08-20-2005, 06:26 AM
|
#3
|
LQ Newbie
Registered: Aug 2005
Posts: 8
Original Poster
Rep:
|
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?
Last edited by hyssing_; 08-20-2005 at 06:36 AM.
|
|
|
08-20-2005, 07:29 AM
|
#4
|
Member
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364
Rep:
|
Quote:
Originally posted by hyssing_
I dont think that i have the kernel-source installed, and not the headers... I havent installed it..
|
Well, then install the kernel-source !
|
|
|
08-20-2005, 08:17 AM
|
#5
|
LQ Newbie
Registered: Aug 2005
Posts: 8
Original Poster
Rep:
|
i cant find the source code.. i hva been googling ang googling without resultat.. do you know any URL?
|
|
|
08-20-2005, 09:21 AM
|
#6
|
Member
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364
Rep:
|
You have to install it via your distributions package management system, e.g. "Add Software/Packages" in mandrake.
|
|
|
08-20-2005, 04:49 PM
|
#7
|
LQ Newbie
Registered: Aug 2005
Posts: 8
Original Poster
Rep:
|
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
|
|
|
08-20-2005, 04:55 PM
|
#8
|
Member
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364
Rep:
|
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 02:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|