Hey,
we also have precompiled binaries for x86: http://downloads.open-mesh.net/batman/stable/binaries/i386/ http://downloads.open-mesh.net/batman/development/binaries/i386/
another option is to compile/linu batmand with the -static flag on your x86 (i386) desktop and just copy it, as Sven explained. Unfortunately you won't get an ipkg package with this, but it should run. ;)
best regards Simon
On Wed, Jan 21, 2009 at 02:36:03PM +0100, Sven Eckelmann wrote:
Hi, On Wednesday 21 January 2009 13:54:44 Kartik Muralidharan wrote:
I have a couple of embedded devices (x86) running the latest version of OpenWRT. I would like to know if I could compile and run batman on these nodes and if so how.
There is a howto written by Wesley at http://downloads.open-mesh.net/batman/misc/batmand_howto.pdf
This should describe the process of building and the first steps quite good. You can compile the batmand binary by using a gcc with i386 as target plattform. This should be the case for every standard gcc on non-amd64 i368 distributions. Afterwards you can copy it to your embedded device and use it. I am not up to date with the current development in trunk of openwrt but I think they don't provide packages for gcc yet. So it will not be possible (unless you installed gcc by hand) to compile it on your device running openwrt. This is the really quick and dirty method but you can also create ipkgs with the standard openwrt build environment with the build scripts from https://svn.openwrt.org/openwrt/packages/net/batman/
I would recommend that you use a current snapshot of the batman sources from trunk because they contain a bunch of fixes since the last release (0.3). You can obtain them by running svn export http://downloads.open-mesh.net/svn/batman/trunk/batman/
Best regards, Sven