[Olsr-users] Help with layer2info plugin
Henning Rogge
(spam-protected)
Mon Mar 14 08:50:07 CET 2016
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
More information about the Olsr-users
mailing list