Eric Dumazet <eric.duma...@gmail.com> writes:
[...] > CC iplink_xstats.o > CC ipseg6.o > LINK ip > xfrm_state.o: In function `xfrm_state_modify.constprop.3': > xfrm_state.c:(.text+0x2458): undefined reference to `strlcpy' > ipnetns.o: In function `netns_identify_pid': > ipnetns.c:(.text+0x12e0): undefined reference to `strlcpy' > ipxfrm.o: In function `xfrm_state_info_print': > ipxfrm.c:(.text+0x1c3b): undefined reference to `strlcat' > ipxfrm.c:(.text+0x1c4d): undefined reference to `strlcat' > ipxfrm.c:(.text+0x215f): undefined reference to `strlcat' > ipxfrm.o: In function `xfrm_policy_info_print': > ipxfrm.c:(.text+0x2299): undefined reference to `strlcat' > ipxfrm.c:(.text+0x22ab): undefined reference to `strlcat' > iproute_lwtunnel.o: In function `parse_encap_seg6': > iproute_lwtunnel.c:(.text+0xa8f): undefined reference to `strlcpy' > ipvrf.o: In function `vrf_switch': > ipvrf.c:(.text+0x87d): undefined reference to `strlcpy' > ipvrf.o: In function `vrf_identify.constprop.2': > ipvrf.c:(.text+0xe4d): undefined reference to `strlcpy' > ../lib/libutil.a(bpf.o): In function `bpf_find_mntpt.constprop.10': > bpf.c:(.text+0x766): undefined reference to `strlcpy' > ../lib/libutil.a(bpf.o): In function `bpf_get_work_dir': > bpf.c:(.text+0xb07): undefined reference to `strlcpy' > ../lib/libutil.a(fs.o):fs.c:(.text+0x44f): more undefined references to > `strlcpy' follow > collect2: error: ld returned 1 exit status > make[1]: *** [ip] Error 1 > make[1]: Leaving directory `/usr/src/iproute2/ip' > make: *** [all] Error 2 Latest iproute2 has config.mk instead of Config, where a new kludge -DNEED_STRLCPY has been added.