sbuild (Debian sbuild) 0.78.1 (09 February 2019) on 4be29f1fdf49 +==============================================================================+ | socks4-server 4.3.beta2-20 (armhf) Tue, 02 Jul 2019 20:09:27 +0000 | +==============================================================================+ Package: socks4-server Version: 4.3.beta2-20 Source Version: 4.3.beta2-20 Distribution: unstable-amd64-sbuild Machine Architecture: amd64 Host Architecture: armhf Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-144045f7-8b57-4a27-bef9-dff33ab61374' with '<>' I: NOTICE: Log filtering will replace 'build/socks4-server-aDaFKP/resolver-8TA8kQ' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://cdn-fastly.deb.debian.org/debian unstable InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following package was automatically installed and is no longer required: sensible-utils Use 'apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- /home/build/sbuild-setup/repo/pool/main/s/socks4-server/socks4-server_4.3.beta2-20.dsc exists in /home/build/sbuild-setup/repo/pool/main/s/socks4-server; copying to chroot I: NOTICE: Log filtering will replace 'build/socks4-server-aDaFKP/socks4-server-4.3.beta2' with '<>' I: NOTICE: Log filtering will replace 'build/socks4-server-aDaFKP' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 4.2.0), libident-dev, libncurses5-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-armhf:amd64, libc-dev:armhf, libstdc++-dev:armhf Filtered Build-Depends: debhelper (>= 4.2.0), libident-dev, libncurses5-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-armhf:amd64, libc-dev:armhf, libstdc++-dev:armhf dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [412 B] Get:5 copy:/<>/apt_archive ./ Packages [501 B] Fetched 1870 B in 0s (134 kB/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev binutils-arm-linux-gnueabihf bsdmainutils cpp-8-arm-linux-gnueabihf cpp-arm-linux-gnueabihf cross-config crossbuild-essential-armhf debhelper dh-autoreconf dh-strip-nondeterminism dpkg-cross dwz file g++-8-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc-8-arm-linux-gnueabihf gcc-8-arm-linux-gnueabihf-base gcc-8-base:armhf gcc-8-cross-base gcc-arm-linux-gnueabihf gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan5:armhf libasan5-armhf-cross libatomic1:armhf libatomic1-armhf-cross libbsd0 libc6:armhf libc6-armhf-cross libc6-dev:armhf libc6-dev-armhf-cross libconfig-auto-perl libconfig-inifiles-perl libcroco3 libdebian-dpkgcross-perl libfile-homedir-perl libfile-stripnondeterminism-perl libfile-which-perl libgcc-8-dev:armhf libgcc-8-dev-armhf-cross libgcc1:armhf libgcc1-armhf-cross libglib2.0-0 libgomp1:armhf libgomp1-armhf-cross libicu63 libident:armhf libident-dev:armhf libio-string-perl liblocale-gettext-perl libmagic-mgc libmagic1 libncurses-dev:armhf libncurses5-dev:armhf libncurses6 libncurses6:armhf libncursesw6:armhf libpipeline1 libsigsegv2 libstdc++-8-dev:armhf libstdc++-8-dev-armhf-cross libstdc++6:armhf libstdc++6-armhf-cross libtinfo6:armhf libtool libubsan1:armhf libubsan1-armhf-cross libuchardet0 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl linux-libc-dev:armhf linux-libc-dev-armhf-cross m4 man-db po-debconf ucf Suggested packages: autoconf-archive gnu-standards autoconf-doc binutils-doc wamerican | wordlist whois vacation gcc-8-locales cpp-doc dh-make binutils-multiarch gcc-8-doc libstdc++6-8-dbg-armhf-cross libgcc1-dbg-armhf-cross libgomp1-dbg-armhf-cross libitm1-dbg-armhf-cross libatomic1-dbg-armhf-cross libasan5-dbg-armhf-cross liblsan0-dbg-armhf-cross libtsan0-dbg-armhf-cross libubsan1-dbg-armhf-cross libmpx2-dbg-armhf-cross libquadmath0-dbg-armhf-cross manpages-dev flex bison gdb-arm-linux-gnueabihf gcc-doc gettext-doc libasprintf-dev libgettextpo-dev groff glibc-doc:armhf libc-l10n:armhf locales:armhf manpages-dev:armhf ncurses-doc:armhf libstdc++-8-doc:armhf libtool-doc gfortran | fortran95-compiler gcj-jdk libyaml-shell-perl m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libidn2-0:armhf libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libgpm2 libgpm2:armhf libltdl-dev libwww-perl libxml-sax-expat-perl libyaml-libyaml-perl | libyaml-syck-perl libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev binutils-arm-linux-gnueabihf bsdmainutils cpp-8-arm-linux-gnueabihf cpp-arm-linux-gnueabihf cross-config crossbuild-essential-armhf debhelper dh-autoreconf dh-strip-nondeterminism dpkg-cross dwz file g++-8-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc-8-arm-linux-gnueabihf gcc-8-arm-linux-gnueabihf-base gcc-8-base:armhf gcc-8-cross-base gcc-arm-linux-gnueabihf gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan5:armhf libasan5-armhf-cross libatomic1:armhf libatomic1-armhf-cross libbsd0 libc6:armhf libc6-armhf-cross libc6-dev:armhf libc6-dev-armhf-cross libconfig-auto-perl libconfig-inifiles-perl libcroco3 libdebian-dpkgcross-perl libfile-homedir-perl libfile-stripnondeterminism-perl libfile-which-perl libgcc-8-dev:armhf libgcc-8-dev-armhf-cross libgcc1:armhf libgcc1-armhf-cross libglib2.0-0 libgomp1:armhf libgomp1-armhf-cross libicu63 libident:armhf libident-dev:armhf libio-string-perl liblocale-gettext-perl libmagic-mgc libmagic1 libncurses-dev:armhf libncurses5-dev:armhf libncurses6 libncurses6:armhf libncursesw6:armhf libpipeline1 libsigsegv2 libstdc++-8-dev:armhf libstdc++-8-dev-armhf-cross libstdc++6:armhf libstdc++6-armhf-cross libtinfo6:armhf libtool libubsan1:armhf libubsan1-armhf-cross libuchardet0 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl linux-libc-dev:armhf linux-libc-dev-armhf-cross m4 man-db po-debconf sbuild-build-depends-main-dummy:armhf ucf 0 upgraded, 88 newly installed, 0 to remove and 0 not upgraded. Need to get 20.3 kB/61.0 MB of archives. After this operation, 233 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [920 B] Get:2 http://cdn-fastly.deb.debian.org/debian unstable/main armhf libident armhf 0.22-3.1 [11.5 kB] Get:3 http://cdn-fastly.deb.debian.org/debian unstable/main armhf libident-dev armhf 0.22-3.1 [7856 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 20.3 kB in 1s (39.0 kB/s) Selecting previously unselected package libbsd0:amd64. (Reading database ... 12449 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_amd64.deb ... Unpacking libbsd0:amd64 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_amd64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../02-libuchardet0_0.0.6-3_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_amd64.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../04-libpipeline1_1.5.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_amd64.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package liblocale-gettext-perl. Preparing to unpack .../06-liblocale-gettext-perl_1.07-3+b4_amd64.deb ... Unpacking liblocale-gettext-perl (1.07-3+b4) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.35-4_amd64.deb ... Unpacking libmagic-mgc (1:5.35-4) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../08-libmagic1_1%3a5.35-4_amd64.deb ... Unpacking libmagic1:amd64 (1:5.35-4) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.35-4_amd64.deb ... Unpacking file (1:5.35-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.19.8.1-9_amd64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package ucf. Preparing to unpack .../11-ucf_3.0038+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0038+nmu1) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../12-libsigsegv2_2.12-2_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.18-2_amd64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package binutils-arm-linux-gnueabihf. Preparing to unpack .../18-binutils-arm-linux-gnueabihf_2.31.1-16_amd64.deb ... Unpacking binutils-arm-linux-gnueabihf (2.31.1-16) ... Selecting previously unselected package gcc-8-arm-linux-gnueabihf-base:amd64. Preparing to unpack .../19-gcc-8-arm-linux-gnueabihf-base_8.3.0-7cross1_amd64.deb ... Unpacking gcc-8-arm-linux-gnueabihf-base:amd64 (8.3.0-7cross1) ... Selecting previously unselected package cpp-8-arm-linux-gnueabihf. Preparing to unpack .../20-cpp-8-arm-linux-gnueabihf_8.3.0-7cross1_amd64.deb ... Unpacking cpp-8-arm-linux-gnueabihf (8.3.0-7cross1) ... Selecting previously unselected package cpp-arm-linux-gnueabihf. Preparing to unpack .../21-cpp-arm-linux-gnueabihf_4%3a8.3.0-1_amd64.deb ... Unpacking cpp-arm-linux-gnueabihf (4:8.3.0-1) ... Selecting previously unselected package cross-config. Preparing to unpack .../22-cross-config_2.6.15-3_all.deb ... Unpacking cross-config (2.6.15-3) ... Selecting previously unselected package gcc-8-cross-base. Preparing to unpack .../23-gcc-8-cross-base_8.3.0-7cross1_all.deb ... Unpacking gcc-8-cross-base (8.3.0-7cross1) ... Selecting previously unselected package libc6-armhf-cross. Preparing to unpack .../24-libc6-armhf-cross_2.28-10cross2_all.deb ... Unpacking libc6-armhf-cross (2.28-10cross2) ... Selecting previously unselected package libgcc1-armhf-cross. Preparing to unpack .../25-libgcc1-armhf-cross_1%3a8.3.0-7cross1_all.deb ... Unpacking libgcc1-armhf-cross (1:8.3.0-7cross1) ... Selecting previously unselected package libgomp1-armhf-cross. Preparing to unpack .../26-libgomp1-armhf-cross_8.3.0-7cross1_all.deb ... Unpacking libgomp1-armhf-cross (8.3.0-7cross1) ... Selecting previously unselected package libatomic1-armhf-cross. Preparing to unpack .../27-libatomic1-armhf-cross_8.3.0-7cross1_all.deb ... Unpacking libatomic1-armhf-cross (8.3.0-7cross1) ... Selecting previously unselected package libstdc++6-armhf-cross. Preparing to unpack .../28-libstdc++6-armhf-cross_8.3.0-7cross1_all.deb ... Unpacking libstdc++6-armhf-cross (8.3.0-7cross1) ... Selecting previously unselected package libasan5-armhf-cross. Preparing to unpack .../29-libasan5-armhf-cross_8.3.0-7cross1_all.deb ... Unpacking libasan5-armhf-cross (8.3.0-7cross1) ... Selecting previously unselected package libubsan1-armhf-cross. Preparing to unpack .../30-libubsan1-armhf-cross_8.3.0-7cross1_all.deb ... Unpacking libubsan1-armhf-cross (8.3.0-7cross1) ... Selecting previously unselected package libgcc-8-dev-armhf-cross. Preparing to unpack .../31-libgcc-8-dev-armhf-cross_8.3.0-7cross1_all.deb ... Unpacking libgcc-8-dev-armhf-cross (8.3.0-7cross1) ... Selecting previously unselected package gcc-8-arm-linux-gnueabihf. Preparing to unpack .../32-gcc-8-arm-linux-gnueabihf_8.3.0-7cross1_amd64.deb ... Unpacking gcc-8-arm-linux-gnueabihf (8.3.0-7cross1) ... Selecting previously unselected package gcc-arm-linux-gnueabihf. Preparing to unpack .../33-gcc-arm-linux-gnueabihf_4%3a8.3.0-1_amd64.deb ... Unpacking gcc-arm-linux-gnueabihf (4:8.3.0-1) ... Selecting previously unselected package linux-libc-dev-armhf-cross. Preparing to unpack .../34-linux-libc-dev-armhf-cross_4.19.28-2cross2_all.deb ... Unpacking linux-libc-dev-armhf-cross (4.19.28-2cross2) ... Selecting previously unselected package libc6-dev-armhf-cross. Preparing to unpack .../35-libc6-dev-armhf-cross_2.28-10cross2_all.deb ... Unpacking libc6-dev-armhf-cross (2.28-10cross2) ... Selecting previously unselected package libstdc++-8-dev-armhf-cross. Preparing to unpack .../36-libstdc++-8-dev-armhf-cross_8.3.0-7cross1_all.deb ... Unpacking libstdc++-8-dev-armhf-cross (8.3.0-7cross1) ... Selecting previously unselected package g++-8-arm-linux-gnueabihf. Preparing to unpack .../37-g++-8-arm-linux-gnueabihf_8.3.0-7cross1_amd64.deb ... Unpacking g++-8-arm-linux-gnueabihf (8.3.0-7cross1) ... Selecting previously unselected package g++-arm-linux-gnueabihf. Preparing to unpack .../38-g++-arm-linux-gnueabihf_4%3a8.3.0-1_amd64.deb ... Unpacking g++-arm-linux-gnueabihf (4:8.3.0-1) ... Selecting previously unselected package libconfig-inifiles-perl. Preparing to unpack .../39-libconfig-inifiles-perl_3.000001-1_all.deb ... Unpacking libconfig-inifiles-perl (3.000001-1) ... Selecting previously unselected package libio-string-perl. Preparing to unpack .../40-libio-string-perl_1.08-3_all.deb ... Unpacking libio-string-perl (1.08-3) ... Selecting previously unselected package libicu63:amd64. Preparing to unpack .../41-libicu63_63.2-2_amd64.deb ... Unpacking libicu63:amd64 (63.2-2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../42-libxml2_2.9.4+dfsg1-7+b3_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../43-libxml-namespacesupport-perl_1.12-1_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-1) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../44-libxml-sax-base-perl_1.09-1_all.deb ... Unpacking libxml-sax-base-perl (1.09-1) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../45-libxml-sax-perl_1.00+dfsg-1_all.deb ... Unpacking libxml-sax-perl (1.00+dfsg-1) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../46-libxml-libxml-perl_2.0134+dfsg-1_amd64.deb ... Unpacking libxml-libxml-perl (2.0134+dfsg-1) ... Selecting previously unselected package libxml-simple-perl. Preparing to unpack .../47-libxml-simple-perl_2.25-1_all.deb ... Unpacking libxml-simple-perl (2.25-1) ... Selecting previously unselected package libyaml-perl. Preparing to unpack .../48-libyaml-perl_1.27-1_all.deb ... Unpacking libyaml-perl (1.27-1) ... Selecting previously unselected package libconfig-auto-perl. Preparing to unpack .../49-libconfig-auto-perl_0.44-1_all.deb ... Unpacking libconfig-auto-perl (0.44-1) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../50-libfile-which-perl_1.23-1_all.deb ... Unpacking libfile-which-perl (1.23-1) ... Selecting previously unselected package libfile-homedir-perl. Preparing to unpack .../51-libfile-homedir-perl_1.004-1_all.deb ... Unpacking libfile-homedir-perl (1.004-1) ... Selecting previously unselected package libdebian-dpkgcross-perl. Preparing to unpack .../52-libdebian-dpkgcross-perl_2.6.15-3_all.deb ... Unpacking libdebian-dpkgcross-perl (2.6.15-3) ... Selecting previously unselected package dpkg-cross. Preparing to unpack .../53-dpkg-cross_2.6.15-3_all.deb ... Unpacking dpkg-cross (2.6.15-3) ... Selecting previously unselected package crossbuild-essential-armhf. Preparing to unpack .../54-crossbuild-essential-armhf_12.6_all.deb ... Unpacking crossbuild-essential-armhf (12.6) ... Selecting previously unselected package libtool. Preparing to unpack .../55-libtool_2.4.6-10_all.deb ... Unpacking libtool (2.4.6-10) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../56-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../57-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../58-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../59-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package dwz. Preparing to unpack .../60-dwz_0.12-3_amd64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../61-libglib2.0-0_2.58.3-2_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.58.3-2) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../62-libcroco3_0.6.12-3_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-3) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../63-libncurses6_6.1+20181013-2_amd64.deb ... Unpacking libncurses6:amd64 (6.1+20181013-2) ... Selecting previously unselected package gettext. Preparing to unpack .../64-gettext_0.19.8.1-9_amd64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../65-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../66-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../67-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package gcc-8-base:armhf. Preparing to unpack .../68-gcc-8-base_8.3.0-7_armhf.deb ... Unpacking gcc-8-base:armhf (8.3.0-7) ... Selecting previously unselected package libgcc1:armhf. Preparing to unpack .../69-libgcc1_1%3a8.3.0-7_armhf.deb ... Unpacking libgcc1:armhf (1:8.3.0-7) ... Selecting previously unselected package libc6:armhf. Preparing to unpack .../70-libc6_2.28-10_armhf.deb ... Unpacking libc6:armhf (2.28-10) ... Selecting previously unselected package libstdc++6:armhf. Preparing to unpack .../71-libstdc++6_8.3.0-7_armhf.deb ... Unpacking libstdc++6:armhf (8.3.0-7) ... Selecting previously unselected package libasan5:armhf. Preparing to unpack .../72-libasan5_8.3.0-7_armhf.deb ... Unpacking libasan5:armhf (8.3.0-7) ... Selecting previously unselected package libatomic1:armhf. Preparing to unpack .../73-libatomic1_8.3.0-7_armhf.deb ... Unpacking libatomic1:armhf (8.3.0-7) ... Selecting previously unselected package linux-libc-dev:armhf. Preparing to unpack .../74-linux-libc-dev_4.19.37-5_armhf.deb ... Unpacking linux-libc-dev:armhf (4.19.37-5) ... Selecting previously unselected package libc6-dev:armhf. Preparing to unpack .../75-libc6-dev_2.28-10_armhf.deb ... Unpacking libc6-dev:armhf (2.28-10) ... Selecting previously unselected package libgomp1:armhf. Preparing to unpack .../76-libgomp1_8.3.0-7_armhf.deb ... Unpacking libgomp1:armhf (8.3.0-7) ... Selecting previously unselected package libubsan1:armhf. Preparing to unpack .../77-libubsan1_8.3.0-7_armhf.deb ... Unpacking libubsan1:armhf (8.3.0-7) ... Selecting previously unselected package libgcc-8-dev:armhf. Preparing to unpack .../78-libgcc-8-dev_8.3.0-7_armhf.deb ... Unpacking libgcc-8-dev:armhf (8.3.0-7) ... Selecting previously unselected package libident:armhf. Preparing to unpack .../79-libident_0.22-3.1_armhf.deb ... Unpacking libident:armhf (0.22-3.1) ... Selecting previously unselected package libident-dev:armhf. Preparing to unpack .../80-libident-dev_0.22-3.1_armhf.deb ... Unpacking libident-dev:armhf (0.22-3.1) ... Selecting previously unselected package libtinfo6:armhf. Preparing to unpack .../81-libtinfo6_6.1+20181013-2_armhf.deb ... Unpacking libtinfo6:armhf (6.1+20181013-2) ... Selecting previously unselected package libncurses6:armhf. Preparing to unpack .../82-libncurses6_6.1+20181013-2_armhf.deb ... Unpacking libncurses6:armhf (6.1+20181013-2) ... Selecting previously unselected package libncursesw6:armhf. Preparing to unpack .../83-libncursesw6_6.1+20181013-2_armhf.deb ... Unpacking libncursesw6:armhf (6.1+20181013-2) ... Selecting previously unselected package libncurses-dev:armhf. Preparing to unpack .../84-libncurses-dev_6.1+20181013-2_armhf.deb ... Unpacking libncurses-dev:armhf (6.1+20181013-2) ... Selecting previously unselected package libncurses5-dev:armhf. Preparing to unpack .../85-libncurses5-dev_6.1+20181013-2_armhf.deb ... Unpacking libncurses5-dev:armhf (6.1+20181013-2) ... Selecting previously unselected package libstdc++-8-dev:armhf. Preparing to unpack .../86-libstdc++-8-dev_8.3.0-7_armhf.deb ... Unpacking libstdc++-8-dev:armhf (8.3.0-7) ... Selecting previously unselected package sbuild-build-depends-main-dummy:armhf. Preparing to unpack .../87-sbuild-build-depends-main-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-main-dummy:armhf (0.invalid.0) ... Setting up libconfig-inifiles-perl (3.000001-1) ... Setting up libpipeline1:amd64 (1.5.1-2) ... Setting up libfile-which-perl (1.23-1) ... Setting up libc6-armhf-cross (2.28-10cross2) ... Setting up libmagic-mgc (1:5.35-4) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:amd64 (2.58.3-2) ... No schema files found: doing nothing. Setting up gcc-8-cross-base (8.3.0-7cross1) ... Setting up libmagic1:amd64 (1:5.35-4) ... Setting up linux-libc-dev:armhf (4.19.37-5) ... Setting up libxml-namespacesupport-perl (1.12-1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4) ... Setting up libatomic1-armhf-cross (8.3.0-7cross1) ... Setting up libyaml-perl (1.27-1) ... Setting up libicu63:amd64 (63.2-2) ... Setting up libxml-sax-base-perl (1.09-1) ... Setting up libio-string-perl (1.08-3) ... Setting up autotools-dev (20180224.1) ... Setting up cross-config (2.6.15-3) ... Setting up libgcc1-armhf-cross (1:8.3.0-7cross1) ... Setting up gcc-8-arm-linux-gnueabihf-base:amd64 (8.3.0-7cross1) ... Setting up libncurses6:amd64 (6.1+20181013-2) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up gcc-8-base:armhf (8.3.0-7) ... Setting up linux-libc-dev-armhf-cross (4.19.28-2cross2) ... Setting up autopoint (0.19.8.1-9) ... Setting up ucf (3.0038+nmu1) ... Setting up dwz (0.12-3) ... Setting up libuchardet0:amd64 (0.0.6-3) ... Setting up libfile-homedir-perl (1.004-1) ... Setting up libbsd0:amd64 (0.9.1-2) ... Setting up binutils-arm-linux-gnueabihf (2.31.1-16) ... Setting up libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Setting up liblocale-gettext-perl (1.07-3+b4) ... Setting up cpp-8-arm-linux-gnueabihf (8.3.0-7cross1) ... Setting up libgomp1-armhf-cross (8.3.0-7cross1) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libtool (2.4.6-10) ... Setting up libc6-dev-armhf-cross (2.28-10cross2) ... Setting up m4 (1.4.18-2) ... Setting up libxml-sax-perl (1.00+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libstdc++6-armhf-cross (8.3.0-7cross1) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:amd64 (0.6.12-3) ... Setting up libubsan1-armhf-cross (8.3.0-7cross1) ... Setting up autoconf (2.69-11) ... Setting up libxml-libxml-perl (2.0134+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up groff-base (1.22.4-3) ... Setting up cpp-arm-linux-gnueabihf (4:8.3.0-1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libasan5-armhf-cross (8.3.0-7cross1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libxml-simple-perl (2.25-1) ... Setting up libgcc-8-dev-armhf-cross (8.3.0-7cross1) ... Setting up libstdc++-8-dev-armhf-cross (8.3.0-7cross1) ... Setting up gcc-8-arm-linux-gnueabihf (8.3.0-7cross1) ... Setting up gcc-arm-linux-gnueabihf (4:8.3.0-1) ... Setting up po-debconf (1.0.21) ... Setting up libconfig-auto-perl (0.44-1) ... Setting up g++-8-arm-linux-gnueabihf (8.3.0-7cross1) ... Setting up libdebian-dpkgcross-perl (2.6.15-3) ... Setting up g++-arm-linux-gnueabihf (4:8.3.0-1) ... Setting up dpkg-cross (2.6.15-3) ... Setting up crossbuild-essential-armhf (12.6) ... Setting up libc6:armhf (2.28-10) ... Setting up libc6-dev:armhf (2.28-10) ... Setting up libident:armhf (0.22-3.1) ... Setting up libtinfo6:armhf (6.1+20181013-2) ... Setting up libgcc1:armhf (1:8.3.0-7) ... Setting up libgomp1:armhf (8.3.0-7) ... Setting up dh-autoreconf (19) ... Setting up libncurses6:armhf (6.1+20181013-2) ... Setting up libatomic1:armhf (8.3.0-7) ... Setting up libncursesw6:armhf (6.1+20181013-2) ... Setting up libident-dev:armhf (0.22-3.1) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Setting up libstdc++6:armhf (8.3.0-7) ... Setting up libncurses-dev:armhf (6.1+20181013-2) ... Setting up debhelper (12.1.1) ... Setting up libasan5:armhf (8.3.0-7) ... Setting up libubsan1:armhf (8.3.0-7) ... Setting up libncurses5-dev:armhf (6.1+20181013-2) ... Setting up libgcc-8-dev:armhf (8.3.0-7) ... Setting up libstdc++-8-dev:armhf (8.3.0-7) ... Setting up sbuild-build-depends-main-dummy:armhf (0.invalid.0) ... Processing triggers for libc-bin (2.28-10) ... Processing triggers for ccache (3.7.1-1) ... Updating symlinks in /usr/lib/ccache ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Initial Foreign Architectures: armhf Arch check ok (armhf included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.51-3 (2017-12-13) amd64 (x86_64) Toolchain package versions: binutils_2.31.1-16 dpkg-dev_1.19.7 g++-8_8.3.0-7 gcc-8_8.3.0-7 libc6-dev_2.28-10 libstdc++-8-dev_8.3.0-7 libstdc++-8-dev-armhf-cross_8.3.0-7cross1 libstdc++6_8.3.0-7 libstdc++6-armhf-cross_8.3.0-7cross1 linux-libc-dev_4.19.37-5 Package versions: adduser_3.118 apt_1.8.2 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_10.3 base-passwd_3.5.46 bash_5.0-4 binutils_2.31.1-16 binutils-arm-linux-gnueabihf_2.31.1-16 binutils-common_2.31.1-16 binutils-x86-64-linux-gnu_2.31.1-16 bsdmainutils_11.1.2+b1 bsdutils_1:2.33.1-0.1 build-essential_12.6 bzip2_1.0.6-9.1 ccache_3.7.1-1 coreutils_8.30-3 cpp_4:8.3.0-1 cpp-8_8.3.0-7 cpp-8-arm-linux-gnueabihf_8.3.0-7cross1 cpp-arm-linux-gnueabihf_4:8.3.0-1 cross-config_2.6.15-3 crossbuild-essential-armhf_12.6 dash_0.5.10.2-5 debconf_1.5.72 debhelper_12.1.1 debian-archive-keyring_2019.1 debianutils_4.8.6.1 dh-autoreconf_19 dh-strip-nondeterminism_1.1.2-1 diffutils_1:3.7-3 dirmngr_2.2.13-2 dose-distcheck_5.0.1-12 dpkg_1.19.7 dpkg-cross_2.6.15-3 dpkg-dev_1.19.7 dwz_0.12-3 e2fsprogs_1.45.2-1 eatmydata_105-7 fakeroot_1.23-1 fdisk_2.33.1-0.1 file_1:5.35-4 findutils_4.6.0+git+20190209-2 g++_4:8.3.0-1 g++-8_8.3.0-7 g++-8-arm-linux-gnueabihf_8.3.0-7cross1 g++-arm-linux-gnueabihf_4:8.3.0-1 gcc_4:8.3.0-1 gcc-8_8.3.0-7 gcc-8-arm-linux-gnueabihf_8.3.0-7cross1 gcc-8-arm-linux-gnueabihf-base_8.3.0-7cross1 gcc-8-base_8.3.0-7 gcc-8-cross-base_8.3.0-7cross1 gcc-arm-linux-gnueabihf_4:8.3.0-1 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gnupg_2.2.13-2 gnupg-l10n_2.2.13-2 gnupg-utils_2.2.13-2 gpg_2.2.13-2 gpg-agent_2.2.13-2 gpg-wks-client_2.2.13-2 gpg-wks-server_2.2.13-2 gpgconf_2.2.13-2 gpgsm_2.2.13-2 gpgv_2.2.13-2 grep_3.3-1 groff-base_1.22.4-3 gzip_1.9-3 hostname_3.21 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-4 libapt-pkg5.0_1.8.2 libarchive-zip-perl_1.64-1 libasan5_8.3.0-7 libasan5-armhf-cross_8.3.0-7cross1 libassuan0_2.5.2-1 libatomic1_8.3.0-7 libatomic1-armhf-cross_8.3.0-7cross1 libattr1_1:2.4.48-4 libaudit-common_1:2.8.4-3 libaudit1_1:2.8.4-3 libbinutils_2.31.1-16 libblkid1_2.33.1-0.1 libbsd0_0.9.1-2 libbz2-1.0_1.0.6-9.1 libc-bin_2.28-10 libc-dev-bin_2.28-10 libc6_2.28-10 libc6-armhf-cross_2.28-10cross2 libc6-dev_2.28-10 libc6-dev-armhf-cross_2.28-10cross2 libcap-ng0_0.7.9-2 libcap2_1:2.25-2 libcc1-0_8.3.0-7 libcom-err2_1.45.2-1 libconfig-auto-perl_0.44-1 libconfig-inifiles-perl_3.000001-1 libcroco3_0.6.12-3 libdb5.3_5.3.28+dfsg1-0.6 libdebconfclient0_0.249 libdebian-dpkgcross-perl_2.6.15-3 libdpkg-perl_1.19.7 libeatmydata1_105-7 libelf1_0.176-1.1 libext2fs2_1.45.2-1 libfakeroot_1.23-1 libfdisk1_2.33.1-0.1 libffi6_3.2.1-9 libfile-homedir-perl_1.004-1 libfile-stripnondeterminism-perl_1.1.2-1 libfile-which-perl_1.23-1 libgcc-8-dev_8.3.0-7 libgcc-8-dev-armhf-cross_8.3.0-7cross1 libgcc1_1:8.3.0-7 libgcc1-armhf-cross_1:8.3.0-7cross1 libgcrypt20_1.8.4-5 libgdbm-compat4_1.18.1-4 libgdbm6_1.18.1-4 libglib2.0-0_2.58.3-2 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.7-4 libgomp1_8.3.0-7 libgomp1-armhf-cross_8.3.0-7cross1 libgpg-error0_1.35-1 libhogweed4_3.4.1-1 libicu63_63.2-2 libident_0.22-3.1 libident-dev_0.22-3.1 libidn2-0_2.0.5-1 libio-string-perl_1.08-3 libisl19_0.20-2 libitm1_8.3.0-7 libksba8_1.3.5-2 libldap-2.4-2_2.4.47+dfsg-3 libldap-common_2.4.47+dfsg-3 liblocale-gettext-perl_1.07-3+b4 liblsan0_8.3.0-7 liblua5.2-0_5.2.4-1.1+b2 liblz4-1_1.8.3-1 liblzma5_5.2.4-1 libmagic-mgc_1:5.35-4 libmagic1_1:5.35-4 libmount1_2.33.1-0.1 libmpc3_1.1.0-1 libmpfr6_4.0.2-1 libmpx2_8.3.0-7 libncurses-dev_6.1+20181013-2 libncurses5-dev_6.1+20181013-2 libncurses6_6.1+20181013-2 libncursesw6_6.1+20181013-2 libnettle6_3.4.1-1 libnpth0_1.6-1 libnspr4_2:4.21-1 libnss3_2:3.44+really3.42.1-2 libp11-kit0_0.23.15-2 libpam-modules_1.3.1-5 libpam-modules-bin_1.3.1-5 libpam-runtime_1.3.1-5 libpam0g_1.3.1-5 libpcre3_2:8.39-12 libperl5.28_5.28.1-6 libpipeline1_1.5.1-2 libpopt0_1.16-12 libquadmath0_8.3.0-7 libreadline7_7.0-5 librpm8_4.14.2.1+dfsg1-1 librpmio8_4.14.2.1+dfsg1-1 libsasl2-2_2.1.27+dfsg-1 libsasl2-modules-db_2.1.27+dfsg-1 libseccomp2_2.3.3-4 libselinux1_2.8-1+b1 libsemanage-common_2.8-2 libsemanage1_2.8-2 libsepol1_2.8-1 libsigsegv2_2.12-2 libsmartcols1_2.33.1-0.1 libsqlite3-0_3.27.2-3 libss2_1.45.2-1 libstdc++-8-dev_8.3.0-7 libstdc++-8-dev-armhf-cross_8.3.0-7cross1 libstdc++6_8.3.0-7 libstdc++6-armhf-cross_8.3.0-7cross1 libsystemd0_241-5 libtasn1-6_4.13-3 libtinfo6_6.1+20181013-2 libtool_2.4.6-10 libtsan0_8.3.0-7 libubsan1_8.3.0-7 libubsan1-armhf-cross_8.3.0-7cross1 libuchardet0_0.0.6-3 libudev1_241-5 libunistring2_0.9.10-1 libuuid1_2.33.1-0.1 libxml-libxml-perl_2.0134+dfsg-1 libxml-namespacesupport-perl_1.12-1 libxml-sax-base-perl_1.09-1 libxml-sax-perl_1.00+dfsg-1 libxml-simple-perl_2.25-1 libxml2_2.9.4+dfsg1-7+b3 libyaml-perl_1.27-1 libzstd1_1.3.8+dfsg-3 linux-libc-dev_4.19.37-5 linux-libc-dev-armhf-cross_4.19.28-2cross2 login_1:4.5-1.1 lsb-base_10.2019051400 m4_1.4.18-2 make_4.2.1-1.2 man-db_2.8.5-2 mawk_1.3.3-17+b3 mount_2.33.1-0.1 ncurses-base_6.1+20181013-2 ncurses-bin_6.1+20181013-2 passwd_1:4.5-1.1 patch_2.7.6-4 perl_5.28.1-6 perl-base_5.28.1-6 perl-modules-5.28_5.28.1-6 pinentry-curses_1.1.0-2 po-debconf_1.0.21 readline-common_7.0-5 sbuild-build-depends-dose3-dummy_0.invalid.0 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12 sysvinit-utils_2.93-8 tar_1.30+dfsg-6 tzdata_2019a-1 ucf_3.0038+nmu1 util-linux_2.33.1-0.1 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.0 Source: socks4-server Binary: socks4-server, socks4-clients, libsocks4 Architecture: any Version: 4.3.beta2-20 Maintainer: Debian QA Group Standards-Version: 3.8.0 Build-Depends: debhelper (>= 4.2.0), libident-dev, libncurses5-dev Package-List: libsocks4 deb libs optional arch=any socks4-clients deb net extra arch=any socks4-server deb net extra arch=any Checksums-Sha1: 1e4748f90e5a75a3f3580dee324ef1f37661a510 246247 socks4-server_4.3.beta2.orig.tar.gz c1e942536ac5fb2f8fea19eaade26c3e2136794a 19349 socks4-server_4.3.beta2-20.diff.gz Checksums-Sha256: 034e43869e4a37f7697e8753485e99c0802f29df9adae2b6b91c6777e8bc50f0 246247 socks4-server_4.3.beta2.orig.tar.gz 58cc11f896bfae93cdc46e9b819a33613da07155728af95a888f23b901d066b5 19349 socks4-server_4.3.beta2-20.diff.gz Files: e1d485434a0427e8970c399816fa62b4 246247 socks4-server_4.3.beta2.orig.tar.gz 6c0a3fae389845aa4064450d2b538288 19349 socks4-server_4.3.beta2-20.diff.gz -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXyb0gAAoJELqceAYd3YybPw8QAKtxuf/gIMl4Ue7fV7aQRvFV wYT0giH74ZaQvZSwQPeMKE85e3pjvNFMRHu4tppPt7QwdHeVj5O+RQRgGRxoS1kp 21axioRXXLWWzjOhzVAmDrmLhu4mBcrbg5MCMJL6ucSQjhoO6Dje0tUQMWHla49/ gfqjFpXGJLn0lOZ+Y5PKcnmj5O8PfwDnrURofwWzw7FuuDvd5oB4PbYRlqn8oHha v/z0ei4qrZIQohjitO8Pio+/KzMIfl0XOnfeWFNfS+ODJ4H1d8ghU7Wuw3rq0mzB 8O+pFO67W7VAK6DMqPaS5I2pEOh+64T4QEM0eUuTE+zNn3ID7ugG/of4HIO6X+AT F2ddFKiVPAyi2Fo2IwbZ3RCGswXGNjXFb6xEMUZtpUcrI9ulyDua3takP4fRmJ4n LSpbMbL4blWMaxVQBLeJp5hAIdYToAcBlLuwGB99fah8bikTPVDAmPh/EKxYMNRm aica7KU+5TTvJker5MD2E30uQMEqKx8XtxCPNecq1Vkc5FWyf8b9/kF2mldB6aqa DdwI5JqZfNMf83ftjLqdy9wk+6Xstk1uS4NtyAV6SJEmNlCcaePfFZxUYydeq2hv DoWDhNNluMqnaoOIb6+EcPHtZWBn5J0+NPytnfaIYxlROwnPzmSDn14d1pUdeaC+ lszlPC258nMaWVgNx/cp =d7VP -----END PGP SIGNATURE----- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Fri Sep 2 17:55:44 2016 UTC gpgv: using RSA key BA9C78061DDD8C9B gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./socks4-server_4.3.beta2-20.dsc dpkg-source: info: extracting socks4-server in /<> dpkg-source: info: unpacking socks4-server_4.3.beta2.orig.tar.gz dpkg-source: info: applying socks4-server_4.3.beta2-20.diff.gz dpkg-source: info: upstream files that have been modified: /<>/Makefile /<>/doc/sockd.8 /<>/include/socks.h /<>/lib/Makefile /<>/lib/Rconnect.c /<>/lib/Rconnect.c,v /<>/libident/id_open.c /<>/libident/id_open.c,v /<>/mkfc/Makefile /<>/rfinger/Makefile /<>/rfinger/finger.c /<>/rftp/Makefile /<>/rftp/cmds.c /<>/rftp/domacro.c /<>/rftp/ftp.c /<>/rftp/ftp_var.h /<>/rftp/glob.c /<>/rftp/ruserpass.c /<>/rtelnet/Config.local /<>/rtelnet/Makefile /<>/rtelnet/libtelnet/Makefile /<>/rtelnet/telnet/Makefile /<>/rtelnet/telnet/commands.c /<>/rtelnet/telnet/externs.h /<>/rtelnet/telnet/sys_bsd.c /<>/runsocks/Makefile /<>/runsocks/README.runsocks /<>/runsocks/accept.c /<>/runsocks/bind.c /<>/runsocks/connect.c /<>/runsocks/gethostbyname.c /<>/runsocks/listen.c /<>/runsocks/runsocks /<>/runsocks/wrap.c /<>/runsocks/wrap.h /<>/sockd/Makefile Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf CCACHE_COMPRESS=1 CCACHE_DIR=/var/cache/ccache-sbuild CCACHE_UMASK=002 CONFIG_SITE=/etc/dpkg-cross/cross-config.armhf DEB_BUILD_OPTIONS=nocheck HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=C.UTF-8 LD_LIBRARY_PATH=/usr/lib/libeatmydata LD_PRELOAD=libeatmydata.so LOGNAME=build PATH=/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD=/<> SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=build SCHROOT_SESSION_ID=unstable-amd64-sbuild-144045f7-8b57-4a27-bef9-dff33ab61374 SCHROOT_UID=1000 SCHROOT_USER=build SHELL=/bin/sh USER=build dpkg-buildpackage ----------------- Command: dpkg-buildpackage -aarmhf -Pcross,nocheck -us -uc -B -rfakeroot -j16 dpkg-buildpackage: info: source package socks4-server dpkg-buildpackage: info: source version 4.3.beta2-20 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Aurelien Jarno dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp install-stamp make clean make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/<>' for i in lib libident sockd rfinger rftp rtelnet runsocks mkfc; do \ ( cd $i ; make clean); done make[2]: Entering directory '/<>/lib' /<>/lib rm -f *.o *.lo libsocks.a libsocks.so* core make[2]: Leaving directory '/<>/lib' make[2]: Entering directory '/<>/libident' /<>/libident rm -f libident.a *~ core *.o \#* make[2]: Leaving directory '/<>/libident' make[2]: Entering directory '/<>/sockd' /<>/sockd rm -f *.o libsockd.a sockd rsockd core make[2]: Leaving directory '/<>/sockd' make[2]: Entering directory '/<>/rfinger' /<>/rfinger rm -f finger.o rwhois rfinger core make[2]: Leaving directory '/<>/rfinger' make[2]: Entering directory '/<>/rftp' /<>/rftp rm -f cmds.o cmdtab.o ftp.o glob.o main.o ruserpass.o domacro.o core rftp make[2]: Leaving directory '/<>/rftp' make[2]: Entering directory '/<>/rtelnet' /<>/rtelnet rm -f rtelnet cd libtelnet; make -f Makefile.generic clean make[3]: Entering directory '/<>/rtelnet/libtelnet' rm -f *.o libtelnet.a core a.out make[3]: Leaving directory '/<>/rtelnet/libtelnet' cd telnet; make -f Makefile.generic clean make[3]: Entering directory '/<>/rtelnet/telnet' rm -f authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o utilities.o core errs l.errs ../rtelnet make[3]: Leaving directory '/<>/rtelnet/telnet' make[2]: Leaving directory '/<>/rtelnet' make[2]: Entering directory '/<>/runsocks' rm -f *.o *.so make[2]: Leaving directory '/<>/runsocks' make[2]: Entering directory '/<>/mkfc' /<>/mkfc rm -rf make_socksfc make_sockdfc make_sockdfr dump_socksfc dump_sockdfc dump_sockdfr *.o core make[2]: Leaving directory '/<>/mkfc' make[1]: Leaving directory '/<>' rm -f `find . -name "*~"` rm -rf debian/socks4-server debian/libsocks4 debian/socks4-clients `find debian/* -type d` debian/files* core rm -f debian/*substvars dh_clean dh_clean: Compatibility levels before 9 are deprecated (level 5 in use) dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing) debian/rules build dh_testdir make make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/<>' (cd lib; make CC="gcc" GETPASS="getpass.o" \ STRDUP="" OPTIMIZE="-g" \ OTHER_CFLAGS="-DLINUX " \ RANLIB="ranlib") make[2]: Entering directory '/<>/lib' /<>/lib gcc -I../include -g -DLINUX -c -o Rconnect.o Rconnect.c Rconnect.c: In function ‘SOCKSinit’: Rconnect.c:124:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ Rconnect.c:106:5: note: declared here int SOCKSinit(Progname) ^~~~~~~~~ Rconnect.c:144:2: warning: implicit declaration of function ‘gethostname’; did you mean ‘gethostbyname’? [-Wimplicit-function-declaration] gethostname(socks_src_name, sizeof(socks_src_name)); ^~~~~~~~~~~ gethostbyname Rconnect.c:145:6: warning: implicit declaration of function ‘socks_host’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] if (socks_host(socks_src_name, &socks_srcsh) < 0) { ^~~~~~~~~~ socks_cmd Rconnect.c:150:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ Rconnect.c:150:3: warning: incompatible implicit declaration of built-in function ‘exit’ Rconnect.c:150:3: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:37:1: +#include Rconnect.c:150:3: exit(1); ^~~~ Rconnect.c:157:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ Rconnect.c:157:3: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:165:25: warning: implicit declaration of function ‘geteuid’; did you mean ‘getpwuid’? [-Wimplicit-function-declaration] if ((pw = getpwuid(uid=geteuid())) == NULL) { ^~~~~~~ getpwuid Rconnect.c:170:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ Rconnect.c:170:3: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:260:10: warning: implicit declaration of function ‘socks_rdfz’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] socks_rdfz(SOCKS_FC, &scfAddr, &Nscf, &cfStrings, socks_useSyslog); ^~~~~~~~~~ socks_cmd Rconnect.c:262:10: warning: implicit declaration of function ‘socks_rdconf’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] socks_rdconf(SOCKS_CONF, &scfAddr, &Nscf, socks_useSyslog); ^~~~~~~~~~~~ socks_cmd Rconnect.c: In function ‘socks_connect_sockd’: Rconnect.c:283:7: warning: implicit declaration of function ‘socks_GetQuad’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] if (socks_GetQuad(socks_server, &socks_nsin.sin_addr) != -1) { ^~~~~~~~~~~~~ socks_cmd Rconnect.c:298:9: warning: implicit declaration of function ‘dup2’ [-Wimplicit-function-declaration] if (dup2(new_sock, sock) < 0) { ^~~~ Rconnect.c:299:6: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] close(new_sock); ^~~~~ pclose Rconnect.c: In function ‘send_name’: Rconnect.c:353:11: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] if((n = write(s, p, i)) <= 0) { ^~~~~ fwrite Rconnect.c: In function ‘socksC_proto’: Rconnect.c:371:13: warning: implicit declaration of function ‘socks_SendDst’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] if ((sta = socks_SendDst(s, dst)) < 0) { ^~~~~~~~~~~~~ socks_cmd Rconnect.c:397:13: warning: implicit declaration of function ‘socks_GetDst’; did you mean ‘socket’? [-Wimplicit-function-declaration] if ((sta = socks_GetDst(s, dst)) < 0) { ^~~~~~~~~~~~ socket Rconnect.c: In function ‘quit_C_proto’: Rconnect.c:409:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(SOCKS_FAIL); ^~~~ Rconnect.c:409:2: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c: In function ‘do_C_proto’: Rconnect.c:420:2: warning: implicit declaration of function ‘alarm’ [-Wimplicit-function-declaration] alarm(CLIENT_CONN_TIMEOUT); ^~~~~ Rconnect.c:427:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(SOCKS_FAIL); ^~~~ Rconnect.c:427:3: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:432:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(dst.cmd); ^~~~ Rconnect.c:432:3: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:434:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(SOCKS_RESULT); ^~~~ Rconnect.c:434:2: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c: In function ‘Rconnect’: Rconnect.c:465:7: warning: implicit declaration of function ‘socks_IPtohost’; did you mean ‘socksC_proto’? [-Wimplicit-function-declaration] if (socks_IPtohost(&sin->sin_addr, &socks_dstsh) < 0) { ^~~~~~~~~~~~~~ socksC_proto Rconnect.c:470:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ Rconnect.c:470:4: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:538:18: warning: implicit declaration of function ‘socks_ckcf’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] socks_direct = socks_ckcf(&socks_srcsh, &socks_dstsh, scfAddr, Nscf, socks_useSyslog); ^~~~~~~~~~ socks_cmd Rconnect.c:581:22: warning: implicit declaration of function ‘fork’ [-Wimplicit-function-declaration] switch (child_pid = fork()) { ^~~~ gcc -I../include -g -DLINUX -c -o SendGetDst.o SendGetDst.c SendGetDst.c: In function ‘socks_SendDst’: SendGetDst.c:32:2: warning: implicit declaration of function ‘bcopy’ [-Wimplicit-function-declaration] bcopy(&dst->port, c+2, sizeof(dst->port)); ^~~~~ SendGetDst.c:32:2: warning: incompatible implicit declaration of built-in function ‘bcopy’ SendGetDst.c:52:11: warning: implicit declaration of function ‘write’ [-Wimplicit-function-declaration] if((n = write(s, p, i)) > 0) { ^~~~~ SendGetDst.c: In function ‘socks_GetDst’: SendGetDst.c:95:11: warning: implicit declaration of function ‘read’; did you mean ‘recv’? [-Wimplicit-function-declaration] if((n = read(s, p, i)) > 0) { ^~~~ recv SendGetDst.c:110:2: warning: incompatible implicit declaration of built-in function ‘bcopy’ bcopy(c+2, &dst->port, sizeof(dst->port)); ^~~~~ gcc -I../include -g -DLINUX -c -o porttoserv.o porttoserv.c porttoserv.c: In function ‘socks_porttoserv’: porttoserv.c:17:3: warning: implicit declaration of function ‘strncpy’ [-Wimplicit-function-declaration] strncpy(name, serv->s_name, namelen); ^~~~~~~ porttoserv.c:17:3: warning: incompatible implicit declaration of built-in function ‘strncpy’ porttoserv.c:17:3: note: include ‘’ or provide a declaration of ‘strncpy’ porttoserv.c:7:1: +#include porttoserv.c:17:3: strncpy(name, serv->s_name, namelen); ^~~~~~~ porttoserv.c:19:3: warning: implicit declaration of function ‘sprintf’ [-Wimplicit-function-declaration] sprintf(name, "%u", port); ^~~~~~~ porttoserv.c:19:3: warning: incompatible implicit declaration of built-in function ‘sprintf’ porttoserv.c:19:3: note: include ‘’ or provide a declaration of ‘sprintf’ porttoserv.c:7:1: +#include porttoserv.c:19:3: sprintf(name, "%u", port); ^~~~~~~ gcc -I../include -g -DLINUX -c -o utils.o utils.c utils.c: In function ‘socks_GetAddr’: utils.c:80:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(*domain); ^~~~ utils.c:80:3: warning: incompatible implicit declaration of built-in function ‘free’ utils.c:80:3: note: include ‘’ or provide a declaration of ‘free’ utils.c:18:1: +#include utils.c:80:3: free(*domain); ^~~~ utils.c: In function ‘socks_GetPort’: utils.c:103:9: warning: implicit declaration of function ‘atol’; did you mean ‘htonl’? [-Wimplicit-function-declaration] return atol(name); ^~~~ htonl utils.c: In function ‘socks_IPtohost’: utils.c:119:4: warning: incompatible implicit declaration of built-in function ‘free’ free(shp->dmname[i]); ^~~~ utils.c:119:4: note: include ‘’ or provide a declaration of ‘free’ utils.c:141:2: warning: incompatible implicit declaration of built-in function ‘free’ free(name); ^~~~ utils.c:141:2: note: include ‘’ or provide a declaration of ‘free’ utils.c: In function ‘socks_host’: utils.c:193:4: warning: incompatible implicit declaration of built-in function ‘free’ free(shp->dmname[i]); ^~~~ utils.c:193:4: note: include ‘’ or provide a declaration of ‘free’ gcc -I../include -g -DLINUX -c -o Rbind.o Rbind.c Rbind.c:48:1: warning: return type defaults to ‘int’ [-Wimplicit-int] Rbind(sock, sin, size) ^~~~~ Rbind.c:151:1: warning: return type defaults to ‘int’ [-Wimplicit-int] Rlisten(s, n) ^~~~~~~ Rbind.c:163:1: warning: return type defaults to ‘int’ [-Wimplicit-int] Rgetsockname(sock, sin, size) ^~~~~~~~~~~~ Rbind.c:181:1: warning: return type defaults to ‘int’ [-Wimplicit-int] Raccept(sock, sin, size) ^~~~~~~ Rbind.c: In function ‘Raccept’: Rbind.c:197:32: warning: implicit declaration of function ‘socks_GetDst’; did you mean ‘socks_ckcf’? [-Wimplicit-function-declaration] if (FD_ISSET(sock, &fds) && (socks_GetDst(sock, &dst) >= 0)) { ^~~~~~~~~~~~ socks_ckcf Rbind.c:201:11: warning: implicit declaration of function ‘dup’ [-Wimplicit-function-declaration] return(dup(sock)); ^~~ gcc -I../include -g -DLINUX -c -o Rgethostbyname.o Rgethostbyname.c Rgethostbyname.c: In function ‘Rgethostbyname’: Rgethostbyname.c:111:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(hr->h_name); ^~~~ Rgethostbyname.c:111:3: warning: incompatible implicit declaration of built-in function ‘free’ Rgethostbyname.c:111:3: note: include ‘’ or provide a declaration of ‘free’ Rgethostbyname.c:19:1: +#include Rgethostbyname.c:111:3: free(hr->h_name); ^~~~ Rgethostbyname.c:126:3: warning: incompatible implicit declaration of built-in function ‘free’ free(hr->h_name); ^~~~ Rgethostbyname.c:126:3: note: include ‘’ or provide a declaration of ‘free’ Rgethostbyname.c:145:25: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] if ((halist = (char *)malloc(cl)) == NULL) { ^~~~~~ Rgethostbyname.c:145:25: warning: incompatible implicit declaration of built-in function ‘malloc’ Rgethostbyname.c:145:25: note: include ‘’ or provide a declaration of ‘malloc’ Rgethostbyname.c:154:26: warning: incompatible implicit declaration of built-in function ‘malloc’ if (((harray = (char **)malloc(naliases * sizeof(iplist))) == NULL) || ^~~~~~ Rgethostbyname.c:154:26: note: include ‘’ or provide a declaration of ‘malloc’ Rgethostbyname.c:186:2: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ Rgethostbyname.c:186:2: warning: incompatible implicit declaration of built-in function ‘exit’ Rgethostbyname.c:186:2: note: include ‘’ or provide a declaration of ‘exit’ gcc -I../include -g -DLINUX -c -o Rselect.o Rselect.c gcc -I../include -g -DLINUX -c -o null_syslog.o null_syslog.c null_syslog.c:22:1: warning: return type defaults to ‘int’ [-Wimplicit-int] socks_0openlog(ident, log_opt, fac) ^~~~~~~~~~~~~~ null_syslog.c:30:1: warning: return type defaults to ‘int’ [-Wimplicit-int] socks_0closelog() ^~~~~~~~~~~~~~~ null_syslog.c:35:9: warning: return type defaults to ‘int’ [-Wimplicit-int] VARARGS(socks_0syslog, int, prio) ^~~~~~~~~~~~~ null_syslog.c:12:32: note: in definition of macro ‘VARARGS’ #define VARARGS(func,type,arg) func(type arg, ...) ^~~~ gcc -I../include -g -DLINUX -c -o shell_cmd.o shell_cmd.c shell_cmd.c: In function ‘socks_shell_cmd’: shell_cmd.c:68:26: warning: implicit declaration of function ‘getpid’; did you mean ‘fgetpos’? [-Wimplicit-function-declaration] int daemon_pid = getpid(); ^~~~~~ fgetpos shell_cmd.c:71:9: warning: implicit declaration of function ‘strpbrk’ [-Wimplicit-function-declaration] if (strpbrk(cmd, alpha_num) == NULL) { ^~~~~~~ shell_cmd.c:71:9: warning: incompatible implicit declaration of built-in function ‘strpbrk’ shell_cmd.c:71:9: note: include ‘’ or provide a declaration of ‘strpbrk’ shell_cmd.c:33:1: +#include shell_cmd.c:71:9: if (strpbrk(cmd, alpha_num) == NULL) { ^~~~~~~ shell_cmd.c:81:25: warning: implicit declaration of function ‘fork’ [-Wimplicit-function-declaration] switch (child_pid = fork()) { ^~~~ shell_cmd.c:89:21: warning: implicit declaration of function ‘wait’; did you mean ‘exit’? [-Wimplicit-function-declaration] while ((wait_pid = wait((int *) 0)) != -1 && wait_pid != child_pid) ^~~~ exit shell_cmd.c: In function ‘do_child’: shell_cmd.c:110:9: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] (void) close(tmp_fd); ^~~~~ pclose shell_cmd.c:114:9: warning: implicit declaration of function ‘open’; did you mean ‘popen’? [-Wimplicit-function-declaration] if (open("/dev/null", 2) != 0) { ^~~~ popen shell_cmd.c:116:16: warning: implicit declaration of function ‘dup’ [-Wimplicit-function-declaration] } else if (dup(0) != 1 || dup(0) != 2) { ^~~ shell_cmd.c:119:9: warning: implicit declaration of function ‘execl’ [-Wimplicit-function-declaration] (void) execl("/bin/sh", "sh", "-c", command, (char *) 0); ^~~~~ shell_cmd.c:119:9: warning: incompatible implicit declaration of built-in function ‘execl’ shell_cmd.c: In function ‘percent_x’: shell_cmd.c:206:22: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] expansion_len = strlen(expansion); ^~~~~~ shell_cmd.c:206:22: warning: incompatible implicit declaration of built-in function ‘strlen’ shell_cmd.c:206:22: note: include ‘’ or provide a declaration of ‘strlen’ gcc -I../include -g -DLINUX -c -o socks_ckcf.o socks_ckcf.c socks_ckcf.c: In function ‘socks_ckcf’: socks_ckcf.c:48:7: warning: implicit declaration of function ‘socks_ckadr’; did you mean ‘socks_ckcf’? [-Wimplicit-function-declaration] if (socks_ckadr(dstshp, cp->ddomain, &cp->daddr, &cp->dmask) && ^~~~~~~~~~~ socks_ckcf socks_ckcf.c:49:7: warning: implicit declaration of function ‘socks_ckusr’; did you mean ‘socks_ckcf’? [-Wimplicit-function-declaration] socks_ckusr(cp->userlist, srcshp->user, useSyslog) && ^~~~~~~~~~~ socks_ckcf socks_ckcf.c:50:7: warning: implicit declaration of function ‘socks_ckprt’; did you mean ‘socks_ckcf’? [-Wimplicit-function-declaration] socks_ckprt(cp->tst, dst_sin_port, cp->dport)) ^~~~~~~~~~~ socks_ckcf socks_ckcf.c:60:3: warning: implicit declaration of function ‘socks_shell_cmd’; did you mean ‘socks_check_addr’? [-Wimplicit-function-declaration] socks_shell_cmd(cp->cmdp, srcshp, dstshp); ^~~~~~~~~~~~~~~ socks_check_addr gcc -I../include -g -DLINUX -c -o socks_rdconf.o socks_rdconf.c socks_rdconf.c: In function ‘socks_rdconf’: socks_rdconf.c:39:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ socks_rdconf.c:39:3: warning: incompatible implicit declaration of built-in function ‘exit’ socks_rdconf.c:39:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:11:1: +#include socks_rdconf.c:39:3: exit(1); ^~~~ socks_rdconf.c:44:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(cp->userlist); ^~~~ socks_rdconf.c:44:4: warning: incompatible implicit declaration of built-in function ‘free’ socks_rdconf.c:44:4: note: include ‘’ or provide a declaration of ‘free’ socks_rdconf.c:46:4: warning: incompatible implicit declaration of built-in function ‘free’ free(cp->serverlist); ^~~~ socks_rdconf.c:46:4: note: include ‘’ or provide a declaration of ‘free’ socks_rdconf.c:48:4: warning: incompatible implicit declaration of built-in function ‘free’ free(cp->cmdp); ^~~~ socks_rdconf.c:48:4: note: include ‘’ or provide a declaration of ‘free’ socks_rdconf.c:50:4: warning: incompatible implicit declaration of built-in function ‘free’ free(cp->ddomain); ^~~~ socks_rdconf.c:50:4: note: include ‘’ or provide a declaration of ‘free’ socks_rdconf.c:53:3: warning: incompatible implicit declaration of built-in function ‘free’ free(*cfAddrPtr); ^~~~ socks_rdconf.c:53:3: note: include ‘’ or provide a declaration of ‘free’ socks_rdconf.c:56:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] cfAddr = (struct config *) malloc( maxcf * sizeof(struct config)); ^~~~~~ socks_rdconf.c:56:29: warning: incompatible implicit declaration of built-in function ‘malloc’ socks_rdconf.c:56:29: note: include ‘’ or provide a declaration of ‘malloc’ socks_rdconf.c:62:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:62:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:84:6: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:84:6: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:94:3: warning: implicit declaration of function ‘socks_mkargs’; did you mean ‘sockatmark’? [-Wimplicit-function-declaration] socks_mkargs(buf, &argc, argv, 10); ^~~~~~~~~~~~ sockatmark socks_rdconf.c:126:7: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:126:7: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:138:5: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:138:5: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:162:6: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:162:6: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:175:7: warning: implicit declaration of function ‘socks_GetAddr’; did you mean ‘socketpair’? [-Wimplicit-function-declaration] if (socks_GetAddr(argv[next_arg++], &cp->daddr, &cp->ddomain) == -1) { ^~~~~~~~~~~~~ socketpair socks_rdconf.c:183:7: warning: implicit declaration of function ‘socks_GetQuad’ [-Wimplicit-function-declaration] if (socks_GetQuad(argv[next_arg++], &cp->dmask) == -1) { ^~~~~~~~~~~~~ socks_rdconf.c:214:14: warning: implicit declaration of function ‘socks_GetPort’; did you mean ‘socks_rdconf’? [-Wimplicit-function-declaration] if (((p = socks_GetPort(argv[next_arg+1])) < 0) || ^~~~~~~~~~~~~ socks_rdconf socks_rdconf.c:231:31: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] cfAddr = (struct config *) realloc(cfAddr, maxcf * sizeof(struct config)); ^~~~~~~ socks_rdconf.c:231:31: warning: incompatible implicit declaration of built-in function ‘realloc’ socks_rdconf.c:231:31: note: include ‘’ or provide a declaration of ‘realloc’ socks_rdconf.c:237:5: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:237:5: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:251:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:251:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:254:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:254:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:256:30: warning: incompatible implicit declaration of built-in function ‘realloc’ cfAddr = (struct config *) realloc(cfAddr, Ncf * sizeof(struct config)); ^~~~~~~ socks_rdconf.c:256:30: note: include ‘’ or provide a declaration of ‘realloc’ gcc -I../include -g -DLINUX -c -o socks_rdfz.o socks_rdfz.c socks_rdfz.c: In function ‘socks_rdfz’: socks_rdfz.c:31:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ socks_rdfz.c:31:3: warning: incompatible implicit declaration of built-in function ‘exit’ socks_rdfz.c:31:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:11:1: +#include socks_rdfz.c:31:3: exit(1); ^~~~ socks_rdfz.c:34:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(*cfAddrPtr); ^~~~ socks_rdfz.c:34:3: warning: incompatible implicit declaration of built-in function ‘free’ socks_rdfz.c:34:3: note: include ‘’ or provide a declaration of ‘free’ socks_rdfz.c:36:3: warning: incompatible implicit declaration of built-in function ‘free’ free(*cfstrings); ^~~~ socks_rdfz.c:36:3: note: include ‘’ or provide a declaration of ‘free’ socks_rdfz.c:38:6: warning: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration] if (read(fd, &Ncf, sizeof(Ncf)) != sizeof(Ncf)) { ^~~~ fread socks_rdfz.c:43:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdfz.c:43:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:51:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdfz.c:51:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:54:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] cfAddr = (struct config *) malloc(Ncf * (sizeof(struct config))); ^~~~~~ socks_rdfz.c:54:29: warning: incompatible implicit declaration of built-in function ‘malloc’ socks_rdfz.c:54:29: note: include ‘’ or provide a declaration of ‘malloc’ socks_rdfz.c:60:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdfz.c:60:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:67:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdfz.c:67:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:72:3: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose socks_rdfz.c:80:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdfz.c:80:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:88:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdfz.c:88:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:95:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->userlist = startaddr + (int)cp->userlist; ^ socks_rdfz.c:97:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->serverlist = startaddr + (int)cp->serverlist; ^ socks_rdfz.c:99:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->sdomain = startaddr + (int)cp->sdomain; ^ socks_rdfz.c:101:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->ddomain = startaddr + (int)cp->ddomain; ^ socks_rdfz.c:103:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->cmdp = startaddr + (int)cp->cmdp; ^ gcc -I../include -g -DLINUX -c -o socks_wrfz.o socks_wrfz.c socks_wrfz.c: In function ‘socks_wrfz’: socks_wrfz.c:40:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] if ((stringarea = (char *)malloc(stringsize)) == NULL) { ^~~~~~ socks_wrfz.c:40:29: warning: incompatible implicit declaration of built-in function ‘malloc’ socks_wrfz.c:40:29: note: include ‘’ or provide a declaration of ‘malloc’ socks_wrfz.c:11:1: +#include socks_wrfz.c:40:29: if ((stringarea = (char *)malloc(stringsize)) == NULL) { ^~~~~~ socks_wrfz.c:45:4: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ socks_wrfz.c:45:4: warning: incompatible implicit declaration of built-in function ‘exit’ socks_wrfz.c:45:4: note: include ‘’ or provide a declaration of ‘exit’ socks_wrfz.c:83:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_wrfz.c:83:3: note: include ‘’ or provide a declaration of ‘exit’ socks_wrfz.c:85:6: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] if (write(fd, &Nconf, sizeof(Nconf)) != sizeof(Nconf)) { ^~~~~ fwrite socks_wrfz.c:90:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_wrfz.c:90:3: note: include ‘’ or provide a declaration of ‘exit’ socks_wrfz.c:97:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_wrfz.c:97:3: note: include ‘’ or provide a declaration of ‘exit’ socks_wrfz.c:104:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_wrfz.c:104:3: note: include ‘’ or provide a declaration of ‘exit’ socks_wrfz.c:111:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_wrfz.c:111:3: note: include ‘’ or provide a declaration of ‘exit’ gcc -I../include -g -DLINUX -c -o socks_dumpcf.o socks_dumpcf.c gcc -I../include -g -DLINUX -c -o sockd_dumpcf.o sockd_dumpcf.c gcc -I../include -g -DLINUX -c -o sockd_dumprt.o sockd_dumprt.c gcc -I../include -g -DLINUX -c -o sockd_rdconf.o sockd_rdconf.c sockd_rdconf.c: In function ‘sockd_rdconf’: sockd_rdconf.c:39:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ sockd_rdconf.c:39:3: warning: incompatible implicit declaration of built-in function ‘exit’ sockd_rdconf.c:39:3: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdconf.c:11:1: +#include sockd_rdconf.c:39:3: exit(1); ^~~~ sockd_rdconf.c:44:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(cp->userlist); ^~~~ sockd_rdconf.c:44:4: warning: incompatible implicit declaration of built-in function ‘free’ sockd_rdconf.c:44:4: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:46:4: warning: incompatible implicit declaration of built-in function ‘free’ free(cp->cmdp); ^~~~ sockd_rdconf.c:46:4: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:48:4: warning: incompatible implicit declaration of built-in function ‘free’ free(cp->sdomain); ^~~~ sockd_rdconf.c:48:4: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:50:4: warning: incompatible implicit declaration of built-in function ‘free’ free(cp->ddomain); ^~~~ sockd_rdconf.c:50:4: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:53:3: warning: incompatible implicit declaration of built-in function ‘free’ free(*cfAddrPtr); ^~~~ sockd_rdconf.c:53:3: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:55:3: warning: incompatible implicit declaration of built-in function ‘free’ free(*no_identd_cmd); ^~~~ sockd_rdconf.c:55:3: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:59:3: warning: incompatible implicit declaration of built-in function ‘free’ free(*bad_id_cmd); ^~~~ sockd_rdconf.c:59:3: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:64:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] cfAddr = (struct config *) malloc( maxcf * sizeof(struct config)); ^~~~~~ sockd_rdconf.c:64:29: warning: incompatible implicit declaration of built-in function ‘malloc’ sockd_rdconf.c:64:29: note: include ‘’ or provide a declaration of ‘malloc’ sockd_rdconf.c:107:3: warning: implicit declaration of function ‘socks_mkargs’; did you mean ‘sockatmark’? [-Wimplicit-function-declaration] socks_mkargs(buf, &argc, argv, 10); ^~~~~~~~~~~~ sockatmark sockd_rdconf.c:116:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdconf.c:116:4: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdconf.c:175:7: warning: implicit declaration of function ‘socks_GetAddr’; did you mean ‘socketpair’? [-Wimplicit-function-declaration] if (socks_GetAddr(argv[next_arg++], &cp->saddr, &cp->sdomain) == -1){ ^~~~~~~~~~~~~ socketpair sockd_rdconf.c:178:7: warning: implicit declaration of function ‘socks_GetQuad’ [-Wimplicit-function-declaration] if (socks_GetQuad(argv[next_arg++], &cp->smask) == -1) { ^~~~~~~~~~~~~ sockd_rdconf.c:232:14: warning: implicit declaration of function ‘socks_GetPort’ [-Wimplicit-function-declaration] if (((p = socks_GetPort(argv[next_arg+1])) < 0) || ^~~~~~~~~~~~~ sockd_rdconf.c:250:31: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] cfAddr = (struct config *) realloc(cfAddr, maxcf * sizeof(struct config)); ^~~~~~~ sockd_rdconf.c:250:31: warning: incompatible implicit declaration of built-in function ‘realloc’ sockd_rdconf.c:250:31: note: include ‘’ or provide a declaration of ‘realloc’ sockd_rdconf.c:264:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdconf.c:264:3: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdconf.c:267:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdconf.c:267:3: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdconf.c:269:30: warning: incompatible implicit declaration of built-in function ‘realloc’ cfAddr = (struct config *) realloc(cfAddr, Ncf * sizeof(struct config)); ^~~~~~~ sockd_rdconf.c:269:30: note: include ‘’ or provide a declaration of ‘realloc’ sockd_rdconf.c:279:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdconf.c:279:2: note: include ‘’ or provide a declaration of ‘exit’ gcc -I../include -g -DLINUX -c -o sockd_rdroute.o sockd_rdroute.c sockd_rdroute.c: In function ‘sockd_rdroute’: sockd_rdroute.c:38:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ sockd_rdroute.c:38:3: warning: incompatible implicit declaration of built-in function ‘exit’ sockd_rdroute.c:38:3: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdroute.c:12:1: +#include sockd_rdroute.c:38:3: exit(1); ^~~~ sockd_rdroute.c:43:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(cp->ddomain); ^~~~ sockd_rdroute.c:43:4: warning: incompatible implicit declaration of built-in function ‘free’ sockd_rdroute.c:43:4: note: include ‘’ or provide a declaration of ‘free’ sockd_rdroute.c:46:3: warning: incompatible implicit declaration of built-in function ‘free’ free(*rtAddrPtr); ^~~~ sockd_rdroute.c:46:3: note: include ‘’ or provide a declaration of ‘free’ sockd_rdroute.c:49:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] rtAddr = (struct config *) malloc( maxrt * sizeof(struct config)); ^~~~~~ sockd_rdroute.c:49:29: warning: incompatible implicit declaration of built-in function ‘malloc’ sockd_rdroute.c:49:29: note: include ‘’ or provide a declaration of ‘malloc’ sockd_rdroute.c:78:3: warning: implicit declaration of function ‘socks_mkargs’; did you mean ‘sockatmark’? [-Wimplicit-function-declaration] socks_mkargs(buf, &argc, argv, 10); ^~~~~~~~~~~~ sockatmark sockd_rdroute.c:87:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdroute.c:87:4: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdroute.c:90:7: warning: implicit declaration of function ‘socks_GetQuad’ [-Wimplicit-function-declaration] if (socks_GetQuad(argv[0], &cp->saddr) == -1) { ^~~~~~~~~~~~~ sockd_rdroute.c:98:7: warning: implicit declaration of function ‘socks_GetAddr’; did you mean ‘socketpair’? [-Wimplicit-function-declaration] if (socks_GetAddr(argv[1], &cp->daddr, &cp->ddomain) == -1){ ^~~~~~~~~~~~~ socketpair sockd_rdroute.c:113:31: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] rtAddr = (struct config *) realloc(rtAddr, maxrt * sizeof(struct config)); ^~~~~~~ sockd_rdroute.c:113:31: warning: incompatible implicit declaration of built-in function ‘realloc’ sockd_rdroute.c:113:31: note: include ‘’ or provide a declaration of ‘realloc’ sockd_rdroute.c:127:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdroute.c:127:3: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdroute.c:130:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdroute.c:130:3: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdroute.c:132:30: warning: incompatible implicit declaration of built-in function ‘realloc’ rtAddr = (struct config *) realloc(rtAddr, Nrt * sizeof(struct config)); ^~~~~~~ sockd_rdroute.c:132:30: note: include ‘’ or provide a declaration of ‘realloc’ sockd_rdroute.c:142:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdroute.c:142:2: note: include ‘’ or provide a declaration of ‘exit’ gcc -I../include -g -DLINUX -c -o getpass.o getpass.c getpass.c: In function ‘getpass’: getpass.c:94:2: warning: ‘sigblock’ is deprecated [-Wdeprecated-declarations] omask = sigblock(sigmask(SIGINT)); ^~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/signal.h:1, from getpass.c:44: /usr/include/signal.h:170:12: note: declared here extern int sigblock (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~ getpass.c:109:8: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] (void)write(fileno(outfp), "\n", 1); ^~~~~ fwrite getpass.c:124:2: warning: ‘sigsetmask’ is deprecated [-Wdeprecated-declarations] (void)sigsetmask(omask); ^ In file included from /usr/include/x86_64-linux-gnu/sys/signal.h:1, from getpass.c:44: /usr/include/signal.h:173:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~~~ rm -f libsocks.a ar rc libsocks.a Rconnect.o SendGetDst.o porttoserv.o utils.o Rbind.o Rgethostbyname.o Rselect.o null_syslog.o shell_cmd.o socks_ckcf.o socks_rdconf.o socks_rdfz.o socks_wrfz.o socks_dumpcf.o sockd_dumpcf.o sockd_dumprt.o sockd_rdconf.o sockd_rdroute.o getpass.o ranlib libsocks.a gcc -fPIC -I../include -g -DLINUX -c -o Rconnect.lo Rconnect.c Rconnect.c: In function ‘SOCKSinit’: Rconnect.c:124:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ Rconnect.c:106:5: note: declared here int SOCKSinit(Progname) ^~~~~~~~~ Rconnect.c:144:2: warning: implicit declaration of function ‘gethostname’; did you mean ‘gethostbyname’? [-Wimplicit-function-declaration] gethostname(socks_src_name, sizeof(socks_src_name)); ^~~~~~~~~~~ gethostbyname Rconnect.c:145:6: warning: implicit declaration of function ‘socks_host’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] if (socks_host(socks_src_name, &socks_srcsh) < 0) { ^~~~~~~~~~ socks_cmd Rconnect.c:150:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ Rconnect.c:150:3: warning: incompatible implicit declaration of built-in function ‘exit’ Rconnect.c:150:3: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:37:1: +#include Rconnect.c:150:3: exit(1); ^~~~ Rconnect.c:157:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ Rconnect.c:157:3: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:165:25: warning: implicit declaration of function ‘geteuid’; did you mean ‘getpwuid’? [-Wimplicit-function-declaration] if ((pw = getpwuid(uid=geteuid())) == NULL) { ^~~~~~~ getpwuid Rconnect.c:170:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ Rconnect.c:170:3: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:260:10: warning: implicit declaration of function ‘socks_rdfz’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] socks_rdfz(SOCKS_FC, &scfAddr, &Nscf, &cfStrings, socks_useSyslog); ^~~~~~~~~~ socks_cmd Rconnect.c:262:10: warning: implicit declaration of function ‘socks_rdconf’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] socks_rdconf(SOCKS_CONF, &scfAddr, &Nscf, socks_useSyslog); ^~~~~~~~~~~~ socks_cmd Rconnect.c: In function ‘socks_connect_sockd’: Rconnect.c:283:7: warning: implicit declaration of function ‘socks_GetQuad’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] if (socks_GetQuad(socks_server, &socks_nsin.sin_addr) != -1) { ^~~~~~~~~~~~~ socks_cmd Rconnect.c:298:9: warning: implicit declaration of function ‘dup2’ [-Wimplicit-function-declaration] if (dup2(new_sock, sock) < 0) { ^~~~ Rconnect.c:299:6: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] close(new_sock); ^~~~~ pclose Rconnect.c: In function ‘send_name’: Rconnect.c:353:11: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] if((n = write(s, p, i)) <= 0) { ^~~~~ fwrite Rconnect.c: In function ‘socksC_proto’: Rconnect.c:371:13: warning: implicit declaration of function ‘socks_SendDst’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] if ((sta = socks_SendDst(s, dst)) < 0) { ^~~~~~~~~~~~~ socks_cmd Rconnect.c:397:13: warning: implicit declaration of function ‘socks_GetDst’; did you mean ‘socket’? [-Wimplicit-function-declaration] if ((sta = socks_GetDst(s, dst)) < 0) { ^~~~~~~~~~~~ socket Rconnect.c: In function ‘quit_C_proto’: Rconnect.c:409:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(SOCKS_FAIL); ^~~~ Rconnect.c:409:2: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c: In function ‘do_C_proto’: Rconnect.c:420:2: warning: implicit declaration of function ‘alarm’ [-Wimplicit-function-declaration] alarm(CLIENT_CONN_TIMEOUT); ^~~~~ Rconnect.c:427:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(SOCKS_FAIL); ^~~~ Rconnect.c:427:3: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:432:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(dst.cmd); ^~~~ Rconnect.c:432:3: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:434:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(SOCKS_RESULT); ^~~~ Rconnect.c:434:2: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c: In function ‘Rconnect’: Rconnect.c:465:7: warning: implicit declaration of function ‘socks_IPtohost’; did you mean ‘socksC_proto’? [-Wimplicit-function-declaration] if (socks_IPtohost(&sin->sin_addr, &socks_dstsh) < 0) { ^~~~~~~~~~~~~~ socksC_proto Rconnect.c:470:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ Rconnect.c:470:4: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:538:18: warning: implicit declaration of function ‘socks_ckcf’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] socks_direct = socks_ckcf(&socks_srcsh, &socks_dstsh, scfAddr, Nscf, socks_useSyslog); ^~~~~~~~~~ socks_cmd Rconnect.c:581:22: warning: implicit declaration of function ‘fork’ [-Wimplicit-function-declaration] switch (child_pid = fork()) { ^~~~ gcc -fPIC -I../include -g -DLINUX -c -o SendGetDst.lo SendGetDst.c SendGetDst.c: In function ‘socks_SendDst’: SendGetDst.c:32:2: warning: implicit declaration of function ‘bcopy’ [-Wimplicit-function-declaration] bcopy(&dst->port, c+2, sizeof(dst->port)); ^~~~~ SendGetDst.c:32:2: warning: incompatible implicit declaration of built-in function ‘bcopy’ SendGetDst.c:52:11: warning: implicit declaration of function ‘write’ [-Wimplicit-function-declaration] if((n = write(s, p, i)) > 0) { ^~~~~ SendGetDst.c: In function ‘socks_GetDst’: SendGetDst.c:95:11: warning: implicit declaration of function ‘read’; did you mean ‘recv’? [-Wimplicit-function-declaration] if((n = read(s, p, i)) > 0) { ^~~~ recv SendGetDst.c:110:2: warning: incompatible implicit declaration of built-in function ‘bcopy’ bcopy(c+2, &dst->port, sizeof(dst->port)); ^~~~~ gcc -fPIC -I../include -g -DLINUX -c -o porttoserv.lo porttoserv.c porttoserv.c: In function ‘socks_porttoserv’: porttoserv.c:17:3: warning: implicit declaration of function ‘strncpy’ [-Wimplicit-function-declaration] strncpy(name, serv->s_name, namelen); ^~~~~~~ porttoserv.c:17:3: warning: incompatible implicit declaration of built-in function ‘strncpy’ porttoserv.c:17:3: note: include ‘’ or provide a declaration of ‘strncpy’ porttoserv.c:7:1: +#include porttoserv.c:17:3: strncpy(name, serv->s_name, namelen); ^~~~~~~ porttoserv.c:19:3: warning: implicit declaration of function ‘sprintf’ [-Wimplicit-function-declaration] sprintf(name, "%u", port); ^~~~~~~ porttoserv.c:19:3: warning: incompatible implicit declaration of built-in function ‘sprintf’ porttoserv.c:19:3: note: include ‘’ or provide a declaration of ‘sprintf’ porttoserv.c:7:1: +#include porttoserv.c:19:3: sprintf(name, "%u", port); ^~~~~~~ gcc -fPIC -I../include -g -DLINUX -c -o utils.lo utils.c utils.c: In function ‘socks_GetAddr’: utils.c:80:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(*domain); ^~~~ utils.c:80:3: warning: incompatible implicit declaration of built-in function ‘free’ utils.c:80:3: note: include ‘’ or provide a declaration of ‘free’ utils.c:18:1: +#include utils.c:80:3: free(*domain); ^~~~ utils.c: In function ‘socks_GetPort’: utils.c:103:9: warning: implicit declaration of function ‘atol’; did you mean ‘htonl’? [-Wimplicit-function-declaration] return atol(name); ^~~~ htonl utils.c: In function ‘socks_IPtohost’: utils.c:119:4: warning: incompatible implicit declaration of built-in function ‘free’ free(shp->dmname[i]); ^~~~ utils.c:119:4: note: include ‘’ or provide a declaration of ‘free’ utils.c:141:2: warning: incompatible implicit declaration of built-in function ‘free’ free(name); ^~~~ utils.c:141:2: note: include ‘’ or provide a declaration of ‘free’ utils.c: In function ‘socks_host’: utils.c:193:4: warning: incompatible implicit declaration of built-in function ‘free’ free(shp->dmname[i]); ^~~~ utils.c:193:4: note: include ‘’ or provide a declaration of ‘free’ gcc -fPIC -I../include -g -DLINUX -c -o Rbind.lo Rbind.c Rbind.c:48:1: warning: return type defaults to ‘int’ [-Wimplicit-int] Rbind(sock, sin, size) ^~~~~ Rbind.c:151:1: warning: return type defaults to ‘int’ [-Wimplicit-int] Rlisten(s, n) ^~~~~~~ Rbind.c:163:1: warning: return type defaults to ‘int’ [-Wimplicit-int] Rgetsockname(sock, sin, size) ^~~~~~~~~~~~ Rbind.c:181:1: warning: return type defaults to ‘int’ [-Wimplicit-int] Raccept(sock, sin, size) ^~~~~~~ Rbind.c: In function ‘Raccept’: Rbind.c:197:32: warning: implicit declaration of function ‘socks_GetDst’; did you mean ‘socks_ckcf’? [-Wimplicit-function-declaration] if (FD_ISSET(sock, &fds) && (socks_GetDst(sock, &dst) >= 0)) { ^~~~~~~~~~~~ socks_ckcf Rbind.c:201:11: warning: implicit declaration of function ‘dup’ [-Wimplicit-function-declaration] return(dup(sock)); ^~~ gcc -fPIC -I../include -g -DLINUX -c -o Rgethostbyname.lo Rgethostbyname.c Rgethostbyname.c: In function ‘Rgethostbyname’: Rgethostbyname.c:111:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(hr->h_name); ^~~~ Rgethostbyname.c:111:3: warning: incompatible implicit declaration of built-in function ‘free’ Rgethostbyname.c:111:3: note: include ‘’ or provide a declaration of ‘free’ Rgethostbyname.c:19:1: +#include Rgethostbyname.c:111:3: free(hr->h_name); ^~~~ Rgethostbyname.c:126:3: warning: incompatible implicit declaration of built-in function ‘free’ free(hr->h_name); ^~~~ Rgethostbyname.c:126:3: note: include ‘’ or provide a declaration of ‘free’ Rgethostbyname.c:145:25: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] if ((halist = (char *)malloc(cl)) == NULL) { ^~~~~~ Rgethostbyname.c:145:25: warning: incompatible implicit declaration of built-in function ‘malloc’ Rgethostbyname.c:145:25: note: include ‘’ or provide a declaration of ‘malloc’ Rgethostbyname.c:154:26: warning: incompatible implicit declaration of built-in function ‘malloc’ if (((harray = (char **)malloc(naliases * sizeof(iplist))) == NULL) || ^~~~~~ Rgethostbyname.c:154:26: note: include ‘’ or provide a declaration of ‘malloc’ Rgethostbyname.c:186:2: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ Rgethostbyname.c:186:2: warning: incompatible implicit declaration of built-in function ‘exit’ Rgethostbyname.c:186:2: note: include ‘’ or provide a declaration of ‘exit’ gcc -fPIC -I../include -g -DLINUX -c -o Rselect.lo Rselect.c gcc -fPIC -I../include -g -DLINUX -c -o null_syslog.lo null_syslog.c null_syslog.c:22:1: warning: return type defaults to ‘int’ [-Wimplicit-int] socks_0openlog(ident, log_opt, fac) ^~~~~~~~~~~~~~ null_syslog.c:30:1: warning: return type defaults to ‘int’ [-Wimplicit-int] socks_0closelog() ^~~~~~~~~~~~~~~ null_syslog.c:35:9: warning: return type defaults to ‘int’ [-Wimplicit-int] VARARGS(socks_0syslog, int, prio) ^~~~~~~~~~~~~ null_syslog.c:12:32: note: in definition of macro ‘VARARGS’ #define VARARGS(func,type,arg) func(type arg, ...) ^~~~ gcc -fPIC -I../include -g -DLINUX -c -o shell_cmd.lo shell_cmd.c shell_cmd.c: In function ‘socks_shell_cmd’: shell_cmd.c:68:26: warning: implicit declaration of function ‘getpid’; did you mean ‘fgetpos’? [-Wimplicit-function-declaration] int daemon_pid = getpid(); ^~~~~~ fgetpos shell_cmd.c:71:9: warning: implicit declaration of function ‘strpbrk’ [-Wimplicit-function-declaration] if (strpbrk(cmd, alpha_num) == NULL) { ^~~~~~~ shell_cmd.c:71:9: warning: incompatible implicit declaration of built-in function ‘strpbrk’ shell_cmd.c:71:9: note: include ‘’ or provide a declaration of ‘strpbrk’ shell_cmd.c:33:1: +#include shell_cmd.c:71:9: if (strpbrk(cmd, alpha_num) == NULL) { ^~~~~~~ shell_cmd.c:81:25: warning: implicit declaration of function ‘fork’ [-Wimplicit-function-declaration] switch (child_pid = fork()) { ^~~~ shell_cmd.c:89:21: warning: implicit declaration of function ‘wait’; did you mean ‘exit’? [-Wimplicit-function-declaration] while ((wait_pid = wait((int *) 0)) != -1 && wait_pid != child_pid) ^~~~ exit shell_cmd.c: In function ‘do_child’: shell_cmd.c:110:9: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] (void) close(tmp_fd); ^~~~~ pclose shell_cmd.c:114:9: warning: implicit declaration of function ‘open’; did you mean ‘popen’? [-Wimplicit-function-declaration] if (open("/dev/null", 2) != 0) { ^~~~ popen shell_cmd.c:116:16: warning: implicit declaration of function ‘dup’ [-Wimplicit-function-declaration] } else if (dup(0) != 1 || dup(0) != 2) { ^~~ shell_cmd.c:119:9: warning: implicit declaration of function ‘execl’ [-Wimplicit-function-declaration] (void) execl("/bin/sh", "sh", "-c", command, (char *) 0); ^~~~~ shell_cmd.c:119:9: warning: incompatible implicit declaration of built-in function ‘execl’ shell_cmd.c: In function ‘percent_x’: shell_cmd.c:206:22: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] expansion_len = strlen(expansion); ^~~~~~ shell_cmd.c:206:22: warning: incompatible implicit declaration of built-in function ‘strlen’ shell_cmd.c:206:22: note: include ‘’ or provide a declaration of ‘strlen’ gcc -fPIC -I../include -g -DLINUX -c -o socks_ckcf.lo socks_ckcf.c socks_ckcf.c: In function ‘socks_ckcf’: socks_ckcf.c:48:7: warning: implicit declaration of function ‘socks_ckadr’; did you mean ‘socks_ckcf’? [-Wimplicit-function-declaration] if (socks_ckadr(dstshp, cp->ddomain, &cp->daddr, &cp->dmask) && ^~~~~~~~~~~ socks_ckcf socks_ckcf.c:49:7: warning: implicit declaration of function ‘socks_ckusr’; did you mean ‘socks_ckcf’? [-Wimplicit-function-declaration] socks_ckusr(cp->userlist, srcshp->user, useSyslog) && ^~~~~~~~~~~ socks_ckcf socks_ckcf.c:50:7: warning: implicit declaration of function ‘socks_ckprt’; did you mean ‘socks_ckcf’? [-Wimplicit-function-declaration] socks_ckprt(cp->tst, dst_sin_port, cp->dport)) ^~~~~~~~~~~ socks_ckcf socks_ckcf.c:60:3: warning: implicit declaration of function ‘socks_shell_cmd’; did you mean ‘socks_check_addr’? [-Wimplicit-function-declaration] socks_shell_cmd(cp->cmdp, srcshp, dstshp); ^~~~~~~~~~~~~~~ socks_check_addr gcc -fPIC -I../include -g -DLINUX -c -o socks_rdconf.lo socks_rdconf.c socks_rdconf.c: In function ‘socks_rdconf’: socks_rdconf.c:39:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ socks_rdconf.c:39:3: warning: incompatible implicit declaration of built-in function ‘exit’ socks_rdconf.c:39:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:11:1: +#include socks_rdconf.c:39:3: exit(1); ^~~~ socks_rdconf.c:44:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(cp->userlist); ^~~~ socks_rdconf.c:44:4: warning: incompatible implicit declaration of built-in function ‘free’ socks_rdconf.c:44:4: note: include ‘’ or provide a declaration of ‘free’ socks_rdconf.c:46:4: warning: incompatible implicit declaration of built-in function ‘free’ free(cp->serverlist); ^~~~ socks_rdconf.c:46:4: note: include ‘’ or provide a declaration of ‘free’ socks_rdconf.c:48:4: warning: incompatible implicit declaration of built-in function ‘free’ free(cp->cmdp); ^~~~ socks_rdconf.c:48:4: note: include ‘’ or provide a declaration of ‘free’ socks_rdconf.c:50:4: warning: incompatible implicit declaration of built-in function ‘free’ free(cp->ddomain); ^~~~ socks_rdconf.c:50:4: note: include ‘’ or provide a declaration of ‘free’ socks_rdconf.c:53:3: warning: incompatible implicit declaration of built-in function ‘free’ free(*cfAddrPtr); ^~~~ socks_rdconf.c:53:3: note: include ‘’ or provide a declaration of ‘free’ socks_rdconf.c:56:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] cfAddr = (struct config *) malloc( maxcf * sizeof(struct config)); ^~~~~~ socks_rdconf.c:56:29: warning: incompatible implicit declaration of built-in function ‘malloc’ socks_rdconf.c:56:29: note: include ‘’ or provide a declaration of ‘malloc’ socks_rdconf.c:62:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:62:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:84:6: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:84:6: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:94:3: warning: implicit declaration of function ‘socks_mkargs’; did you mean ‘sockatmark’? [-Wimplicit-function-declaration] socks_mkargs(buf, &argc, argv, 10); ^~~~~~~~~~~~ sockatmark socks_rdconf.c:126:7: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:126:7: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:138:5: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:138:5: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:162:6: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:162:6: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:175:7: warning: implicit declaration of function ‘socks_GetAddr’; did you mean ‘socketpair’? [-Wimplicit-function-declaration] if (socks_GetAddr(argv[next_arg++], &cp->daddr, &cp->ddomain) == -1) { ^~~~~~~~~~~~~ socketpair socks_rdconf.c:183:7: warning: implicit declaration of function ‘socks_GetQuad’ [-Wimplicit-function-declaration] if (socks_GetQuad(argv[next_arg++], &cp->dmask) == -1) { ^~~~~~~~~~~~~ socks_rdconf.c:214:14: warning: implicit declaration of function ‘socks_GetPort’; did you mean ‘socks_rdconf’? [-Wimplicit-function-declaration] if (((p = socks_GetPort(argv[next_arg+1])) < 0) || ^~~~~~~~~~~~~ socks_rdconf socks_rdconf.c:231:31: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] cfAddr = (struct config *) realloc(cfAddr, maxcf * sizeof(struct config)); ^~~~~~~ socks_rdconf.c:231:31: warning: incompatible implicit declaration of built-in function ‘realloc’ socks_rdconf.c:231:31: note: include ‘’ or provide a declaration of ‘realloc’ socks_rdconf.c:237:5: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:237:5: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:251:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:251:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:254:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdconf.c:254:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdconf.c:256:30: warning: incompatible implicit declaration of built-in function ‘realloc’ cfAddr = (struct config *) realloc(cfAddr, Ncf * sizeof(struct config)); ^~~~~~~ socks_rdconf.c:256:30: note: include ‘’ or provide a declaration of ‘realloc’ gcc -fPIC -I../include -g -DLINUX -c -o socks_rdfz.lo socks_rdfz.c socks_rdfz.c: In function ‘socks_rdfz’: socks_rdfz.c:31:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ socks_rdfz.c:31:3: warning: incompatible implicit declaration of built-in function ‘exit’ socks_rdfz.c:31:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:11:1: +#include socks_rdfz.c:31:3: exit(1); ^~~~ socks_rdfz.c:34:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(*cfAddrPtr); ^~~~ socks_rdfz.c:34:3: warning: incompatible implicit declaration of built-in function ‘free’ socks_rdfz.c:34:3: note: include ‘’ or provide a declaration of ‘free’ socks_rdfz.c:36:3: warning: incompatible implicit declaration of built-in function ‘free’ free(*cfstrings); ^~~~ socks_rdfz.c:36:3: note: include ‘’ or provide a declaration of ‘free’ socks_rdfz.c:38:6: warning: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration] if (read(fd, &Ncf, sizeof(Ncf)) != sizeof(Ncf)) { ^~~~ fread socks_rdfz.c:43:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdfz.c:43:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:51:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdfz.c:51:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:54:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] cfAddr = (struct config *) malloc(Ncf * (sizeof(struct config))); ^~~~~~ socks_rdfz.c:54:29: warning: incompatible implicit declaration of built-in function ‘malloc’ socks_rdfz.c:54:29: note: include ‘’ or provide a declaration of ‘malloc’ socks_rdfz.c:60:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdfz.c:60:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:67:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdfz.c:67:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:72:3: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose socks_rdfz.c:80:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdfz.c:80:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:88:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_rdfz.c:88:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:95:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->userlist = startaddr + (int)cp->userlist; ^ socks_rdfz.c:97:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->serverlist = startaddr + (int)cp->serverlist; ^ socks_rdfz.c:99:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->sdomain = startaddr + (int)cp->sdomain; ^ socks_rdfz.c:101:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->ddomain = startaddr + (int)cp->ddomain; ^ socks_rdfz.c:103:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->cmdp = startaddr + (int)cp->cmdp; ^ gcc -fPIC -I../include -g -DLINUX -c -o socks_wrfz.lo socks_wrfz.c socks_wrfz.c: In function ‘socks_wrfz’: socks_wrfz.c:40:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] if ((stringarea = (char *)malloc(stringsize)) == NULL) { ^~~~~~ socks_wrfz.c:40:29: warning: incompatible implicit declaration of built-in function ‘malloc’ socks_wrfz.c:40:29: note: include ‘’ or provide a declaration of ‘malloc’ socks_wrfz.c:11:1: +#include socks_wrfz.c:40:29: if ((stringarea = (char *)malloc(stringsize)) == NULL) { ^~~~~~ socks_wrfz.c:45:4: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ socks_wrfz.c:45:4: warning: incompatible implicit declaration of built-in function ‘exit’ socks_wrfz.c:45:4: note: include ‘’ or provide a declaration of ‘exit’ socks_wrfz.c:83:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_wrfz.c:83:3: note: include ‘’ or provide a declaration of ‘exit’ socks_wrfz.c:85:6: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] if (write(fd, &Nconf, sizeof(Nconf)) != sizeof(Nconf)) { ^~~~~ fwrite socks_wrfz.c:90:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_wrfz.c:90:3: note: include ‘’ or provide a declaration of ‘exit’ socks_wrfz.c:97:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_wrfz.c:97:3: note: include ‘’ or provide a declaration of ‘exit’ socks_wrfz.c:104:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_wrfz.c:104:3: note: include ‘’ or provide a declaration of ‘exit’ socks_wrfz.c:111:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ socks_wrfz.c:111:3: note: include ‘’ or provide a declaration of ‘exit’ gcc -fPIC -I../include -g -DLINUX -c -o socks_dumpcf.lo socks_dumpcf.c gcc -fPIC -I../include -g -DLINUX -c -o sockd_dumpcf.lo sockd_dumpcf.c gcc -fPIC -I../include -g -DLINUX -c -o sockd_dumprt.lo sockd_dumprt.c gcc -fPIC -I../include -g -DLINUX -c -o sockd_rdconf.lo sockd_rdconf.c sockd_rdconf.c: In function ‘sockd_rdconf’: sockd_rdconf.c:39:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ sockd_rdconf.c:39:3: warning: incompatible implicit declaration of built-in function ‘exit’ sockd_rdconf.c:39:3: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdconf.c:11:1: +#include sockd_rdconf.c:39:3: exit(1); ^~~~ sockd_rdconf.c:44:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(cp->userlist); ^~~~ sockd_rdconf.c:44:4: warning: incompatible implicit declaration of built-in function ‘free’ sockd_rdconf.c:44:4: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:46:4: warning: incompatible implicit declaration of built-in function ‘free’ free(cp->cmdp); ^~~~ sockd_rdconf.c:46:4: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:48:4: warning: incompatible implicit declaration of built-in function ‘free’ free(cp->sdomain); ^~~~ sockd_rdconf.c:48:4: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:50:4: warning: incompatible implicit declaration of built-in function ‘free’ free(cp->ddomain); ^~~~ sockd_rdconf.c:50:4: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:53:3: warning: incompatible implicit declaration of built-in function ‘free’ free(*cfAddrPtr); ^~~~ sockd_rdconf.c:53:3: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:55:3: warning: incompatible implicit declaration of built-in function ‘free’ free(*no_identd_cmd); ^~~~ sockd_rdconf.c:55:3: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:59:3: warning: incompatible implicit declaration of built-in function ‘free’ free(*bad_id_cmd); ^~~~ sockd_rdconf.c:59:3: note: include ‘’ or provide a declaration of ‘free’ sockd_rdconf.c:64:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] cfAddr = (struct config *) malloc( maxcf * sizeof(struct config)); ^~~~~~ sockd_rdconf.c:64:29: warning: incompatible implicit declaration of built-in function ‘malloc’ sockd_rdconf.c:64:29: note: include ‘’ or provide a declaration of ‘malloc’ sockd_rdconf.c:107:3: warning: implicit declaration of function ‘socks_mkargs’; did you mean ‘sockatmark’? [-Wimplicit-function-declaration] socks_mkargs(buf, &argc, argv, 10); ^~~~~~~~~~~~ sockatmark sockd_rdconf.c:116:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdconf.c:116:4: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdconf.c:175:7: warning: implicit declaration of function ‘socks_GetAddr’; did you mean ‘socketpair’? [-Wimplicit-function-declaration] if (socks_GetAddr(argv[next_arg++], &cp->saddr, &cp->sdomain) == -1){ ^~~~~~~~~~~~~ socketpair sockd_rdconf.c:178:7: warning: implicit declaration of function ‘socks_GetQuad’ [-Wimplicit-function-declaration] if (socks_GetQuad(argv[next_arg++], &cp->smask) == -1) { ^~~~~~~~~~~~~ sockd_rdconf.c:232:14: warning: implicit declaration of function ‘socks_GetPort’ [-Wimplicit-function-declaration] if (((p = socks_GetPort(argv[next_arg+1])) < 0) || ^~~~~~~~~~~~~ sockd_rdconf.c:250:31: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] cfAddr = (struct config *) realloc(cfAddr, maxcf * sizeof(struct config)); ^~~~~~~ sockd_rdconf.c:250:31: warning: incompatible implicit declaration of built-in function ‘realloc’ sockd_rdconf.c:250:31: note: include ‘’ or provide a declaration of ‘realloc’ sockd_rdconf.c:264:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdconf.c:264:3: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdconf.c:267:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdconf.c:267:3: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdconf.c:269:30: warning: incompatible implicit declaration of built-in function ‘realloc’ cfAddr = (struct config *) realloc(cfAddr, Ncf * sizeof(struct config)); ^~~~~~~ sockd_rdconf.c:269:30: note: include ‘’ or provide a declaration of ‘realloc’ sockd_rdconf.c:279:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdconf.c:279:2: note: include ‘’ or provide a declaration of ‘exit’ gcc -fPIC -I../include -g -DLINUX -c -o sockd_rdroute.lo sockd_rdroute.c sockd_rdroute.c: In function ‘sockd_rdroute’: sockd_rdroute.c:38:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ sockd_rdroute.c:38:3: warning: incompatible implicit declaration of built-in function ‘exit’ sockd_rdroute.c:38:3: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdroute.c:12:1: +#include sockd_rdroute.c:38:3: exit(1); ^~~~ sockd_rdroute.c:43:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(cp->ddomain); ^~~~ sockd_rdroute.c:43:4: warning: incompatible implicit declaration of built-in function ‘free’ sockd_rdroute.c:43:4: note: include ‘’ or provide a declaration of ‘free’ sockd_rdroute.c:46:3: warning: incompatible implicit declaration of built-in function ‘free’ free(*rtAddrPtr); ^~~~ sockd_rdroute.c:46:3: note: include ‘’ or provide a declaration of ‘free’ sockd_rdroute.c:49:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] rtAddr = (struct config *) malloc( maxrt * sizeof(struct config)); ^~~~~~ sockd_rdroute.c:49:29: warning: incompatible implicit declaration of built-in function ‘malloc’ sockd_rdroute.c:49:29: note: include ‘’ or provide a declaration of ‘malloc’ sockd_rdroute.c:78:3: warning: implicit declaration of function ‘socks_mkargs’; did you mean ‘sockatmark’? [-Wimplicit-function-declaration] socks_mkargs(buf, &argc, argv, 10); ^~~~~~~~~~~~ sockatmark sockd_rdroute.c:87:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdroute.c:87:4: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdroute.c:90:7: warning: implicit declaration of function ‘socks_GetQuad’ [-Wimplicit-function-declaration] if (socks_GetQuad(argv[0], &cp->saddr) == -1) { ^~~~~~~~~~~~~ sockd_rdroute.c:98:7: warning: implicit declaration of function ‘socks_GetAddr’; did you mean ‘socketpair’? [-Wimplicit-function-declaration] if (socks_GetAddr(argv[1], &cp->daddr, &cp->ddomain) == -1){ ^~~~~~~~~~~~~ socketpair sockd_rdroute.c:113:31: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] rtAddr = (struct config *) realloc(rtAddr, maxrt * sizeof(struct config)); ^~~~~~~ sockd_rdroute.c:113:31: warning: incompatible implicit declaration of built-in function ‘realloc’ sockd_rdroute.c:113:31: note: include ‘’ or provide a declaration of ‘realloc’ sockd_rdroute.c:127:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdroute.c:127:3: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdroute.c:130:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdroute.c:130:3: note: include ‘’ or provide a declaration of ‘exit’ sockd_rdroute.c:132:30: warning: incompatible implicit declaration of built-in function ‘realloc’ rtAddr = (struct config *) realloc(rtAddr, Nrt * sizeof(struct config)); ^~~~~~~ sockd_rdroute.c:132:30: note: include ‘’ or provide a declaration of ‘realloc’ sockd_rdroute.c:142:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd_rdroute.c:142:2: note: include ‘’ or provide a declaration of ‘exit’ gcc -fPIC -I../include -g -DLINUX -c -o getpass.lo getpass.c getpass.c: In function ‘getpass’: getpass.c:94:2: warning: ‘sigblock’ is deprecated [-Wdeprecated-declarations] omask = sigblock(sigmask(SIGINT)); ^~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/signal.h:1, from getpass.c:44: /usr/include/signal.h:170:12: note: declared here extern int sigblock (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~ getpass.c:109:8: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] (void)write(fileno(outfp), "\n", 1); ^~~~~ fwrite getpass.c:124:2: warning: ‘sigsetmask’ is deprecated [-Wdeprecated-declarations] (void)sigsetmask(omask); ^ In file included from /usr/include/x86_64-linux-gnu/sys/signal.h:1, from getpass.c:44: /usr/include/signal.h:173:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~~~ rm -f libsocks.so.4.3 gcc -shared -o libsocks.so.4.3 -Wl,-soname,libsocks.so.4 -Wl,--whole-archive Rconnect.lo SendGetDst.lo porttoserv.lo utils.lo Rbind.lo Rgethostbyname.lo Rselect.lo null_syslog.lo shell_cmd.lo socks_ckcf.lo socks_rdconf.lo socks_rdfz.lo socks_wrfz.lo socks_dumpcf.lo sockd_dumpcf.lo sockd_dumprt.lo sockd_rdconf.lo sockd_rdroute.lo getpass.lo -Wl,--no-whole-archive -lc ln -sf libsocks.so.4.3 libsocks.so.4 ln -sf libsocks.so.4.3 libsocks.so make[2]: Leaving directory '/<>/lib' (cd mkfc; make CC="gcc" SOCKS_LIB="-L/<>/lib/ -lsocks" \ SOCKS_LIB_DEP="/<>/lib/libsocks.a" \ RESOLV_LIB="" \ OPTIMIZE="-g" OTHER_CFLAGS="-DLINUX " ) make[2]: Entering directory '/<>/mkfc' /<>/mkfc gcc -I../include -g -DLINUX -c -o make_socksfc.o make_socksfc.c make_socksfc.c:9:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(argc, argv) ^~~~ make_socksfc.c: In function ‘main’: make_socksfc.c:21:6: warning: implicit declaration of function ‘socks_rdconf’ [-Wimplicit-function-declaration] if (socks_rdconf(infile, &confAddr, &Nconf, useSyslog) == -1) { ^~~~~~~~~~~~ make_socksfc.c:23:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ make_socksfc.c:23:3: warning: incompatible implicit declaration of built-in function ‘exit’ make_socksfc.c:23:3: note: include ‘’ or provide a declaration of ‘exit’ make_socksfc.c:6:1: +#include make_socksfc.c:23:3: exit(1); ^~~~ make_socksfc.c:25:2: warning: implicit declaration of function ‘socks_wrfz’ [-Wimplicit-function-declaration] socks_wrfz(outfile, confAddr, Nconf, useSyslog); ^~~~~~~~~~ gcc -I../include -g -DLINUX -o make_socksfc make_socksfc.o -L/<>/lib/ -lsocks gcc -I../include -g -DLINUX -c -o make_sockdfc.o make_sockdfc.c make_sockdfc.c:9:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(argc, argv) ^~~~ make_sockdfc.c: In function ‘main’: make_sockdfc.c:22:6: warning: implicit declaration of function ‘sockd_rdconf’ [-Wimplicit-function-declaration] if (sockd_rdconf(infile, &confAddr, &Nconf, &ptr1, &ptr2, useSyslog) == -1) { ^~~~~~~~~~~~ make_sockdfc.c:24:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ make_sockdfc.c:24:3: warning: incompatible implicit declaration of built-in function ‘exit’ make_sockdfc.c:24:3: note: include ‘’ or provide a declaration of ‘exit’ make_sockdfc.c:6:1: +#include make_sockdfc.c:24:3: exit(1); ^~~~ make_sockdfc.c:26:2: warning: implicit declaration of function ‘socks_wrfz’ [-Wimplicit-function-declaration] socks_wrfz(outfile, confAddr, Nconf, useSyslog); ^~~~~~~~~~ gcc -I../include -g -DLINUX -o make_sockdfc make_sockdfc.o -L/<>/lib/ -lsocks gcc -I../include -g -DLINUX -c -o make_sockdfr.o make_sockdfr.c make_sockdfr.c:9:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(argc, argv) ^~~~ make_sockdfr.c: In function ‘main’: make_sockdfr.c:21:6: warning: implicit declaration of function ‘sockd_rdroute’ [-Wimplicit-function-declaration] if (sockd_rdroute(infile, &confAddr, &Nconf, useSyslog) == -1) { ^~~~~~~~~~~~~ make_sockdfr.c:23:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ make_sockdfr.c:23:3: warning: incompatible implicit declaration of built-in function ‘exit’ make_sockdfr.c:23:3: note: include ‘’ or provide a declaration of ‘exit’ make_sockdfr.c:6:1: +#include make_sockdfr.c:23:3: exit(1); ^~~~ make_sockdfr.c:25:2: warning: implicit declaration of function ‘socks_wrfz’ [-Wimplicit-function-declaration] socks_wrfz(outfile, confAddr, Nconf, useSyslog); ^~~~~~~~~~ gcc -I../include -g -DLINUX -o make_sockdfr make_sockdfr.o -L/<>/lib/ -lsocks gcc -I../include -g -DLINUX -c -o dump_socksfc.o dump_socksfc.c dump_socksfc.c:12:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(argc, argv) ^~~~ dump_socksfc.c: In function ‘main’: dump_socksfc.c:24:2: warning: implicit declaration of function ‘socks_rdfz’ [-Wimplicit-function-declaration] socks_rdfz(file, &cfAddr, &Ncf, &cfstrings, useSyslog); ^~~~~~~~~~ dump_socksfc.c:25:2: warning: implicit declaration of function ‘socks_dumpcf’ [-Wimplicit-function-declaration] socks_dumpcf(cfAddr, Ncf, useSyslog); ^~~~~~~~~~~~ gcc -I../include -g -DLINUX -o dump_socksfc dump_socksfc.o -L/<>/lib/ -lsocks gcc -I../include -g -DLINUX -c -o dump_sockdfc.o dump_sockdfc.c dump_sockdfc.c:12:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(argc, argv) ^~~~ dump_sockdfc.c: In function ‘main’: dump_sockdfc.c:24:2: warning: implicit declaration of function ‘socks_rdfz’ [-Wimplicit-function-declaration] socks_rdfz(file, &cfAddr, &Ncf, &cfstrings, useSyslog); ^~~~~~~~~~ dump_sockdfc.c:25:2: warning: implicit declaration of function ‘sockd_dumpcf’ [-Wimplicit-function-declaration] sockd_dumpcf(cfAddr, Ncf, useSyslog); ^~~~~~~~~~~~ gcc -I../include -g -DLINUX -o dump_sockdfc dump_sockdfc.o -L/<>/lib/ -lsocks gcc -I../include -g -DLINUX -c -o dump_sockdfr.o dump_sockdfr.c dump_sockdfr.c:12:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(argc, argv) ^~~~ dump_sockdfr.c: In function ‘main’: dump_sockdfr.c:24:2: warning: implicit declaration of function ‘socks_rdfz’ [-Wimplicit-function-declaration] socks_rdfz(file, &rtAddr, &Nrt, &rtstrings, useSyslog); ^~~~~~~~~~ dump_sockdfr.c:25:2: warning: implicit declaration of function ‘sockd_dumprt’; did you mean ‘sockatmark’? [-Wimplicit-function-declaration] sockd_dumprt(rtAddr, Nrt, useSyslog); ^~~~~~~~~~~~ sockatmark gcc -I../include -g -DLINUX -o dump_sockdfr dump_sockdfr.o -L/<>/lib/ -lsocks make[2]: Leaving directory '/<>/mkfc' (cd sockd; make CC="gcc" RESOLV_LIB="" \ OPTIMIZE="-g" RANLIB="ranlib" \ SOCKS_LIB="-L/<>/lib/ -lsocks" \ SOCKS_LIB_DEP="/<>/lib/libsocks.a" \ IDENT_LIB="-lident" \ OTHER_CFLAGS="-DLINUX ") make[2]: Entering directory '/<>/sockd' /<>/sockd gcc -I../include -g -DLINUX -c -o sockd_ckcf.o sockd_ckcf.c sockd_ckcf.c: In function ‘sockd_ckcf’: sockd_ckcf.c:41:7: warning: implicit declaration of function ‘socks_ckadr’; did you mean ‘sockd_ckcf’? [-Wimplicit-function-declaration] if (socks_ckadr(srcshp, cp->sdomain, &cp->saddr, &cp->smask) && ^~~~~~~~~~~ sockd_ckcf sockd_ckcf.c:43:7: warning: implicit declaration of function ‘socks_ckusr’; did you mean ‘sockd_ckcf’? [-Wimplicit-function-declaration] socks_ckusr(cp->userlist, srcshp->user, useSyslog) && ^~~~~~~~~~~ sockd_ckcf sockd_ckcf.c:44:7: warning: implicit declaration of function ‘socks_ckprt’; did you mean ‘sockd_ckcf’? [-Wimplicit-function-declaration] socks_ckprt(cp->tst, dst_sin_port, cp->dport)) ^~~~~~~~~~~ sockd_ckcf sockd_ckcf.c:61:4: warning: implicit declaration of function ‘socks_shell_cmd’ [-Wimplicit-function-declaration] socks_shell_cmd(cp->cmdp, srcshp, dstshp); ^~~~~~~~~~~~~~~ gcc -I../include -g -DLINUX -c -o sockd_ckrt.o sockd_ckrt.c sockd_ckrt.c: In function ‘sockd_ckrt’: sockd_ckrt.c:19:7: warning: implicit declaration of function ‘socks_ckadr’; did you mean ‘sockd_ckrt’? [-Wimplicit-function-declaration] if (socks_ckadr(dstshp, cp->ddomain, &cp->daddr, &cp->dmask) == 1) { ^~~~~~~~~~~ sockd_ckrt sockd_ckrt.c:24:2: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ sockd_ckrt.c:24:2: warning: incompatible implicit declaration of built-in function ‘exit’ sockd_ckrt.c:24:2: note: include ‘’ or provide a declaration of ‘exit’ sockd_ckrt.c:8:1: +#include sockd_ckrt.c:24:2: exit(1); ^~~~ gcc -I../include -g -DLINUX -c -o sockd_getspcmd.o sockd_getspcmd.c sockd_getspcmd.c: In function ‘sockd_getspcmd’: sockd_getspcmd.c:30:5: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ sockd_getspcmd.c:10:5: note: declared here int sockd_getspcmd(cfAddr, Ncf, no_identd_cmd, bad_id_cmd) ^~~~~~~~~~~~~~ sockd_getspcmd.c:35:5: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ sockd_getspcmd.c:10:5: note: declared here int sockd_getspcmd(cfAddr, Ncf, no_identd_cmd, bad_id_cmd) ^~~~~~~~~~~~~~ gcc -I../include -g -DLINUX -c -o sockd_fail.o sockd_fail.c sockd_fail.c: In function ‘sockd_fail’: sockd_fail.c:15:2: warning: implicit declaration of function ‘socks_SendDst’ [-Wimplicit-function-declaration] socks_SendDst(in, ndst); ^~~~~~~~~~~~~ sockd_fail.c:16:2: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ sockd_fail.c:16:2: warning: incompatible implicit declaration of built-in function ‘exit’ sockd_fail.c:16:2: note: include ‘’ or provide a declaration of ‘exit’ sockd_fail.c:6:1: +#include sockd_fail.c:16:2: exit(1); ^~~~ gcc -I../include -g -DLINUX -c -o setproctitle.o setproctitle.c setproctitle.c:22:1: warning: return type defaults to ‘int’ [-Wimplicit-int] socks_setproctitle(buf, Argv, LastArgv) ^~~~~~~~~~~~~~~~~~ gcc -I../include -g -DLINUX -c -o DoConnect.o DoConnect.c DoConnect.c: In function ‘DoConnect’: DoConnect.c:35:2: warning: implicit declaration of function ‘bzero’ [-Wimplicit-function-declaration] bzero((char *)&sin, sizeof(sin)); ^~~~~ DoConnect.c:35:2: warning: incompatible implicit declaration of built-in function ‘bzero’ DoConnect.c:57:3: warning: implicit declaration of function ‘close’; did you mean ‘closelog’? [-Wimplicit-function-declaration] close(out); ^~~~~ closelog DoConnect.c:66:2: warning: implicit declaration of function ‘socks_SendDst’ [-Wimplicit-function-declaration] socks_SendDst(in, &ndst); ^~~~~~~~~~~~~ gcc -I../include -g -DLINUX -c -o DoNewBind.o DoNewBind.c DoNewBind.c: In function ‘DoNewBind’: DoNewBind.c:50:2: warning: implicit declaration of function ‘bzero’ [-Wimplicit-function-declaration] bzero((char *)&sin, sizeof(sin)); ^~~~~ DoNewBind.c:50:2: warning: incompatible implicit declaration of built-in function ‘bzero’ DoNewBind.c:108:2: warning: implicit declaration of function ‘socks_SendDst’ [-Wimplicit-function-declaration] socks_SendDst(in, &ndst); ^~~~~~~~~~~~~ DoNewBind.c:122:2: warning: implicit declaration of function ‘close’; did you mean ‘closelog’? [-Wimplicit-function-declaration] close(out); ^~~~~ closelog DoNewBind.c:133:4: warning: implicit declaration of function ‘socks_IPtohost’; did you mean ‘socks_porttoserv’? [-Wimplicit-function-declaration] socks_IPtohost(&sin.sin_addr, dstshp); ^~~~~~~~~~~~~~ socks_porttoserv DoNewBind.c:139:4: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ DoNewBind.c:139:4: warning: incompatible implicit declaration of built-in function ‘exit’ DoNewBind.c:139:4: note: include ‘’ or provide a declaration of ‘exit’ DoNewBind.c:8:1: +#include DoNewBind.c:139:4: exit(1); ^~~~ gcc -I../include -g -DLINUX -DSOCKSIFIED_SOCKD -c -o RDoConnect.o DoConnect.c DoConnect.c: In function ‘RDoConnect’: DoConnect.c:35:2: warning: implicit declaration of function ‘bzero’ [-Wimplicit-function-declaration] bzero((char *)&sin, sizeof(sin)); ^~~~~ DoConnect.c:35:2: warning: incompatible implicit declaration of built-in function ‘bzero’ DoConnect.c:52:11: warning: implicit declaration of function ‘Rconnect’; did you mean ‘connect’? [-Wimplicit-function-declaration] cstat = Rconnect(out, (struct sockaddr *)&sin, sizeof(struct sockaddr_in)); ^~~~~~~~ connect DoConnect.c:57:3: warning: implicit declaration of function ‘close’; did you mean ‘closelog’? [-Wimplicit-function-declaration] close(out); ^~~~~ closelog DoConnect.c:66:2: warning: implicit declaration of function ‘socks_SendDst’ [-Wimplicit-function-declaration] socks_SendDst(in, &ndst); ^~~~~~~~~~~~~ gcc -I../include -g -DLINUX -DSOCKSIFIED_SOCKD -c -o RDoNewBind.o DoNewBind.c DoNewBind.c: In function ‘RDoNewBind’: DoNewBind.c:50:2: warning: implicit declaration of function ‘bzero’ [-Wimplicit-function-declaration] bzero((char *)&sin, sizeof(sin)); ^~~~~ DoNewBind.c:50:2: warning: incompatible implicit declaration of built-in function ‘bzero’ DoNewBind.c:76:2: warning: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration] strcpy(socks_srcsh.user, srcshp->user); ^~~~~~ DoNewBind.c:76:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ DoNewBind.c:76:2: note: include ‘’ or provide a declaration of ‘strcpy’ DoNewBind.c:8:1: +#include DoNewBind.c:76:2: strcpy(socks_srcsh.user, srcshp->user); ^~~~~~ DoNewBind.c:80:6: warning: implicit declaration of function ‘Rbind’; did you mean ‘bind’? [-Wimplicit-function-declaration] if (Rbind(out, (struct sockaddr *)&sin, sizeof(sin)) < 0) ^~~~~ bind DoNewBind.c:82:6: warning: implicit declaration of function ‘Rgetsockname’; did you mean ‘getsockname’? [-Wimplicit-function-declaration] if (Rgetsockname(out, (struct sockaddr *)&sin, &len) < 0) ^~~~~~~~~~~~ getsockname DoNewBind.c:101:6: warning: implicit declaration of function ‘Rlisten’; did you mean ‘listen’? [-Wimplicit-function-declaration] if (Rlisten(out, 1) < 0) ^~~~~~~ listen DoNewBind.c:108:2: warning: implicit declaration of function ‘socks_SendDst’ [-Wimplicit-function-declaration] socks_SendDst(in, &ndst); ^~~~~~~~~~~~~ DoNewBind.c:112:13: warning: implicit declaration of function ‘Raccept’; did you mean ‘accept’? [-Wimplicit-function-declaration] if ((new = Raccept(out, (struct sockaddr *)&sin, &len)) < 0) ^~~~~~~ accept DoNewBind.c:122:2: warning: implicit declaration of function ‘close’; did you mean ‘closelog’? [-Wimplicit-function-declaration] close(out); ^~~~~ closelog rm -f libsockd.a ar rc libsockd.a sockd_ckcf.o sockd_ckrt.o sockd_getspcmd.o sockd_fail.o setproctitle.o DoConnect.o DoNewBind.o RDoConnect.o RDoNewBind.o ranlib libsockd.a gcc -I../include -g -DLINUX -c -o sockd.o sockd.c sockd.c: In function ‘readConfig’: sockd.c:84:3: warning: implicit declaration of function ‘socks_rdfz’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] socks_rdfz(SOCKD_FC, &cfAddr, &Ncf, &cfStrings, useSyslog); ^~~~~~~~~~ socks_cmd sockd.c:85:3: warning: implicit declaration of function ‘sockd_getspcmd’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] sockd_getspcmd(cfAddr, Ncf, &no_identd_cmd, &bad_id_cmd); ^~~~~~~~~~~~~~ socks_cmd sockd.c:88:3: warning: implicit declaration of function ‘sockd_rdconf’; did you mean ‘sockd_ckrt’? [-Wimplicit-function-declaration] sockd_rdconf(SOCKD_CONF, &cfAddr, &Ncf, &no_identd_cmd, &bad_id_cmd, useSyslog); ^~~~~~~~~~~~ sockd_ckrt sockd.c:95:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ sockd.c:95:3: warning: incompatible implicit declaration of built-in function ‘exit’ sockd.c:95:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:29:1: +#include #define IDENTD_TIMEOUT 15 /* 15 seconds */ sockd.c:95:3: exit(1); ^~~~ sockd.c:105:10: warning: implicit declaration of function ‘sockd_rdroute’; did you mean ‘sockd_ckrt’? [-Wimplicit-function-declaration] sockd_rdroute(SOCKD_ROUTE_FILE, &rtAddr, &Nrt, useSyslog); ^~~~~~~~~~~~~ sockd_ckrt sockd.c:112:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:112:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c: In function ‘die’: sockd.c:163:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:163:2: note: include ‘’ or provide a declaration of ‘exit’ sockd.c: At top level: sockd.c:178:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(argc, argv) ^~~~ sockd.c: In function ‘main’: sockd.c:293:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:293:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:347:6: warning: implicit declaration of function ‘gethostname’; did you mean ‘gethostbyname’? [-Wimplicit-function-declaration] if (gethostname(name, sizeof(name)) < 0) { ^~~~~~~~~~~ gethostbyname sockd.c:349:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:349:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:353:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:353:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:419:7: warning: implicit declaration of function ‘dup’ [-Wimplicit-function-declaration] in = dup(0); ^~~ sockd.c:424:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:424:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:430:6: warning: implicit declaration of function ‘socks_IPtohost’ [-Wimplicit-function-declaration] if (socks_IPtohost(&from.sin_addr, &srcsh) < 0) { ^~~~~~~~~~~~~~ sockd.c:432:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:432:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:436:6: warning: implicit declaration of function ‘socks_GetDst’; did you mean ‘sockd_ckrt’? [-Wimplicit-function-declaration] if (socks_GetDst(in, &dst) < 0) { ^~~~~~~~~~~~ sockd_ckrt sockd.c:438:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:438:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:444:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:444:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:456:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:456:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:464:9: warning: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration] while (read(in, &c, 1) == 1) ^~~~ fread sockd.c:477:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:477:4: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:492:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:492:4: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:497:6: warning: implicit declaration of function ‘socks_host’; did you mean ‘sockd_ckrt’? [-Wimplicit-function-declaration] if(socks_host(name, &dstsh) < 0) { ^~~~~~~~~~ sockd_ckrt sockd.c:499:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:499:4: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:507:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:507:4: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:514:11: warning: implicit declaration of function ‘sockd_ckcf’; did you mean ‘sockd_ckrt’? [-Wimplicit-function-declaration] permit = sockd_ckcf(&srcsh, &dstsh, use_identd, in, cfAddr, Ncf, no_identd_cmd, bad_id_cmd, useSyslog); ^~~~~~~~~~ sockd_ckrt sockd.c:541:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:541:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:548:3: warning: implicit declaration of function ‘socks_SendDst’; did you mean ‘socks_cmd’? [-Wimplicit-function-declaration] socks_SendDst(in, &dst); ^~~~~~~~~~~~~ socks_cmd sockd.c:549:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:549:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:555:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:555:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:559:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ sockd.c:559:3: note: include ‘’ or provide a declaration of ‘exit’ sockd.c:576:2: warning: implicit declaration of function ‘alarm’ [-Wimplicit-function-declaration] alarm(60*2); ^~~~~ sockd.c:630:10: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] if (write(out, netbuf, n) < 0) { ^~~~~ fwrite gcc -I../include -g -DLINUX -o sockd sockd.o libsockd.a -L/<>/lib/ -lsocks -lident /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/libident.so when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/libident.a when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/../lib/libident.so when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/../lib/libident.a when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/8/../../../libident.so when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/8/../../../libident.a when searching for -lident /usr/bin/ld: skipping incompatible //usr/lib/libident.so when searching for -lident /usr/bin/ld: skipping incompatible //usr/lib/libident.a when searching for -lident /usr/bin/ld: cannot find -lident collect2: error: ld returned 1 exit status make[2]: *** [Makefile:20: sockd] Error 1 make[2]: Leaving directory '/<>/sockd' make[1]: *** [Makefile:345: server] Error 2 make[1]: Leaving directory '/<>' make: *** [debian/rules:13: build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2019-07-02T20:09:51Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: sensible-utils Use 'apt autoremove' to remove it. The following packages will be REMOVED: autoconf* automake* autopoint* autotools-dev* binutils-arm-linux-gnueabihf* bsdmainutils* cpp-8-arm-linux-gnueabihf* cpp-arm-linux-gnueabihf* cross-config* crossbuild-essential-armhf* debhelper* dh-autoreconf* dh-strip-nondeterminism* dpkg-cross* dwz* file* g++-8-arm-linux-gnueabihf* g++-arm-linux-gnueabihf* gcc-8-arm-linux-gnueabihf* gcc-8-arm-linux-gnueabihf-base* gcc-8-base:armhf* gcc-8-cross-base* gcc-arm-linux-gnueabihf* gettext* gettext-base* groff-base* intltool-debian* libarchive-zip-perl* libasan5:armhf* libasan5-armhf-cross* libatomic1:armhf* libatomic1-armhf-cross* libbsd0* libc6:armhf* libc6-armhf-cross* libc6-dev:armhf* libc6-dev-armhf-cross* libconfig-auto-perl* libconfig-inifiles-perl* libcroco3* libdebian-dpkgcross-perl* libfile-homedir-perl* libfile-stripnondeterminism-perl* libfile-which-perl* libgcc-8-dev:armhf* libgcc-8-dev-armhf-cross* libgcc1:armhf* libgcc1-armhf-cross* libglib2.0-0* libgomp1:armhf* libgomp1-armhf-cross* libicu63* libident:armhf* libident-dev:armhf* libio-string-perl* liblocale-gettext-perl* libmagic-mgc* libmagic1* libncurses-dev:armhf* libncurses5-dev:armhf* libncurses6* libncurses6:armhf* libncursesw6:armhf* libpipeline1* libsigsegv2* libstdc++-8-dev:armhf* libstdc++-8-dev-armhf-cross* libstdc++6:armhf* libstdc++6-armhf-cross* libtinfo6:armhf* libtool* libubsan1:armhf* libubsan1-armhf-cross* libuchardet0* libxml-libxml-perl* libxml-namespacesupport-perl* libxml-sax-base-perl* libxml-sax-perl* libxml-simple-perl* libxml2* libyaml-perl* linux-libc-dev:armhf* linux-libc-dev-armhf-cross* m4* man-db* po-debconf* sbuild-build-depends-main-dummy:armhf* ucf* 0 upgraded, 0 newly installed, 88 to remove and 0 not upgraded. After this operation, 233 MB disk space will be freed. (Reading database ... 18305 files and directories currently installed.) Removing sbuild-build-depends-main-dummy:armhf (0.invalid.0) ... Removing crossbuild-essential-armhf (12.6) ... Removing g++-arm-linux-gnueabihf (4:8.3.0-1) ... Removing gcc-arm-linux-gnueabihf (4:8.3.0-1) ... Removing g++-8-arm-linux-gnueabihf (8.3.0-7cross1) ... Removing gcc-8-arm-linux-gnueabihf (8.3.0-7cross1) ... Removing binutils-arm-linux-gnueabihf (2.31.1-16) ... Removing cpp-arm-linux-gnueabihf (4:8.3.0-1) ... Removing cpp-8-arm-linux-gnueabihf (8.3.0-7cross1) ... Removing dpkg-cross (2.6.15-3) ... Removing cross-config (2.6.15-3) ... Removing libdebian-dpkgcross-perl (2.6.15-3) ... Removing gcc-8-arm-linux-gnueabihf-base:amd64 (8.3.0-7cross1) ... Removing libstdc++-8-dev:armhf (8.3.0-7) ... Removing libgcc-8-dev:armhf (8.3.0-7) ... Removing libubsan1:armhf (8.3.0-7) ... Removing libasan5:armhf (8.3.0-7) ... Removing libstdc++6:armhf (8.3.0-7) ... Removing libstdc++-8-dev-armhf-cross (8.3.0-7cross1) ... Removing libgcc-8-dev-armhf-cross (8.3.0-7cross1) ... Removing libubsan1-armhf-cross (8.3.0-7cross1) ... Removing libasan5-armhf-cross (8.3.0-7cross1) ... Removing libstdc++6-armhf-cross (8.3.0-7cross1) ... Removing libatomic1:armhf (8.3.0-7) ... Removing libatomic1-armhf-cross (8.3.0-7cross1) ... Removing libncurses5-dev:armhf (6.1+20181013-2) ... Removing libncurses-dev:armhf (6.1+20181013-2) ... Removing libncursesw6:armhf (6.1+20181013-2) ... Removing libncurses6:armhf (6.1+20181013-2) ... Removing libc6-dev-armhf-cross (2.28-10cross2) ... Removing libgomp1-armhf-cross (8.3.0-7cross1) ... Removing libc6-dev:armhf (2.28-10) ... Removing libconfig-auto-perl (0.44-1) ... Removing libconfig-inifiles-perl (3.000001-1) ... Removing libfile-homedir-perl (1.004-1) ... Removing libfile-which-perl (1.23-1) ... Removing libgcc1-armhf-cross (1:8.3.0-7cross1) ... Removing libgomp1:armhf (8.3.0-7) ... Removing libxml-simple-perl (2.25-1) ... Removing libxml-libxml-perl (2.0134+dfsg-1) ... update-perl-sax-parsers: Unregistering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Unregistering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Removing libident-dev:armhf (0.22-3.1) ... Removing libident:armhf (0.22-3.1) ... Removing libio-string-perl (1.08-3) ... Removing liblocale-gettext-perl (1.07-3+b4) ... Removing libxml-sax-perl (1.00+dfsg-1) ... update-perl-sax-parsers: Unregistering Perl SAX parser XML::SAX::PurePerl with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Removing libxml-namespacesupport-perl (1.12-1) ... Removing libxml-sax-base-perl (1.09-1) ... Removing libyaml-perl (1.27-1) ... Removing linux-libc-dev:armhf (4.19.37-5) ... Removing linux-libc-dev-armhf-cross (4.19.28-2cross2) ... Removing ucf (3.0038+nmu1) ... Removing gcc-8-cross-base (8.3.0-7cross1) ... Removing libtinfo6:armhf (6.1+20181013-2) ... Removing libc6-armhf-cross (2.28-10cross2) ... Removing dh-autoreconf (19) ... Removing debhelper (12.1.1) ... Removing dh-strip-nondeterminism (1.1.2-1) ... Removing automake (1:1.16.1-4) ... Removing autoconf (2.69-11) ... Removing autopoint (0.19.8.1-9) ... Removing libtool (2.4.6-10) ... Removing autotools-dev (20180224.1) ... Removing man-db (2.8.5-2) ... Removing bsdmainutils (11.1.2+b1) ... Removing dwz (0.12-3) ... Removing file (1:5.35-4) ... Removing po-debconf (1.0.21) ... Removing intltool-debian (0.35.0+20060710.5) ... Removing gettext (0.19.8.1-9) ... Removing gettext-base (0.19.8.1-9) ... Removing groff-base (1.22.4-3) ... Removing libfile-stripnondeterminism-perl (1.1.2-1) ... Removing libarchive-zip-perl (1.64-1) ... Removing libbsd0:amd64 (0.9.1-2) ... Removing libc6:armhf (2.28-10) ... Removing libcroco3:amd64 (0.6.12-3) ... Removing libgcc1:armhf (1:8.3.0-7) ... Removing libglib2.0-0:amd64 (2.58.3-2) ... Removing libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Removing libicu63:amd64 (63.2-2) ... Removing libmagic1:amd64 (1:5.35-4) ... Removing libmagic-mgc (1:5.35-4) ... Removing libncurses6:amd64 (6.1+20181013-2) ... Removing libpipeline1:amd64 (1.5.1-2) ... Removing m4 (1.4.18-2) ... Removing libsigsegv2:amd64 (2.12-2) ... Removing libuchardet0:amd64 (0.0.6-3) ... Removing gcc-8-base:armhf (8.3.0-7) ... Processing triggers for ccache (3.7.1-1) ... Updating symlinks in /usr/lib/ccache ... Processing triggers for libc-bin (2.28-10) ... (Reading database ... 12505 files and directories currently installed.) Purging configuration files for libglib2.0-0:amd64 (2.58.3-2) ... Purging configuration files for libmagic1:amd64 (1:5.35-4) ... Purging configuration files for man-db (2.8.5-2) ... Purging configuration files for libxml-sax-perl (1.00+dfsg-1) ... Purging configuration files for cross-config (2.6.15-3) ... Purging configuration files for bsdmainutils (11.1.2+b1) ... Purging configuration files for ucf (3.0038+nmu1) ... Purging configuration files for autoconf (2.69-11) ... Purging configuration files for libc6:armhf (2.28-10) ... Purging configuration files for groff-base (1.22.4-3) ... Purging configuration files for libident:armhf (0.22-3.1) ... Purging configuration files for dpkg-cross (2.6.15-3) ... Purging configuration files for libdebian-dpkgcross-perl (2.6.15-3) ... E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any Build-Space: n/a Build-Time: 5 Distribution: unstable-amd64-sbuild Fail-Stage: build Foreign Architectures: armhf Host Architecture: armhf Install-Time: 14 Job: /home/build/sbuild-setup/repo/pool/main/s/socks4-server/socks4-server_4.3.beta2-20.dsc Machine Architecture: amd64 Package: socks4-server Package-Time: 24 Source-Version: 4.3.beta2-20 Space: n/a Status: attempted Version: 4.3.beta2-20 -------------------------------------------------------------------------------- Finished at 2019-07-02T20:09:51Z Build needed 00:00:24, no disk space