Displaying 2 results from an estimated 2 matches for "mnl_socket".
Did you mean:
inp_socket
2018 Feb 05
0
[Bug 1223] New: libmnl does not compile with #undef HAVE_VISIBILITY_HIDDEN
..."
#ifdef HAVE_VISIBILITY_HIDDEN
# define __visible __attribute__((visibility("default")))
# define EXPORT_SYMBOL(x) typeof(x) (x) __visible
#else
# define EXPORT_SYMBOL
#endif
This causes compilation problems when EXPORT_SYMBOL is used, e.g. in socket.c:
EXPORT_SYMBOL(mnl_socket_get_fd);
int mnl_socket_get_fd(const struct mnl_socket *nl)
{
return nl->fd;
}
So I think EXPORT_SYMBOL should be defined as
...
#else
# define EXPORT_SYMBOL(x)
#endif
?
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------...
2013 Dec 04
3
[Bug 881] New: SIGSEGV on startup
...nux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Memory allocation failure
Program received signal SIGSEGV, Segmentation fault.
mnl_socket_close (nl=0x0) at socket.c:248
248 int ret = close(nl->fd);
(gdb) bt
#0 mnl_socket_close (nl=0x0) at socket.c:248
#1 0x0000000000410f79 in netlink_close_sock () at src/netlink.c:45
#2 0x00007ffff7de9fcf in _dl_fini () at dl-fini.c:253
#3 0x00007ffff717fa91 in __run_exit_handlers (stat...