[Olsr-users] Help with layer2info plugin

Fábio Carvalho (spam-protected)
Mon Mar 14 15:48:52 CET 2016


You want that i execute the following steps:
- git clone http://olsr.org/git/oonf.git
- cd oonf/build
- cmake ..
- make
- cd oonf/build
- rm *.*
- cmake ..
- make

Is it this?


*Cumprimentos,*
*Fábio Carvalho*

2016-03-14 7:50 GMT+00:00 Henning Rogge <(spam-protected)>:

> On Sun, Mar 13, 2016 at 1:38 AM, Fábio Carvalho
> <(spam-protected)> wrote:
> > I have discovered the problem for the daemon does not load the plugin
> > nl80211 on OONF version v.0.11.1.
>
> Yes, and no...
>
> > The CMakeList.txt file of folder olsrd2 only load the plugin like
> optional:
> >
> > IF (NOT OONF_OPTIONAL_STATIC_PLUGINS)
> >     set (OONF_OPTIONAL_STATIC_PLUGINS nl80211_listener)
> > ENDIF (NOT OONF_OPTIONAL_STATIC_PLUGINS)
>
> Yes, this is on purpose to prevent the build to break on systems who
> do NOT have the necessary development files for nl80211_listener.
>
> > If i add one line on OONF_STATIC_PLUGINS the plugin is loaded without any
> > problems.
>
> I wonder if for some reason your cmake cache just contains an empty
> "OONF_OPTIONAL_STATIC_PLUGINS" variable.
>
> Could you maybe just remove your whole build directory and run "cmake
> .. && make" again?
>
> I think you will get a nl80211_listener included without any
> modification of the CMAKE Makefiles.
>
> Henning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20160314/8ef37c02/attachment.html>


More information about the Olsr-users mailing list