openwrt-how to compile

本文详细介绍了使用OpenWrt构建系统生成可安装的固件文件的方法,包括先决条件、更新源、配置固件、启动构建流程、安装OpenWrt等步骤,以及如何在构建过程中进行操作和解决问题。

原文出自:http://wiki.openwrt.org/doc/howto/build?s[]=make

OpenWrt build system – Usage

Prerequisites

to generate an installable OpenWrt firmware image file with a size of e.g. 8MB:

  1. ca. 3-4 GB of available hard disk space
  2. environment variables:
    • SED should not be set. If it is, run `unset SED` before compiling. (See Ticket 10612.)
    • GREP_OPTIONS should not have –initial-tab or other options affecting its output
    • Add <buildroot dir>/staging_dir/host/bin and <buildroot dir>/staging_dir/toolchain-<platform>-<gcc_ver>-<libc_ver>/bin in front of your PATH variable in ~/.bashrc. The staging directory is created shortly after starting the build and the toolchain directory is created when the toolchain build begins. The build spawns multiple shells, some of which expect the toolchain binaries to be present in the PATH.

Procedure

1. Do everything as non-root user
2. Issue all commands in the <buildroot dir> directory, e.g. ~/openwrt/trunk/
  1. Update OpenWrt sources.
  2. Update and install package feeds.
  3. Configure the firmware image you want to obtain.
  4. Start the build. This will automatically compile toolchain, cross-compile sources, package packages, and finally generate an image ready to be flashed.

Updating Sources with Git

:!: OpenWrt sources change frequently. It is recommended that you work with the latest sources.

git pull

Updating Feeds

see feeds

:!: Installing in context of ./scripts/feeds script means "making package available in make menuconfig" rather than really installing or compiling package.

  1. Update feeds:
    ./scripts/feeds update -a
  2. Make downloaded package/packages available in make menuconfig:
    • single package:
      ./scripts/feeds install <PACKAGENAME>
    • all packages:
      ./scripts/feeds install -a

Image Configuration

Typical actions:

  1. run make menuconfig and set target;
  2. run make defconfig;
  3. run make menuconfig and modify set of package;
  4. run scripts/diffconfig.sh >mydiffconfig (save your changes in the text file mydiffconfig);
  5. run make V=s (build OpenWRT with console logging, you will look where build failed.).

Make menuconfig

The OpenWrt build system configuration interface handles the selection of the target platform, packages to be compiled, packages to be included in the firmware file, some kernel options, etc.
Start the OpenWrt build system configuration interface by issuing the following command:

make menuconfig

This will update the dependencies of your existing configuration automatically, and you can now proceed to build your updated images.

You have three options:y, m, n which are represented as follows:

  • pressing y sets the <*> built-in label
    This package will be compiled and included in the firmware image file.
  • pressing m sets the <M> package label
    This package will be compiled, but not included in the firmware image file. (E.g. to be installed with opkg after flashing the firmware image file to the device.)
  • pressing n sets the < > excluded label
    The source code will not be processed.

When you save your configuration, the file <buildroot dir>/.config will be created according to your configuration.

Explanations

It has been the intention from the beginning, with the development of menuconfig, to create a simple, yet powerful, environment for the configuration of individual OpenWrt builds. menuconfig is more or less self-explanatory, and even the most specialized configuration requirements can be met by using it. Depending on the the particular target platform, package requirements and kernel module needs, the standard configuration process will include modifying:

  1. Target system
  2. Package selection
  3. Build system settings
  4. Kernel modules

Target system is selected from the extensive list of supported platforms, with the numerous target profiles – ranging from specific devices to generic profiles, all depending on the particular device at hand. Package selection has the option of either 'selecting all package', which might be un-practical in certain situation, or relying on the default set of packages will be adequate or make an individual selection. It is here needed to mention that some package combinations might break the build process, so it can take some experimentation before the expected result is reached. Added to this, the OpenWrt developers are themselves only maintaining a smaller set of packages – which includes all default packages – but, the feeds-script makes it very simple to handle a locally maintained set of packages and integrate them in the build-process.

The final step before the process of compiling the intended image(s) is to exit menuconfig – this also includes the option to save a specific configuration or load an already existing, and pre-configured, version.

Exit the TUI, and choose to save your settings.

Kernel configuration (optional)

