genl_ctrl_resolve failure
Ali Ranjbar
ali.ranjbar at ieee.org
Fri Apr 20 16:48:12 EDT 2012
For this test genl-ctrl-list to work properly, shouldn't there be a kernel
module who is listening for this? In other words, should I run this command
after I have loaded and insmod the kernel part of my code? This library
is in user space, after all right, whereas the netlink related code is in
the kernel.
On Fri, Apr 20, 2012 at 1:39 PM, Thomas Graf <tgraf at infradead.org> wrote:
> 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.
>
--
Best Regards;
Ali Ranjbar
Founder
Embedded Software DTI Corp.
Mobile: 847-337-8895
Email: ali.ranjbar at ieee.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20120420/6b532cef/attachment.html>
More information about the libnl
mailing list