Created
December 7, 2021 20:39
-
-
Save Lochnair/4aa0b6f897db3bdea72e2b7361ec187a to your computer and use it in GitHub Desktop.
Revisions
-
Lochnair created this gist
Dec 7, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,489 @@ WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'eip197-mini-firmware', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'r8169-firmware', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'e100-firmware', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'bnx2-firmware', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'bnx2x-firmware', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'ar3k-firmware', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'mwifiex-sdio-firmware', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'edgeport-firmware', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'amdgpu-firmware', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'radeon-firmware', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist tmp/.config-package.in:72:warning: ignoring type redefinition of 'PACKAGE_libc' from 'bool' to 'tristate' tmp/.config-package.in:100:warning: ignoring type redefinition of 'PACKAGE_libgcc' from 'bool' to 'tristate' tmp/.config-package.in:221:warning: ignoring type redefinition of 'PACKAGE_libpthread' from 'bool' to 'tristate' tmp/.config-package.in:249:warning: ignoring type redefinition of 'PACKAGE_librt' from 'bool' to 'tristate' # # No change to .config # make[1]: Entering directory '/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64' make[2]: Entering directory '/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/package/toolchain' Makefile:737: WARNING: skipping libgomp -- package has no install section echo "libc" >> /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install echo "libgcc" >> /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install echo "libpthread" >> /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install echo "librt" >> /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install touch -r /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/toolchain/.built /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/toolchain/.autoremove 2>/dev/null >/dev/null find /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/toolchain -mindepth 1 -maxdepth 1 -not '(' -type f -and -name '.*' -and -size 0 ')' -and -not -name '.pkgdir' | xargs -r rm -rf make[2]: Leaving directory '/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/package/toolchain' time: package/toolchain/compile#0.11#0.05#0.14 make[2]: Entering directory '/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/package/hping3' mkdir -p /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/dl SHELL= flock /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/tmp/.hping3-2021-12-07-3547c769.tar.xz.flock -c ' /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/scripts/download.pl "/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/dl" "hping3-2021-12-07-3547c769.tar.xz" "9bce78b644f4909772387486f72237b8fd3b8c883245a7153722b41e3cfce1ec" "" || ( /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/scripts/dl_github_archive.py --dl-dir="/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/dl" --url="https://github.com/antirez/hping" --version="3547c7691742c6eaa31f8402e0ccbb81387c1b99" --subdir="hping3-2021-12-07-3547c769" --source="hping3-2021-12-07-3547c769.tar.xz" --hash="9bce78b644f4909772387486f72237b8fd3b8c883245a7153722b41e3cfce1ec" || ( echo "Checking out files from the git repository..."; mkdir -p /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/tmp/dl && cd /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/tmp/dl && rm -rf hping3-2021-12-07-3547c769 && [ \! -d hping3-2021-12-07-3547c769 ] && git clone https://github.com/antirez/hping hping3-2021-12-07-3547c769 && (cd hping3-2021-12-07-3547c769 && git checkout 3547c7691742c6eaa31f8402e0ccbb81387c1b99 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd hping3-2021-12-07-3547c769 && git log -1 --format='\''@%ct'\''` && rm -rf hping3-2021-12-07-3547c769/.git && tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c hping3-2021-12-07-3547c769 | xz -zc -7e > /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/tmp/dl/hping3-2021-12-07-3547c769.tar.xz && mv /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/tmp/dl/hping3-2021-12-07-3547c769.tar.xz /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/dl/ && rm -rf hping3-2021-12-07-3547c769; ); ) ' touch /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/.prepared_5fcfca66f71d3ec0ec4c066df63fe127_18f1e190c5d53547fed41a3eaa76e9e9_check . /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/include/shell.sh; xzcat /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/dl/hping3-2021-12-07-3547c769.tar.xz | tar -C /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/.. -xf - [ ! -d ./src/ ] || cp -fpR ./src/. /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769 touch /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/.prepared_5fcfca66f71d3ec0ec4c066df63fe127_18f1e190c5d53547fed41a3eaa76e9e9 rm -f /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/.configured_* rm -f /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/target-mips64_octeonplus_64_musl/stamp/.hping3_installed (cd /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/./; if [ -x ./configure ]; then find /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/ -name config.guess | xargs -r chmod u+w; find /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/ -name config.guess | xargs -r -n1 cp --remove-destination /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/scripts/config.guess; find /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/ -name config.sub | xargs -r chmod u+w; find /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/ -name config.sub | xargs -r -n1 cp --remove-destination /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/scripts/config.sub; AR="mips64-openwrt-linux-musl-gcc-ar" AS="mips64-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -march=octeon+ -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -ffile-prefix-map=/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769=hping3-2021-12-07-3547c769 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/target-mips64_octeonplus_64_musl/usr/include -ffunction-sections -fdata-sections" LD=mips64-openwrt-linux-musl-ld NM="mips64-openwrt-linux-musl-gcc-nm" CC="mips64-openwrt-linux-musl-gcc" GCC="mips64-openwrt-linux-musl-gcc" CXX="mips64-openwrt-linux-musl-g++" RANLIB="mips64-openwrt-linux-musl-gcc-ranlib" STRIP=mips64-openwrt-linux-musl-strip OBJCOPY=mips64-openwrt-linux-musl-objcopy OBJDUMP=mips64-openwrt-linux-musl-objdump SIZE=mips64-openwrt-linux-musl-size CFLAGS="-Os -pipe -mno-branch-likely -march=octeon+ -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -ffile-prefix-map=/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769=hping3-2021-12-07-3547c769 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/target-mips64_octeonplus_64_musl/usr/include -ffunction-sections -fdata-sections " CXXFLAGS="-Os -pipe -mno-branch-likely -march=octeon+ -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -ffile-prefix-map=/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769=hping3-2021-12-07-3547c769 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/target-mips64_octeonplus_64_musl/usr/include -ffunction-sections -fdata-sections " CPPFLAGS="-I/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/toolchain-mips64_octeonplus_64_gcc-8.4.0_musl/usr/include -I/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/toolchain-mips64_octeonplus_64_gcc-8.4.0_musl/include/fortify -I/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/toolchain-mips64_octeonplus_64_gcc-8.4.0_musl/include " LDFLAGS="-L/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/toolchain-mips64_octeonplus_64_gcc-8.4.0_musl/usr/lib -L/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/toolchain-mips64_octeonplus_64_gcc-8.4.0_musl/lib -znow -zrelro -Wl,--gc-sections " ./configure --target=mips64-openwrt-linux --host=mips64-openwrt-linux --build=x86_64-pc-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-linux-headers=; fi; ) build byteorder.c... cc1: note: someone does not honour COPTS correctly, passed 0 times ./configure: line 25: ./byteorder: cannot execute binary file: Exec format error create byteorder.h... ./configure: line 81: -: command not found -------------------------------------- system type: LINUX LIBPCAP : PCAP=-lpcap PCAP_INCLUDE : MANPATH : /usr/local/man USE_TCL : -DUSE_TCL TCL_VER : TCL_INC : LIBTCL : -ltcl8.6 -lm -lpthread TCLSH : (to modify try configure --help) -------------------------------------- creating Makefile... creating dependences... In file included from ars.h:20, from apd.c:19: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from apd.c:19: ars.h:190:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ ars.h:254:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ ars.h:323:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ In file included from ars.h:20, from ars.c:24: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from ars.c:24: ars.h:190:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ ars.h:254:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ ars.h:323:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ In file included from ars.h:20, from arsglue.c:7: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from arsglue.c:7: ars.h:190:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ ars.h:254:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ ars.h:323:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ In file included from hping2.h:20, from binding.c:18: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from binding.c:18: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from cksum.c:3: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from cksum.c:3: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from datafiller.c:21: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from datafiller.c:21: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from datahandler.c:15: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from datahandler.c:15: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from display_ipopt.c:46: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from display_ipopt.c:46: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from getifname.c:27: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from getifname.c:27: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from getlhs.c:15: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from getlhs.c:15: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from if_promisc.c:21: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from if_promisc.c:21: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from ip_opt_build.c:20: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from ip_opt_build.c:20: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from libpcap_stuff.c:13: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from libpcap_stuff.c:13: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from listen.c:21: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from listen.c:21: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from logicmp.c:16: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from logicmp.c:16: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from main.c:31: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from main.c:31: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from parseoptions.c:19: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from parseoptions.c:19: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from ars.h:20, from rapd.c:11: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from rapd.c:11: ars.h:190:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ ars.h:254:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ ars.h:323:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ In file included from hping2.h:20, from relid.c:16: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from relid.c:16: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from rtt.c:16: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from rtt.c:16: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from scan.c:50: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from scan.c:50: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from send.c:21: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from send.c:21: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from sendhcmp.c:18: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from sendhcmp.c:18: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from sendicmp.c:23: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from sendicmp.c:23: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from sendip.c:21: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from sendip.c:21: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from sendip_handler.c:15: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from sendip_handler.c:15: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from sendrawip.c:11: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from sendrawip.c:11: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from sendtcp.c:21: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from sendtcp.c:21: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from sendudp.c:21: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from sendudp.c:21: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from ars.h:20, from split.c:11: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from split.c:11: ars.h:190:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ ars.h:254:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ ars.h:323:2: error: #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" #error "Please, edit Makefile and add -DBYTE_ORDER_(BIG|LITTLE)_ENDIAN" ^~~~~ In file included from hping2.h:20, from statistics.c:16: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from statistics.c:16: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from version.c:17: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from version.c:17: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ In file included from hping2.h:20, from waitpacket.c:20: byteorder.h:4:8: error: no macro name given in #ifndef directive #ifndef ^ In file included from waitpacket.c:20: hping2.h:262:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ hping2.h:301:2: error: #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" #error "Please, edit Makefile and add -D__(LITTLE|BIG)_ENDIAN_BITFIEND" ^~~~~ now you can try `make' touch /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/.configured_68b329da9893e34099c7d8ad5cb9c940 rm -f /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/.built touch /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/.built_check mips64-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -march=octeon+ -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -ffile-prefix-map=/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769=hping3-2021-12-07-3547c769 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/target-mips64_octeonplus_64_musl/usr/include -ffunction-sections -fdata-sections -o /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/hping3 /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/toolchain-mips64_octeonplus_64_gcc-8.4.0_musl/bin/../lib/gcc/mips64-openwrt-linux-musl/8.4.0/../../../../mips64-openwrt-linux-musl/bin/ld: /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/staging_dir/toolchain-mips64_octeonplus_64_gcc-8.4.0_musl/bin/../lib/gcc/mips64-openwrt-linux-musl/8.4.0/../../../../mips64-openwrt-linux-musl/lib/crt1.o: in function `_start_c': /builder/shared-workdir/build/build_dir/toolchain-mips64_octeonplus_64_gcc-8.4.0_musl/musl-1.1.24/crt/crt1.c:18: undefined reference to `main' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:59: /home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-mips64_octeonplus_64_musl/hping3-2021-12-07-3547c769/.built] Error 1 make[2]: Leaving directory '/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/package/hping3' time: package/hping3/compile#0.35#0.17#0.48 ERROR: package/hping3 failed to build. make[1]: *** [package/Makefile:114: package/hping3/compile] Error 1 make[1]: Leaving directory '/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64' make: *** [/home/lochnair/Work/Network/openwrt-sdk-21.02.1-octeon_gcc-8.4.0_musl.Linux-x86_64/include/toplevel.mk:223: package/hping3/compile] Error 2