Note that make kernel_menuconfig modifies the Kernel configuration templates of the build tree and clearing the build_dir will not revert them:

While you won't typically need to do this, you can do it:

make kernel_menuconfig CONFIG_TARGET=subtarget
CONFIG_TARGET allows you to select which config you want to edit. possible options: target, subtarget, env.

:FIXME: (git)(GIT) The changes can be reviewed with

git diff target/linux/
and reverted with (SVN)
svn revert -R target/linux/
Source Mirrors

The 'Build system settings' include some efficient options for changing package locations which makes it easy to handle a local package set:

  1. Local mirror for source packages
  2. Download folder

In the case of the first option, you simply enter a full URL to the HTTP or FTP server on which the package sources are hosted. Download folder would in the same way be the path to a local folder on the build system (or network). If you have a web/ftp-server hosting the tarballs, the OpenWrt build system will try this one before trying to download from the location(s) mentioned in the Makefiles . Similar if a local 'download folder', residing on the build system, has been specified.

The 'Kernel modules' option is required if you need specific (non-standard) drivers and so forth – this would typically be things like modules for USB or particular network interface drivers etc.

Configure using config diff file

Beside make menuconfig another way to configure is using a configuration diff file. This file includes only the changes compared to the default configuration. A benefit is that this file can be version controlled with your OpenWRT based project. It's also less affected by OpenWRT updates, because it only contains the changes.

Creating diff file

This file is created using the <buildroot dir>/scripts/diffconfig.sh script.

./scripts/diffconfig.sh > diffconfig # write the changes to diffconfig
Using diff file

These changes can form the basis of a config file (<buildroot dir>/.config). By running make defconfig these changes will be expanded into a full config.

cp diffconfig .config # write changes to .config
make defconfig # expand to full config

These changes can also be added to the bottom of the config file (<buildroot dir>/.config), by running make defconfig these changes will override the existing configuration.

cat diffconfig >> .config # append changes to bottom of .config
make defconfig # apply changes

Patches

OpenWrt build system integrates quilt for easy patch management:
patches

Custom files

Warning! Be carefull! OpenWrt failsafe relies on 100%-working base files on the SquashFS-partition (i.e. the /rom-directory), so in case you mis-configure or misspell something, you will end up with a non-working OpenWrt failsafe and be forced to used more rudimentary methods to debrick your device again!

In case you want to include some custom configuration files, the correct place to put them is:

  • <buildroot dir>/files/

For example, let's say that you want an image with a custom /etc/config/firewall or a custom etc/sysctl.conf, then create this files as:

  • <buildroot dir>/files/etc/config/firewall
  • <buildroot dir>/files/etc/sysctl.conf

E.g. if your <buildroot dir> is /openwrt/trunk and you want some files to be copied into firmware image's /etc/config directory, the correct place to put them is /openwrt/trunk/files/etc/config .

Defconfig

select your target before issuing defconfig

make defconfig
will produce a general purpose configuration of the build system including a check of dependencies and prerequisites for the build environment etc

will check for dependencies. Install missing and run again.

Building Images

Everything is now ready for building the image(s), which is done with one single command:

make
or
make world

This simple command will trigger a cascade of activity. As already stated, it will

  1. compile the toolchain
  2. then crosscompile the sources with this toolchain
  3. create opkg-packages
  4. generate a firmware image file ready to be flashed.

Make Tips

Building in the background

If you intend to use your system while building, you can have the build process use only idle I/O and CPU capacity like this (dualcore CPU):

ionice -c 3 nice -n19 make -j 2
Building single Packages

When developing or packaging software for OpenWrt, it is convenient to be able to build only the package in question (e.g. with package cups):

make package/cups/compile V=s

For a rebuild:

make package/cups/{clean,compile,install} V=s

It doesn't matter what feed the package is located in, this same syntax works for any installed package.

Spotting build errors

If for some reason the build fails, the easiest way to spot the error is to do:

make V=s 2>&1 | tee build.log | grep -i error

The above saves a full verbose copy of the build output (with stdout piped to stderr) in /openwrt/trunk/build.log and only shows errors on the screen.

Another example:

ionice -c 3 nice -n 20 make -j 2 V=s CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 | tee build.log | egrep -i '(warn|error)'

The above saves a full verbose copy of the build output (with stdout piped to stderr) in build.log and outputs only warnings and errors while building using only background resources on a dual core CPU.

