Netlink Library (libnl) API "nl_cache_mngr_add" failed with

Need help with C, C++, perl, python, etc?

Netlink Library (libnl) API "nl_cache_mngr_add" failed with

Postby ramanjaneya » 2016-10-14 07:02

Hi All,

Below netlink API receive an error on Debian linux. Same is works fine on SUSE linux.

Is this bug in debian linux?

Can some one help what could be the problem?

libnl version 3.2

In netlink/cache.h

extern int nl_cache_mngr_add(struct nl_cache_mngr *,
const char *,
change_func_t,
void *,
struct nl_cache **);


-- System Information:
Debian GNU/Linux 8
debian_version:8.2
Linux phoenix-pc 4.1.13-WR7.0.0.10_standard #1 SMP PREEMPT Mon Sep 12 06:51:17 UTC 2016 ppc GNU/Linux


would really appreciate any help!!

Thanks.
Ramanjaneya
ramanjaneya
 
Posts: 5
Joined: 2016-10-14 06:43

Re: Netlink Library (libnl) API "nl_cache_mngr_add" failed w

Postby Head_on_a_Stick » 2016-10-14 07:03

Please don't cross post.

viewtopic.php?f=10&t=130155
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6678
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Netlink Library (libnl) API "nl_cache_mngr_add" failed w

Postby tomazzi » 2016-10-14 19:12

ramanjaneya wrote:nl_cache_mngr_add return below error

error: Input/output error


There's no such error defined for nl_cache_mngr_add() function.

As it was already pointed out, You are not using Debian kernel - but somehow, You expecting that a library compiled for completely different kernel will work in Your broken system?

Maybe You should try ntoskrnl.exe? - that obviously won't work either, but it will be more funny...
Odi profanum vulgus
tomazzi
 
Posts: 730
Joined: 2013-08-02 21:33


Return to Programming

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable