Temat: Błąd w kompilacji
Witam
Próbuje skopilować obraz po TP-Link 1043 v1. Niestety cały czas pojawia się błąd który niestety nie wiem czy jest spowodowany.
Making all in tests
make[6]: Nothing to be done for `all'.
Making all in doc
make[6]: Nothing to be done for `all'.
Making all in tools
Making all in bench
make[7]: Nothing to be done for `all'.
make[7]: Nothing to be done for `all-am'.
make[6]: Nothing to be done for `all-am'.
touch /Volumes/OpenWrt/openwrt/build_dir/host/mpc-1.1.0/.built
CFLAGS="-O2 -I/Volumes/OpenWrt/openwrt/staging_dir/host/include " CPPFLAGS="-I/Volumes/OpenWrt/openwrt/staging_dir/host/include " CXXFLAGS="" LDFLAGS="-L/Volumes/OpenWrt/openwrt/staging_dir/host/lib " /Library/Developer/CommandLineTools/usr/bin/make -C /Volumes/OpenWrt/openwrt/build_dir/host/mpc-1.1.0 install
Making install in src
/usr/local/bin/gmkdir -p '/Volumes/OpenWrt/openwrt/staging_dir/host/lib'
/usr/bin/env bash ../libtool --mode=install /usr/local/bin/ginstall -c libmpc.la '/Volumes/OpenWrt/openwrt/staging_dir/host/lib'
libtool: install: /usr/local/bin/ginstall -c .libs/libmpc.lai /Volumes/OpenWrt/openwrt/staging_dir/host/lib/libmpc.la
libtool: install: /usr/local/bin/ginstall -c .libs/libmpc.a /Volumes/OpenWrt/openwrt/staging_dir/host/lib/libmpc.a
libtool: install: chmod 644 /Volumes/OpenWrt/openwrt/staging_dir/host/lib/libmpc.a
libtool: install: ranlib /Volumes/OpenWrt/openwrt/staging_dir/host/lib/libmpc.a
make[6]: Nothing to be done for `install-data-am'.
Making install in tests
make[6]: Nothing to be done for `install-exec-am'.
make[6]: Nothing to be done for `install-data-am'.
Making install in doc
make[6]: Nothing to be done for `install-exec-am'.
/usr/local/bin/gmkdir -p '/Volumes/OpenWrt/openwrt/staging_dir/host/share/info'
/usr/local/bin/ginstall -c -m 644 ./mpc.info '/Volumes/OpenWrt/openwrt/staging_dir/host/share/info'
install-info --info-dir='/Volumes/OpenWrt/openwrt/staging_dir/host/share/info' '/Volumes/OpenWrt/openwrt/staging_dir/host/share/info/mpc.info'
Making install in tools
Making install in bench
make[7]: Nothing to be done for `install-exec-am'.
make[7]: Nothing to be done for `install-data-am'.
make[7]: Nothing to be done for `install-exec-am'.
make[7]: Nothing to be done for `install-data-am'.
make[6]: Nothing to be done for `install-exec-am'.
/usr/local/bin/gmkdir -p '/Volumes/OpenWrt/openwrt/staging_dir/host/include'
/usr/local/bin/ginstall -c -m 644 src/mpc.h '/Volumes/OpenWrt/openwrt/staging_dir/host/include'
mkdir -p /Volumes/OpenWrt/openwrt/staging_dir/host/stamp
touch /Volumes/OpenWrt/openwrt/build_dir/host/mpc-1.1.0/.built
touch /Volumes/OpenWrt/openwrt/staging_dir/host/stamp/.mpc_installed
make[3]: Leaving directory `/Volumes/OpenWrt/openwrt/tools/mpc'
time: tools/mpc/compile#13.00#7.11#21.84
make[3]: Entering directory `/Volumes/OpenWrt/openwrt/tools/libelf'
. /Volumes/OpenWrt/openwrt/include/shell.sh; gzip -dc /Volumes/OpenWrt/openwrt/dl/libelf-0.8.13.tar.gz | tar -C /Volumes/OpenWrt/openwrt/build_dir/host/libelf-0.8.13/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/* /Volumes/OpenWrt/openwrt/build_dir/host/libelf-0.8.13
Applying ./patches/900-fix-undefined-macro-access.patch using plaintext:
patching file lib/elf_repl.h
patching file lib/gelf.h
patching file lib/libelf.h
patching file lib/sys_elf.h.in
touch /Volumes/OpenWrt/openwrt/build_dir/host/libelf-0.8.13/.preparedc7cb973335f50d059afec009811c3578_6664517399ebbbc92a37c5bb081b5c53
(cd /Volumes/OpenWrt/openwrt/build_dir/host/libelf-0.8.13/; bash ./configure --target=x86_64-apple-darwin20.2.0 --host=x86_64-apple-darwin20.2.0 --build=x86_64-apple-darwin20.2.0 --program-prefix="" --program-suffix="" --prefix=/Volumes/OpenWrt/openwrt/staging_dir/host --exec-prefix=/Volumes/OpenWrt/openwrt/staging_dir/host --sysconfdir=/Volumes/OpenWrt/openwrt/staging_dir/host/etc --localstatedir=/Volumes/OpenWrt/openwrt/staging_dir/host/var --sbindir=/Volumes/OpenWrt/openwrt/staging_dir/host/bin --disable-shared --enable-elf64; )
loading site script /Volumes/OpenWrt/openwrt/include/site/darwin
creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/local/bin/ginstall -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for ANSI C header files... no
checking for unistd.h... yes
checking for stdint.h... yes
checking for fcntl.h... yes
checking for elf.h... no
checking for sys/elf.h... no
checking for link.h... no
checking for sys/link.h... no
checking if gcc can compile elf.h... no
checking for ar.h... yes
checking for libelf.h... no
checking for nlist.h... yes
checking for gelf.h... no
checking whether to install <libelf.h>, <nlist.h> and <gelf.h>... yes
checking for working const... yes
checking for off_t... yes
checking for size_t... yes
checking size of short... 0
checking size of int... 0
checking size of long... 0
checking size of long long... 0
checking size of __int64... 0
checking for 64-bit integer... no
checking for 32-bit integer... no
configure: error: neither int nor long is 32-bit
make[3]: *** [/Volumes/OpenWrt/openwrt/build_dir/host/libelf-0.8.13/.configured] Error 1
make[3]: Leaving directory `/Volumes/OpenWrt/openwrt/tools/libelf'
time: tools/libelf/compile#0.82#0.91#2.00
make[2]: *** [tools/libelf/compile] Error 2
make[2]: Leaving directory `/Volumes/OpenWrt/openwrt'
make[1]: *** [/Volumes/OpenWrt/openwrt/staging_dir/target-mips_24kc_musl/stamp/.tools_compile_yynyynnyyyynyyyyynyynnyyyyyyyyyyyyyyyyyyyynyynynyyyynnyyy] Error 2
make[1]: Leaving directory `/Volumes/OpenWrt/openwrt'
make: *** [world] Error 2