At the moment you need the following things to compile OLSRd2:
- a C buildchain (normally
gcc
, but should work with LLVM/Clang) cmake
(2.8.12 or newer)git
- developer files for
libnl-3
(e.g.libnl-3-dev
) libtomcrypt-dev
for security pluginslibuci
for OpenWRTuciloader
plugin
To build the OLSR.org Network Framework open a shell in the OONF directory and run the following commands:
cd build
cmake ..
make
There are some build variables you can choose to configure building.
We suggest to use ccmake
to do this, but the defaults should
be already reasonable.
cd build
ccmake ..
If you want to crosscompile the routing agent, you will find a few
examples in the cmake/cross
directory. To compile the code with OpenWRT, you
can use the repository (or a local copy) as an OpenWRT feed.
You will find more information in the OLSR wiki.