change the version in the batman-adv packages Makefile, and rebuild should be all you need

On 6/15/09, Jacob Marble <jacobmarble@gmail.com> wrote:
On Fri, Jun 12, 2009 at 3:52 PM, Jacob Marble<jacobmarble@gmail.com> wrote:
> On Fri, Jun 12, 2009 at 3:38 PM, Marek Lindner<lindner_marek@yahoo.de> wrote:
>> On Saturday 13 June 2009 04:27:44 Jacob Marble wrote:
>>> > This message indicates that this nodes already has one interface which is
>>> > not activate. Could you post "cat /proc/net/batman-adv/interfaces" after
>>> > you get this result ?
>>>
>>> "echo 'ath0' > interfaces"
>>> "cat interfaces"
>>> ath0
>>>
>>> [     97532] Adding interface: ath0
>>> [     97532] Can't activate module: the primary interface is not active
>>> [     97534] Adding route towards: 00:15:6d:a7:6a:14 (via
>>> 00:15:6d:a7:6a:14) [     97534] Creating new global hna entry:
>>> 00:ff:cf:5c:68:e0 (via 00:15:6d:a7:6a:14)
>>
>> It looks like a bug that I fixed in revision 1254. What version are you using ?
>>
>
> 1176 (from OpenWrt repositories).  I'll get the latest svn.
>


Alright, I have OpenWrt SVN compiling, which has revision 1289.
However, I would like to compile the batman-advanced code from the
batman SVN repository instead.  I have tried copying the
batman-advanced directory to [the openwrt sdk]/package/ and then run
make, and this doesn't work.  I have tried compiling the
batman-advanced code by simply "make
KERNELPATH=~/OpenWrt-SDK-atheros-for-Linux-i686/" and that didn't
work.  I have tried several paths for KERNELPATH, but I think I need
the other cross-compile tools to be available as well...

Can someone give me a quick-and-dirty "Howto compile for OpenWrt"?
Afterwards, I could put together a nice README.openwrt for the SVN
repository.

TIA,

Jake

_______________________________________________
B.A.T.M.A.N mailing list
B.A.T.M.A.N@open-mesh.net
https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n