Hello hnyman - It was fixed after adding comment to dibble MIPS16 Makefile, but now I am getting below error. I understand it's related to package, but any pointers would be helpful.
Thanks!!!
mips-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I ./include -I ./lib -I ./lib -I/home/ubuntu/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/home/ubuntu/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/home/ubuntu/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/ubuntu/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wmissing-prototypes -Wmissing-field-initializers -I/home/ubuntu/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.0.0/lib -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -std=gnu99 -MT tests/test-atomic.o -MD -MP -MF $depbase.Tpo -c -o tests/test-atomic.o tests/test-atomic.c &&\
mv -f $depbase.Tpo $depbase.Po
mips-openwrt-linux-uclibc-gcc -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wmissing-prototypes -Wmissing-field-initializers -I/home/ubuntu/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.0.0/lib -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -std=gnu99 -L/home/ubuntu/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.0.0/lib -L/home/ubuntu/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/ubuntu/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/ubuntu/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/ubuntu/openwrt/trunk/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -o tests/test-atomic tests/test-atomic.o lib/libopenvswitch.a -lssl -lcrypto -lpthread -lrt -lm
tests/test-atomic.o: In function `main':
test-atomic.c:(.text.startup+0x1b6c): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1bac): undefined reference to `__atomic_store_8'
test-atomic.c:(.text.startup+0x1bb8): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1bfc): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1c40): undefined reference to `__atomic_fetch_add_8'
test-atomic.c:(.text.startup+0x1c74): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1cb4): undefined reference to `__atomic_fetch_sub_8'
test-atomic.c:(.text.startup+0x1ce8): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1d10): undefined reference to `__atomic_fetch_or_8'
test-atomic.c:(.text.startup+0x1d44): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1d84): undefined reference to `__atomic_fetch_and_8'
test-atomic.c:(.text.startup+0x1db8): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1dd8): undefined reference to `__atomic_fetch_xor_8'
test-atomic.c:(.text.startup+0x1df4): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1e38): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1e78): undefined reference to `__atomic_store_8'
test-atomic.c:(.text.startup+0x1e84): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1ec8): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1f04): undefined reference to `__atomic_fetch_add_8'
test-atomic.c:(.text.startup+0x1f38): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1f7c): undefined reference to `__atomic_fetch_sub_8'
test-atomic.c:(.text.startup+0x1fb0): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x1fd4): undefined reference to `__atomic_fetch_or_8'
test-atomic.c:(.text.startup+0x2008): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x204c): undefined reference to `__atomic_fetch_and_8'
test-atomic.c:(.text.startup+0x2080): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x20a4): undefined reference to `__atomic_fetch_xor_8'
test-atomic.c:(.text.startup+0x20bc): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x2608): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x2648): undefined reference to `__atomic_store_8'
test-atomic.c:(.text.startup+0x2654): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x2698): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x26dc): undefined reference to `__atomic_fetch_add_8'
test-atomic.c:(.text.startup+0x2710): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x2750): undefined reference to `__atomic_fetch_sub_8'
test-atomic.c:(.text.startup+0x2784): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x27a4): undefined reference to `__atomic_fetch_or_8'
test-atomic.c:(.text.startup+0x27dc): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x2820): undefined reference to `__atomic_fetch_and_8'
test-atomic.c:(.text.startup+0x2854): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x2874): undefined reference to `__atomic_fetch_xor_8'
test-atomic.c:(.text.startup+0x288c): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x28d0): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x2910): undefined reference to `__atomic_store_8'
test-atomic.c:(.text.startup+0x291c): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x2960): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x29a0): undefined reference to `__atomic_fetch_add_8'
test-atomic.c:(.text.startup+0x29d4): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x2a18): undefined reference to `__atomic_fetch_sub_8'
test-atomic.c:(.text.startup+0x2a4c): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x2a70): undefined reference to `__atomic_fetch_or_8'
test-atomic.c:(.text.startup+0x2aa4): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x2ae0): undefined reference to `__atomic_fetch_and_8'
test-atomic.c:(.text.startup+0x2b14): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x2b3c): undefined reference to `__atomic_fetch_xor_8'
test-atomic.c:(.text.startup+0x2b54): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x35a4): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x35e4): undefined reference to `__atomic_store_8'
test-atomic.c:(.text.startup+0x35f0): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x3634): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x3674): undefined reference to `__atomic_fetch_add_8'
test-atomic.c:(.text.startup+0x36a8): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x36e4): undefined reference to `__atomic_fetch_sub_8'
test-atomic.c:(.text.startup+0x3718): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x3740): undefined reference to `__atomic_fetch_or_8'
test-atomic.c:(.text.startup+0x3774): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x37b4): undefined reference to `__atomic_fetch_and_8'
test-atomic.c:(.text.startup+0x37e8): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x3810): undefined reference to `__atomic_fetch_xor_8'
test-atomic.c:(.text.startup+0x3828): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x386c): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x38a8): undefined reference to `__atomic_store_8'
test-atomic.c:(.text.startup+0x38b4): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x38f8): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x393c): undefined reference to `__atomic_fetch_add_8'
test-atomic.c:(.text.startup+0x3970): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x39b0): undefined reference to `__atomic_fetch_sub_8'
test-atomic.c:(.text.startup+0x39e4): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x3a04): undefined reference to `__atomic_fetch_or_8'
test-atomic.c:(.text.startup+0x3a3c): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x3a80): undefined reference to `__atomic_fetch_and_8'
test-atomic.c:(.text.startup+0x3ab4): undefined reference to `__atomic_load_8'
test-atomic.c:(.text.startup+0x3ad4): undefined reference to `__atomic_fetch_xor_8'
test-atomic.c:(.text.startup+0x3aec): undefined reference to `__atomic_load_8'
collect2: error: ld returned 1 exit status
make[6]: *** [tests/test-atomic] Error 1
make[6]: Leaving directory `/home/ubuntu/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.0.0'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/ubuntu/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.0.0'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/ubuntu/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.0.0'
make[3]: *** [/home/ubuntu/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/openvswitch-2.0.0/.built] Error 2
make[3]: Leaving directory `/home/ubuntu/openwrt/trunk/feeds/openvswitch/openvswitch'
make[2]: *** [package/feeds/openvswitch/openvswitch/compile] Error 2
make[2]: Leaving directory `/home/ubuntu/openwrt/trunk'
make[1]: *** [/home/ubuntu/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/ubuntu/openwrt/trunk'
make: *** [world] Error 2
(Last edited by vlshahane on 10 Apr 2014, 22:57)