Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed #2

Open
dmitrygribenchuk opened this issue Aug 20, 2020 · 0 comments
Open

Build failed #2

dmitrygribenchuk opened this issue Aug 20, 2020 · 0 comments

Comments

@dmitrygribenchuk
Copy link

dmitrygribenchuk commented Aug 20, 2020

Hello. I'm try to build and it failed:

grid@nb000292:~/openwrt/mi_router_3/build/openwrt-xiaomi-mir3$ make -j8 V=sc
make[1]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3'
make[2]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3'
make[2]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3'

  • mkdir -p /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/target-mipsel_24kc_musl
  • mkdir -p /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/host
  • cd /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/target-mipsel_24kc_musl
  • mkdir -p bin lib include stamp
  • cd /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/host
  • mkdir -p bin lib include stamp
    mkdir -p /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/build_dir/target-mipsel_24kc_musl/stamp
    mkdir -p /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/build_dir/host/stamp /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/host/include/sys
    touch /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/target-mipsel_24kc_musl/.prepared
    install -m0644 /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/include/.h /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/host/include/
    install -m0644 /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/include/sys/
    .h /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/host/include/sys/
    ln -sf lib /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/host/lib64
    touch /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/host/.prepared
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/flock'
    rm -rf /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/target-mipsel_24kc_musl/root-ramips
    make[2]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/flock'
    time: tools/flock/compile#0.03#0.01#0.05
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/sed'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/sed'
    time: tools/sed/compile#0.04#0.00#0.04
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/tar'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/xz'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/patch'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/patch'
    time: tools/patch/compile#0.03#0.02#0.05
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/tar'
    time: tools/tar/compile#0.04#0.01#0.05
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/xz'
    time: tools/xz/compile#0.04#0.01#0.05
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/pkg-config'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/m4'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/expat'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/sstrip'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/patch-image'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/scons'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mtools'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/lzma'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/patch-image'
    time: tools/patch-image/compile#0.03#0.01#0.06
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/sstrip'
    time: tools/sstrip/compile#0.03#0.01#0.06
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/scons'
    time: tools/scons/compile#0.03#0.00#0.06
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/pkg-config'
    time: tools/pkg-config/compile#0.05#0.01#0.08
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/expat'
    time: tools/expat/compile#0.04#0.01#0.07
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/m4'
    time: tools/m4/compile#0.04#0.02#0.08
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mtools'
    time: tools/mtools/compile#0.05#0.00#0.07
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/lzma'
    time: tools/lzma/compile#0.03#0.01#0.07
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/libressl'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/autoconf'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/autoconf'
    time: tools/autoconf/compile#0.03#0.01#0.05
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/libressl'
    time: tools/libressl/compile#0.04#0.03#0.06
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/automake'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/missing-macros'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mkimage'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/cmake'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/missing-macros'
    time: tools/missing-macros/compile#0.02#0.00#0.04
    make -C /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/build_dir/host/u-boot-2018.03 HOSTCFLAGS="-O2 -I/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/host/include " HOSTLDFLAGS="-L/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/host/lib " no-dot-config-targets=tools-only CONFIG_MKIMAGE_DTC_PATH=dtc CONFIG_FIT_SIGNATURE=y tools-only
    make[4]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/build_dir/host/u-boot-2018.03'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/automake'
    time: tools/automake/compile#0.04#0.01#0.06
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/dosfstools'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/libtool'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/libtool'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/dosfstools'
    time: tools/libtool/compile#0.04#0.00#0.05
    time: tools/dosfstools/compile#0.04#0.00#0.05
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/cmake'
    time: tools/cmake/compile#0.11#0.06#0.12
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/libelf'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/flex'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/e2fsprogs'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mklibs'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/gmp'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mm-macros'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/gengetopt'
    HOSTCC scripts/basic/fixdep
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/libelf'
    time: tools/libelf/compile#0.03#0.02#0.08
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mklibs'
    time: tools/mklibs/compile#0.05#0.01#0.09
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mm-macros'
    time: tools/mm-macros/compile#0.04#0.01#0.08
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/flex'
    time: tools/flex/compile#0.04#0.02#0.09
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/gengetopt'
    time: tools/gengetopt/compile#0.05#0.02#0.09
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/bison'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/zlib'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/patchelf'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/gmp'
    time: tools/gmp/compile#0.07#0.02#0.11
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/e2fsprogs'
    time: tools/e2fsprogs/compile#0.05#0.04#0.11
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mpfr'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/bison'
    time: tools/bison/compile#0.05#0.01#0.07
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/patchelf'
    time: tools/patchelf/compile#0.04#0.01#0.08
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/findutils'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/bc'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/zlib'
    time: tools/zlib/compile#0.05#0.01#0.08
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mpfr'
    time: tools/mpfr/compile#0.05#0.01#0.07
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/make-ext4fs'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mtd-utils'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/firmware-utils'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/squashfs4'
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mpc'
    CHK include/config/uboot.release
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/bc'
    time: tools/bc/compile#0.04#0.01#0.09
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/findutils'
    time: tools/findutils/compile#0.04#0.03#0.09
    CHK include/generated/version_autogenerated.h
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/firmware-utils'
    time: tools/firmware-utils/compile#0.04#0.02#0.09
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/quilt'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/squashfs4'
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mtd-utils'
    time: tools/mtd-utils/compile#0.04#0.02#0.09
    time: tools/squashfs4/compile#0.04#0.01#0.09
    make[3]: Entering directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/padjffs2'
    CHK include/generated/timestamp_autogenerated.h
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mpc'
    time: tools/mpc/compile#0.04#0.01#0.09
    HOSTCC tools/mkenvimage.o
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/padjffs2'
    time: tools/padjffs2/compile#0.03#0.01#0.05
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/quilt'
    time: tools/quilt/compile#0.03#0.01#0.06
    In file included from /usr/include/asm-generic/types.h:7,
    from /usr/include/x86_64-linux-gnu/asm/types.h:1,
    from /usr/include/linux/types.h:5,
    from /usr/include/linux/stat.h:5,
    from /usr/include/x86_64-linux-gnu/bits/statx.h:31,
    from /usr/include/x86_64-linux-gnu/sys/stat.h:446,
    from tools/mkenvimage.c:21:
    /usr/include/asm-generic/int-ll64.h:31:42: error: conflicting types for '__u64'
    31 | extension typedef unsigned long long __u64;
    | ^~~~~
    In file included from :
    ././include/compiler.h:69:18: note: previous declaration of '__u64' was here
    69 | typedef uint64_t __u64;
    | ^~~~~
    make[5]: *** [scripts/Makefile.host:116: tools/mkenvimage.o] Error 1
    make[4]: *** [Makefile:1509: tools-only] Error 2
    make[4]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/build_dir/host/u-boot-2018.03'
    make[3]: *** [Makefile:49: /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/build_dir/host/u-boot-2018.03/.built] Error 2
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/mkimage'
    time: tools/mkimage/compile#0.36#0.08#0.48
    make[2]: *** [tools/Makefile:154: tools/mkimage/compile] Error 2
    make[2]: *** Waiting for unfinished jobs....
    make[3]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/tools/make-ext4fs'
    time: tools/make-ext4fs/compile#0.12#0.04#0.20
    make[2]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3'
    make[1]: *** [tools/Makefile:150: /home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/staging_dir/target-mipsel_24kc_musl/stamp/.tools_compile_yynyyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynnyy] Error 2
    make[1]: Leaving directory '/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3'
    make: *** [/home/grid/openwrt/mi_router_3/build/openwrt-xiaomi-mir3/include/toplevel.mk:218: world] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant