On 2012-04-15 11:53 PM, Jim Henderson wrote:
> When I try to compile, I get the following error:
> 
> --- snip ---
> 
> ipnetns.o: In function `netns_exec':
> ipnetns.c:(.text+0xfc): undefined reference to `unshare'
> ipnetns.o: In function `netns_add':
> ipnetns.c:(.text+0x54c): undefined reference to `unshare'
> collect2: ld returned 1 exit status
> make[5]: *** [ip] Error 1
> make[5]: Leaving directory `/home/jhenderson/Downloads/openwrt/build_dir/
> target-mips_r2_uClibc-0.9.32/iproute2-3.2.0/ip'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory `/home/jhenderson/Downloads/openwrt/build_dir/
> target-mips_r2_uClibc-0.9.32/iproute2-3.2.0'
> make[3]: *** [/home/jhenderson/Downloads/openwrt/build_dir/target-
> mips_r2_uClibc-0.9.32/iproute2-3.2.0/.built] Error 2
> make[3]: Leaving directory `/home/jhenderson/Downloads/openwrt/package/
> iproute2'
> make[2]: *** [package/iproute2/compile] Error 2
> make[2]: Leaving directory `/home/jhenderson/Downloads/openwrt'
> make[1]: *** [/home/jhenderson/Downloads/openwrt/staging_dir/target-
> mips_r2_uClibc-0.9.32/stamp/.package_compile] Error 2
> make[1]: Leaving directory `/home/jhenderson/Downloads/openwrt'
> make: *** [world] Error 2
> 
> --- snip ---
> 
> Been getting it for the past week or so.  My build process is such that I 
> do a 'make distclean' before every compile, so it should be building 
> completely from scratch each time.
OpenWrt has been using uClibc 0.9.33 for a while now, whereas you seem
to be using 0.9.32. It looks like 0.9.33 provides that missing function.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to