pichuang / openvwrt

An Open vSwitch package for OpenWrt
18 stars 13 forks source link

Some error when make openvwrt #3

Open pichuang opened 10 years ago

pichuang commented 10 years ago

Version: OpenWrt 14.07

find /home/roan/code/openwrt/build_dir/target-mips_34kcuClibc-0.9.33.2/openvswitch-2.3.0/ipkg-ar71xx/openvswitch-common -name 'CVS' -o -name '.svn' -o -name '.#' -o -name '_~'| xargs -r rm -rf Package openvswitch-common is missing dependencies for the following libraries: libatomic.so.1 Makefile:159: recipe for target '/home/roan/code/openwrt/bin/ar71xx/packages/openvswitch/openvswitch-common_2.3.0-1_ar71xx.ipk' failed make[3]: * [/home/roan/code/openwrt/bin/ar71xx/packages/openvswitch/openvswitch-common_2.3.0-1_ar71xx.ipk] Error 1 make[3]: Leaving directory '/home/roan/code/openwrt/feeds/openvswitch/openvswitch' package/Makefile:173: recipe for target 'package/feeds/openvswitch/openvswitch/compile' failed make[2]: * [package/feeds/openvswitch/openvswitch/compile] Error 2 make[2]: Leaving directory '/home/roan/code/openwrt' package/Makefile:170: recipe for target '/home/roan/code/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile' failed make[1]: * [/home/roan/code/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/roan/code/openwrt' /home/roan/code/openwrt/include/toplevel.mk:171: recipe for target 'world' failed make: * [world] Error 2

wamos commented 10 years ago

I got the same bug, but I am targeting to x86 platform

pichuang commented 10 years ago

OpenvSwitch is already include in OpenWrt feeds, you can try that. https://github.com/openwrt/packages/tree/master/net/openvswitch

jeffbrl commented 10 years ago

Let me make sure I understand. You are suggesting a switch from Barrier Breaker to trunk to pick up the OVS package in the feeds?

pichuang commented 10 years ago

@jeffbrl I suggest everyone to use the OpenWrt official feeds if you want to use OpenvSwitch on OpenWrt

jeffbrl commented 10 years ago

Looks to me like the package in the official feed fails with the same errors.

touch include/openflow/openflow.hstamp make[6]: Leaving directory '/home/jeffl/trunk-branch/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.3.0' Makefile:3798: recipe for target 'all-recursive' failed make[5]: * [all-recursive] Error 1 make[5]: Leaving directory '/home/jeffl/trunk-branch/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.3.0' Makefile:1808: recipe for target 'all' failed make[4]: * [all] Error 2 make[4]: Leaving directory '/home/jeffl/trunk-branch/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.3.0' Makefile:187: recipe for target '/home/jeffl/trunk-branch/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.3.0/.built' failed make[3]: * [/home/jeffl/trunk-branch/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.3.0/.built] Error 2 make[3]: Leaving directory '/home/jeffl/trunk-branch/openwrt/feeds/packages/net/openvswitch' package/Makefile:174: recipe for target 'package/feeds/packages/openvswitch/compile' failed make[2]: * [package/feeds/packages/openvswitch/compile] Error 2 make[2]: Leaving directory '/home/jeffl/trunk-branch/openwrt' package/Makefile:171: recipe for target '/home/jeffl/trunk-branch/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile' failed make[1]: * [/home/jeffl/trunk-branch/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/jeffl/trunk-branch/openwrt' /home/jeffl/trunk-branch/openwrt/include/toplevel.mk:173: recipe for target 'world' failed make: * [world] Error 2 jeffl@openwrt-dev:~/trunk-branch/openwrt$

niilona commented 9 years ago

Has this been solved ... means lack of libatomic ?