ntrack-libnl.c:544:3: error: invalid use of undefined type 'struct nl_object_ops'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntrack |
Fix Released
|
Medium
|
Alexander Sack |
Bug Description
building ntrack from bzr with latest libnl (3.2.21) fails with:
ntrack-
because contents of nl_object_ops are hidden now
Making all in modules
make[2]: Wejście do katalogu `/home/
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/
ntrack-libnl.c: In function 'update_
ntrack-
make[2]: *** [ntrack_
Related branches
Changed in ntrack: | |
assignee: | nobody → Alexander Sack (asac) |
Changed in ntrack: | |
status: | Fix Committed → Fix Released |
This patch should resolve the problem.
--- ./modules/ ntrack- libnl.c. orig 2011-10-21 14:46:13.000000000 -0600 ntrack- libnl.c 2013-07-27 20:56:33.075448734 -0600 route_disappear ed ((struct _ntrack_ monitor_ arch*) self, nl_info); >topmost_ route && topmost_route) { obj_ops. oo_id_attrs | ROUTE_ATTR_OIF get_id_ attrs(& route_obj_ ops) | ROUTE_ATTR_OIF
| ROUTE_ATTR_GATEWAY) &
nl_object_ diff (OBJ_CAST (nl_info- >topmost_ route),
OBJ_CAST (topmost_route)))) {
+++ ./modules/
@@ -530,7 +530,7 @@ update_connectivity (ntrack_monitor_t *s
op_default_
} else if (nl_info-
int diff_bits;
- if ((diff_bits = (route_
+ if ((diff_bits = (nl_object_