<div dir="ltr"><div class="gmail_default" style=""><div class="gmail_default"><b>/oonf/build/cmake ..</b></div><div class="gmail_default">(...)</div><div class="gmail_default">Git commit: v0.11.1-3-g9c63701-dirty, Git version: 0.11.1</div><div class="gmail_default">-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6") </div><div class="gmail_default">-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") </div><div class="gmail_default">-- checking for module 'libnl-tiny'</div><div class="gmail_default">-- package 'libnl-tiny' not found</div><div class="gmail_default">-- checking for module 'libnl-genl-3.0'</div><div class="gmail_default">-- found libnl-genl-3.0, version 3.2.21</div><div class="gmail_default">-- Using 'nl-genl-3;nl-3' for nl80211 access</div><div class="gmail_default">-- Looking for duplicate optional plugin nl80211_listener for executable dlep_radio</div><div class="gmail_default">-- Looking for duplicate optional plugin nl80211_listener for executable olsrd2</div><div class="gmail_default">-- Looking for duplicate optional plugin nl80211_listener for executable olsrd2_dlep</div><div class="gmail_default">-- Configuring done</div><div class="gmail_default">-- Generating done</div><div class="gmail_default">-- Build files have been written to: /olsrv2/oonf/build</div><div class="gmail_default"><br></div><div class="gmail_default">Do you need the output of make?</div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i><br></i></font></div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>Cumprimentos,</i></font><div><font face="trebuchet ms, sans-serif"><i>Fábio Carvalho</i></font></div></div></div></div></div></div>
<br><div class="gmail_quote">2016-03-17 7:40 GMT+00:00 Henning Rogge <span dir="ltr"><<a href="mailto:hrogge@gmail.com" target="_blank">hrogge@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Mar 16, 2016 at 9:30 PM, Fábio Carvalho<br>
<<a href="mailto:fabio.carvalho545@gmail.com">fabio.carvalho545@gmail.com</a>> wrote:<br>
> Yes, i have the liboonf_nl80211_listener.so.0.11.1 on directory build.<br>
><br>
> When i compile the framework it shows an error about libnl-tiny (not found<br>
> this dependency) but the OLSRv2 page says that i can install libnl-tiny or<br>
> libnl-3<br>
<br>
</span>Yes, that is correct.<br>
<br>
it checks first for libnl-tiny... if you have it installed the<br>
installation script guesses you want to use it. No other reason to<br>
have it around.<br>
See src-plugins/generic/nl80211_listener/CMakeList.txt<br>
<span class=""><br>
> Git commit: v0.11.1-3-g9c63701, Git version: 0.11.1<br>
> -- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")<br>
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")<br>
> -- checking for module 'libnl-tiny'<br>
<br>
</span>checking for libnl-tiny (mostly OpenWRT).<br>
<span class=""><br>
> -- package 'libnl-tiny' not found<br>
<br>
</span>failed.<br>
<span class=""><br>
> -- checking for module 'libnl-genl-3.0'<br>
<br>
</span>because of the failed check, see if libnl-genl-3.0-dev is available<br>
<span class=""><br>
> -- found libnl-genl-3.0, version 3.2.21<br>
<br>
</span>Yes it is.<br>
<span class=""><br>
> -- Using 'nl-genl-3;nl-3' for nl80211 access<br>
<br>
</span>inform the user that libnl3 will be used for nl80211_listener<br>
<span class=""><br>
> -- Configuring done<br>
> -- Generating done<br>
> -- Build files have been written to: /olsrv2/oonf/build<br>
><br>
> On file /oonf/build/CMakeCache.txt<br>
><br>
> //Dependencies for the target<br>
> oonf_nl80211_listener_LIB_DEPENDS:STATIC=general;oonf_core;general;oonf_config;general;oonf_common;general;nl-genl-3;general;nl-3;<br>
<br>
</span>That looks fine.<br>
<br>
The puzzeling question is if nl80211_listener is compiled (so the<br>
nl80211_listener target is available for cmake), why is it not in the<br>
executable.<br>
<br>
in src/olsrd2/CMakeList.txt the variable OONF_OPTIONAL_STATIC_PLUGINS<br>
should be set to nl80211_listener when it is not set...<br>
<br>
which in turn (in cmake/link_app.cmake, line 41 to 51) should add it<br>
to the "plugin" liust (if it is not already in there).<br>
<br>
I have attached a "debug" patch for the build environment... can you<br>
apply it, remove the whole build directory and run "cmake .." on a new<br>
build directory (and post the output here)?<br>
<span class="HOEnZb"><font color="#888888"><br>
Henning<br>
</font></span></blockquote></div><br></div>