Yet another way to focus on the problem without having to wade through tons of output from Make as described above is to check the corresponding log in 'logs' folder.IE: if the build fails at "make[3] -C package/kernel/mac80211 compile", then you can go to <buildroot>/logs/package/kernel/mac80211 and view the compile.txt found there.

Getting beep notification

Depending on your CPU, the process will take a while, or while longer. If you want an acoustic notification, you could use echo -e '\a':

make V=s ; echo -e '\a'
Skipping failed packages

If you are building everything (not just packages enough to make a flashable image) and build stops on a package you don't care about you can skip failed packages by using IGNORE_ERRORS=1

IGNORE_ERRORS=1 make <make options>

Locating Images

After a successful build, the freshly built image(s) can be found in the newly created <buildroot_dir>/bin directory. The compiled files are additionally classified by the target platform, so e.g. a firmware built for an ar71xx device will be located in <buildroot_dir>/bin/ar71xx directory.

E.g. if your <buildroot_dir> is ~/openwrt/trunk, the binaries are in ~/openwrt/trunk/bin/ar71xx.

Cleaning Up

You might need to clean your build environment every now and then. The following make-targets are useful for that job:

Clean

make clean

deletes contents of the directories /bin and /build_dir.make clean does not remove the toolchain,it also avoids cleaning architectures/targets other than the one you have selected in your .config

Dirclean

make dirclean

deletes contents of the directories /bin and /build_dir and additionally /staging_dir and /toolchain (=the cross-compile tools) and /logs. 'Dirclean' is your basic "Full clean" operation.

Distclean

make distclean

nukes everything you have compiled or configured and also deletes all downloaded feeds contents and package sources.

CAUTION: In addition to all else, this will erase your build configuration (<buildroot_dir>/.config), your toolchain and all other sources. Use with care!

There are numerous other functionalities in the OpenWrt build system, but the above should have covered some of the fundamentals.

Clean small part

In more time, you may not want to clean so many objects, then you can use some of the commands below to do it.

Clean linux objects.

make target/linux/clean

Clean package base-files objects.

make package/base-files/clean

Clean luci.

make package/luci/clean

Examples

Troubleshooting

  • Beware of unusual environment variables such as
    • GREP_OPTIONS which should not have –initial-tab or other options affecting its output
    • SED should not be set. If it is, run `unset SED` before compiling. (See Ticket 10612.)
  • First get more information on the problem using the make option "make V=sc" or enable logging.

:!: Read more about make options: Buildroot Techref

:!: Development FAQ

Missing source code file, due to download problems

First check if the URL path in the make file contains a trailing slash, then try with it removed (helped several times).Otherwise try to download the source code manually and put it into "dl" directory.

Compilation errors

Try to update the main source and all the feeds (Warning! May result in other problems).Check for a related bug in (TRAC), use the filters to find it.Otherwise report the problem there, by mentioning the package, the target data (CPU, image, etc.) and the code revisions (main & package).Compiling with make -j … sometimes gives random errors. Try compiling without -j first before reporting the problem.

WARNING: skipping <package> -- package not selected

Run make menuconfig and enable compilation for your package. It should be labeled with <*> or <M> to work correctly. Read image.configuration further up in this article.

*-factory.bin and *-sysupgrade.bin images for my device do not get generated

When you execute make to build an OpenWRT image for your device, both a sysupgrade and a factory image should be generated for every board that is linked to the device profile that you have selected via make config or make menuconfig. For example, when you select the TP-Link WR710N profile, the should be a seperate sysupgrade and a factory image generated for both the WR710N-v1 and the WR710N-v2 (the main difference between the two devices is the size of the flash chip: the v1 comes with 8MiB of flash while the v2 only has 4MiB).

If running make does not yield images for one (or even all) of the boards linked to the device profile that you have selected, than you probably have selected/enabled too much stuff, resulting in an image that would be too big to be flashed onto your device. Please note that the OpenWRT buildroot will currently (september 2015) not display any warning or error message if an image cannot be created because it would be too big for its designated target board. Please keep in mind that in most cases, you will not be able to use all the flash memory in your device exclusively for your OpenWRT image, because there might be several separate flash partitions dedicated to things like the boot loader, the calibration data of the devices wifi card or the partition where your configuration data is stored.

Notes

