genl_ctrl_resolve failure
Ali Ranjbar
ali.ranjbar at ieee.org
Thu Apr 19 17:46:33 EDT 2012
Thomas;
aranjbar at aranjbar-desktop:~/p4ws/alranjba/lego/branches/e2xxx_dev_ctf/bentley/output/debug/libnl-3.2.7/src$
./genl-ctrl-list
./genl-ctrl-list: line 117:
/home/aranjbar/p4ws/alranjba/lego/branches/e2xxx_dev_ctf/bentley/output/debug/libnl-3.2.7/src/.libs/lt-genl-ctrl-list:
cannot execute binary file
./genl-ctrl-list: line 117:
/home/aranjbar/p4ws/alranjba/lego/branches/e2xxx_dev_ctf/bentley/output/debug/libnl-3.2.7/src/.libs/lt-genl-ctrl-list:
Success
aranjbar at aranjbar-desktop:~/p4ws/alranjba/lego/branches/e2xxx_dev_ctf/bentley/output/debug/libnl-3.2.7/src$
I hope this is what you were asking for. Sorry, I am new to using libnl. If
this isn't the right info, please send me more detailed instructions.
Thanks for your help in advance.
On Thu, Apr 19, 2012 at 9:57 AM, Thomas Graf <tgraf at infradead.org> wrote:
> On Mon, Apr 09, 2012 at 02:07:47PM -0700, Ali Ranjbar wrote:
> > I have a user space program that I thought should work, but it fails when
> > it calls the genl_Ctrl_resolve (see below). Can anyone help me why? I am
> > using the libl 3.2.7. Both user space and kernel module compile and
> link. I
> > cut and paste it here, so I maybe missing a } or something, but don't
> focus
> > on that. Like I said, both programs compile and link, so no syntax issue.
> >
> > Kernel side during the init calls the genl_register_family(),
> > genl_register_ops(), so I don't understand why when the user space call
> to
> > genl_ctrl_resolve() failes?
>
>
> Can you run src/genl-ctrl-list and show me the output? I haven't gone
> through your kernel side code but the lookup code looks OK so I
> wonder if the registration works correctly.
>
--
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/20120419/2c973847/attachment.html>
More information about the libnl
mailing list