LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-20-2005, 05:54 AM   #1
hyssing_
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Rep: Reputation: 0
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!
 
Old 08-20-2005, 06:24 AM   #2
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 33
If I'm not mistaken, you need to have the kernel source/headers installed.

Does the driver come with a ./configure script?
 
Old 08-20-2005, 06:26 AM   #3
hyssing_
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 08-20-2005, 07:29 AM   #4
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 33
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 !
 
Old 08-20-2005, 08:17 AM   #5
hyssing_
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
i cant find the source code.. i hva been googling ang googling without resultat.. do you know any URL?
 
Old 08-20-2005, 09:21 AM   #6
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 33
You have to install it via your distributions package management system, e.g. "Add Software/Packages" in mandrake.
 
Old 08-20-2005, 04:49 PM   #7
hyssing_
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 08-20-2005, 04:55 PM   #8
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 33
You to installe the gcc abd g++ compiler, again install them using the package management system - they should be under the development category.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BASH problems: "configure, make, make install" commands don't work ditch* Linux - General 3 07-19-2005 04:37 PM
wLan driver "make" errors theplop Linux - Software 1 11-05-2004 04:17 PM
linux-wlan-ng installation wont go past the "make all" step apu95 Mandriva 5 10-31-2004 09:37 PM
Problem with "make" for rt8180" driver tdopko Linux - Wireless Networking 5 09-20-2004 01:17 AM
Anybody having problems with "make" in RedHat 7.3? "cc" not found ? Rampage2884 Linux - General 4 05-14-2002 02:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration