Error while building Image

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Error while building Image

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Error while building Image
Error while building Image
2023-06-23 06:44:10
Model: Archer C60  
Hardware Version: V3
Firmware Version:

/home/agorle/C60V3_GPL_code/openwrt/build_dir/host/pkg-config-0.25/glib-1.2.10/glib.h:1615: multiple definition of `g_bit_storage'; testglib.o:testglib.c:(.text+0x1a0): first defined here

Hi,

Build Guide:
1. cd ./build
2. make bootstrap
3. make menuconfig
4. make build
5. You will find all openwrt binary images in directory 'openwrt/bin/ar71xx/'.

I am following the above commands , while I am giving make build and then make -j1 V=s it is coming like with below error, please help me to resolve this error.


collect2: error: ld returned 1 exit status
make[9]: *** [Makefile:457: testglib] Error 1
make[9]: Leaving directory '/home/agorle/C60V3_GPL_code/openwrt/build_dir/host/pkg-config-0.25/glib-1.2.10'
make[8]: *** [Makefile:531: all-recursive] Error 1
make[8]: Leaving directory '/home/agorle/C60V3_GPL_code/openwrt/build_dir/host/pkg-config-0.25/glib-1.2.10'
make[7]: *** [Makefile:364: all] Error 2
make[7]: Leaving directory '/home/agorle/C60V3_GPL_code/openwrt/build_dir/host/pkg-config-0.25/glib-1.2.10'
make[6]: *** [Makefile:536: all-recursive] Error 1
make[6]: Leaving directory '/home/agorle/C60V3_GPL_code/openwrt/build_dir/host/pkg-config-0.25'
make[5]: *** [Makefile:309: all] Error 2
make[5]: Leaving directory '/home/agorle/C60V3_GPL_code/openwrt/build_dir/host/pkg-config-0.25'
make[4]: *** [Makefile:35: /home/agorle/C60V3_GPL_code/openwrt/build_dir/host/pkg-config-0.25/.built] Error 2
make[4]: Leaving directory '/home/agorle/C60V3_GPL_code/openwrt/tools/pkg-config'
make[3]: *** [tools/Makefile:142: tools/pkg-config/compile] Error 2
make[3]: Leaving directory '/home/agorle/C60V3_GPL_code/openwrt'
make[2]: *** [tools/Makefile:140: /home/agorle/C60V3_GPL_code/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.tools_install_nnnnn] Error 2
make[2]: Leaving directory '/home/agorle/C60V3_GPL_code/openwrt'
make[1]: *** [/home/agorle/C60V3_GPL_code/openwrt/include/toplevel.mk:158: world] Error 2
make[1]: Leaving directory '/home/agorle/C60V3_GPL_code/openwrt'
make: *** [Makefile:23: build] Error 2

  0      
  0      
#1
Options
1 Reply
Re:Error while building Image
2023-06-26 12:35:46

@Aravind23 

 

It's suggested to contact their developers to check why those errors occur.

 

Contact info can be found on the GPL Code Center.

If my reply helps with the issue, please click on the arrow pointing upward. If it solves your issue, please click the star to mark it as a "Recommended Solution".
  0  
  0  
#2
Options