[PATCH] libnl: optionally disable cli tools.

Karl Hiramoto karl at hiramoto.org
Wed Jun 16 11:34:47 EDT 2010


I'd like to also mention that i'm also using this patch as a work around.    Cross compiling on an older ubuntu machine fails when linking the src/ cli tools.  I suspect somthing to do with the automake, and/or libtool.  With this patch, I get working libraries that I need.

If i see the problem come up cross compiling on machine with more modern autotools and libtool I'll look into it further.


Karl.



P.S.

If anyone is interested the error on the old ubuntu machine:


/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/bin-ccache/../lib/gcc/armeb-linux-uclibc/4.2.4/include/stddef.h:414:1: warning: this is the location of the previous definition
/bin/sh ../libtool --tag=CC   --mode=link /home/karl/nobackup/nfq/build_armeb/staging_dir/usr/bin/armeb-linux-uclibc-gcc -Os -pipe -Os  -I/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/include -I/home/karl/nobackup/nfq/build_armeb/staging_dir/include --sysroot=/home/karl/nobackup/nfq/build_armeb/staging_dir/ -isysroot /home/karl/nobackup/nfq/build_armeb/staging_dir -mtune=xscale -msoft-float -Wall -I../include -D_GNU_SOURCE -g -O2 -L../lib -L../src/lib -lnl-cli -L/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/lib -L/home/karl/nobackup/nfq/build_armeb/staging_dir/lib -o genl-ctrl-list genl-ctrl-list.o -lnl-genl -lnl-route -lm
/bin/sh ../libtool --tag=CC   --mode=link /home/karl/nobackup/nfq/build_armeb/staging_dir/usr/bin/armeb-linux-uclibc-gcc -Os -pipe -Os  -I/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/include -I/home/karl/nobackup/nfq/build_armeb/staging_dir/include --sysroot=/home/karl/nobackup/nfq/build_armeb/staging_dir/ -isysroot /home/karl/nobackup/nfq/build_armeb/staging_dir -mtune=xscale -msoft-float -Wall -I../include -D_GNU_SOURCE -g -O2 -L../lib -L../src/lib -lnl-cli -L/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/lib -L/home/karl/nobackup/nfq/build_armeb/staging_dir/lib -o nf-ct-list nf-ct-list.o -lnl-nf -lm
/bin/sh ../libtool --tag=CC   --mode=link /home/karl/nobackup/nfq/build_armeb/staging_dir/usr/bin/armeb-linux-uclibc-gcc -Os -pipe -Os  -I/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/include -I/home/karl/nobackup/nfq/build_armeb/staging_dir/include --sysroot=/home/karl/nobackup/nfq/build_armeb/staging_dir/ -isysroot /home/karl/nobackup/nfq/build_armeb/staging_dir -mtune=xscale -msoft-float -Wall -I../include -D_GNU_SOURCE -g -O2 -L../lib -L../src/lib -lnl-cli -L/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/lib -L/home/karl/nobackup/nfq/build_armeb/staging_dir/lib -o nf-log nf-log.o -lnl-nf -lm
libtool: link: /home/karl/nobackup/nfq/build_armeb/staging_dir/usr/bin/armeb-linux-uclibc-gcc -Os -pipe -Os -I/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/include -I/home/karl/nobackup/nfq/build_armeb/staging_dir/include --sysroot=/home/karl/nobackup/nfq/build_armeb/staging_dir/ -isysroot /home/karl/nobackup/nfq/build_armeb/staging_dir -mtune=xscale -msoft-float -Wall -I../include -D_GNU_SOURCE -g -O2 -o .libs/nf-ct-list nf-ct-list.o  -L/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib -L/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib /home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so -L/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/lib -L/home/karl/nobackup/nfq/build_armeb/staging_dir/lib /home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so -lm
libtool: link: /home/karl/nobackup/nfq/build_armeb/staging_dir/usr/bin/armeb-linux-uclibc-gcc -Os -pipe -Os -I/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/include -I/home/karl/nobackup/nfq/build_armeb/staging_dir/include --sysroot=/home/karl/nobackup/nfq/build_armeb/staging_dir/ -isysroot /home/karl/nobackup/nfq/build_armeb/staging_dir -mtune=xscale -msoft-float -Wall -I../include -D_GNU_SOURCE -g -O2 -o .libs/genl-ctrl-list genl-ctrl-list.o  -L/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib -L/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib /home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so -L/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/lib -L/home/karl/nobackup/nfq/build_armeb/staging_dir/lib /home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so /home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so -lm
/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/bin-ccache/../lib/gcc/armeb-linux-uclibc/4.2.4/../../../../armeb-linux-uclibc/bin/ld: warning: libnl.so.2, needed by /home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so, not found (try using -rpath or -rpath-link)
/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/bin-ccache/../lib/gcc/armeb-linux-uclibc/4.2.4/../../../../armeb-linux-uclibc/bin/ld: warning: libnl-route.so.2, needed by /home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so, not found (try using -rpath or -rpath-link)
/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/bin-ccache/../lib/gcc/armeb-linux-uclibc/4.2.4/../../../../armeb-linux-uclibc/bin/ld: warning: libnl-genl.so.2, needed by /home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so, not found (try using -rpath or -rpath-link)
nf-ct-list.o: In function `main':
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/nf-ct-list.c:133: undefined reference to `nl_cache_dump_filter'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_neigh_set_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nla_parse_nested'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_nh_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_addr_put'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_neigh_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_set_iif'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nlmsg_alloc_simple'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_set_dst'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_set_pref_src'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_addr_set_broadcast'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nla_get_u16'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_set_scope'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_addr_set_scope'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_addr_cmp'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nla_put_u32'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nla_data'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_rule_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_addr_get_binary_addr'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_addr_parse'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_qdisc_set_ifindex'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_ip_proto2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_set_priority'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_addr_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nla_get_u64'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_neigh_get_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_link_set_ifindex'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_set_metric'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `__str2flags'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_link_set_txqlen'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_link_set_weight'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_dump_line'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `__flags2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_socket_disable_auto_ack'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_qdisc_set_handle'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_cache_mngt_register'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `__str2type'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_socket_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nla_get_u32'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_addr_set_label'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_addr2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_cache_mngt_provide'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_rule_set_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_addr_get_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_str2rtntype'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_send_simple'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_set_src'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_neigh_set_dst'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_neigh_set_state'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nlmsg_parse'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nlmsg_put'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_object_put'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nlmsg_reserve'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_get_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_qdisc_set_parent'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_link_set_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_nh_set_gateway'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_addr_get_len'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nla_put'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `__type2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_ether_proto2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_add_nexthop'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_link_set_name'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_link_name2i'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_set_protocol'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_auto_complete'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_addr_alloc_attr'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_object_dump'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nlmsg_hdr'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nla_nest_start'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_addr_set_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_addr_set_ifindex'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_wait_for_ack'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nla_len'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_str2msec'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_send_iovec'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_new_line'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_tc_str2handle'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_nh_set_weight'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_object_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_addr_set_local'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_set_type'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `rtnl_link_i2name'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_qdisc_set_kind'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_addr_clone'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_nh_set_ifindex'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_object_get'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_cache_mngt_unregister'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_neigh_set_ifindex'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_link_set_mtu'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_msec2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_str2proto'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nla_get_u8'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nlmsg_free'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_send_auto_complete'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_addr_set_valid_lifetime'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_link_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_str2table'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_rule_alloc_cache'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_str2af'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_af2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_set_table'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_neigh_set_lladdr'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_connect'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_addr_set_peer'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_debug'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_addr_get'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nla_nest_end'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_addr_set_preferred_lifetime'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_alloc_cache'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_dump'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_geterror'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_qdisc_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_cache_mngt_require'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_addr_cmp_prefix'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_route_set_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nlmsg_data'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_cache_alloc_and_fill'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-nf.so: undefined reference to `nl_cancel_down_bytes'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_str2scope'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `rtnl_neigh_str2state'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_str2ip_proto'
collect2: ld returned 1 exit status
make[3]: *** [nf-ct-list] Error 1
make[3]: *** Se espera a que terminen otras tareas....
/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/bin-ccache/../lib/gcc/armeb-linux-uclibc/4.2.4/../../../../armeb-linux-uclibc/bin/ld: warning: libnl.so.2, needed by /home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so, not found (try using -rpath or -rpath-link)
/home/karl/nobackup/nfq/build_armeb/staging_dir/usr/bin-ccache/../lib/gcc/armeb-linux-uclibc/4.2.4/../../../../armeb-linux-uclibc/bin/ld: warning: libnl-nf.so.2, needed by /home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so, not found (try using -rpath or -rpath-link)
genl-ctrl-list.o: In function `main':
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/genl-ctrl-list.c:66: undefined reference to `nl_cache_dump'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nla_parse_nested'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_guess_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nla_put_nested'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `__trans_list_add'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_data_get_size'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_set_tcp_state'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_addr_put'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nlmsg_valid_hdr'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nlmsg_alloc_simple'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nlmsg_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_set_status'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nlmsg_tail'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nla_get_u16'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_cmp'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_set_proto'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nla_strlcpy'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nla_data'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_get_binary_addr'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_get_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_addr_parse'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_cache_foreach_filter'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_data_free'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_set_mark'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_set_src'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `__str2flags'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_set_dst_port'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nl_dump_line'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `__flags2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_set_use'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nl_cache_mngt_register'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_get_hz'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `__str2type'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_socket_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_data_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nla_get_u32'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_cache_mngt_provide'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nla_parse'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_data_alloc_attr'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_cancel_down_bits'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_set_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nla_validate'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nl_send_simple'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_cache_pickup'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `__list_type2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nlmsg_parse'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nlmsg_put'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_data_clone'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nl_object_put'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nlmsg_reserve'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_str2status'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_get_len'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nla_put'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `__type2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_ether_proto2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_cache_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_llproto2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_alloc_attr'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_object_dump'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_alloc_cache'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `__list_str2type'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `__trans_list_clear'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nlmsg_hdr'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nla_nest_start'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_wait_for_ack'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nla_len'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_str2msec'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_new_line'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_get_prefixlen'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_set_timeout'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `__nl_read_num_str_file'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nl_object_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nla_next'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nla_memcpy'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_set_src_port'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_set_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_clone'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_syserr2nlerr'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nl_object_get'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nl_cache_mngt_unregister'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_cache_refill'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_msec2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nl_cache_free'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nla_get_u8'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nlmsg_free'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_object_clone'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_send_auto_complete'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_iszero'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_str2af'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_data_get'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_set_dst'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nla_get_string'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_af2str'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_str2tcp_state'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_connect'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_alloc'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_us2ticks'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nl_debug'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_get'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nla_nest_end'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_data_append'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nl_dump'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nlmsg_append'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_geterror'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_get_family'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_cache_mngt_require'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_ticks2us'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nla_ok'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nlmsg_data'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_build'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-genl.so: undefined reference to `nl_cache_alloc_and_fill'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_cancel_down_bytes'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/lib/.libs/libnl-route.so: undefined reference to `nl_addr_set_prefixlen'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nfnl_ct_set_id'
/home/karl/nobackup/nfq/build_armeb/libnl-2.0.20100301/src/lib/.libs/libnl-cli.so: undefined reference to `nl_str2ip_proto'
collect2: ld returned 1 exit status
make[3]: *** [genl-ctrl-list] Error 1


--
Karl





More information about the libnl mailing list