[orbit-user] Virtual Mobility - madwifi patch

Thierry Rakotoarivelo Thierry.Rakotoarivelo at nicta.com.au
Wed Mar 19 19:21:57 EDT 2008


Hi Shrini,

To compile kernel modules, you need at least the kernel headers for the 
kernel version you currently use, in your case it seems to be 
2.6.22-3-686 (the entire kernel source will do as well, but will take 
more space...)

Then you have to tell 'make' where these headers/sources are using the 
KERNELPATH environment variable: something like 'make 
KERNELPATH=/usr/src/XXX'

Regards,
Thierry.

Shrinivas Mohan wrote:
> Hi,
>
> I was trying to do: http://orbit-lab.org/wiki/HowTo/virtualMobility. 
> The intent was to use the iwpriv orbitfilter MAC_ADDRESS %are recvd 
> RSSI command
>
> I got the madwifi source from /misc/src from node19-3. I got the 
> following error:
>
> node19-3:/usr/src/madwifi
> /madwifi# ls
> BuildCaps.inc  README    contrib          net80211         scripts
> COPYRIGHT      THANKS    docs             orbitfilter.tgz  tools
> INSTALL        ath       hal              patches
> Makefile       ath_hal   include          regression
> Makefile.inc   ath_rate  kernelversion.c  release.h
> node19-3:/usr/src/madwifi/madwifi# make
> /bin/sh: line 0: cd: /lib/modules/2.6.22-3-686/build: No such file or 
> directory
> Makefile.inc:66: *** /lib/modules/2.6.22-3-686/build is missing, 
> please set KERNELPATH.  Stop.
> and
>
> Makefile.inc:81: *** Cannot detect kernel version - please check 
> compiler and KERNELPATH.  Stop.
>
>
> Do I need the kernel source to apply this patch ??? I was using 
> baseline.ndz and iwpriv doesn't accept orbitfilter.
>
> Can someone throw light on this.
>
> Thanks,
> Shrini
>



More information about the orbit-user mailing list