genl_ctrl_resolve failure

Thomas Graf tgraf at infradead.org
Fri Apr 20 16:39:04 EDT 2012


On Fri, Apr 20, 2012 at 10:51:02AM -0700, Ali Ranjbar wrote:
> Thomas;
> 
> Interesting, I had to cross compile the libnl using a compiler for mips
> provided by Broadcom, I don't know if that could be an issue.

This could be related. What I am trying to say here is that there is
code in src/genl-ctrl-list.c which can easily verify whether the
kernel part is functioning properly so you can easily track down the
origin of your problem quickly.

> I had
> integrate this library within an existing code base which has 1000 of
> Makefile and all. One more thing. As you see below, I only linked nl and
> genl not the route or nf portions of the library? Could this be a problem?
> I thought, I can do this, since you have divided the library to 4 different
> portion (so final execution won't get too big), so I only link portions of
> the library I need. The way I determined which library I need was to start
> with all and build, then start commenting out specific libraries and see if
> linker complains. This is how i determined that I only need lnl-3 and
> lnl-genl-3.

This is perfectly acceptable and you are encouraged to do so.



More information about the libnl mailing list