[Olsr-users] Help with layer2info plugin

Fábio Carvalho (spam-protected)
Thu Mar 17 09:33:08 CET 2016


*/oonf/build/cmake ..*
(...)
Git commit: v0.11.1-3-g9c63701-dirty, Git version: 0.11.1
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'libnl-tiny'
--   package 'libnl-tiny' not found
-- checking for module 'libnl-genl-3.0'
--   found libnl-genl-3.0, version 3.2.21
-- Using 'nl-genl-3;nl-3' for nl80211 access
-- Looking for duplicate optional plugin nl80211_listener for executable
dlep_radio
-- Looking for duplicate optional plugin nl80211_listener for executable
olsrd2
-- Looking for duplicate optional plugin nl80211_listener for executable
olsrd2_dlep
-- Configuring done
-- Generating done
-- Build files have been written to: /olsrv2/oonf/build

Do you need the output of make?


*Cumprimentos,*
*Fábio Carvalho*

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

> On Wed, Mar 16, 2016 at 9:30 PM, Fábio Carvalho
> <(spam-protected)> wrote:
> > Yes, i have the liboonf_nl80211_listener.so.0.11.1 on directory build.
> >
> > When i compile the framework it shows an error about libnl-tiny (not
> found
> > this dependency) but the OLSRv2 page says that i can install libnl-tiny
> or
> > libnl-3
>
> Yes, that is correct.
>
> it checks first for libnl-tiny... if you have it installed the
> installation script guesses you want to use it. No other reason to
> have it around.
> See src-plugins/generic/nl80211_listener/CMakeList.txt
>
> > Git commit: v0.11.1-3-g9c63701, Git version: 0.11.1
> > -- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
> > -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
> > -- checking for module 'libnl-tiny'
>
> checking for libnl-tiny (mostly OpenWRT).
>
> > --   package 'libnl-tiny' not found
>
> failed.
>
> > -- checking for module 'libnl-genl-3.0'
>
> because of the failed check, see if libnl-genl-3.0-dev is available
>
> > --   found libnl-genl-3.0, version 3.2.21
>
> Yes it is.
>
> > -- Using 'nl-genl-3;nl-3' for nl80211 access
>
> inform the user that libnl3 will be used for nl80211_listener
>
> > -- Configuring done
> > -- Generating done
> > -- Build files have been written to: /olsrv2/oonf/build
> >
> > On file /oonf/build/CMakeCache.txt
> >
> > //Dependencies for the target
> >
> oonf_nl80211_listener_LIB_DEPENDS:STATIC=general;oonf_core;general;oonf_config;general;oonf_common;general;nl-genl-3;general;nl-3;
>
> That looks fine.
>
> The puzzeling question is if nl80211_listener is compiled (so the
> nl80211_listener target is available for cmake), why is it not in the
> executable.
>
> in src/olsrd2/CMakeList.txt the variable OONF_OPTIONAL_STATIC_PLUGINS
> should be set to nl80211_listener when it is not set...
>
> which in turn (in cmake/link_app.cmake, line 41 to 51) should add it
> to the "plugin" liust (if it is not already in there).
>
> I have attached a "debug" patch for the build environment... can you
> apply it, remove the whole build directory and run "cmake .." on a new
> build directory (and post the output here)?
>
> Henning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20160317/46f19102/attachment.html>


More information about the Olsr-users mailing list