Home > OS >  Openwrt try to compile uboot error, a great god quickly look for help
Openwrt try to compile uboot error, a great god quickly look for help

Time:09-21

Git clone https://github.com/qdk0901/openwrt-uboot-mt7628.git
Download the source code copy in the package under the openwrt source/boot directory

Choose in the menuconfig uboot - mt7628 this package

Make package/uboot - mt7628/prepare V=s

Make package/uboot - mt7628/compile V=s

Error below

Mipsel - openwrt - Linux - musl - ld: lib_mips/libmips (mips_linux. O) : a function in ` test_bit ':

/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/bitops. H: 570: multiple definition of ` test_bit '; Lib_mips/libmips a (board. O) :/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/bitops. H: 570: first defined here

Mipsel - openwrt - Linux - musl - ld: lib_mips/libmips (mips_linux. O) : a function in ` find_first_zero_bit ':
/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/bitops. H: 590: multiple definition of ` find_first_zero_bit '; Lib_mips/libmips a (board. O) :/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/bitops. H: 590: first defined here

Mipsel - openwrt - Linux - musl - ld: lib_mips/libmips (mips_linux. O) : a function in ` find_next_zero_bit ':
/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/bitops. H: 637: multiple definition of ` find_next_zero_bit '; Lib_mips/libmips a (board. O) :/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/bitops. H: 637: first defined here

Mipsel - openwrt - Linux - musl - ld: lib_mips/libmips (mips_linux. O) : a function in ` FFZ ':
/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/bitops. H: 687: multiple definition of ` FFZ '; Lib_mips/libmips a (board. O) :/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/bitops. H: 687: first defined here

Mipsel - openwrt - Linux - musl - ld: lib_mips/libmips (mips_linux. O) : a function in ` strcpy ':
/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/string. H: 16: multiple definition of ` strcpy '; Lib_mips/libmips a (board. O) :/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/string. H: 16: first defined here


Mipsel - openwrt - Linux - musl - ld: lib_mips/libmips (mips_linux. O) : a function in ` strncpy ':
/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/string. H: 41: multiple definition of ` strncpy '; Lib_mips/libmips a (board. O) :/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/string. H: 41: first defined here

Mipsel - openwrt - Linux - musl - ld: lib_mips/libmips (mips_linux. O) : a function in ` STRCMP ':
/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/string. H: 69: multiple definition of ` STRCMP '; Lib_mips/libmips a (board. O) :/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/string. H: 69: first defined here

Mipsel - openwrt - Linux - musl - ld: lib_mips/libmips (mips_linux. O) : a function in ` STRNCMP ':
/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/string. H: 99: multiple definition of ` STRNCMP '; Lib_mips/libmips a (board. O) :/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/string. H: 99: first defined here

Mipsel - openwrt - Linux - musl - ld: lib_mips/libmips (mips_linux. O) : a function in ` memscan ':
/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/string. H: 140: multiple definition of ` memscan '; Lib_mips/libmips a (board. O) :/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/include/asm/string. H: 140: first defined here

Make [3] : * * */Makefile: 364: u - the boot Error 1

Make [3] : brigade directory '/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09'

Make [2], [* * * a Makefile: 85:/home/cc/Openwrt19/build_dir/target - mipsel_24kc_musl/Linux - ramips_mt76x8/u - the boot - SXX/u - the boot - 2015.09/. Built] Error 2

Make [2] : brigade directory '/home/cc/Openwrt19/package/boot/uboot - mt7628'

Time: package/boot/uboot - mt7628 SXX/compile# 7.34 # 2.45 # 10.92

Make [1], [* * * package/Makefile: 113: package/boot/uboot - mt7628/compile Error 2

Make [1] : brigade directory '/home/cc/Openwrt19'

Make: * * * [/home/cc/Openwrt19/include/toplevel. Mk: 227: package/uboot - mt7628/compile] error 2

Don't know where is wrong, please advise, thank you!!!
  • Related