make dist-gzip am__post_remove_distdir='@:' make[1]: Entering directory '/home/linville/git/ethtool' make distdir-am make[2]: Entering directory '/home/linville/git/ethtool' if test -d "ethtool-5.4"; then find "ethtool-5.4" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "ethtool-5.4" || { sleep 5 && rm -rf "ethtool-5.4"; }; else :; fi test -d "ethtool-5.4" || mkdir "ethtool-5.4" make \ top_distdir="ethtool-5.4" distdir="ethtool-5.4" \ dist-hook make[3]: Entering directory '/home/linville/git/ethtool' cp ./ethtool.spec ethtool-5.4 make[3]: Leaving directory '/home/linville/git/ethtool' test -n "" \ || find "ethtool-5.4" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec /bin/sh /home/linville/git/ethtool/install-sh -c -m a+r {} {} \; \ || chmod -R a+r "ethtool-5.4" make[2]: Leaving directory '/home/linville/git/ethtool' tardir=ethtool-5.4 && ${TAR-tar} chof - "$tardir" | eval GZIP= gzip --best -c >ethtool-5.4.tar.gz make[1]: Leaving directory '/home/linville/git/ethtool' if test -d "ethtool-5.4"; then find "ethtool-5.4" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "ethtool-5.4" || { sleep 5 && rm -rf "ethtool-5.4"; }; else :; fi case 'ethtool-5.4.tar.gz' in \ *.tar.gz*) \ eval GZIP= gzip --best -dc ethtool-5.4.tar.gz | ${TAR-tar} xf - ;;\ *.tar.bz2*) \ bzip2 -dc ethtool-5.4.tar.bz2 | ${TAR-tar} xf - ;;\ *.tar.lz*) \ lzip -dc ethtool-5.4.tar.lz | ${TAR-tar} xf - ;;\ *.tar.xz*) \ xz -dc ethtool-5.4.tar.xz | ${TAR-tar} xf - ;;\ *.tar.Z*) \ uncompress -c ethtool-5.4.tar.Z | ${TAR-tar} xf - ;;\ *.shar.gz*) \ eval GZIP= gzip --best -dc ethtool-5.4.shar.gz | unshar ;;\ *.zip*) \ unzip ethtool-5.4.zip ;;\ esac chmod -R a-w ethtool-5.4 chmod u+w ethtool-5.4 mkdir ethtool-5.4/_build ethtool-5.4/_build/sub ethtool-5.4/_inst chmod a-w ethtool-5.4 test -d ethtool-5.4/_build || exit 0; \ dc_install_base=`CDPATH="${ZSH_VERSION+.}:" && cd ethtool-5.4/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="${TMPDIR-/tmp}/am-dc-$$/" \ && am__cwd=`pwd` \ && CDPATH="${ZSH_VERSION+.}:" && cd ethtool-5.4/_build/sub \ && ../../configure \ \ \ --srcdir=../.. --prefix="$dc_install_base" \ && make \ && make dvi \ && make check \ && make install \ && make installcheck \ && make uninstall \ && make distuninstallcheck_dir="$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$dc_destdir") \ && make DESTDIR="$dc_destdir" install \ && make DESTDIR="$dc_destdir" uninstall \ && make DESTDIR="$dc_destdir" \ distuninstallcheck_dir="$dc_destdir" distuninstallcheck; \ } || { rm -rf "$dc_destdir"; exit 1; }) \ && rm -rf "$dc_destdir" \ && make dist \ && rm -rf ethtool-5.4.tar.gz \ && make distcleancheck \ && cd "$am__cwd" \ || exit 1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... 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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether defines big-endian types... yes checking for ANSI C header files... yes checking for socket... yes checking for strtol... yes checking for bash-completion directory... ${prefix}/share/bash-completion/completions checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for MNL... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating ethtool.spec config.status: creating ethtool.8 config.status: creating ethtool-config.h config.status: executing depfiles commands make[1]: Entering directory '/home/linville/git/ethtool/ethtool-5.4/_build/sub' make all-am make[2]: Entering directory '/home/linville/git/ethtool/ethtool-5.4/_build/sub' gcc -DHAVE_CONFIG_H -I. -I../.. -I./uapi -Wall -g -O2 -MT ethtool-ethtool.o -MD -MP -MF .deps/ethtool-ethtool.Tpo -c -o ethtool-ethtool.o `test -f 'ethtool.c' || echo '../../'`ethtool.c ../../ethtool.c: In function ‘do_get_phy_tunable’: ../../ethtool.c:4773:16: error: ‘ETHTOOL_PHY_EDPD’ undeclared (first use in this function); did you mean ‘ETHTOOL_PHYS_ID’? 4773 | cont.ds.id = ETHTOOL_PHY_EDPD; | ^~~~~~~~~~~~~~~~ | ETHTOOL_PHYS_ID ../../ethtool.c:4773:16: note: each undeclared identifier is reported only once for each function it appears in ../../ethtool.c:4781:21: error: ‘ETHTOOL_PHY_EDPD_DISABLE’ undeclared (first use in this function); did you mean ‘ETHTOOL_PHY_STUNABLE’? 4781 | if (cont.msecs == ETHTOOL_PHY_EDPD_DISABLE) | ^~~~~~~~~~~~~~~~~~~~~~~~ | ETHTOOL_PHY_STUNABLE ../../ethtool.c:4783:26: error: ‘ETHTOOL_PHY_EDPD_NO_TX’ undeclared (first use in this function) 4783 | else if (cont.msecs == ETHTOOL_PHY_EDPD_NO_TX) | ^~~~~~~~~~~~~~~~~~~~~~ ../../ethtool.c: In function ‘do_set_phy_tunable’: ../../ethtool.c:4962:25: error: ‘ETHTOOL_PHY_EDPD_DFLT_TX_MSECS’ undeclared (first use in this function) 4962 | u16 edpd_tx_interval = ETHTOOL_PHY_EDPD_DFLT_TX_MSECS; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../ethtool.c:5003:23: error: ‘ETHTOOL_PHY_EDPD_DISABLE’ undeclared (first use in this function); did you mean ‘ETHTOOL_PHY_STUNABLE’? 5003 | edpd_tx_interval = ETHTOOL_PHY_EDPD_DISABLE; | ^~~~~~~~~~~~~~~~~~~~~~~~ | ETHTOOL_PHY_STUNABLE ../../ethtool.c:5005:23: error: ‘ETHTOOL_PHY_EDPD_NO_TX’ undeclared (first use in this function) 5005 | edpd_tx_interval = ETHTOOL_PHY_EDPD_NO_TX; | ^~~~~~~~~~~~~~~~~~~~~~ ../../ethtool.c:5053:17: error: ‘ETHTOOL_PHY_EDPD’ undeclared (first use in this function); did you mean ‘ETHTOOL_PHYS_ID’? 5053 | cont.fld.id = ETHTOOL_PHY_EDPD; | ^~~~~~~~~~~~~~~~ | ETHTOOL_PHYS_ID make[2]: *** [Makefile:1255: ethtool-ethtool.o] Error 1 make[2]: Leaving directory '/home/linville/git/ethtool/ethtool-5.4/_build/sub' make[1]: *** [Makefile:881: all] Error 2 make[1]: Leaving directory '/home/linville/git/ethtool/ethtool-5.4/_build/sub' make: *** [Makefile:3670: distcheck] Error 1