Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1901 (new defect)

Opened 10 years ago

Last modified 10 years ago

Kernel version not recognized

Reported by: mrenzmann Assigned to:
Priority: minor Milestone:
Component: madwifi: other Version: trunk
Keywords: Cc:
Patch is attached: 0 Pending:


Originally reported here:

I tried with make, at the beginning the program was unable to detect kernel version, so I replaced line

KERNELRELEASE := $(shell $(CC) -I $(KERNELPATH)/include -E $(TOP)/kernelversion.c | grep uts_release | cut -f2 -d'"')


KERNELRELEASE := /usr/src/linux-

At that point exucuting again the program with "make" command I am having the following message:

Checking requirements... ok.
Checking kernel configuration... FAILED
Only kernel versions 2.4.x and above are supported. You have /usr/src/linux-
make: *** [configcheck] Error 1 

Change History

(follow-up: ↓ 2 ) 04/22/08 06:20:22 changed by mrenzmann

First, KERNELRELEASE is expected to be a version number, not the path to your linux source tree. Please undo said modification of the Makefile, then run "make" again and post the result here.

Second, please tell us what Linux distribution you're using.

(in reply to: ↑ 1 ) 04/22/08 21:36:37 changed by anonymous

I am using openSuse 10.3

this is what I get

/bin/sh: cc: command not found *** Cannot detect kernel version - please check compiler and KERNELPATH. Stop.

04/23/08 06:18:41 changed by mrenzmann

You have no compiler (read: GCC) installed, but try to compile MadWifi from source. This is like trying to drive away with a car that has no motor. And editing the Makefile does not fix this issue, rather you need to install GCC and try again.