compiling madwifi - kernel file '.config' doesnt exist

Hi,

I’m trying to compile madwifi, but the makefile requires some kind of a configuration file from the kernel (noob alert:o). It outputs

*** KERNELCONF: /lib/modules/2.6.25.5-1.1-default/build/.config does not exist..

How do I get this file?:confused:

I have a “ThinkPad 11a/b/g/n Wireless LAN Mini Express Adapter” which is, as far as i understood the whole problem stupidiam, not supported by the newest version of madwifi. However, there has been an nightly snapshot of madwifi supporting my card. But because of some reasons I can’t understand they abandoned the support for the card temporarily. So I need to use this specific version of madwifi.

I think here: ThinkPad 11a/b/g/n Wireless LAN Mini Express Adapter - ThinkWiki and here: How to checkout and install madwifi experimental driver for ar5008 - ThinkWiki is a good explanation…

profpaule wrote:

>
> I have a “ThinkPad 11a/b/g/n Wireless LAN Mini Express Adapter” which
> is, as far as i understood the whole problem, not supported by the
> newest version of madwifi. However, there has been an nightly snapshot
> of madwifi supporting my card. But because of some reasons I can’t
> understand they abandoned the support for the card temporarily. So I
> need to use this specific version of madwifi.
>
>

cd to the /usr/src/linux subdir

type:

make cloneconfig

then try your madwifi installation / configuration again.


L R Nix
lornix@lornix.com

hi,

this directory /usr/src/linux doesn’t exist

there’s a dir named linux-2.6.25.5-1.1-obj in /usr/src and in its directories there’s no ‘makefile’ file

As a basic rule of thumb, having gcc/gcc++,make & kernel sources installed will overcome these annoyances,check you have them installed.they can all be installed via YaST - Software management. See if that helps

Andy