什么问题这个 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
cc1: note: someone does not honour COPTS correctly, passed 0 times homework.c: In function 'main': homework.c:168:9: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] wait(NULL); // 等待子进程结束 ^ arm-openwrt-linux-uclibcgnueabi-gcc -Wall -Wextra -O2 homework.o -o homework homework.o: In function `calculate_crc32': homework.c:(.text+0x10): undefined reference to `crc32' homework.o: In function `send_message': homework.c:(.text+0x54): undefined reference to `crc32' homework.o: In function `receive_message': homework.c:(.text+0x130): undefined reference to `crc32' homework.o: In function `main': homework.c:(.text.startup+0x64): undefined reference to `crc32' collect2: error: ld returned 1 exit status Makefile:15: recipe for target 'homework' failed make[3]: *** [homework] Error 1 make[3]: Leaving directory '/home/wanglian/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/homework-1.0' Makefile:38: recipe for target '/home/wanglian/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi//.built' failed make[2]: *** [/home/wanglian/openwrt-15.05.1/build_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi//.built] Error 2 make[2]: Leaving directory '/home/wanglian/openwrt-15.05.1/package/homework' package/Makefile:191: recipe for target 'package/homework/compile' failed make[1]: *** [package/homework/compile] Error 2 make[1]: Leaving directory '/home/wanglian/openwrt-15.05.1' /home/wanglian/openwrt-15.05.1/include/toplevel.mk:181: recipe for target 'package/homework/compile' failed make: *** [package/homework/compile] Error 2
08-12
tplink@5e15b687a070:~/code/be900v2/Iplatform/build$ make PRODUCT_NAME=be900v2 iplatform_package/xtables-addons/{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' 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_opensource/kernel/xtables-addons' [DEBUG] Using external toolchain: CONFIG_EXTERNAL_TOOLCHAIN is set [DEBUG] Broadcom platform detected: CONFIG_IPF_PLATFORM_BCM is set [DEBUG] Added include paths: /home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include and /home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include/uapi ==========XT_PCTL_ALONE = 1========== ==========CONFIG_PACKAGE_XTABLES_ADDONS_VERSION = "v2.14"========== ==========XT_PCTL_VERSION = ========== rm -f /home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/stamp/._installed rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-compat-xtables_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-nathelper-rtsp_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-account_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-account_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-httphost_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-httphost_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-urlfilter_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-urlfilter_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-app_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-app_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-pctl_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-pctl_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-chaos_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-chaos_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-condition_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-condition_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-delude_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-delude_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-dhcpmac_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-dhcpmac_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-dnetmap_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-dnetmap_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-fuzzy_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-fuzzy_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-geoip_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-geoip_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-iface_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-iface_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-ipmark_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-ipmark_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-ipp2p_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-ipp2p_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-ipv4options_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-ipv4options_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-length2_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-length2_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-logmark_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-logmark_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-lscan_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-lscan_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-lua_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-lua_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-psd_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-psd_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-quota2_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-quota2_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-sysrq_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-sysrq_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-trigger_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-trigger_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-tarpit_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-tarpit_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-LOOPBACKDNAT_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-LOOPBACKDNAT_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-markext_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-MARKEXT_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-V6PORTS_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-V6PORTS_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptables-mod-CHECKPORTS_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/kmod-ipt-CHECKPORTS_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptaccount_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/iptgeoip_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/bin/model_brcm_bcm490x-be900v2/packages/xtables-addons_* rm -f /home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/packages/.list /home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/host/packages/.list rm -rf /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14 make[3]: Leaving directory '/home/tplink/code/be900v2/prplos/platform/feeds/public/prplos-v3.1.0/feed_opensource/kernel/xtables-addons' 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' make[2]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt' make[3]: Entering directory '/home/tplink/code/be900v2/prplos/platform/feeds/private/domain-login_module' WARNING: skipping kmod-domain-login_module -- package not selected make[3]: Leaving directory '/home/tplink/code/be900v2/prplos/platform/feeds/private/domain-login_module' make[3]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt/package/libmnl' make[3]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt/package/libmnl' make[3]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt/package/libnfnetlink' make[3]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt/package/libnfnetlink' make[3]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt/package/libnetfilter-conntrack' make[3]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt/package/libnetfilter-conntrack' make[3]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt/package/iptables' WARNING: skipping iptables-mod-conntrack-extra -- package not selected WARNING: skipping iptables-mod-filter -- package not selected WARNING: skipping iptables-mod-ipopt -- package not selected WARNING: skipping iptables-mod-nat-extra -- package not selected WARNING: skipping iptables-mod-ulog -- package not selected WARNING: skipping iptables-mod-hashlimit -- package not selected WARNING: skipping iptables-mod-led -- package not selected WARNING: skipping iptables-mod-tproxy -- package not selected WARNING: skipping iptables-mod-tee -- package not selected WARNING: skipping iptables-mod-u32 -- package not selected WARNING: skipping iptables-mod-nflog -- package not selected WARNING: skipping libiptc -- package not selected make[3]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt/package/iptables' make[3]: Entering directory '/home/tplink/code/be900v2/prplos/platform/feeds/public/prplos-v3.1.0/feed_opensource/kernel/xtables-addons' [DEBUG] Using external toolchain: CONFIG_EXTERNAL_TOOLCHAIN is set [DEBUG] Broadcom platform detected: CONFIG_IPF_PLATFORM_BCM is set [DEBUG] Added include paths: /home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include and /home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include/uapi ==========XT_PCTL_ALONE = 1========== ==========CONFIG_PACKAGE_XTABLES_ADDONS_VERSION = "v2.14"========== ==========XT_PCTL_VERSION = ========== mkdir -p /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14 cp -fpR /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/xtables-addons/src-2.14//* /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14 #add by chenrui cp -fpR /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/xtables-addons/src-2.14//xt_pctl_avira/* /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions ------------copy xt_pctl_avira------------ #add end -------XTABLES_ADDONS_VERSION v2.14 PKG_BUILD_SRC /home/tplink/code/be900v2/Iplatform/openwrt/../../prplos/platform/src/public/xtables-addons/src-2.14/-------- touch /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/.prepared_9a1ca534f0501cd994c1fea3bf71dcfe (cd /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/./; if [ -x ./configure ]; then /usr/bin/find /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/ -name config.guess | xargs -r -n1 cp /home/tplink/code/be900v2/Iplatform/openwrt/scripts/config.guess; /usr/bin/find /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/ -name config.sub | xargs -r -n1 cp /home/tplink/code/be900v2/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=" -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include/linux -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include/uapi -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../"bcmkernel/include" -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../"bcmkernel/include"/uapi -DPCTL_SUPPORT_IPV6 -DSUPPORT_HOMECARE_PRO_BLOCKING -DSUPPORT_HOMECARE_PRO_URL_CLASS -DPCTL_SUPPORT_IPV6 -DPCTL_LOCAL_DOMAINS='\"tplinkwifi.net\"' -DPCTL_BLOCK_URL -DTRAFFIC_STATISTICS_OPTIMIZATION" CXXFLAGS=" -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include/linux -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include/uapi -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../"bcmkernel/include" -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../"bcmkernel/include"/uapi -DPCTL_SUPPORT_IPV6 -DSUPPORT_HOMECARE_PRO_BLOCKING -DSUPPORT_HOMECARE_PRO_URL_CLASS -DPCTL_SUPPORT_IPV6 -DPCTL_LOCAL_DOMAINS='\"tplinkwifi.net\"' -DPCTL_BLOCK_URL -DTRAFFIC_STATISTICS_OPTIMIZATION" CPPFLAGS="-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 " 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 " ./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-kbuild="/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19" --with-xtables="/home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr" --with-xtlibdir="/usr/lib/iptables" ; fi; ) configure: WARNING: unrecognized options: --disable-nls, --with-xtables configure: loading site script /home/tplink/code/be900v2/Iplatform/openwrt/include/site/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 thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes 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 we are using the GNU C compiler... yes checking whether arm-buildroot-linux-gnueabi-gcc accepts -g... yes checking for arm-buildroot-linux-gnueabi-gcc option to accept ISO C89... none needed checking whether arm-buildroot-linux-gnueabi-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of arm-buildroot-linux-gnueabi-gcc... gcc3 checking for arm-openwrt-linux-uclibc-ar... arm-buildroot-linux-gnueabi-ar checking the archiver (arm-buildroot-linux-gnueabi-ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... arm-openwrt-linux-uclibc checking how to print strings... printf checking for a sed that does not truncate output... /home/tplink/code/be900v2/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 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 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-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 configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking how to run the C preprocessor... arm-buildroot-linux-gnueabi-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes 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 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 linux/netfilter/x_tables.h usability... yes checking linux/netfilter/x_tables.h presence... yes checking for linux/netfilter/x_tables.h... yes checking pkg-config is at least version 0.9.0... yes checking for xtables >= 1.4.5... yes checking Xtables module directory... /usr/lib/iptables checking kernel version that we will build against... 4.19.294.0 in /home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19 WARNING: That kernel version is not officially supported yet. Continue at own luck. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Makefile.iptrules config.status: creating Makefile.mans config.status: creating geoip/Makefile config.status: creating extensions/Makefile config.status: creating extensions/ACCOUNT/Makefile config.status: creating extensions/pknock/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-nls, --with-xtables rm -f /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x//.configured_* touch /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x//.configured_ make -j1 -C /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14 ARCH="arm64" CROSS_COMPILE="aarch64-buildroot-linux-gnu-" EXTRA_CFLAGS="-I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include/linux -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include/uapi -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../"bcmkernel/include" -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../"bcmkernel/include"/uapi -DPCTL_SUPPORT_IPV6 -DSUPPORT_HOMECARE_PRO_BLOCKING -DSUPPORT_HOMECARE_PRO_URL_CLASS -DPCTL_SUPPORT_IPV6 -DPCTL_LOCAL_DOMAINS='\"tplinkwifi.net\"' -DPCTL_BLOCK_URL -DTRAFFIC_STATISTICS_OPTIMIZATION" DESTDIR="/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/ipkg-install" DEPMOD="/bin/true" all make[4]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14' CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/build-aux/missing aclocal-1.15 -I m4 cd . && /bin/sh /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/build-aux/missing automake-1.15 --foreign Makefile.am:6: warning: ':='-style assignments are not portable Makefile.am:21: warning: ':='-style assignments are not portable Makefile.am:21: warning: shell mktemp -dtu: non-POSIX variable name Makefile.am:21: (probably a GNU make extension) CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/build-aux/missing autoconf /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh ./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-kbuild=/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19 --with-xtables=/home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr --with-xtlibdir=/usr/lib/iptables build_alias=x86_64-linux-gnu host_alias=arm-openwrt-linux-uclibc target_alias=arm-openwrt-linux-uclibc CC=arm-buildroot-linux-gnueabi-gcc CFLAGS= -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include/linux -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include/uapi -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include -I/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19/../bcmkernel/include/uapi -DPCTL_SUPPORT_IPV6 -DSUPPORT_HOMECARE_PRO_BLOCKING -DSUPPORT_HOMECARE_PRO_URL_CLASS -DPCTL_SUPPORT_IPV6 -DPCTL_LOCAL_DOMAINS='"tplinkwifi.net"' -DPCTL_BLOCK_URL -DTRAFFIC_STATISTICS_OPTIMIZATION 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 CPPFLAGS=-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 PKG_CONFIG=/home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/host/bin/pkg-config PKG_CONFIG_PATH=/home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib/pkgconfig PKG_CONFIG_LIBDIR=/home/tplink/code/be900v2/Iplatform/openwrt/staging_dir/target-arm-openwrt-linux-uclibc-be900v2/usr/lib/pkgconfig --no-create --no-recursion configure: WARNING: unrecognized options: --disable-nls, --with-xtables configure: loading site script /home/tplink/code/be900v2/Iplatform/openwrt/include/site/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... no checking for strip... strip configure: WARNING: using cross tools not prefixed with host triplet checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes 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 we are using the GNU C compiler... yes checking whether arm-buildroot-linux-gnueabi-gcc accepts -g... yes checking for arm-buildroot-linux-gnueabi-gcc option to accept ISO C89... none needed checking whether arm-buildroot-linux-gnueabi-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of arm-buildroot-linux-gnueabi-gcc... gcc3 checking for arm-openwrt-linux-uclibc-ar... no checking for arm-openwrt-linux-uclibc-lib... no checking for arm-openwrt-linux-uclibc-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... arm-openwrt-linux-uclibc checking how to print strings... printf checking for a sed that does not truncate output... /home/tplink/code/be900v2/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 for ld used by arm-buildroot-linux-gnueabi-gcc... /home/tplink/code/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/bin/ld checking if the linker (/home/tplink/code/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/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... no checking for arm-openwrt-linux-uclibc-dumpbin... no checking for arm-openwrt-linux-uclibc-link... no checking for dumpbin... no checking for link... link -dump checking the name lister (nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes 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 /home/tplink/code/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/bin/ld option to reload object files... -r checking for arm-openwrt-linux-uclibc-objdump... no checking for objdump... 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... ar checking for archiver @FILE support... @ checking for arm-openwrt-linux-uclibc-strip... strip checking for arm-openwrt-linux-uclibc-ranlib... no checking for ranlib... ranlib checking command to parse nm output from arm-buildroot-linux-gnueabi-gcc object... ok checking for sysroot... no checking for arm-openwrt-linux-uclibc-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... arm-buildroot-linux-gnueabi-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes 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 (/home/tplink/code/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/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... no checking linux/netfilter/x_tables.h usability... yes checking linux/netfilter/x_tables.h presence... yes checking for linux/netfilter/x_tables.h... yes checking pkg-config is at least version 0.9.0... yes checking for libxtables... yes checking Xtables module directory... /usr/lib/iptables checking kernel version that we will build against... 4.19.294.0 in /home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19 WARNING: That kernel version is not officially supported yet. Continue at own luck. checking that generated files are newer than configure... done configure: creating ./config.status configure: WARNING: unrecognized options: --disable-nls, --with-xtables /bin/sh ./config.status config.status: creating Makefile config.status: creating Makefile.iptrules config.status: creating Makefile.mans config.status: creating geoip/Makefile config.status: creating extensions/Makefile config.status: creating extensions/ACCOUNT/Makefile config.status: creating extensions/pknock/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/build-aux/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h make all-recursive make[5]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14' Making all in extensions make[6]: Entering directory '/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions' Xtables-addons 2.14 - Linux 4.19.294 if [ -n "/home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19" ]; then make -C /home/tplink/code/be900v2/Iplatform/openwrt/../../bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19 M=/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions KBUILD_EXTRA_SYMBOLS=/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions/../Module.symvers modules; fi; make[7]: Entering directory '/home/tplink/code/be900v2/bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19' CC [M] /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions/ACCOUNT/xt_ACCOUNT.o In file included from ./include/net/net_namespace.h:39, from /home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions/ACCOUNT/xt_ACCOUNT.c:18: ./include/linux/skbuff.h:605:10: fatal error: linux/bcm_skbuff.h: No such file or directory 605 | #include <linux/bcm_skbuff.h> | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. scripts/Makefile.build:330: recipe for target '/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions/ACCOUNT/xt_ACCOUNT.o' failed make[9]: *** [/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions/ACCOUNT/xt_ACCOUNT.o] Error 1 scripts/Makefile.build:565: recipe for target '/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions/ACCOUNT' failed make[8]: *** [/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions/ACCOUNT] Error 2 Makefile:1586: recipe for target '_module_/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions' failed make[7]: *** [_module_/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions] Error 2 make[7]: Leaving directory '/home/tplink/code/be900v2/bcm504L04/bcm963xx_5.04L.04/kernel/linux-4.19' Makefile:456: recipe for target 'modules' failed make[6]: *** [modules] Error 2 make[6]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14/extensions' Makefile:491: recipe for target 'all-recursive' failed make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14' Makefile:376: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x/xtables-addons-2.14' Makefile:394: recipe for target '/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x//.built' failed make[3]: *** [/home/tplink/code/be900v2/Iplatform/openwrt/build_dir/linux-model_brcm_bcm490x//.built] Error 2 make[3]: Leaving directory '/home/tplink/code/be900v2/prplos/platform/feeds/public/prplos-v3.1.0/feed_opensource/kernel/xtables-addons' package/Makefile:133: recipe for target 'package/feeds/feed_opensource/xtables-addons/compile' failed make[2]: *** [package/feeds/feed_opensource/xtables-addons/compile] Error 2 make[2]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt' /home/tplink/code/be900v2/Iplatform/openwrt/include/toplevel.mk:184: recipe for target 'package/xtables-addons/compile' failed make[1]: *** [package/xtables-addons/compile] Error 2 make[1]: Leaving directory '/home/tplink/code/be900v2/Iplatform/openwrt' Makefile:232: recipe for target 'iplatform_package/xtables-addons/compile' failed make: *** [iplatform_package/xtables-addons/compile] Error 2 tplink@5e15b687a070:~/code/be900v2/Iplatform/build$
最新发布
10-25
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值