free - Linux tools 2 of n

本文详细解析了Linux系统使用free命令获取的内存信息,包括总内存、已用内存、空闲内存等关键指标,并解释了各部分的具体含义及相互关系。

"free" is used to check the system's memory information.

Let's understand its output.

sysadmin@ubuntu:~$ free
                 total             used            free           shared    buffers     cached
Mem:       2047900    1169720     878180          0          87280     951716
-/+ buffers/cache:      130724       1917176
Swap:      2094076          0            2094076

The second line (Mem:)
total 2047900:  is the total physical memory in the system (subtracts some overhead)
used 1169720: is the used physical memory in the system 
free 878180: is the free physical memory in the system

total = used + free

buffers 87280: buffer memory (usually used by kernel for block io etc and usually is relative small). Can be freed by kernel if usable physical memory is really low.
cached 951716: disk data page cached in memory. Can be freed by kernel if usable physical memory is really low.

The third line (-/+ buffers/cache:)
used 130724 = (used 1169720  - buffers 87280 - cached  951716) in the second (Mem:) line (this is why it is using "-"  in "-/+ buffers/cache")
free 1917176 = (free 878180 + buffers 87280 + cached  951716)  in the second (Mem:) line (this is why it is using "+"  in "-/+ buffers/cache")
"buffers and cached" is potentially able to be recycled, this is why free count them as free.
什么问题这个 Applying ./patches/010-fix-mod_webdav.patch using plaintext: patching file src/mod_webdav.c Applying ./patches/020-meson-mod_webdav_min.patch using plaintext: patching file src/meson.build Applying ./patches/030-fix-mips-gcc-not-support-__has_include-compile-error using plaintext: patching file src/mod_magnet.c Hunk #1 succeeded at 204 with fuzz 2. touch /data/red-round3/red-round3/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be220v1/lighttpd-1.4.71/.prepared_ca9f6165c1130812efd2b0b7b8318bed (cd /data/red-round3/red-round3/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be220v1/lighttpd-1.4.71/./; if [ -x ./configure ]; then /usr/bin/find /data/red-round3/red-round3/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be220v1/lighttpd-1.4.71/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /data/red-round3/red-round3/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be220v1/lighttpd-1.4.71/ -name config.guess | xargs -r -n1 cp /data/red-round3/red-round3/Iplatform/openwrt/scripts/config.guess; /usr/bin/find /data/red-round3/red-round3/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be220v1/lighttpd-1.4.71/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /data/red-round3/red-round3/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be220v1/lighttpd-1.4.71/ -name config.sub | xargs -r -n1 cp /data/red-round3/red-round3/Iplatform/openwrt/scripts/config.sub; AR=arm-buildroot-linux-gnueabi-ar AS="arm-buildroot-linux-gnueabi-gcc -c " LD=arm-buildroot-linux-gnueabi-ld NM=arm-buildroot-linux-gnueabi-nm CC="arm-buildroot-linux-gnueabi-gcc" GCC="arm-buildroot-linux-gnueabi-gcc" CXX="arm-buildroot-linux-gnueabi-g++" RANLIB=arm-buildroot-linux-gnueabi-ranlib STRIP=arm-buildroot-linux-gnueabi-strip OBJCOPY=arm-buildroot-linux-gnueabi-objcopy OBJDUMP=arm-buildroot-linux-gnueabi-objdump SIZE=arm-buildroot-linux-gnueabi-size CFLAGS=" " CXXFLAGS=" " CPPFLAGS="-I/data/red-round3/red-round3/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be220v1/usr/include -I/data/red-round3/red-round3/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be220v1/include -I/data/red-round3/red-round3/Iplatform/openwrt/staging_dir/usr-be220v1/include -I/data/red-round3/red-round3/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/include " LDFLAGS="-L/data/red-round3/red-round3/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be220v1/usr/lib -L/data/red-round3/red-round3/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be220v1/lib -Wl,-rpath-link,/data/red-round3/red-round3/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be220v1/usr/lib -L/data/red-round3/red-round3/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/lib -L/data/red-round3/red-round3/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/lib " ./configure --target=arm-openwrt-linux-uclibc --host=arm-openwrt-linux-uclibc --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --with-webdav-props --with-webdav-locks --with-openssl --with-openssl-libs=/usr/lib --with-lua ; fi; ) configure: WARNING: unrecognized options: --disable-nls configure: loading site script /data/red-round3/red-round3/Iplatform/openwrt/include/site/arm-openwrt-linux-uclibc checking build system type... x86_64-pc-linux-gnu checking host system type... arm-openwrt-linux-uclibc checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-openwrt-linux-uclibc-strip... arm-buildroot-linux-gnueabi-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for arm-openwrt-linux-uclibc-gcc... arm-buildroot-linux-gnueabi-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether arm-buildroot-linux-gnueabi-gcc accepts -g... yes checking for arm-buildroot-linux-gnueabi-gcc option to enable C11 features... none needed checking whether arm-buildroot-linux-gnueabi-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of arm-buildroot-linux-gnueabi-gcc... gcc3 checking how to run the C preprocessor... arm-buildroot-linux-gnueabi-gcc -E checking for x86_64-pc-linux-gnu-gcc... no checking for gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... -std=gnu11 checking whether gcc -std=gnu11 understands -c and -o together... yes checking dependency style of gcc -std=gnu11... gcc3 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking how to run the C preprocessor... gcc -std=gnu11 -E checking for a sed that does not truncate output... /data/red-round3/red-round3/Iplatform/openwrt/staging_dir/host/bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking how to print strings... printf checking for ld used by arm-buildroot-linux-gnueabi-gcc... arm-buildroot-linux-gnueabi-ld checking if the linker (arm-buildroot-linux-gnueabi-ld) is GNU ld... yes checking how to run the C preprocessor... arm-buildroot-linux-gnueabi-gcc -E checking whether make sets $(MAKE)... (cached) yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for arm-openwrt-linux-uclibc-ar... arm-buildroot-linux-gnueabi-ar checking the archiver (arm-buildroot-linux-gnueabi-ar) interface... ar checking for inline... inline checking for C/C++ restrict keyword... __restrict__ checking for BSD- or MS-compatible name lister (nm)... arm-buildroot-linux-gnueabi-nm checking the name lister (arm-buildroot-linux-gnueabi-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arm-openwrt-linux-uclibc format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for arm-buildroot-linux-gnueabi-ld option to reload object files... -r checking for arm-openwrt-linux-uclibc-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for arm-openwrt-linux-uclibc-objdump... arm-buildroot-linux-gnueabi-objdump checking how to recognize dependent libraries... pass_all checking for arm-openwrt-linux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-openwrt-linux-uclibc-ar... (cached) arm-buildroot-linux-gnueabi-ar checking for archiver @FILE support... @ checking for arm-openwrt-linux-uclibc-strip... (cached) arm-buildroot-linux-gnueabi-strip checking for arm-openwrt-linux-uclibc-ranlib... arm-buildroot-linux-gnueabi-ranlib checking command to parse arm-buildroot-linux-gnueabi-nm output from arm-buildroot-linux-gnueabi-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arm-openwrt-linux-uclibc-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if arm-buildroot-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no checking for arm-buildroot-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC checking if arm-buildroot-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes checking if arm-buildroot-linux-gnueabi-gcc static flag -static works... yes checking if arm-buildroot-linux-gnueabi-gcc supports -c -o file.o... yes checking if arm-buildroot-linux-gnueabi-gcc supports -c -o file.o... (cached) yes checking whether the arm-buildroot-linux-gnueabi-gcc linker (arm-buildroot-linux-gnueabi-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... cross checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for getopt.h... yes checking for inttypes.h... (cached) yes checking for poll.h... yes checking for pwd.h... yes checking for stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/inotify.h... yes checking for sys/loadavg.h... no checking for sys/poll.h... yes checking for sys/prctl.h... yes checking for sys/procctl.h... no checking for sys/sendfile.h... yes checking for sys/time.h... yes checking for sys/uio.h... yes checking for sys/un.h... yes checking for syslog.h... yes checking for uuid/uuid.h... yes checking for an ANSI C-conforming const... yes checking for inline... (cached) inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct tm.tm_gmtoff... yes checking for socklen_t... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for library containing clock_gettime... none required checking for library containing elftc_copyfile... no checking for library containing dlopen... -ldl checking for dlfcn.h... (cached) yes checking pkg-config is at least version 0.9.0... yes configure: ---------------------------------------- checking for libev support... no configure: ---------------------------------------- checking for MySQL support... no configure: ---------------------------------------- checking for PgSQL support... no configure: ---------------------------------------- checking for LibDBI support... no configure: ---------------------------------------- checking for LibSASL support... no configure: ---------------------------------------- checking for LDAP support... no configure: ---------------------------------------- checking for PAM support... configure: ---------------------------------------- checking for extended attributes support... no configure: ---------------------------------------- checking for valgrind... no configure: ---------------------------------------- checking for libunwind... no configure: ---------------------------------------- checking for kerberos5... no checking custom include directory for kerberos5... no checking custom lib directory for kerberos5... no configure: ---------------------------------------- checking for OpenSSL... yes checking custom include directory for openssl... no checking custom lib directory for openssl... /usr/lib checking for openssl/ssl.h... yes checking for RAND_bytes in -lcrypto... yes checking for SSL_new in -lssl... yes configure: ---------------------------------------- checking for wolfSSL... no configure: ---------------------------------------- checking for mbedTLS... no configure: ---------------------------------------- checking for Nettle... no configure: ---------------------------------------- checking for GnuTLS... no configure: ---------------------------------------- checking for NSS... no configure: ---------------------------------------- checking for perl regular expressions support... no configure: ---------------------------------------- checking for perl regular expressions support... yes checking for PCRE2... no checking for pcre2-config... no configure: error: pcre2-config not found, install the pcre2-devel package or build with --without-pcre2 Makefile:254: recipe for target '/data/red-round3/red-round3/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be220v1/lighttpd-1.4.71/.configured_nnnnnnnnnnnynnnnynnnnnn' failed make[3]: *** [/data/red-round3/red-round3/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be220v1/lighttpd-1.4.71/.configured_nnnnnnnnnnnynnnnynnnnnn] Error 1 make[3]: Leaving directory '/data/red-round3/red-round3/Iplatform/packages/opensource/lighttpd' package/Makefile:133: recipe for target 'package/feeds/iplatform/lighttpd/compile' failed make[2]: *** [package/feeds/iplatform/lighttpd/compile] Error 2 make[2]: Leaving directory '/data/red-round3/red-round3/Iplatform/openwrt' /data/red-round3/red-round3/Iplatform/openwrt/include/toplevel.mk:184: recipe for target 'package/lighttpd/compile' failed make[1]: *** [package/lighttpd/compile] Error 2 make[1]: Leaving directory '/data/red-round3/red-round3/Iplatform/openwrt' Makefile:234: recipe for target 'iplatform_package/lighttpd/compile' failed make: *** [iplatform_package/lighttpd/compile] Error 2
09-27
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by iptables configure 1.4.21, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=arm-openwrt-linux-uclibc --host=arm-openwrt-linux-uclibc --build=i686-linux-gnu --program-prefix= --program-suffix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --enable-shared --enable-devel --with-kernel=/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/user_headers --with-xtlibdir=/usr/lib/iptables --enable-static ## --------- ## ## Platform. ## ## --------- ## hostname = ubuntu uname -m = i686 uname -r = 3.19.0-25-generic uname -s = Linux uname -v = #26~14.04.1-Ubuntu SMP Fri Jul 24 21:18:00 UTC 2015 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/host/bin PATH: /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/toolchain-arm-openwrt-linux-uclibc/bin PATH: /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/host/bin PATH: /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/toolchain-arm-openwrt-linux-uclibc/bin PATH: /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/host/bin PATH: /home/zhanggexu/miniconda2/envs/spider/bin PATH: /opt/cmake-install/bin PATH: /home/zhanggexu/miniconda2/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /home/zhanggexu/newcode/be900v2/Iplatform/build/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/bin PATH: /home/zhanggexu/newcode/be900v2/Iplatform/build/../../bcm504L04/bcm963xx_5.04L.04/hostTools PATH: /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/bin PATH: /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-aarch64-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/bin PATH: /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/bin PATH: /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-aarch64-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2376: loading site script /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/include/site/arm-openwrt-linux-uclibc | #!/bin/sh | | . $TOPDIR/include/site/arm-linux | . $TOPDIR/include/site/linux-uclibc | configure:2523: checking for a BSD-compatible install configure:2591: result: /usr/bin/install -c configure:2604: checking whether build environment is sane configure:2659: result: yes configure:2718: checking for arm-openwrt-linux-uclibc-strip configure:2745: result: arm-buildroot-linux-gnueabi-strip configure:2810: checking for a thread-safe mkdir -p configure:2849: result: /bin/mkdir -p configure:2856: checking for gawk configure:2872: found /usr/bin/gawk configure:2883: result: gawk configure:2894: checking whether make sets $(MAKE) configure:2916: result: yes configure:2945: checking whether make supports nested variables configure:2962: result: yes configure:3097: checking for arm-openwrt-linux-uclibc-gcc configure:3124: result: arm-buildroot-linux-gnueabi-gcc configure:3393: checking for C compiler version configure:3402: arm-buildroot-linux-gnueabi-gcc --version >&5 arm-buildroot-linux-gnueabi-gcc.br_real (Buildroot 2021.02.4) 10.3.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3413: $? = 0 configure:3402: arm-buildroot-linux-gnueabi-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/zhanggexu/newcode/be900v2/bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/bin/arm-buildroot-linux-gnueabi-gcc.br_real COLLECT_LTO_WRAPPER=/home/zhanggexu/newcode/be900v2/bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/bin/../libexec/gcc/arm-buildroot-linux-gnueabi/10.3.0/lto-wrapper Target: arm-buildroot-linux-gnueabi Configured with: ./configure --prefix=/home/tp/code2/SDK/build_toolchain_10.3/target/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1 --sysconfdir=/home/tp/code2/SDK/build_toolchain_10.3/target/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/etc --enable-static --target=arm-buildroot-linux-gnueabi --with-sysroot=/home/tp/code2/SDK/build_toolchain_10.3/target/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/arm-buildroot-linux-gnueabi/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/tp/code2/SDK/build_toolchain_10.3/target/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1 --with-mpc=/home/tp/code2/SDK/build_toolchain_10.3/target/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1 --with-mpfr=/home/tp/code2/SDK/build_toolchain_10.3/target/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1 --with-pkgversion='Buildroot 2021.02.4' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-plugins --enable-lto --enable-threads --with-isl=/home/tp/code2/SDK/build_toolchain_10.3/target/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1 --with-abi=aapcs-linux --with-cpu=cortex-a9 --with-fpu=vfpv3 --with-float=softfp --with-mode=arm --enable-languages=c,c++ --with-build-time-tools=/home/tp/code2/SDK/build_toolchain_10.3/target/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/arm-buildroot-linux-gnueabi/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.3.0 (Buildroot 2021.02.4) COMPILER_PATH=/home/zhanggexu/newcode/be900v2/bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/bin/../libexec/gcc/arm-buildroot-linux-gnueabi/10.3.0/:/home/zhanggexu/newcode/be900v2/bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/bin/../libexec/gcc/:/home/zhanggexu/newcode/be900v2/bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/bin/../lib/gcc/arm-buildroot-linux-gnueabi/10.3.0/../../../../arm-buildroot-linux-gnueabi/bin/ LIBRARY_PATH=/home/zhanggexu/newcode/be900v2/bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/bin/../lib/gcc/arm-buildroot-linux-gnueabi/10.3.0/:/home/zhanggexu/newcode/be900v2/bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/bin/../lib/gcc/:/home/zhanggexu/newcode/be900v2/bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/bin/../lib/gcc/arm-buildroot-linux-gnueabi/10.3.0/../../../../arm-buildroot-linux-gnueabi/lib/:/home/zhanggexu/newcode/be900v2/bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/arm-buildroot-linux-gnueabi/sysroot/lib/:/home/zhanggexu/newcode/be900v2/bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/arm-buildroot-linux-gnueabi/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:3413: $? = 1 configure:3402: arm-buildroot-linux-gnueabi-gcc -V >&5 arm-buildroot-linux-gnueabi-gcc.br_real: error: unrecognized command-line option '-V' configure:3413: $? = 1 configure:3402: arm-buildroot-linux-gnueabi-gcc -qversion >&5 arm-buildroot-linux-gnueabi-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:3413: $? = 1 configure:3433: checking whether the C compiler works configure:3455: arm-buildroot-linux-gnueabi-gcc -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/user_headers/include -ffunction-sections -fdata-sections -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/user_headers/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/usr-be900v2/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/include -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/lib -Wl,-rpath-link,/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/lib -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/lib -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib/ -lnetfilter_conntrack -Wl,--gc-sections conftest.c >&5 /home/zhanggexu/newcode/be900v2/bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/bin/../lib/gcc/arm-buildroot-linux-gnueabi/10.3.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: cannot find -lnetfilter_conntrack collect2: error: ld returned 1 exit status configure:3459: $? = 1 configure:3497: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "iptables" | #define PACKAGE_TARNAME "iptables" | #define PACKAGE_VERSION "1.4.21" | #define PACKAGE_STRING "iptables 1.4.21" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "iptables" | #define VERSION "1.4.21" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3502: error: in `/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21': configure:3504: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_bigendian=no ac_cv_c_gettext_without_libintl=yes ac_cv_c_littleendian=yes ac_cv_c_long_double=no ac_cv_conv_longlong_to_float=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=arm-buildroot-linux-gnueabi-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=' -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/user_headers/include -ffunction-sections -fdata-sections ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/user_headers/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/usr-be900v2/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/include ' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/lib -Wl,-rpath-link,/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/lib -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/lib -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib/ -lnetfilter_conntrack -Wl,--gc-sections ' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set=set ac_cv_env_PKG_CONFIG_LIBDIR_value=/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib/pkgconfig ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib/pkgconfig ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value=/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/host/bin/pkg-config ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i686-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=arm-openwrt-linux-uclibc ac_cv_env_libnetfilter_conntrack_CFLAGS_set= ac_cv_env_libnetfilter_conntrack_CFLAGS_value= ac_cv_env_libnetfilter_conntrack_LIBS_set= ac_cv_env_libnetfilter_conntrack_LIBS_value= ac_cv_env_libnfnetlink_CFLAGS_set= ac_cv_env_libnfnetlink_CFLAGS_value= ac_cv_env_libnfnetlink_LIBS_set= ac_cv_env_libnfnetlink_LIBS_value= ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=arm-openwrt-linux-uclibc ac_cv_file__dev_zero=yes ac_cv_func___adjtimex=yes ac_cv_func___va_copy=no ac_cv_func__exit=yes ac_cv_func_bcmp=yes ac_cv_func_bcopy=yes ac_cv_func_bzero=yes ac_cv_func_cimag=yes ac_cv_func_creal=yes ac_cv_func_fchmod=yes ac_cv_func_getaddrinfo=yes ac_cv_func_getcwd=yes ac_cv_func_getdomainname=yes ac_cv_func_getpgrp_void=yes ac_cv_func_getpwuid_r=yes ac_cv_func_gettimeofday=yes ac_cv_func_index=yes ac_cv_func_lstat=yes ac_cv_func_lstat_dereferences_slashed_symlink=yes ac_cv_func_lstat_empty_string_bug=no ac_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_works=yes ac_cv_func_memcmp_clean=yes ac_cv_func_memcmp_working=yes ac_cv_func_posix_getgrgid_r=yes ac_cv_func_posix_getpwuid_r=yes ac_cv_func_psignal=yes ac_cv_func_pthread_key_delete=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_realloc_works=yes ac_cv_func_rename=yes ac_cv_func_rindex=yes ac_cv_func_setgrent_void=yes ac_cv_func_setlocale=yes ac_cv_func_setpgrp_void=yes ac_cv_func_setresuid=no ac_cv_func_setvbuf_reversed=no ac_cv_func_stat_empty_string_bug=no ac_cv_func_stat_ignores_trailing_slash=no ac_cv_func_strerror=yes ac_cv_func_strftime=yes ac_cv_func_utimes=yes ac_cv_func_va_copy=no ac_cv_func_vsnprintf=yes ac_cv_have_accrights_in_msghdr=no ac_cv_have_broken_snprintf=no ac_cv_have_control_in_msghdr=yes ac_cv_have_decl_sys_siglist=no ac_cv_have_openpty_ctty_bug=yes ac_cv_have_space_d_name_in_struct_dirent=yes ac_cv_header_netinet_sctp_h=no ac_cv_header_netinet_sctp_uio_h=no ac_cv_int64_t=yes ac_cv_lbl_unaligned_fail=no ac_cv_linux_kernel_pppoe=yes ac_cv_linux_vers=2 ac_cv_pack_bitfields_reversed=yes ac_cv_path_LDCONFIG= ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CC=arm-buildroot-linux-gnueabi-gcc ac_cv_prog_STRIP=arm-buildroot-linux-gnueabi-strip ac_cv_prog_make_make_set=yes ac_cv_regexec_segfault_emptystr=no ac_cv_sctp=no ac_cv_sizeof___int64=0 ac_cv_sizeof_char=1 ac_cv_sizeof_int16_t=2 ac_cv_sizeof_int32_t=4 ac_cv_sizeof_int64_t=8 ac_cv_sizeof_int=4 ac_cv_sizeof_long=4 ac_cv_sizeof_long_int=4 ac_cv_sizeof_long_long=8 ac_cv_sizeof_off_t=8 ac_cv_sizeof_short=2 ac_cv_sizeof_short_int=2 ac_cv_sizeof_size_t=4 ac_cv_sizeof_ssize_t=4 ac_cv_sizeof_u_int16_t=2 ac_cv_sizeof_u_int32_t=4 ac_cv_sizeof_u_int64_t=8 ac_cv_sizeof_uint16_t=2 ac_cv_sizeof_uint32_t=4 ac_cv_sizeof_uint64_t=8 ac_cv_sizeof_unsigned_int=4 ac_cv_sizeof_unsigned_long=4 ac_cv_sizeof_unsigned_long_long=8 ac_cv_sizeof_unsigned_short=2 ac_cv_sizeof_void_p=4 ac_cv_sys_restartable_syscalls=yes ac_cv_time_r_type=POSIX ac_cv_type_suseconds_t=yes ac_cv_uchar=no ac_cv_uint64_t=yes ac_cv_uint=yes ac_cv_ulong=yes ac_cv_ushort=yes ac_cv_va_copy=C99 ac_cv_va_val_copy=yes am_cv_make_support_nested_variables=yes as_cv_unaligned_access=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21/build-aux/missing aclocal-1.15' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='1' AM_DEFAULT_VERBOSITY='1' AM_V='1' AR='arm-buildroot-linux-gnueabi-ar' AUTOCONF='${SHELL} /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21/build-aux/missing autoconf' AUTOHEADER='${SHELL} /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21/build-aux/missing autoheader' AUTOMAKE='${SHELL} /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21/build-aux/missing automake-1.15' AWK='gawk' CC='arm-buildroot-linux-gnueabi-gcc' CCDEPMODE='' CFLAGS=' -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/user_headers/include -ffunction-sections -fdata-sections ' CPP='' CPPFLAGS='-I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/user_headers/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/usr-be900v2/include -I/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/include ' CYGPATH_W='echo' DEFS='' DEPDIR='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_BPFC_FALSE='' ENABLE_BPFC_TRUE='' ENABLE_DEVEL_FALSE='' ENABLE_DEVEL_TRUE='' ENABLE_IPV4_FALSE='' ENABLE_IPV4_TRUE='' ENABLE_IPV6_FALSE='' ENABLE_IPV6_TRUE='' ENABLE_LARGEFILE_FALSE='' ENABLE_LARGEFILE_TRUE='' ENABLE_LIBIPQ_FALSE='' ENABLE_LIBIPQ_TRUE='' ENABLE_SHARED_FALSE='' ENABLE_SHARED_TRUE='' ENABLE_STATIC_FALSE='' ENABLE_STATIC_TRUE='' ENABLE_SYNCONF_FALSE='' ENABLE_SYNCONF_TRUE='' EXEEXT='' FGREP='' GREP='' HAVE_LIBNETFILTER_CONNTRACK_FALSE='' HAVE_LIBNETFILTER_CONNTRACK_TRUE='' HAVE_LIBNFNETLINK_FALSE='' HAVE_LIBNFNETLINK_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='arm-buildroot-linux-gnueabi-ld' LDFLAGS='-L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/lib -Wl,-rpath-link,/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/lib -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/lib -L/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib/ -lnetfilter_conntrack -Wl,--gc-sections ' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' MAKEINFO='${SHELL} /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21/build-aux/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/bin/mkdir -p' NM='arm-buildroot-linux-gnueabi-nm' NMEDIT='' OBJDUMP='arm-buildroot-linux-gnueabi-objdump' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE='iptables' PACKAGE_BUGREPORT='' PACKAGE_NAME='iptables' PACKAGE_STRING='iptables 1.4.21' PACKAGE_TARNAME='iptables' PACKAGE_URL='' PACKAGE_VERSION='1.4.21' PATH_SEPARATOR=':' PKG_CONFIG='/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/host/bin/pkg-config' PKG_CONFIG_LIBDIR='/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib/pkgconfig' PKG_CONFIG_PATH='/home/zhanggexu/newcode/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib/pkgconfig' RANLIB='arm-buildroot-linux-gnueabi-ranlib' SED='' SET_MAKE='' SHELL='/bin/sh' STRIP='arm-buildroot-linux-gnueabi-strip' VERSION='1.4.21' ac_ct_AR='' ac_ct_CC='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='/usr/bin' blacklist_modules='' build='i686-linux-gnu' build_alias='i686-linux-gnu' build_cpu='' build_os='' build_vendor='' datadir='/usr/share' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='arm-openwrt-linux-uclibc' host_alias='arm-openwrt-linux-uclibc' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/info' install_sh='${SHELL} /home/zhanggexu/newcode/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/iptables-1.4.21/build-aux/install-sh' kbuilddir='' kinclude_CPPFLAGS='' ksourcedir='' libdir='${exec_prefix}/lib' libexecdir='/usr/lib' libiptc_LDFLAGS2='' libnetfilter_conntrack_CFLAGS='' libnetfilter_conntrack_LIBS='' libnfnetlink_CFLAGS='' libnfnetlink_LIBS='' libxtables_vage='0' libxtables_vcurrent='10' libxtables_vmajor='' localedir='${datarootdir}/locale' localstatedir='/var' mandir='/usr/man' mkdir_p='$(MKDIR_P)' noundef_LDFLAGS='' oldincludedir='/usr/include' pdfdir='${docdir}' pkgconfigdir='' pkgdatadir='' prefix='/usr' program_transform_name='s&$$&&;s&^&&' psdir='${docdir}' regular_CFLAGS='' regular_CPPFLAGS='' sbindir='/usr/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='arm-openwrt-linux-uclibc' xtlibdir='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "iptables" #define PACKAGE_TARNAME "iptables" #define PACKAGE_VERSION "1.4.21" #define PACKAGE_STRING "iptables 1.4.21" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "iptables" #define VERSION "1.4.21" configure: exit 77
10-24
gezi@ubuntu:~/study/pubilc/camerademo6/curl-8.7.1$ ./configure --host=arm-linux-gnueabi --prefix=/home/gezi/study/pubilc/camerademo6/curl_arm --with-openssl checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking whether to enable debug build options... no checking whether to enable compiler optimizer... (assumed) yes checking whether to enable strict compiler warnings... no checking whether to enable compiler warnings as errors... no checking whether to enable curl debug memory tracking... no checking whether to enable hiding of library internal symbols... yes checking whether to enable c-ares for DNS lookups... no checking whether to disable dependency on -lrt... (assumed no) checking whether to enable ECH support... no checking for path separator... : checking for sed... /bin/sed checking for grep... /bin/grep checking that grep -E works... yes checking for arm-linux-gnueabi-ar... /usr/bin/arm-linux-gnueabi-ar checking for a BSD-compatible install... /usr/bin/install -c checking for arm-linux-gnueabi-gcc... arm-linux-gnueabi-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether arm-linux-gnueabi-gcc accepts -g... yes checking for arm-linux-gnueabi-gcc option to enable C11 features... none needed checking whether arm-linux-gnueabi-gcc understands -c and -o together... yes checking how to run the C preprocessor... arm-linux-gnueabi-gcc -E checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for stdatomic.h... yes checking if _Atomic is available... yes checking for a sed that does not truncate output... (cached) /bin/sed checking for code coverage support... no checking whether build environment is sane... yes checking for arm-linux-gnueabi-strip... arm-linux-gnueabi-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of arm-linux-gnueabi-gcc... gcc3 checking curl version... 8.7.1 checking for httpd... no checking for apache2... no checking for apachectl... no checking for apxs... no configure: httpd/apache2 not in PATH, http tests disabled configure: apxs not in PATH, http tests disabled checking for nghttpx... no checking for caddy... no checking build system type... x86_64-pc-linux-gnu checking host system type... arm-unknown-linux-gnueabi checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... /bin/grep -E checking if OS is AIX (to define _ALL_SOURCE)... no checking if _THREAD_SAFE is already defined... no checking if _THREAD_SAFE is actually needed... no checking if _THREAD_SAFE is onwards defined... no checking if _REENTRANT is already defined... no checking if _REENTRANT is actually needed... no checking if _REENTRANT is onwards defined... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by arm-linux-gnueabi-gcc... /usr/arm-linux-gnueabi/bin/ld checking if the linker (/usr/arm-linux-gnueabi/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/arm-linux-gnueabi-nm -B checking the name lister (/usr/bin/arm-linux-gnueabi-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arm-unknown-linux-gnueabi format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/arm-linux-gnueabi/bin/ld option to reload object files... -r checking for arm-linux-gnueabi-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for arm-linux-gnueabi-objdump... arm-linux-gnueabi-objdump checking how to recognize dependent libraries... pass_all checking for arm-linux-gnueabi-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-linux-gnueabi-ar... /usr/bin/arm-linux-gnueabi-ar checking for archiver @FILE support... @ checking for arm-linux-gnueabi-strip... (cached) arm-linux-gnueabi-strip checking for arm-linux-gnueabi-ranlib... arm-linux-gnueabi-ranlib checking command to parse /usr/bin/arm-linux-gnueabi-nm -B output from arm-linux-gnueabi-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arm-linux-gnueabi-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if arm-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no checking for arm-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC checking if arm-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes checking if arm-linux-gnueabi-gcc static flag -static works... yes checking if arm-linux-gnueabi-gcc supports -c -o file.o... yes checking if arm-linux-gnueabi-gcc supports -c -o file.o... (cached) yes checking whether the arm-linux-gnueabi-gcc linker (/usr/arm-linux-gnueabi/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether to build shared libraries with -version-info... yes checking whether to build shared libraries with -no-undefined... no checking whether to build shared libraries with -mimpure-text... no checking whether to build shared libraries with PIC... yes checking whether to build static libraries with PIC... no checking whether to build shared libraries only... no checking whether to build static libraries only... no checking for arm-linux-gnueabi-windres... no checking for windres... no checking for inline... inline checking if cpp -P is needed... yes checking if cpp -P works... yes checking if compiler is DEC/Compaq/HP C... no checking if compiler is HP-UX C... no checking if compiler is IBM C... no checking if compiler is Intel C... no checking if compiler is clang... no checking if compiler is GNU C... yes checking compiler version... gcc '700' (raw: '7') checking if compiler is SGI MIPSpro C... no checking if compiler is SGI MIPS C... no checking if compiler is SunPro C... no checking if compiler is Tiny C... no checking whether build target is a native Windows one... no checking if compiler accepts some basic options... yes configure: compiler options added: -Werror-implicit-function-declaration checking if compiler optimizer assumed setting might be used... yes checking if compiler accepts optimizer enabling options... yes configure: compiler options added: -O2 checking if compiler accepts strict warning options... yes configure: compiler options added: -Wno-system-headers checking if compiler halts on compilation errors... yes checking if compiler halts on negative sized arrays... yes checking if compiler halts on function prototype mismatch... yes checking if compiler supports hiding library internal symbols... yes checking whether build target supports WIN32 file API... no checking whether build target supports WIN32 crypto API... no checking for good-to-use Darwin CFLAGS... no checking whether to link macOS CoreFoundation, CoreServices, and SystemConfiguration frameworks... no checking to see if the compiler supports __builtin_available()... no checking whether to support http... yes checking whether to support ftp... yes checking whether to support file... yes checking whether to support ldap... yes checking whether to support ldaps... yes checking whether to support rtsp... yes checking whether to support proxies... yes checking whether to support dict... yes checking whether to support telnet... yes checking whether to support tftp... yes checking whether to support pop3... yes checking whether to support imap... yes checking whether to support smb... yes checking whether to support smtp... yes checking whether to support gopher... yes checking whether to support mqtt... no checking whether to build documentation... yes checking whether to provide built-in manual... yes checking whether to enable generation of C code... yes checking whether to use libgcc... no checking if X/Open network library is required... no checking for gethostbyname... yes checking whether build target is a native Windows one... (cached) no checking for proto/bsdsocket.h... no checking for connect in libraries... yes checking for sys/types.h... (cached) yes checking for sys/time.h... yes checking for monotonic clock_gettime... yes checking for clock_gettime in libraries... no additional lib required checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for raw monotonic clock_gettime... yes checking for arm-linux-gnueabi-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking for zlib options with pkg-config... found checking for zlib.h... yes configure: found both libz and libz.h header checking for BrotliDecoderDecompress in -lbrotlidec... no checking for brotli/decode.h... no checking for ZSTD_createDStream in -lzstd... no checking for zstd.h... no checking for lber.h... no checking for ldap.h... no checking for ldap_ssl.h... no checking for LDAP libraries... cannot find LDAP libraries configure: WARNING: Cannot find libraries for LDAP support: LDAP disabled checking whether to enable IPv6... yes checking if struct sockaddr_in6 has sin6_scope_id member... yes checking if argv can be written to... no configure: WARNING: the previous check could not be made default was used checking if GSS-API support is requested... no checking whether to enable Windows native SSL/TLS... no checking whether to enable Secure Transport... no checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no checking for arm-linux-gnueabi-pkg-config... /usr/bin/pkg-config checking for openssl options with pkg-config... found configure: pkg-config: SSL_LIBS: "-lssl -lcrypto" configure: pkg-config: SSL_LDFLAGS: "" configure: pkg-config: SSL_CPPFLAGS: "" checking for HMAC_Update in -lcrypto... no checking for HMAC_Init_ex in -lcrypto... no checking OpenSSL linking with -ldl... no checking OpenSSL linking with -ldl and -lpthread... no checking for SSL_set_quic_use_legacy_codepoint... no configure: OpenSSL version does not speak QUIC API configure: OPT_OPENSSL: yes configure: OPENSSL_ENABLED: configure: error: --with-openssl was given but OpenSSL could not be detected
10-11
编译卡住 make PRODUCT_NAME=be900v2 iplatform_package/busybox/{clean,compile,install} V=s openssl support zlib make[1]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[2]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[3]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[3]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[3]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[3]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[2]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt' WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig! make[2]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[3]: Entering directory '/home/tplink/code/be900v2/prplos/platform/feeds/public/prplos-v3.1.0/feed_openwrt/busybox/busybox' rm -f /home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/stamp/.busybox_installed rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/busybox_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/busybox-selinux_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/packages/busybox.default.list /home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/host/packages/busybox.default.list rm -rf /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0 make[3]: Leaving directory '/home/tplink/code/be900v2/prplos/platform/feeds/public/prplos-v3.1.0/feed_openwrt/busybox/busybox' make[2]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[1]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[1]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[2]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[3]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[3]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[3]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[3]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[2]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt' WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig! make[2]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[3]: Entering directory '/home/tplink/code/be900v2/prplos/platform/feeds/public/prplos-v3.1.0/feed_openwrt/busybox/busybox' . /home/tplink/code/be900v2/Iplatform/openwrt/include/shell.sh; bzcat /home/tplink/code/be900v2/Iplatform/openwrt/dl/busybox-1.35.0.tar.bz2 | /bin/tar -C /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0/.. -xf - Applying ./patches/001-CVE-2022-30065-awk-fix-use-after-free.patch using plaintext: patching file editors/awk.c patching file testsuite/awk.tests Applying ./patches/120-lto-jobserver.patch using plaintext: patching file scripts/Kbuild.include Applying ./patches/200-udhcpc_reduce_msgs.patch using plaintext: patching file networking/udhcp/dhcpc.c Applying ./patches/201-udhcpc_changed_ifindex.patch using plaintext: patching file networking/udhcp/dhcpc.c Applying ./patches/210-add_netmsg_util.patch using plaintext: patching file networking/netmsg.c Applying ./patches/220-add_lock_util.patch using plaintext: patching file miscutils/lock.c Applying ./patches/270-libbb_make_unicode_printable.patch using plaintext: patching file libbb/printable_string.c Applying ./patches/301-ip-link-fix-netlink-msg-size.patch using plaintext: patching file networking/libiproute/iplink.c Applying ./patches/500-move-traceroute-applets-to-bin.patch using plaintext: patching file networking/traceroute.c Applying ./patches/510-move-passwd-applet-to-bin.patch using plaintext: patching file loginutils/passwd.c Applying ./patches/520-loginutils-handle-crypt-failures.patch using plaintext: patching file loginutils/chpasswd.c patching file loginutils/cryptpw.c patching file loginutils/passwd.c Applying ./patches/530-nslookup-ensure-unique-transaction-IDs-for-the-DNS-queries.patch using plaintext: patching file networking/nslookup.c Applying ./patches/900-dhcpc-add-pipe.patch using plaintext: patching file networking/udhcp/dhcpc.c Applying ./patches/901-dhcpc_smartdhcp.patch using plaintext: patching file networking/udhcp/dhcpc.c patching file networking/udhcp/signalpipe.c Applying ./patches/902-dhcpc-fix-discover.patch using plaintext: patching file networking/udhcp/dhcpc.c Applying ./patches/903-add-logic-for-option58-59.patch using plaintext: patching file networking/udhcp/Config.src patching file networking/udhcp/Kbuild.src patching file networking/udhcp/common.h patching file networking/udhcp/dhcpc.c Applying ./patches/904-dhcpc-fix-write-pipe.patch using plaintext: patching file networking/udhcp/dhcpc.c Applying ./patches/905-add-client-update-server-IP-in-rebind-state.patch using plaintext: patching file networking/udhcp/dhcpc.c Hunk #1 succeeded at 1970 (offset 15 lines). Applying ./patches/906-BOOTP-flag-for-unicast-broadcast-poll.patch using plaintext: patching file networking/udhcp/dhcpc.c if [ -d /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/busybox/1.35.0-r1 ]; then echo =========== copy busybox from local ===============; mkdir -p /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0; rm -rf /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0/*; cp -fpR /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/busybox/1.35.0-r1/* /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0; rm -f /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/index/busybox; RELATIVE_PKG_DIR=`realpath /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/busybox/1.35.0-r1 | awk -F 'prplos/platform/' '{print "../"$2}'`; ln -s $RELATIVE_PKG_DIR /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/sindex/busybox; if [ ! -f /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/path.txt ] || ! grep -q "/home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/busybox/1.35.0-r1/" /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/path.txt; then echo "/home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/busybox/1.35.0-r1/" >> /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/path.txt; fi; touch /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0/.copy_from_local; if [ ! -f /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/path.txt ] || ! grep -q "/home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/busybox/1.35.0-r1/" /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/path.txt; then echo "/home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/busybox/1.35.0-r1/" >> /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/path.txt; fi; elif [ -d /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0 -a -n "$(ls /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0)" ]; then echo =========== copy busybox to local ================; mkdir -p /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/busybox/1.35.0-r1; cp -fpR /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0/* /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/busybox/1.35.0-r1; rm -f /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/sindex/busybox; RELATIVE_PKG_DIR=`realpath /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/busybox/1.35.0-r1 | awk -F 'prplos/platform/' '{print "../"$2}'`; ln -s $RELATIVE_PKG_DIR /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/sindex/busybox; touch /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0/.copy_to_local; else echo =========== copy none for busybox ================; mkdir -p /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0; touch /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0/.copy_none; fi; =========== copy busybox from local =============== ln: failed to create symbolic link '/home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/sindex/busybox/1.35.0-r1': File exists touch /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0/.prepared_a0e6a7123a8cd99ea97e1ba8c73bf5cf rm -f /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0/.config touch /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0/.config grep 'CONFIG_BUSYBOX_CONFIG' /home/tplink/code/be900v2/Iplatform/openwrt/.config | sed -e "s,\\(# \)\\?CONFIG_BUSYBOX_CONFIG_\\(.*\\),\\1CONFIG_\\2,g" >> /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0/.config yes 'n' | make -C /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0 AR=arm-buildroot-linux-gnueabi-ar AS="arm-buildroot-linux-gnueabi-gcc -c -flto" LD=arm-buildroot-linux-gnueabi-ld NM=arm-buildroot-linux-gnueabi-nm CC="arm-buildroot-linux-gnueabi-gcc" GCC="arm-buildroot-linux-gnueabi-gcc" CXX="arm-buildroot-linux-gnueabi-g++" RANLIB=arm-buildroot-linux-gnueabi-ranlib STRIP=arm-buildroot-linux-gnueabi-strip OBJCOPY=arm-buildroot-linux-gnueabi-objcopy OBJDUMP=arm-buildroot-linux-gnueabi-objdump SIZE=arm-buildroot-linux-gnueabi-size CROSS="arm-buildroot-linux-gnueabi-" ARCH="arm64" EXTRA_CFLAGS=" -flto -I/home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/include -I/home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/include -I/home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/usr-be900v2/include -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/include" EXTRA_LDFLAGS="-L/home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib -L/home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/lib -Wl,-rpath-link,/home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib -L/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/usr/lib -L/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/toolchain/opt/toolchains/crosstools-arm_softfp-gcc-10.3-linux-4.19-glibc-2.32-binutils-2.36.1/lib -flto=jobserver -fuse-linker-plugin" LDLIBS="m crypt " LD="arm-buildroot-linux-gnueabi-gcc" SKIP_STRIP=y oldconfig make[4]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/target-arm-openwrt-linux-uclibc-be900v2/busybox-1.35.0' HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc GEN include/applets.h GEN include/usage.h GEN runit/Kbuild GEN runit/Config.in GEN libbb/Kbuild GEN libbb/Config.in GEN coreutils/Kbuild GEN coreutils/Config.in GEN coreutils/libcoreutils/Kbuild GEN scripts/Kbuild GEN archival/Kbuild GEN archival/Config.in GEN archival/libarchive/Kbuild GEN procps/Kbuild GEN procps/Config.in GEN libpwdgrp/Kbuild GEN printutils/Kbuild GEN printutils/Config.in GEN miscutils/Kbuild GEN miscutils/Config.in GEN debianutils/Kbuild GEN debianutils/Config.in GEN klibc-utils/Kbuild GEN klibc-utils/Config.in GEN editors/Kbuild GEN editors/Config.in GEN util-linux/Kbuild GEN util-linux/Config.in GEN util-linux/volume_id/Kbuild GEN util-linux/volume_id/Config.in GEN selinux/Kbuild GEN selinux/Config.in GEN e2fsprogs/Kbuild GEN e2fsprogs/Config.in GEN shell/Kbuild GEN shell/Config.in GEN console-tools/Kbuild GEN console-tools/Config.in GEN networking/Kbuild GEN networking/Config.in GEN networking/udhcp/Kbuild GEN networking/udhcp/Config.in GEN networking/libiproute/Kbuild GEN applets/Kbuild GEN loginutils/Kbuild GEN loginutils/Config.in GEN sysklogd/Kbuild GEN sysklogd/Config.in GEN init/Kbuild GEN init/Config.in GEN mailutils/Kbuild GEN mailutils/Config.in GEN findutils/Kbuild GEN findutils/Config.in GEN modutils/Kbuild GEN modutils/Config.in HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/mconf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf -o Config.in # # using defaults found in .config # .config:2:warning: trying to assign nonexistent symbol CONFIG_FEATURE_SH_IS_HUSH .config:6:warning: trying to reassign symbol HAVE_DOT_CONFIG * * Busybox Configuration * * * Settings * Enable compatibility for full-blown desktop systems (8kb) (DESKTOP) [Y/n/?] (NEW) Provide compatible behavior for rare corner cases (bigger code) (EXTRA_COMPAT) [N/y/?] (NEW) Building for Fedora distribution (FEDORA_COMPAT) [N/y/?] (NEW) Enable obsolete features removed before SUSv3 (INCLUDE_SUSv2) [Y/n/?] y Support --long-options (LONG_OPTS) [Y/?] y Show applet usage messages (SHOW_USAGE) [Y/n/?] y Show verbose applet usage messages (FEATURE_VERBOSE_USAGE) [Y/n/?] y Store applet usage messages in compressed form (FEATURE_COMPRESS_USAGE) [Y/n/?] (NEW) Support files > 2 GB (LFS) [Y/n/?] y Support PAM (Pluggable Authentication Modules) (PAM) [N/y/?] (NEW) Use the devpts filesystem for Unix98 PTYs (FEATURE_DEVPTS) [Y/n/?] y Support utmp file (FEATURE_UTMP) [Y/n/?] (NEW) Support writing pidfiles (FEATURE_PIDFILE) [Y/n/?] y Directory for pidfiles (PID_FILE_PATH) [/var/run] /var/run Include busybox applet (BUSYBOX) [Y/n/?] (NEW) Don't use /usr (INSTALL_NO_USR) [N/y/?] (NEW) Drop SUID state for most applets (FEATURE_SUID) [Y/n/?] (NEW) exec prefers applets (FEATURE_PREFER_APPLETS) [Y/n/?] y Path to busybox executable (BUSYBOX_EXEC_PATH) [/proc/self/exe] /proc/self/exe Support NSA Security Enhanced Linux (SELINUX) [N/y/?] (NEW) Clean up all memory before exiting (usually not needed) (FEATURE_CLEAN_UP) [N/y/?] (NEW) Support LOG_INFO level syslog messages (FEATURE_SYSLOG_INFO) [Y/n/?] (NEW) * * Build Options * Build static binary (no shared libs) (STATIC) [N/y/?] (NEW) Build position independent executable (PIE) [Y/n/?] y Force NOMMU build (NOMMU) [N/y/?] n Cross compiler prefix (CROSS_COMPILER_PREFIX) [] Path to sysroot (SYSROOT) [] Additional CFLAGS (EXTRA_CFLAGS) [] Additional LDFLAGS (EXTRA_LDFLAGS) [] Additional LDLIBS (EXTRA_LDLIBS) [] Avoid using GCC-specific code constructs (USE_PORTABLE_CODE) [N/y/?] (NEW) Use -mpreferred-stack-boundary=2 on i386 arch (STACK_OPTIMIZATION_386) [Y/n/?] (NEW) Use -static-libgcc (STATIC_LIBGCC) [Y/n/?] (NEW) * * Installation Options ("make install" behavior) * What kind of applet links to install > 1. as soft-links (INSTALL_APPLET_SYMLINKS) 2. as hard-links (INSTALL_APPLET_HARDLINKS) (NEW) 3. as script wrappers (INSTALL_APPLET_SCRIPT_WRAPPERS) (NEW) 4. not installed (INSTALL_APPLET_DONT) (NEW) choice[1-4?]: What kind of applet links to install
11-22
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值