building image
Hi,
i want to build a custom image for tp-link ac1200 wifi router, downloaded GPL code from your website, while i am building image i am getting
gutils.c:(.text+0x0): multiple definition of `g_bit_nth_lsf'
testglib.o:testglib.c:(.text+0x120): first defined here
./.libs/libglib.a(gutils.o): In function `g_bit_nth_msf':
gutils.c:(.text+0x30): multiple definition of `g_bit_nth_msf'
testglib.o:testglib.c:(.text+0x150): first defined here
./.libs/libglib.a(gutils.o): In function `g_bit_storage':
gutils.c:(.text+0x70): multiple definition of `g_bit_storage'
testglib.o:testglib.c:(.text+0x190): first defined here
collect2: error: ld returned 1 exit status
Makefile:456: recipe for target 'testglib' failed
make[9]: *** [testglib] Error 1
make[9]: Leaving directory '/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt/build_dir/host/pkg-config-0.25/glib-1.2.10'
Makefile:531: recipe for target 'all-recursive' failed
make[8]: *** [all-recursive] Error 1
make[8]: Leaving directory '/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt/build_dir/host/pkg-config-0.25/glib-1.2.10'
Makefile:364: recipe for target 'all' failed
make[7]: *** [all] Error 2
make[7]: Leaving directory '/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt/build_dir/host/pkg-config-0.25/glib-1.2.10'
Makefile:536: recipe for target 'all-recursive' failed
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory '/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt/build_dir/host/pkg-config-0.25'
Makefile:309: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt/build_dir/host/pkg-config-0.25'
Makefile:34: recipe for target '/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt/build_dir/host/pkg-config-0.25/.built' failed
make[4]: *** [/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt/build_dir/host/pkg-config-0.25/.built] Error 2
make[4]: Leaving directory '/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt/tools/pkg-config'
tools/Makefile:142: recipe for target 'tools/pkg-config/compile' failed
make[3]: *** [tools/pkg-config/compile] Error 2
make[3]: Leaving directory '/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt'
tools/Makefile:141: recipe for target '/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.tools_install_nnnnn' failed
make[2]: *** [/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.tools_install_nnnnn] Error 2
make[2]: Leaving directory '/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt'
/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt/include/toplevel.mk:156: recipe for target 'world' failed
make[1]: *** [world] Error 2
make[1]: Leaving directory '/home/kube-edge/tp-link/C6V2_EU_GPL/openwrt'
Makefile:20: recipe for target 'build' failed
make: *** [build] Error 2
did not change or edit any file on source code, i just tried to check its building or not.
can you please help me to resolve this errors.
Host OS : ubuntu 16.04
Thanks,
Chandra.