https://launchpad.net/ubuntu/+archive/test-rebuild-20181222-test/+build/16181819 RUN: /usr/share/launchpad-buildd/slavebin/slave-prep Forking launchpad-buildd slave process... Kernel version: Linux bos02-arm64-060 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:53 UTC 2019 aarch64 Buildd toolchain package versions: launchpad-buildd_167 python-lpbuildd_167 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.4~git201611291343.dcee459~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.6 dpkg-dev_1.18.4ubuntu1.5 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 24 Feb 14:32:13 ntpdate[1828]: adjust time server 10.211.37.1 offset -0.058145 sec RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-16181819 --image-type chroot /home/buildd/filecache-default/fc6c56f66744d62233b3c844f67cb7d83d839bbc Creating target for build PACKAGEBUILD-16181819 RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-16181819 Starting target for build PACKAGEBUILD-16181819 RUN: /usr/share/launchpad-buildd/slavebin/in-target override-sources-list --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-16181819 'deb http://ppa.launchpad.net/canonical-foundations/openjdk11-stage2/ubuntu bionic main' 'deb http://ppa.launchpad.net/canonical-foundations/openjdk11-stage1/ubuntu bionic main' 'deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic main' 'deb http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic main' 'deb http://ppa.launchpad.net/ci-train-ppa-service/3473/ubuntu bionic main' 'deb http://ftpmaster.internal/ubuntu bionic main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu bionic-security main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu bionic-updates main restricted universe multiverse' Overriding sources.list in build-PACKAGEBUILD-16181819 RUN: /usr/share/launchpad-buildd/slavebin/in-target add-trusted-keys --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-16181819 Adding trusted keys to build-PACKAGEBUILD-16181819 Warning: apt-key output should not be parsed (stdout is not a terminal) OK Warning: apt-key output should not be parsed (stdout is not a terminal) /etc/apt/trusted.gpg -------------------- pub rsa1024 2009-10-22 [SC] 60C3 1780 3A41 BA51 845E 371A 1E93 77A2 BA9E F27F uid [ unknown] Launchpad Toolchain builds pub rsa1024 2014-01-08 [SC] B4C3 96DF 0DD9 A0ED 00B2 1D28 8550 4128 ECF1 204C uid [ unknown] Launchpad PPA for CI Train PPA Service Team pub rsa1024 2012-12-04 [SC] CDE5 112B D410 4F97 5FC8 A53F D4C0 B668 FD4C 9139 uid [ unknown] Launchpad PPA for Canonical Foundations Team pub rsa1024 2010-04-12 [SC] DA1A 4A13 543B 4668 53BA F164 EB9B 1D88 86F4 4E2A uid [ unknown] Launchpad OpenJDK builds (all archs) /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg ------------------------------------------------------ pub rsa4096 2012-05-11 [SC] 790B C727 7767 219C 42C8 6F93 3B4F E6AC C0B2 1F32 uid [ unknown] Ubuntu Archive Automatic Signing Key (2012) /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg ------------------------------------------------------ pub rsa4096 2012-05-11 [SC] 8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092 uid [ unknown] Ubuntu CD Image Automatic Signing Key (2012) RUN: /usr/share/launchpad-buildd/slavebin/in-target update-debian-chroot --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-16181819 Updating target for build PACKAGEBUILD-16181819 Get:1 http://ppa.launchpad.net/canonical-foundations/openjdk11-stage2/ubuntu bionic InRelease [15.4 kB] Get:2 http://ftpmaster.internal/ubuntu bionic InRelease [242 kB] Get:3 http://ppa.launchpad.net/canonical-foundations/openjdk11-stage1/ubuntu bionic InRelease [15.4 kB] Get:4 http://ftpmaster.internal/ubuntu bionic-security InRelease [88.7 kB] Get:5 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [15.4 kB] Get:6 http://ftpmaster.internal/ubuntu bionic-updates InRelease [88.7 kB] Get:7 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic InRelease [15.4 kB] Get:8 http://ftpmaster.internal/ubuntu bionic/main armhf Packages [968 kB] Get:9 http://ppa.launchpad.net/ci-train-ppa-service/3473/ubuntu bionic InRelease [20.8 kB] Get:10 http://ppa.launchpad.net/canonical-foundations/openjdk11-stage2/ubuntu bionic/main armhf Packages [680 B] Get:11 http://ftpmaster.internal/ubuntu bionic/main Translation-en [516 kB] Get:12 http://ppa.launchpad.net/canonical-foundations/openjdk11-stage2/ubuntu bionic/main Translation-en [632 B] Get:13 http://ftpmaster.internal/ubuntu bionic/universe armhf Packages [8269 kB] Get:14 http://ppa.launchpad.net/canonical-foundations/openjdk11-stage1/ubuntu bionic/main armhf Packages [4080 B] Get:15 http://ppa.launchpad.net/canonical-foundations/openjdk11-stage1/ubuntu bionic/main Translation-en [3620 B] Get:16 http://ftpmaster.internal/ubuntu bionic/universe Translation-en [4941 kB] Get:17 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main armhf Packages [4400 B] Get:18 http://ftpmaster.internal/ubuntu bionic/multiverse armhf Packages [129 kB] Get:19 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main Translation-en [1344 B] Get:20 http://ftpmaster.internal/ubuntu bionic-security/main armhf Packages [180 kB] Get:21 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf Packages [40.7 kB] Get:22 http://ftpmaster.internal/ubuntu bionic-security/main Translation-en [101 kB] Get:23 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main Translation-en [14.5 kB] Get:24 http://ftpmaster.internal/ubuntu bionic-security/universe armhf Packages [123 kB] Get:25 http://ppa.launchpad.net/ci-train-ppa-service/3473/ubuntu bionic/main armhf Packages [17.3 kB] Get:26 http://ftpmaster.internal/ubuntu bionic-security/universe Translation-en [71.2 kB] Get:27 http://ppa.launchpad.net/ci-train-ppa-service/3473/ubuntu bionic/main Translation-en [7264 B] Get:28 http://ftpmaster.internal/ubuntu bionic-security/multiverse armhf Packages [1448 B] Get:29 http://ftpmaster.internal/ubuntu bionic-security/multiverse Translation-en [1848 B] Get:30 http://ftpmaster.internal/ubuntu bionic-updates/main armhf Packages [415 kB] Get:31 http://ftpmaster.internal/ubuntu bionic-updates/main Translation-en [196 kB] Get:32 http://ftpmaster.internal/ubuntu bionic-updates/restricted armhf Packages [6476 B] Get:33 http://ftpmaster.internal/ubuntu bionic-updates/restricted Translation-en [3076 B] Get:34 http://ftpmaster.internal/ubuntu bionic-updates/universe armhf Packages [588 kB] Get:35 http://ftpmaster.internal/ubuntu bionic-updates/universe Translation-en [189 kB] Get:36 http://ftpmaster.internal/ubuntu bionic-updates/multiverse armhf Packages [3360 B] Get:37 http://ftpmaster.internal/ubuntu bionic-updates/multiverse Translation-en [3452 B] Fetched 17.3 MB in 7s (2501 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: apt base-files binutils binutils-arm-linux-gnueabihf binutils-common bsdutils cpp cpp-7 dpkg dpkg-dev e2fslibs e2fsprogs fdisk g++ g++-7 gcc gcc-7 gcc-7-base gcc-8-base gpg gpg-agent gpgconf gpgv libapparmor1 libapt-pkg5.0 libasan4 libatomic1 libbinutils libblkid1 libcc1-0 libcilkrts5 libcom-err2 libcomerr2 libcryptsetup12 libdpkg-perl libext2fs2 libfdisk1 libgcc-7-dev libgcc1 libgcrypt20 libgomp1 libkmod2 libmount1 libncurses5 libncursesw5 libperl5.26 libpng16-16 libprocps6 libsmartcols1 libss2 libssl1.1 libstdc++-7-dev libstdc++6 libsystemd0 libtinfo5 libubsan0 libudev1 libuuid1 linux-libc-dev mount ncurses-base ncurses-bin openssl perl perl-base perl-modules-5.26 pkgbinarymangler procps systemd systemd-sysv tar tzdata ubuntu-keyring util-linux 74 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 48.6 MB of archives. After this operation, 5330 kB of additional disk space will be used. Get:1 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf libgomp1 armhf 8.2.0-14ubuntu1~18.04~ppa1 [66.6 kB] Get:2 http://ftpmaster.internal/ubuntu bionic-updates/main armhf base-files armhf 10.1ubuntu2.4 [59.9 kB] Get:3 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf gcc-8-base armhf 8.2.0-14ubuntu1~18.04~ppa1 [18.6 kB] Get:4 http://ftpmaster.internal/ubuntu bionic-updates/main armhf bsdutils armhf 1:2.31.1-0.4ubuntu3.3 [55.5 kB] Get:5 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf libgcc1 armhf 1:8.2.0-14ubuntu1~18.04~ppa1 [37.1 kB] Get:6 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf libcc1-0 armhf 8.2.0-14ubuntu1~18.04~ppa1 [32.8 kB] Get:7 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf libatomic1 armhf 8.2.0-14ubuntu1~18.04~ppa1 [7072 B] Get:8 http://ftpmaster.internal/ubuntu bionic-updates/main armhf tar armhf 1.29b-2ubuntu0.1 [209 kB] Get:9 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf libstdc++6 armhf 8.2.0-14ubuntu1~18.04~ppa1 [350 kB] Get:10 http://ftpmaster.internal/ubuntu bionic-updates/main armhf dpkg armhf 1.19.0.5ubuntu2.1 [1094 kB] Get:11 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf libasan4 armhf 7.4.0-3ubuntu2~18.04~ppa1 [327 kB] Get:12 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf libubsan0 armhf 7.4.0-3ubuntu2~18.04~ppa1 [108 kB] Get:13 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf libcilkrts5 armhf 7.4.0-3ubuntu2~18.04~ppa1 [35.9 kB] Get:14 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf g++-7 armhf 7.4.0-3ubuntu2~18.04~ppa1 [7471 kB] Get:15 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libext2fs2 armhf 1.44.1-1ubuntu1.1 [144 kB] Get:16 http://ftpmaster.internal/ubuntu bionic-updates/main armhf e2fsprogs armhf 1.44.1-1ubuntu1.1 [369 kB] Get:17 http://ftpmaster.internal/ubuntu bionic-updates/main armhf ncurses-bin armhf 6.1-1ubuntu1.18.04 [155 kB] Get:18 http://ftpmaster.internal/ubuntu bionic-security/main armhf libperl5.26 armhf 5.26.1-6ubuntu0.3 [2888 kB] Get:19 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf gcc-7 armhf 7.4.0-3ubuntu2~18.04~ppa1 [7245 kB] Get:20 http://ftpmaster.internal/ubuntu bionic-security/main armhf perl armhf 5.26.1-6ubuntu0.3 [201 kB] Get:21 http://ftpmaster.internal/ubuntu bionic-security/main armhf perl-base armhf 5.26.1-6ubuntu0.3 [1291 kB] Get:22 http://ftpmaster.internal/ubuntu bionic-security/main armhf perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] Get:23 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libuuid1 armhf 2.31.1-0.4ubuntu3.3 [19.5 kB] Get:24 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libblkid1 armhf 2.31.1-0.4ubuntu3.3 [112 kB] Get:25 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libfdisk1 armhf 2.31.1-0.4ubuntu3.3 [152 kB] Get:26 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf libstdc++-7-dev armhf 7.4.0-3ubuntu2~18.04~ppa1 [1540 kB] Get:27 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libmount1 armhf 2.31.1-0.4ubuntu3.3 [122 kB] Get:28 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libncurses5 armhf 6.1-1ubuntu1.18.04 [74.8 kB] Get:29 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libtinfo5 armhf 6.1-1ubuntu1.18.04 [68.2 kB] Get:30 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libncursesw5 armhf 6.1-1ubuntu1.18.04 [95.3 kB] Get:31 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libsmartcols1 armhf 2.31.1-0.4ubuntu3.3 [74.6 kB] Get:32 http://ftpmaster.internal/ubuntu bionic-updates/main armhf fdisk armhf 2.31.1-0.4ubuntu3.3 [97.5 kB] Get:33 http://ftpmaster.internal/ubuntu bionic-updates/main armhf util-linux armhf 2.31.1-0.4ubuntu3.3 [845 kB] Get:34 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf libgcc-7-dev armhf 7.4.0-3ubuntu2~18.04~ppa1 [711 kB] Get:35 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf cpp-7 armhf 7.4.0-3ubuntu2~18.04~ppa1 [6549 kB] Get:36 http://ftpmaster.internal/ubuntu bionic-updates/main armhf ncurses-base all 6.1-1ubuntu1.18.04 [17.8 kB] Get:37 http://ftpmaster.internal/ubuntu bionic-security/main armhf libudev1 armhf 237-3ubuntu10.13 [48.7 kB] Get:38 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libapt-pkg5.0 armhf 1.6.8 [731 kB] Get:39 http://ftpmaster.internal/ubuntu bionic-security/main armhf libgcrypt20 armhf 1.8.1-4ubuntu1.1 [364 kB] Get:40 http://ftpmaster.internal/ubuntu bionic-security/main armhf gpgv armhf 2.2.4-1ubuntu1.2 [167 kB] Get:41 http://ftpmaster.internal/ubuntu bionic-updates/main armhf ubuntu-keyring all 2018.09.18.1~18.04.0 [22.4 kB] Get:42 http://ftpmaster.internal/ubuntu bionic-updates/main armhf apt armhf 1.6.8 [1121 kB] Get:43 http://ftpmaster.internal/ubuntu bionic-security/main armhf libapparmor1 armhf 2.12-4ubuntu5.1 [27.1 kB] Get:44 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libcryptsetup12 armhf 2:2.0.2-1ubuntu1.1 [119 kB] Get:45 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libkmod2 armhf 24-1ubuntu3.2 [34.3 kB] Get:46 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu bionic/main armhf gcc-7-base armhf 7.4.0-3ubuntu2~18.04~ppa1 [18.8 kB] Get:47 http://ftpmaster.internal/ubuntu bionic-updates/main armhf mount armhf 2.31.1-0.4ubuntu3.3 [99.7 kB] Get:48 http://ppa.launchpad.net/ci-train-ppa-service/3473/ubuntu bionic/main armhf libssl1.1 armhf 1.1.1-1ubuntu2.1~18.04.0 [1064 kB] Get:49 http://ftpmaster.internal/ubuntu bionic-security/main armhf libprocps6 armhf 2:3.3.12-3ubuntu1.1 [28.8 kB] Get:50 http://ftpmaster.internal/ubuntu bionic-security/main armhf procps armhf 2:3.3.12-3ubuntu1.1 [213 kB] Get:51 http://ftpmaster.internal/ubuntu bionic-security/main armhf systemd armhf 237-3ubuntu10.13 [2726 kB] Get:52 http://ppa.launchpad.net/ci-train-ppa-service/3473/ubuntu bionic/main armhf openssl armhf 1.1.1-1ubuntu2.1~18.04.0 [591 kB] Get:53 http://ftpmaster.internal/ubuntu bionic-security/main armhf libsystemd0 armhf 237-3ubuntu10.13 [186 kB] Get:54 http://ftpmaster.internal/ubuntu bionic-security/main armhf systemd-sysv armhf 237-3ubuntu10.13 [12.0 kB] Get:55 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libcom-err2 armhf 1.44.1-1ubuntu1.1 [8416 B] Get:56 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libss2 armhf 1.44.1-1ubuntu1.1 [9392 B] Get:57 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libbinutils armhf 2.30-21ubuntu1~18.04 [308 kB] Get:58 http://ftpmaster.internal/ubuntu bionic-updates/main armhf binutils-common armhf 2.30-21ubuntu1~18.04 [193 kB] Get:59 http://ftpmaster.internal/ubuntu bionic-updates/main armhf binutils armhf 2.30-21ubuntu1~18.04 [3356 B] Get:60 http://ftpmaster.internal/ubuntu bionic-updates/main armhf binutils-arm-linux-gnueabihf armhf 2.30-21ubuntu1~18.04 [2175 kB] Get:61 http://ftpmaster.internal/ubuntu bionic-security/main armhf tzdata all 2018i-0ubuntu0.18.04 [189 kB] Get:62 http://ftpmaster.internal/ubuntu bionic-security/main armhf libpng16-16 armhf 1.6.34-1ubuntu0.18.04.1 [159 kB] Get:63 http://ftpmaster.internal/ubuntu bionic-updates/main armhf cpp armhf 4:7.3.0-3ubuntu2.1 [27.6 kB] Get:64 http://ftpmaster.internal/ubuntu bionic-updates/main armhf dpkg-dev all 1.19.0.5ubuntu2.1 [608 kB] Get:65 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libdpkg-perl all 1.19.0.5ubuntu2.1 [211 kB] Get:66 http://ftpmaster.internal/ubuntu bionic-updates/main armhf e2fslibs armhf 1.44.1-1ubuntu1.1 [2712 B] Get:67 http://ftpmaster.internal/ubuntu bionic-updates/main armhf gcc armhf 4:7.3.0-3ubuntu2.1 [5204 B] Get:68 http://ftpmaster.internal/ubuntu bionic-updates/main armhf g++ armhf 4:7.3.0-3ubuntu2.1 [1576 B] Get:69 http://ftpmaster.internal/ubuntu bionic-security/main armhf gpg armhf 2.2.4-1ubuntu1.2 [408 kB] Get:70 http://ftpmaster.internal/ubuntu bionic-security/main armhf gpgconf armhf 2.2.4-1ubuntu1.2 [105 kB] Get:71 http://ftpmaster.internal/ubuntu bionic-security/main armhf gpg-agent armhf 2.2.4-1ubuntu1.2 [188 kB] Get:72 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libcomerr2 armhf 1.44.1-1ubuntu1.1 [2712 B] Get:73 http://ftpmaster.internal/ubuntu bionic-security/main armhf linux-libc-dev armhf 4.15.0-45.48 [981 kB] Get:74 http://ftpmaster.internal/ubuntu bionic-security/main armhf pkgbinarymangler all 138.18.04.0 [52.8 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 48.6 MB in 1s (46.3 MB/s) (Reading database ... 12378 files and directories currently installed.) Preparing to unpack .../base-files_10.1ubuntu2.4_armhf.deb ... Unpacking base-files (10.1ubuntu2.4) over (10.1ubuntu2) ... Setting up base-files (10.1ubuntu2.4) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/update-motd.d/50-motd-news ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking bsdutils (1:2.31.1-0.4ubuntu3.3) over (1:2.31.1-0.4ubuntu3) ... Setting up bsdutils (1:2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../tar_1.29b-2ubuntu0.1_armhf.deb ... Unpacking tar (1.29b-2ubuntu0.1) over (1.29b-2) ... Setting up tar (1.29b-2ubuntu0.1) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../dpkg_1.19.0.5ubuntu2.1_armhf.deb ... Unpacking dpkg (1.19.0.5ubuntu2.1) over (1.19.0.5ubuntu2) ... Setting up dpkg (1.19.0.5ubuntu2.1) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libext2fs2_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking libext2fs2:armhf (1.44.1-1ubuntu1.1) over (1.44.1-1) ... Setting up libext2fs2:armhf (1.44.1-1ubuntu1.1) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking e2fsprogs (1.44.1-1ubuntu1.1) over (1.44.1-1) ... Setting up e2fsprogs (1.44.1-1ubuntu1.1) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking ncurses-bin (6.1-1ubuntu1.18.04) over (6.1-1ubuntu1) ... Setting up ncurses-bin (6.1-1ubuntu1.18.04) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libperl5.26_5.26.1-6ubuntu0.3_armhf.deb ... Unpacking libperl5.26:armhf (5.26.1-6ubuntu0.3) over (5.26.1-6) ... Preparing to unpack .../perl_5.26.1-6ubuntu0.3_armhf.deb ... Unpacking perl (5.26.1-6ubuntu0.3) over (5.26.1-6) ... Preparing to unpack .../perl-base_5.26.1-6ubuntu0.3_armhf.deb ... Unpacking perl-base (5.26.1-6ubuntu0.3) over (5.26.1-6) ... Setting up perl-base (5.26.1-6ubuntu0.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) over (5.26.1-6) ... Preparing to unpack .../libuuid1_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking libuuid1:armhf (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up libuuid1:armhf (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libblkid1_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking libblkid1:armhf (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up libblkid1:armhf (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking libfdisk1:armhf (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up libfdisk1:armhf (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libmount1_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking libmount1:armhf (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up libmount1:armhf (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libncurses5_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking libncurses5:armhf (6.1-1ubuntu1.18.04) over (6.1-1ubuntu1) ... Preparing to unpack .../libtinfo5_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking libtinfo5:armhf (6.1-1ubuntu1.18.04) over (6.1-1ubuntu1) ... Setting up libtinfo5:armhf (6.1-1ubuntu1.18.04) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libncursesw5_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking libncursesw5:armhf (6.1-1ubuntu1.18.04) over (6.1-1ubuntu1) ... Setting up libncursesw5:armhf (6.1-1ubuntu1.18.04) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking libsmartcols1:armhf (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up libsmartcols1:armhf (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../fdisk_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking fdisk (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up fdisk (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../util-linux_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking util-linux (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up util-linux (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.1-1ubuntu1.18.04_all.deb ... Unpacking ncurses-base (6.1-1ubuntu1.18.04) over (6.1-1ubuntu1) ... Setting up ncurses-base (6.1-1ubuntu1.18.04) ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../libgomp1_8.2.0-14ubuntu1~18.04~ppa1_armhf.deb ... Unpacking libgomp1:armhf (8.2.0-14ubuntu1~18.04~ppa1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../gcc-8-base_8.2.0-14ubuntu1~18.04~ppa1_armhf.deb ... Unpacking gcc-8-base:armhf (8.2.0-14ubuntu1~18.04~ppa1) over (8-20180414-1ubuntu2) ... Setting up gcc-8-base:armhf (8.2.0-14ubuntu1~18.04~ppa1) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a8.2.0-14ubuntu1~18.04~ppa1_armhf.deb ... Unpacking libgcc1:armhf (1:8.2.0-14ubuntu1~18.04~ppa1) over (1:8-20180414-1ubuntu2) ... Setting up libgcc1:armhf (1:8.2.0-14ubuntu1~18.04~ppa1) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../libcc1-0_8.2.0-14ubuntu1~18.04~ppa1_armhf.deb ... Unpacking libcc1-0:armhf (8.2.0-14ubuntu1~18.04~ppa1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../libatomic1_8.2.0-14ubuntu1~18.04~ppa1_armhf.deb ... Unpacking libatomic1:armhf (8.2.0-14ubuntu1~18.04~ppa1) over (8-20180414-1ubuntu2) ... Preparing to unpack .../libstdc++6_8.2.0-14ubuntu1~18.04~ppa1_armhf.deb ... Unpacking libstdc++6:armhf (8.2.0-14ubuntu1~18.04~ppa1) over (8-20180414-1ubuntu2) ... Setting up libstdc++6:armhf (8.2.0-14ubuntu1~18.04~ppa1) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../libudev1_237-3ubuntu10.13_armhf.deb ... Unpacking libudev1:armhf (237-3ubuntu10.13) over (237-3ubuntu10) ... Setting up libudev1:armhf (237-3ubuntu10.13) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.6.8_armhf.deb ... Unpacking libapt-pkg5.0:armhf (1.6.8) over (1.6.1) ... Setting up libapt-pkg5.0:armhf (1.6.8) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.8.1-4ubuntu1.1_armhf.deb ... Unpacking libgcrypt20:armhf (1.8.1-4ubuntu1.1) over (1.8.1-4ubuntu1) ... Setting up libgcrypt20:armhf (1.8.1-4ubuntu1.1) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.4-1ubuntu1.2_armhf.deb ... Unpacking gpgv (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1) ... Setting up gpgv (2.2.4-1ubuntu1.2) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../ubuntu-keyring_2018.09.18.1~18.04.0_all.deb ... Unpacking ubuntu-keyring (2018.09.18.1~18.04.0) over (2018.02.28) ... Setting up ubuntu-keyring (2018.09.18.1~18.04.0) ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../archives/apt_1.6.8_armhf.deb ... Unpacking apt (1.6.8) over (1.6.1) ... Setting up apt (1.6.8) ... Installing new version of config file /etc/apt/apt.conf.d/01autoremove ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../0-libapparmor1_2.12-4ubuntu5.1_armhf.deb ... Unpacking libapparmor1:armhf (2.12-4ubuntu5.1) over (2.12-4ubuntu5) ... Preparing to unpack .../1-libcryptsetup12_2%3a2.0.2-1ubuntu1.1_armhf.deb ... Unpacking libcryptsetup12:armhf (2:2.0.2-1ubuntu1.1) over (2:2.0.2-1ubuntu1) ... Preparing to unpack .../2-libkmod2_24-1ubuntu3.2_armhf.deb ... Unpacking libkmod2:armhf (24-1ubuntu3.2) over (24-1ubuntu3) ... Preparing to unpack .../3-mount_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking mount (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Preparing to unpack .../4-libprocps6_2%3a3.3.12-3ubuntu1.1_armhf.deb ... Unpacking libprocps6:armhf (2:3.3.12-3ubuntu1.1) over (2:3.3.12-3ubuntu1) ... Preparing to unpack .../5-procps_2%3a3.3.12-3ubuntu1.1_armhf.deb ... Unpacking procps (2:3.3.12-3ubuntu1.1) over (2:3.3.12-3ubuntu1) ... Setting up libcryptsetup12:armhf (2:2.0.2-1ubuntu1.1) ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../systemd_237-3ubuntu10.13_armhf.deb ... Unpacking systemd (237-3ubuntu10.13) over (237-3ubuntu10) ... Preparing to unpack .../libsystemd0_237-3ubuntu10.13_armhf.deb ... Unpacking libsystemd0:armhf (237-3ubuntu10.13) over (237-3ubuntu10) ... Setting up libsystemd0:armhf (237-3ubuntu10.13) ... Setting up libapparmor1:armhf (2.12-4ubuntu5.1) ... Setting up libkmod2:armhf (24-1ubuntu3.2) ... Setting up mount (2.31.1-0.4ubuntu3.3) ... Setting up libncurses5:armhf (6.1-1ubuntu1.18.04) ... Setting up libprocps6:armhf (2:3.3.12-3ubuntu1.1) ... Setting up procps (2:3.3.12-3ubuntu1.1) ... Setting up systemd (237-3ubuntu10.13) ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../systemd-sysv_237-3ubuntu10.13_armhf.deb ... Unpacking systemd-sysv (237-3ubuntu10.13) over (237-3ubuntu10) ... Preparing to unpack .../libcom-err2_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking libcom-err2:armhf (1.44.1-1ubuntu1.1) over (1.44.1-1) ... Setting up libcom-err2:armhf (1.44.1-1ubuntu1.1) ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../libss2_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking libss2:armhf (1.44.1-1ubuntu1.1) over (1.44.1-1) ... Setting up libss2:armhf (1.44.1-1ubuntu1.1) ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../00-libasan4_7.4.0-3ubuntu2~18.04~ppa1_armhf.deb ... Unpacking libasan4:armhf (7.4.0-3ubuntu2~18.04~ppa1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../01-libubsan0_7.4.0-3ubuntu2~18.04~ppa1_armhf.deb ... Unpacking libubsan0:armhf (7.4.0-3ubuntu2~18.04~ppa1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../02-libcilkrts5_7.4.0-3ubuntu2~18.04~ppa1_armhf.deb ... Unpacking libcilkrts5:armhf (7.4.0-3ubuntu2~18.04~ppa1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../03-g++-7_7.4.0-3ubuntu2~18.04~ppa1_armhf.deb ... Unpacking g++-7 (7.4.0-3ubuntu2~18.04~ppa1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../04-gcc-7_7.4.0-3ubuntu2~18.04~ppa1_armhf.deb ... Unpacking gcc-7 (7.4.0-3ubuntu2~18.04~ppa1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../05-libstdc++-7-dev_7.4.0-3ubuntu2~18.04~ppa1_armhf.deb ... Unpacking libstdc++-7-dev:armhf (7.4.0-3ubuntu2~18.04~ppa1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../06-libgcc-7-dev_7.4.0-3ubuntu2~18.04~ppa1_armhf.deb ... Unpacking libgcc-7-dev:armhf (7.4.0-3ubuntu2~18.04~ppa1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../07-libbinutils_2.30-21ubuntu1~18.04_armhf.deb ... Unpacking libbinutils:armhf (2.30-21ubuntu1~18.04) over (2.30-15ubuntu1) ... Preparing to unpack .../08-binutils-common_2.30-21ubuntu1~18.04_armhf.deb ... Unpacking binutils-common:armhf (2.30-21ubuntu1~18.04) over (2.30-15ubuntu1) ... Preparing to unpack .../09-binutils_2.30-21ubuntu1~18.04_armhf.deb ... Unpacking binutils (2.30-21ubuntu1~18.04) over (2.30-15ubuntu1) ... Preparing to unpack .../10-binutils-arm-linux-gnueabihf_2.30-21ubuntu1~18.04_armhf.deb ... Unpacking binutils-arm-linux-gnueabihf (2.30-21ubuntu1~18.04) over (2.30-15ubuntu1) ... Preparing to unpack .../11-cpp-7_7.4.0-3ubuntu2~18.04~ppa1_armhf.deb ... Unpacking cpp-7 (7.4.0-3ubuntu2~18.04~ppa1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../12-gcc-7-base_7.4.0-3ubuntu2~18.04~ppa1_armhf.deb ... Unpacking gcc-7-base:armhf (7.4.0-3ubuntu2~18.04~ppa1) over (7.3.0-16ubuntu3) ... Preparing to unpack .../13-tzdata_2018i-0ubuntu0.18.04_all.deb ... Unpacking tzdata (2018i-0ubuntu0.18.04) over (2018d-1) ... Preparing to unpack .../14-libpng16-16_1.6.34-1ubuntu0.18.04.1_armhf.deb ... Unpacking libpng16-16:armhf (1.6.34-1ubuntu0.18.04.1) over (1.6.34-1) ... Preparing to unpack .../15-cpp_4%3a7.3.0-3ubuntu2.1_armhf.deb ... Unpacking cpp (4:7.3.0-3ubuntu2.1) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../16-dpkg-dev_1.19.0.5ubuntu2.1_all.deb ... Unpacking dpkg-dev (1.19.0.5ubuntu2.1) over (1.19.0.5ubuntu2) ... Preparing to unpack .../17-libdpkg-perl_1.19.0.5ubuntu2.1_all.deb ... Unpacking libdpkg-perl (1.19.0.5ubuntu2.1) over (1.19.0.5ubuntu2) ... Preparing to unpack .../18-e2fslibs_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking e2fslibs:armhf (1.44.1-1ubuntu1.1) over (1.44.1-1) ... Preparing to unpack .../19-gcc_4%3a7.3.0-3ubuntu2.1_armhf.deb ... Unpacking gcc (4:7.3.0-3ubuntu2.1) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../20-g++_4%3a7.3.0-3ubuntu2.1_armhf.deb ... Unpacking g++ (4:7.3.0-3ubuntu2.1) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../21-gpg_2.2.4-1ubuntu1.2_armhf.deb ... Unpacking gpg (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1) ... Preparing to unpack .../22-gpgconf_2.2.4-1ubuntu1.2_armhf.deb ... Unpacking gpgconf (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1) ... Preparing to unpack .../23-gpg-agent_2.2.4-1ubuntu1.2_armhf.deb ... Unpacking gpg-agent (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1) ... Preparing to unpack .../24-libcomerr2_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking libcomerr2:armhf (1.44.1-1ubuntu1.1) over (1.44.1-1) ... Preparing to unpack .../25-libssl1.1_1.1.1-1ubuntu2.1~18.04.0_armhf.deb ... Unpacking libssl1.1:armhf (1.1.1-1ubuntu2.1~18.04.0) over (1.1.0g-2ubuntu4) ... Preparing to unpack .../26-linux-libc-dev_4.15.0-45.48_armhf.deb ... Unpacking linux-libc-dev:armhf (4.15.0-45.48) over (4.15.0-20.21) ... Preparing to unpack .../27-openssl_1.1.1-1ubuntu2.1~18.04.0_armhf.deb ... Unpacking openssl (1.1.1-1ubuntu2.1~18.04.0) over (1.1.0g-2ubuntu4) ... Preparing to unpack .../28-pkgbinarymangler_138.18.04.0_all.deb ... Unpacking pkgbinarymangler (138.18.04.0) over (138) ... Setting up libgomp1:armhf (8.2.0-14ubuntu1~18.04~ppa1) ... Setting up libatomic1:armhf (8.2.0-14ubuntu1~18.04~ppa1) ... Setting up libcc1-0:armhf (8.2.0-14ubuntu1~18.04~ppa1) ... Setting up pkgbinarymangler (138.18.04.0) ... Setting up e2fslibs:armhf (1.44.1-1ubuntu1.1) ... Setting up libpng16-16:armhf (1.6.34-1ubuntu0.18.04.1) ... Setting up tzdata (2018i-0ubuntu0.18.04) ... Current default time zone: 'Etc/UTC' Local time is now: Sun Feb 24 14:32:55 UTC 2019. Universal Time is now: Sun Feb 24 14:32:55 UTC 2019. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up systemd-sysv (237-3ubuntu10.13) ... Setting up gpgconf (2.2.4-1ubuntu1.2) ... Setting up linux-libc-dev:armhf (4.15.0-45.48) ... Setting up gpg-agent (2.2.4-1ubuntu1.2) ... Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... Setting up gcc-7-base:armhf (7.4.0-3ubuntu2~18.04~ppa1) ... Setting up binutils-common:armhf (2.30-21ubuntu1~18.04) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up libperl5.26:armhf (5.26.1-6ubuntu0.3) ... Setting up libssl1.1:armhf (1.1.1-1ubuntu2.1~18.04.0) ... Setting up openssl (1.1.1-1ubuntu2.1~18.04.0) ... Installing new version of config file /etc/ssl/openssl.cnf ... Setting up libcomerr2:armhf (1.44.1-1ubuntu1.1) ... Setting up gpg (2.2.4-1ubuntu1.2) ... Setting up libasan4:armhf (7.4.0-3ubuntu2~18.04~ppa1) ... Setting up libbinutils:armhf (2.30-21ubuntu1~18.04) ... Setting up libcilkrts5:armhf (7.4.0-3ubuntu2~18.04~ppa1) ... Setting up libubsan0:armhf (7.4.0-3ubuntu2~18.04~ppa1) ... Setting up binutils-arm-linux-gnueabihf (2.30-21ubuntu1~18.04) ... Setting up libgcc-7-dev:armhf (7.4.0-3ubuntu2~18.04~ppa1) ... Setting up cpp-7 (7.4.0-3ubuntu2~18.04~ppa1) ... Setting up libstdc++-7-dev:armhf (7.4.0-3ubuntu2~18.04~ppa1) ... Setting up perl (5.26.1-6ubuntu0.3) ... Setting up binutils (2.30-21ubuntu1~18.04) ... Setting up cpp (4:7.3.0-3ubuntu2.1) ... Setting up gcc-7 (7.4.0-3ubuntu2~18.04~ppa1) ... Setting up g++-7 (7.4.0-3ubuntu2~18.04~ppa1) ... Setting up libdpkg-perl (1.19.0.5ubuntu2.1) ... Setting up gcc (4:7.3.0-3ubuntu2.1) ... Setting up dpkg-dev (1.19.0.5ubuntu2.1) ... Setting up g++ (4:7.3.0-3ubuntu2.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package PACKAGEBUILD-16181819 armhf bionic -c chroot:build-PACKAGEBUILD-16181819 --arch=armhf --dist=bionic --nolog socks4-server_4.3.beta2-20.dsc Initiating build PACKAGEBUILD-16181819 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:53 UTC 2019 armv7l sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on bos02-arm64-060.buildd +==============================================================================+ | socks4-server 4.3.beta2-20 (armhf) 24 Feb 2019 14:32 | +==============================================================================+ Package: socks4-server Version: 4.3.beta2-20 Source Version: 4.3.beta2-20 Distribution: bionic Machine Architecture: arm64 Host Architecture: armhf Build Architecture: armhf I: NOTICE: Log filtering will replace 'build/socks4-server-d8cYyd/socks4-server-4.3.beta2' with '<>' I: NOTICE: Log filtering will replace 'build/socks4-server-d8cYyd' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-16181819/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- socks4-server_4.3.beta2-20.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-DGZyoh/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-DGZyoh/apt_archive ./ InRelease Get:2 copy:/<>/resolver-DGZyoh/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-DGZyoh/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-DGZyoh/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-DGZyoh/apt_archive ./ Packages [526 B] Fetched 2859 B in 0s (136 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 852 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-DGZyoh/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 852 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 12392 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: debhelper (>= 4.2.0), libident-dev, libncurses5-dev Filtered Build-Depends: debhelper (>= 4.2.0), libident-dev, libncurses5-dev dpkg-deb: building package 'sbuild-build-depends-socks4-server-dummy' in '/<>/resolver-pUQyC9/apt_archive/sbuild-build-depends-socks4-server-dummy.deb'. Ign:1 copy:/<>/resolver-pUQyC9/apt_archive ./ InRelease Get:2 copy:/<>/resolver-pUQyC9/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-pUQyC9/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-pUQyC9/apt_archive ./ Sources [235 B] Get:5 copy:/<>/resolver-pUQyC9/apt_archive ./ Packages [551 B] Fetched 2905 B in 0s (138 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install socks4-server 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 bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu60 libident libident-dev libmagic-mgc libmagic1 libncurses5-dev libpipeline1 libsigsegv2 libtimedate-perl libtinfo-dev libtool libxml2 m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make dwz gettext-doc libasprintf-dev libgettextpo-dev groff ncurses-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu60 libident libident-dev libmagic-mgc libmagic1 libncurses5-dev libpipeline1 libsigsegv2 libtimedate-perl libtinfo-dev libtool libxml2 m4 man-db po-debconf sbuild-build-depends-socks4-server-dummy 0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded. Need to get 16.1 MB of archives. After this operation, 58.3 MB of additional disk space will be used. Get:1 copy:/<>/resolver-pUQyC9/apt_archive ./ sbuild-build-depends-socks4-server-dummy 0.invalid.0 [884 B] Get:2 http://ftpmaster.internal/ubuntu bionic/main armhf libbsd0 armhf 0.8.7-1 [40.4 kB] Get:3 http://ftpmaster.internal/ubuntu bionic/main armhf bsdmainutils armhf 11.1.2ubuntu1 [177 kB] Get:4 http://ftpmaster.internal/ubuntu bionic/main armhf groff-base armhf 1.22.3-10 [1013 kB] Get:5 http://ftpmaster.internal/ubuntu bionic/main armhf libpipeline1 armhf 1.5.0-1 [21.1 kB] Get:6 http://ftpmaster.internal/ubuntu bionic-updates/main armhf man-db armhf 2.8.3-2ubuntu0.1 [993 kB] Get:7 http://ftpmaster.internal/ubuntu bionic-security/main armhf libmagic-mgc armhf 1:5.32-2ubuntu0.1 [184 kB] Get:8 http://ftpmaster.internal/ubuntu bionic-security/main armhf libmagic1 armhf 1:5.32-2ubuntu0.1 [62.7 kB] Get:9 http://ftpmaster.internal/ubuntu bionic-security/main armhf file armhf 1:5.32-2ubuntu0.1 [21.5 kB] Get:10 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libglib2.0-0 armhf 2.56.3-0ubuntu0.18.04.1 [1016 kB] Get:11 http://ftpmaster.internal/ubuntu bionic/main armhf libicu60 armhf 60.2-3ubuntu3 [7797 kB] Get:12 http://ftpmaster.internal/ubuntu bionic-security/main armhf libxml2 armhf 2.9.4+dfsg1-6.1ubuntu1.2 [567 kB] Get:13 http://ftpmaster.internal/ubuntu bionic-security/main armhf gettext-base armhf 0.19.8.1-6ubuntu0.1 [46.4 kB] Get:14 http://ftpmaster.internal/ubuntu bionic/main armhf libsigsegv2 armhf 2.12-1 [14.0 kB] Get:15 http://ftpmaster.internal/ubuntu bionic/main armhf m4 armhf 1.4.18-1 [181 kB] Get:16 http://ftpmaster.internal/ubuntu bionic/main armhf autoconf all 2.69-11 [322 kB] Get:17 http://ftpmaster.internal/ubuntu bionic/main armhf autotools-dev all 20180224.1 [39.6 kB] Get:18 http://ftpmaster.internal/ubuntu bionic/main armhf automake all 1:1.15.1-3ubuntu2 [509 kB] Get:19 http://ftpmaster.internal/ubuntu bionic-security/main armhf autopoint all 0.19.8.1-6ubuntu0.1 [412 kB] Get:20 http://ftpmaster.internal/ubuntu bionic/main armhf libtool all 2.4.6-2 [194 kB] Get:21 http://ftpmaster.internal/ubuntu bionic/main armhf dh-autoreconf all 17 [15.8 kB] Get:22 http://ftpmaster.internal/ubuntu bionic-security/main armhf libarchive-zip-perl all 1.60-1ubuntu0.1 [84.6 kB] Get:23 http://ftpmaster.internal/ubuntu bionic/main armhf libfile-stripnondeterminism-perl all 0.040-1.1~build1 [13.8 kB] Get:24 http://ftpmaster.internal/ubuntu bionic/main armhf libtimedate-perl all 2.3000-2 [37.5 kB] Get:25 http://ftpmaster.internal/ubuntu bionic/main armhf dh-strip-nondeterminism all 0.040-1.1~build1 [5208 B] Get:26 http://ftpmaster.internal/ubuntu bionic/main armhf libcroco3 armhf 0.6.12-2 [69.4 kB] Get:27 http://ftpmaster.internal/ubuntu bionic-security/main armhf gettext armhf 0.19.8.1-6ubuntu0.1 [834 kB] Get:28 http://ftpmaster.internal/ubuntu bionic/main armhf intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:29 http://ftpmaster.internal/ubuntu bionic/main armhf po-debconf all 1.0.20 [232 kB] Get:30 http://ftpmaster.internal/ubuntu bionic-updates/main armhf debhelper all 11.1.6ubuntu2 [902 kB] Get:31 http://ftpmaster.internal/ubuntu bionic/universe armhf libident armhf 0.22-3.1 [12.1 kB] Get:32 http://ftpmaster.internal/ubuntu bionic/universe armhf libident-dev armhf 0.22-3.1 [8100 B] Get:33 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libtinfo-dev armhf 6.1-1ubuntu1.18.04 [71.1 kB] Get:34 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libncurses5-dev armhf 6.1-1ubuntu1.18.04 [157 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 16.1 MB in 1s (27.7 MB/s) Selecting previously unselected package libbsd0:armhf. (Reading database ... 12392 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.8.7-1_armhf.deb ... Unpacking libbsd0:armhf (0.8.7-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2ubuntu1_armhf.deb ... Unpacking bsdmainutils (11.1.2ubuntu1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.3-10_armhf.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../03-libpipeline1_1.5.0-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.8.3-2ubuntu0.1_armhf.deb ... Unpacking man-db (2.8.3-2ubuntu0.1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../05-libmagic-mgc_1%3a5.32-2ubuntu0.1_armhf.deb ... Unpacking libmagic-mgc (1:5.32-2ubuntu0.1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../06-libmagic1_1%3a5.32-2ubuntu0.1_armhf.deb ... Unpacking libmagic1:armhf (1:5.32-2ubuntu0.1) ... Selecting previously unselected package file. Preparing to unpack .../07-file_1%3a5.32-2ubuntu0.1_armhf.deb ... Unpacking file (1:5.32-2ubuntu0.1) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../08-libglib2.0-0_2.56.3-0ubuntu0.18.04.1_armhf.deb ... Unpacking libglib2.0-0:armhf (2.56.3-0ubuntu0.18.04.1) ... Selecting previously unselected package libicu60:armhf. Preparing to unpack .../09-libicu60_60.2-3ubuntu3_armhf.deb ... Unpacking libicu60:armhf (60.2-3ubuntu3) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../10-libxml2_2.9.4+dfsg1-6.1ubuntu1.2_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-6.1ubuntu1.2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../11-gettext-base_0.19.8.1-6ubuntu0.1_armhf.deb ... Unpacking gettext-base (0.19.8.1-6ubuntu0.1) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../12-libsigsegv2_2.12-1_armhf.deb ... Unpacking libsigsegv2:armhf (2.12-1) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.18-1_armhf.deb ... Unpacking m4 (1.4.18-1) ... 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.15.1-3ubuntu2_all.deb ... Unpacking automake (1:1.15.1-3ubuntu2) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.19.8.1-6ubuntu0.1_all.deb ... Unpacking autopoint (0.19.8.1-6ubuntu0.1) ... Selecting previously unselected package libtool. Preparing to unpack .../18-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../19-dh-autoreconf_17_all.deb ... Unpacking dh-autoreconf (17) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../20-libarchive-zip-perl_1.60-1ubuntu0.1_all.deb ... Unpacking libarchive-zip-perl (1.60-1ubuntu0.1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_0.040-1.1~build1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.040-1.1~build1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../22-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../23-dh-strip-nondeterminism_0.040-1.1~build1_all.deb ... Unpacking dh-strip-nondeterminism (0.040-1.1~build1) ... Selecting previously unselected package libcroco3:armhf. Preparing to unpack .../24-libcroco3_0.6.12-2_armhf.deb ... Unpacking libcroco3:armhf (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.19.8.1-6ubuntu0.1_armhf.deb ... Unpacking gettext (0.19.8.1-6ubuntu0.1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_11.1.6ubuntu2_all.deb ... Unpacking debhelper (11.1.6ubuntu2) ... Selecting previously unselected package libident. Preparing to unpack .../29-libident_0.22-3.1_armhf.deb ... Unpacking libident (0.22-3.1) ... Selecting previously unselected package libident-dev. Preparing to unpack .../30-libident-dev_0.22-3.1_armhf.deb ... Unpacking libident-dev (0.22-3.1) ... Selecting previously unselected package libtinfo-dev:armhf. Preparing to unpack .../31-libtinfo-dev_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking libtinfo-dev:armhf (6.1-1ubuntu1.18.04) ... Selecting previously unselected package libncurses5-dev:armhf. Preparing to unpack .../32-libncurses5-dev_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking libncurses5-dev:armhf (6.1-1ubuntu1.18.04) ... Selecting previously unselected package sbuild-build-depends-socks4-server-dummy. Preparing to unpack .../33-sbuild-build-depends-socks4-server-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-socks4-server-dummy (0.invalid.0) ... Setting up libicu60:armhf (60.2-3ubuntu3) ... Setting up libarchive-zip-perl (1.60-1ubuntu0.1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:armhf (2.12-1) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:armhf (2.56.3-0ubuntu0.18.04.1) ... No schema files found: doing nothing. Setting up libtinfo-dev:armhf (6.1-1ubuntu1.18.04) ... Setting up gettext-base (0.19.8.1-6ubuntu0.1) ... Setting up libpipeline1:armhf (1.5.0-1) ... Setting up m4 (1.4.18-1) ... Setting up libbsd0:armhf (0.8.7-1) ... Setting up libxml2:armhf (2.9.4+dfsg1-6.1ubuntu1.2) ... Setting up libmagic-mgc (1:5.32-2ubuntu0.1) ... Setting up libmagic1:armhf (1:5.32-2ubuntu0.1) ... Setting up libcroco3:armhf (0.6.12-2) ... Setting up libncurses5-dev:armhf (6.1-1ubuntu1.18.04) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up autotools-dev (20180224.1) ... Setting up bsdmainutils (11.1.2ubuntu1) ... 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 autopoint (0.19.8.1-6ubuntu0.1) ... Setting up libident (0.22-3.1) ... Setting up libfile-stripnondeterminism-perl (0.040-1.1~build1) ... Setting up libident-dev (0.22-3.1) ... Setting up gettext (0.19.8.1-6ubuntu0.1) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.32-2ubuntu0.1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up automake (1:1.15.1-3ubuntu2) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.8.3-2ubuntu0.1) ... Not building database; man-db/auto-update is not 'true'. Setting up libtool (2.4.6-2) ... Setting up po-debconf (1.0.20) ... Setting up dh-autoreconf (17) ... Setting up dh-strip-nondeterminism (0.040-1.1~build1) ... Setting up debhelper (11.1.6ubuntu2) ... Setting up sbuild-build-depends-socks4-server-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-142-generic arm64 (armv7l) Toolchain package versions: binutils_2.30-21ubuntu1~18.04 dpkg-dev_1.19.0.5ubuntu2.1 g++-7_7.4.0-3ubuntu2~18.04~ppa1 gcc-7_7.4.0-3ubuntu2~18.04~ppa1 libc6-dev_2.27-3ubuntu1 libstdc++-7-dev_7.4.0-3ubuntu2~18.04~ppa1 libstdc++6_8.2.0-14ubuntu1~18.04~ppa1 linux-libc-dev_4.15.0-45.48 Package versions: adduser_3.116ubuntu1 advancecomp_2.1-1 apt_1.6.8 autoconf_2.69-11 automake_1:1.15.1-3ubuntu2 autopoint_0.19.8.1-6ubuntu0.1 autotools-dev_20180224.1 base-files_10.1ubuntu2.4 base-passwd_3.5.44 bash_4.4.18-2ubuntu1 binutils_2.30-21ubuntu1~18.04 binutils-arm-linux-gnueabihf_2.30-21ubuntu1~18.04 binutils-common_2.30-21ubuntu1~18.04 bsdmainutils_11.1.2ubuntu1 bsdutils_1:2.31.1-0.4ubuntu3.3 build-essential_12.4ubuntu1 bzip2_1.0.6-8.1 ca-certificates_20180409 coreutils_8.28-1ubuntu1 cpp_4:7.3.0-3ubuntu2.1 cpp-7_7.4.0-3ubuntu2~18.04~ppa1 dash_0.5.8-2.10 debconf_1.5.66 debhelper_11.1.6ubuntu2 debianutils_4.8.4 dh-autoreconf_17 dh-strip-nondeterminism_0.040-1.1~build1 diffutils_1:3.6-1 dmsetup_2:1.02.145-4.1ubuntu3 dpkg_1.19.0.5ubuntu2.1 dpkg-dev_1.19.0.5ubuntu2.1 e2fslibs_1.44.1-1ubuntu1.1 e2fsprogs_1.44.1-1ubuntu1.1 fakeroot_1.22-2ubuntu1 fdisk_2.31.1-0.4ubuntu3.3 file_1:5.32-2ubuntu0.1 findutils_4.6.0+git+20170828-2 g++_4:7.3.0-3ubuntu2.1 g++-7_7.4.0-3ubuntu2~18.04~ppa1 gcc_4:7.3.0-3ubuntu2.1 gcc-7_7.4.0-3ubuntu2~18.04~ppa1 gcc-7-base_7.4.0-3ubuntu2~18.04~ppa1 gcc-8-base_8.2.0-14ubuntu1~18.04~ppa1 gettext_0.19.8.1-6ubuntu0.1 gettext-base_0.19.8.1-6ubuntu0.1 gpg_2.2.4-1ubuntu1.2 gpg-agent_2.2.4-1ubuntu1.2 gpgconf_2.2.4-1ubuntu1.2 gpgv_2.2.4-1ubuntu1.2 grep_3.1-2 groff-base_1.22.3-10 gzip_1.6-5ubuntu1 hostname_3.20 init_1.51 init-system-helpers_1.51 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3build1 libapparmor1_2.12-4ubuntu5.1 libapt-pkg5.0_1.6.8 libarchive-zip-perl_1.60-1ubuntu0.1 libargon2-0_0~20161029-1.1 libasan4_7.4.0-3ubuntu2~18.04~ppa1 libassuan0_2.5.1-2 libatomic1_8.2.0-14ubuntu1~18.04~ppa1 libattr1_1:2.4.47-2build1 libaudit-common_1:2.8.2-1ubuntu1 libaudit1_1:2.8.2-1ubuntu1 libbinutils_2.30-21ubuntu1~18.04 libblkid1_2.31.1-0.4ubuntu3.3 libbsd0_0.8.7-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.27-3ubuntu1 libc-dev-bin_2.27-3ubuntu1 libc6_2.27-3ubuntu1 libc6-dev_2.27-3ubuntu1 libcap-ng0_0.7.7-3.1 libcap2_1:2.25-1.2 libcc1-0_8.2.0-14ubuntu1~18.04~ppa1 libcilkrts5_7.4.0-3ubuntu2~18.04~ppa1 libcom-err2_1.44.1-1ubuntu1.1 libcomerr2_1.44.1-1ubuntu1.1 libcroco3_0.6.12-2 libcryptsetup12_2:2.0.2-1ubuntu1.1 libdb5.3_5.3.28-13.1ubuntu1 libdebconfclient0_0.213ubuntu1 libdevmapper1.02.1_2:1.02.145-4.1ubuntu3 libdpkg-perl_1.19.0.5ubuntu2.1 libext2fs2_1.44.1-1ubuntu1.1 libfakeroot_1.22-2ubuntu1 libfdisk1_2.31.1-0.4ubuntu3.3 libffi6_3.2.1-8 libfile-stripnondeterminism-perl_0.040-1.1~build1 libgcc-7-dev_7.4.0-3ubuntu2~18.04~ppa1 libgcc1_1:8.2.0-14ubuntu1~18.04~ppa1 libgcrypt20_1.8.1-4ubuntu1.1 libgdbm-compat4_1.14.1-6 libgdbm5_1.14.1-6 libglib2.0-0_2.56.3-0ubuntu0.18.04.1 libgmp10_2:6.1.2+dfsg-2 libgnutls30_3.5.18-1ubuntu1 libgomp1_8.2.0-14ubuntu1~18.04~ppa1 libgpg-error0_1.27-6 libhogweed4_3.4-1 libicu60_60.2-3ubuntu3 libident_0.22-3.1 libident-dev_0.22-3.1 libidn11_1.33-2.1ubuntu1 libidn2-0_2.0.4-1.1build2 libip4tc0_1.6.1-2ubuntu2 libisl19_0.19-1 libjson-c3_0.12.1-1.3 libkmod2_24-1ubuntu3.2 liblockfile-bin_1.14-1.1 liblockfile1_1.14-1.1 liblz4-1_0.0~r131-2ubuntu3 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.32-2ubuntu0.1 libmagic1_1:5.32-2ubuntu0.1 libmount1_2.31.1-0.4ubuntu3.3 libmpc3_1.1.0-1 libmpfr6_4.0.1-1 libncurses5_6.1-1ubuntu1.18.04 libncurses5-dev_6.1-1ubuntu1.18.04 libncursesw5_6.1-1ubuntu1.18.04 libnettle6_3.4-1 libnpth0_1.5-3 libp11-kit0_0.23.9-2 libpam-modules_1.1.8-3.6ubuntu2 libpam-modules-bin_1.1.8-3.6ubuntu2 libpam-runtime_1.1.8-3.6ubuntu2 libpam0g_1.1.8-3.6ubuntu2 libpcre3_2:8.39-9 libperl5.26_5.26.1-6ubuntu0.3 libpipeline1_1.5.0-1 libpng16-16_1.6.34-1ubuntu0.18.04.1 libprocps6_2:3.3.12-3ubuntu1.1 libreadline7_7.0-3 libseccomp2_2.3.1-2.1ubuntu4 libselinux1_2.7-2build2 libsemanage-common_2.7-2build2 libsemanage1_2.7-2build2 libsepol1_2.7-1 libsigsegv2_2.12-1 libslang2_2.3.1a-3ubuntu1 libsmartcols1_2.31.1-0.4ubuntu3.3 libsqlite3-0_3.22.0-1 libss2_1.44.1-1ubuntu1.1 libssl1.1_1.1.1-1ubuntu2.1~18.04.0 libstdc++-7-dev_7.4.0-3ubuntu2~18.04~ppa1 libstdc++6_8.2.0-14ubuntu1~18.04~ppa1 libsystemd0_237-3ubuntu10.13 libtasn1-6_4.13-2 libtimedate-perl_2.3000-2 libtinfo-dev_6.1-1ubuntu1.18.04 libtinfo5_6.1-1ubuntu1.18.04 libtool_2.4.6-2 libubsan0_7.4.0-3ubuntu2~18.04~ppa1 libudev1_237-3ubuntu10.13 libunistring2_0.9.9-0ubuntu1 libusb-0.1-4_2:0.1.12-31 libuuid1_2.31.1-0.4ubuntu3.3 libxml2_2.9.4+dfsg1-6.1ubuntu1.2 libzstd1_1.3.3+dfsg-2ubuntu1 linux-libc-dev_4.15.0-45.48 lockfile-progs_0.1.17build1 login_1:4.5-1ubuntu1 lsb-base_9.20170808ubuntu1 m4_1.4.18-1 make_4.1-9.1ubuntu1 man-db_2.8.3-2ubuntu0.1 mawk_1.3.3-17ubuntu3 mount_2.31.1-0.4ubuntu3.3 multiarch-support_2.27-3ubuntu1 ncurses-base_6.1-1ubuntu1.18.04 ncurses-bin_6.1-1ubuntu1.18.04 openssl_1.1.1-1ubuntu2.1~18.04.0 optipng_0.7.6-1.1 passwd_1:4.5-1ubuntu1 patch_2.7.6-2ubuntu1 perl_5.26.1-6ubuntu0.3 perl-base_5.26.1-6ubuntu0.3 perl-modules-5.26_5.26.1-6ubuntu0.3 pinentry-curses_1.1.0-1 pkgbinarymangler_138.18.04.0 po-debconf_1.0.20 policyrcd-script-zg2_0.1-3 procps_2:3.3.12-3ubuntu1.1 readline-common_7.0-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-socks4-server-dummy_0.invalid.0 sed_4.4-2 sensible-utils_0.0.12 systemd_237-3ubuntu10.13 systemd-sysv_237-3ubuntu10.13 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.10ubuntu1 tar_1.29b-2ubuntu0.1 tzdata_2018i-0ubuntu0.18.04 ubuntu-keyring_2018.09.18.1~18.04.0 util-linux_2.31.1-0.4ubuntu3.3 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-0ubuntu2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- 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 socks4-server-4.3.beta2 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: socks4-server-4.3.beta2/Makefile socks4-server-4.3.beta2/doc/sockd.8 socks4-server-4.3.beta2/include/socks.h socks4-server-4.3.beta2/lib/Makefile socks4-server-4.3.beta2/lib/Rconnect.c socks4-server-4.3.beta2/lib/Rconnect.c,v socks4-server-4.3.beta2/libident/id_open.c socks4-server-4.3.beta2/libident/id_open.c,v socks4-server-4.3.beta2/mkfc/Makefile socks4-server-4.3.beta2/rfinger/Makefile socks4-server-4.3.beta2/rfinger/finger.c socks4-server-4.3.beta2/rftp/Makefile socks4-server-4.3.beta2/rftp/cmds.c socks4-server-4.3.beta2/rftp/domacro.c socks4-server-4.3.beta2/rftp/ftp.c socks4-server-4.3.beta2/rftp/ftp_var.h socks4-server-4.3.beta2/rftp/glob.c socks4-server-4.3.beta2/rftp/ruserpass.c socks4-server-4.3.beta2/rtelnet/Config.local socks4-server-4.3.beta2/rtelnet/Makefile socks4-server-4.3.beta2/rtelnet/libtelnet/Makefile socks4-server-4.3.beta2/rtelnet/telnet/Makefile socks4-server-4.3.beta2/rtelnet/telnet/commands.c socks4-server-4.3.beta2/rtelnet/telnet/externs.h socks4-server-4.3.beta2/rtelnet/telnet/sys_bsd.c socks4-server-4.3.beta2/runsocks/Makefile socks4-server-4.3.beta2/runsocks/README.runsocks socks4-server-4.3.beta2/runsocks/accept.c socks4-server-4.3.beta2/runsocks/bind.c socks4-server-4.3.beta2/runsocks/connect.c socks4-server-4.3.beta2/runsocks/gethostbyname.c socks4-server-4.3.beta2/runsocks/listen.c socks4-server-4.3.beta2/runsocks/runsocks socks4-server-4.3.beta2/runsocks/wrap.c socks4-server-4.3.beta2/runsocks/wrap.h socks4-server-4.3.beta2/sockd/Makefile Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=noautodbgsym parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-16181819 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-16181819 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-16181819 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package socks4-server dpkg-buildpackage: info: source version 4.3.beta2-20 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build socks4-server-4.3.beta2 dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp install-stamp make clean 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]: 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: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:243:20: warning: too many arguments for format [-Wformat-extra-args] fprintf(stderr, "SOCKS lient. Default SOCKS server: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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’ 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: 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: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: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: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: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’ 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: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:80:38: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=] syslog(LOG_HIGH, "Error: creat() %s: %m\n"); ~^ 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: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: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/arm-linux-gnueabihf/sys/signal.h:1:0, 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/arm-linux-gnueabihf/sys/signal.h:1:0, 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: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:243:20: warning: too many arguments for format [-Wformat-extra-args] fprintf(stderr, "SOCKS lient. Default SOCKS server: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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’ 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: 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: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: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: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: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’ 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: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:80:38: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=] syslog(LOG_HIGH, "Error: creat() %s: %m\n"); ~^ 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: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: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/arm-linux-gnueabihf/sys/signal.h:1:0, 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/arm-linux-gnueabihf/sys/signal.h:1:0, 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: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: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: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’ 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’ 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’ 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: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: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 gcc -I../include -g -DLINUX -DSOCKSIFIED_SOCKD -c -o rsockd.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: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: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:587:9: warning: implicit declaration of function ‘RDoConnect’; did you mean ‘DoConnect’? [-Wimplicit-function-declaration] out = RDoConnect(in, &dstsh, log_msg); ^~~~~~~~~~ DoConnect sockd.c:594:9: warning: implicit declaration of function ‘RDoNewBind’; did you mean ‘DoNewBind’? [-Wimplicit-function-declaration] out = RDoNewBind(in, &srcsh, &dstsh, rtAddr, Nrt, myaddr, log_msg); ^~~~~~~~~~ DoNewBind 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 rsockd rsockd.o libsockd.a -L/<>/lib/ -lsocks -lident make[2]: Leaving directory '/<>/sockd' (cd rfinger; make CC="gcc" WHOIS_SERVER=-DWHOIS_SERVER\'=\"rs.internic.net\"\' \ OPTIMIZE="-g" SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname" \ RESOLV_LIB="" SOCKS_LIB="-L/<>/lib/ -lsocks" \ SOCKS_LIB_DEP="/<>/lib/libsocks.a" \ OTHER_CFLAGS="-DLINUX ") make[2]: Entering directory '/<>/rfinger' /<>/rfinger gcc -I../include -g -DLINUX -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -c -o finger.o finger.c finger.c: In function ‘main’: finger.c:49:2: warning: implicit declaration of function ‘SOCKSinit’; did you mean ‘SOCKS_FC’? [-Wimplicit-function-declaration] SOCKSinit(Progname); ^~~~~~~~~ SOCKS_FC finger.c:67:3: warning: implicit declaration of function ‘strcat’ [-Wimplicit-function-declaration] strcat(cp, " "); ^~~~~~ finger.c:67:3: warning: incompatible implicit declaration of built-in function ‘strcat’ finger.c:67:3: note: include ‘’ or provide a declaration of ‘strcat’ finger.c:69:10: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] if (strcmp(argv[i], "-l")) { ^~~~~~ finger.c:71:9: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] cp += strlen(argv[i]); ^~~~~~ finger.c:71:9: warning: incompatible implicit declaration of built-in function ‘strlen’ finger.c:71:9: note: include ‘’ or provide a declaration of ‘strlen’ finger.c:84:3: warning: implicit declaration of function ‘execvp’ [-Wimplicit-function-declaration] execvp(cp, argv); ^~~~~~ finger.c:86:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ finger.c:86:3: warning: incompatible implicit declaration of built-in function ‘exit’ finger.c:86:3: note: include ‘’ or provide a declaration of ‘exit’ finger.c:94:12: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration] if ((v = atoi(service)) == 0) { ^~~~ finger.c:97:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ finger.c:97:4: note: include ‘’ or provide a declaration of ‘exit’ finger.c:108:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ finger.c:108:4: note: include ‘’ or provide a declaration of ‘exit’ finger.c:116:4: warning: implicit declaration of function ‘bcopy’ [-Wimplicit-function-declaration] bcopy(*hp->h_addr_list, &(dstaddr[i].s_addr), hp->h_length); ^~~~~ finger.c:116:4: warning: incompatible implicit declaration of built-in function ‘bcopy’ finger.c:125:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ finger.c:125:3: note: include ‘’ or provide a declaration of ‘exit’ finger.c:128:20: warning: passing argument 2 of ‘Rconnect’ from incompatible pointer type [-Wincompatible-pointer-types] while (connect(s, &sin, sizeof(sin)) < 0) { ^ :0:9: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in *’ finger.c:135:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ finger.c:135:3: note: include ‘’ or provide a declaration of ‘exit’ finger.c:140:2: warning: incompatible implicit declaration of built-in function ‘strcat’ strcat(cp, "\r\n"); ^~~~~~ finger.c:140:2: note: include ‘’ or provide a declaration of ‘strcat’ finger.c:142:6: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] if (write(s,cp,strlen(cp)) < 0) { ^~~~~ fwrite finger.c:142:17: warning: incompatible implicit declaration of built-in function ‘strlen’ if (write(s,cp,strlen(cp)) < 0) { ^~~~~~ finger.c:142:17: note: include ‘’ or provide a declaration of ‘strlen’ finger.c:147:14: warning: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration] while ((n = read(s, buf, sizeof(buf) - 1)) > 0) { ^~~~ fread finger.c:151:2: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] close(s); ^~~~~ pclose gcc -I../include -g -DLINUX -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -o rfinger finger.o -L/<>/lib/ -lsocks gcc -DWHOIS_SERVER'="rs.internic.net"' -I../include -g -DLINUX -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -o rwhois finger.c -L/<>/lib/ -lsocks finger.c: In function ‘main’: finger.c:49:2: warning: implicit declaration of function ‘SOCKSinit’; did you mean ‘SOCKS_FC’? [-Wimplicit-function-declaration] SOCKSinit(Progname); ^~~~~~~~~ SOCKS_FC finger.c:60:4: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ finger.c:60:4: warning: incompatible implicit declaration of built-in function ‘exit’ finger.c:60:4: note: include ‘’ or provide a declaration of ‘exit’ finger.c:67:3: warning: implicit declaration of function ‘strcat’ [-Wimplicit-function-declaration] strcat(cp, " "); ^~~~~~ finger.c:67:3: warning: incompatible implicit declaration of built-in function ‘strcat’ finger.c:67:3: note: include ‘’ or provide a declaration of ‘strcat’ finger.c:69:10: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] if (strcmp(argv[i], "-l")) { ^~~~~~ finger.c:71:9: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] cp += strlen(argv[i]); ^~~~~~ finger.c:71:9: warning: incompatible implicit declaration of built-in function ‘strlen’ finger.c:71:9: note: include ‘’ or provide a declaration of ‘strlen’ finger.c:94:12: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration] if ((v = atoi(service)) == 0) { ^~~~ finger.c:97:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ finger.c:97:4: note: include ‘’ or provide a declaration of ‘exit’ finger.c:108:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ finger.c:108:4: note: include ‘’ or provide a declaration of ‘exit’ finger.c:116:4: warning: implicit declaration of function ‘bcopy’ [-Wimplicit-function-declaration] bcopy(*hp->h_addr_list, &(dstaddr[i].s_addr), hp->h_length); ^~~~~ finger.c:116:4: warning: incompatible implicit declaration of built-in function ‘bcopy’ finger.c:125:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ finger.c:125:3: note: include ‘’ or provide a declaration of ‘exit’ finger.c:128:20: warning: passing argument 2 of ‘Rconnect’ from incompatible pointer type [-Wincompatible-pointer-types] while (connect(s, &sin, sizeof(sin)) < 0) { ^ :0:9: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in *’ finger.c:135:3: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ finger.c:135:3: note: include ‘’ or provide a declaration of ‘exit’ finger.c:140:2: warning: incompatible implicit declaration of built-in function ‘strcat’ strcat(cp, "\r\n"); ^~~~~~ finger.c:140:2: note: include ‘’ or provide a declaration of ‘strcat’ finger.c:142:6: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] if (write(s,cp,strlen(cp)) < 0) { ^~~~~ fwrite finger.c:142:17: warning: incompatible implicit declaration of built-in function ‘strlen’ if (write(s,cp,strlen(cp)) < 0) { ^~~~~~ finger.c:142:17: note: include ‘’ or provide a declaration of ‘strlen’ finger.c:147:14: warning: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration] while ((n = read(s, buf, sizeof(buf) - 1)) > 0) { ^~~~ fread finger.c:151:2: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] close(s); ^~~~~ pclose make[2]: Leaving directory '/<>/rfinger' (cd rftp; make CC="gcc" SOCKS_LIB="-L/<>/lib/ -lsocks" \ SOCKS_LIB_DEP="/<>/lib/libsocks.a" \ OPTIMIZE="-g" SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname" \ RESOLV_LIB="" \ OTHER_CFLAGS="-DLINUX ") make[2]: Entering directory '/<>/rftp' /<>/rftp gcc -I../include -g -DLINUX -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -c -o cmds.o cmds.c cmds.c:96:1: warning: return type defaults to ‘int’ [-Wimplicit-int] another(pargc, pargv, prompt) ^~~~~~~ cmds.c: In function ‘another’: cmds.c:101:12: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] int len = strlen(line), ret; ^~~~~~ cmds.c:101:12: warning: incompatible implicit declaration of built-in function ‘strlen’ cmds.c:101:12: note: include ‘’ or provide a declaration of ‘strlen’ cmds.c:115:2: warning: implicit declaration of function ‘makeargv’; did you mean ‘makedev’? [-Wimplicit-function-declaration] makeargv(); ^~~~~~~~ makedev cmds.c: At top level: cmds.c:126:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setpeer(argc, argv) ^~~~~~~ cmds.c: In function ‘setpeer’: cmds.c:137:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:126:1: note: declared here setpeer(argc, argv) ^~~~~~~ cmds.c:144:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:126:1: note: declared here setpeer(argc, argv) ^~~~~~~ cmds.c:151:10: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration] port = atoi(argv[2]); ^~~~ cmds.c:156:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:126:1: note: declared here setpeer(argc, argv) ^~~~~~~ cmds.c:168:10: warning: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration] (void) strcpy(typename, "ascii"), type = TYPE_A; ^~~~~~ cmds.c:168:10: warning: incompatible implicit declaration of built-in function ‘strcpy’ cmds.c:168:10: note: include ‘’ or provide a declaration of ‘strcpy’ cmds.c:175:11: warning: implicit declaration of function ‘login’ [-Wimplicit-function-declaration] (void) login(argv[1]); ^~~~~ cmds.c:185:7: warning: implicit declaration of function ‘command’; did you mean ‘howmany’? [-Wimplicit-function-declaration] if (command("SYST") == COMPLETE && overbose) { ^~~~~~~ howmany cmds.c:202:8: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration] if (!strncmp(reply_string, "215 UNIX Type: L8", 17)) { ^~~~~~~ cmds.c: At top level: cmds.c:250:1: warning: return type defaults to ‘int’ [-Wimplicit-int] settype(argc, argv) ^~~~~~~ cmds.c: In function ‘settype’: cmds.c:268:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:250:1: note: declared here settype(argc, argv) ^~~~~~~ cmds.c:273:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:250:1: note: declared here settype(argc, argv) ^~~~~~~ cmds.c:276:7: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] if (strcmp(argv[1], p->t_name) == 0) ^~~~~~ cmds.c:281:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:250:1: note: declared here settype(argc, argv) ^~~~~~~ cmds.c:288:10: warning: incompatible implicit declaration of built-in function ‘strcpy’ (void) strcpy(typename, p->t_name); ^~~~~~ cmds.c:288:10: note: include ‘’ or provide a declaration of ‘strcpy’ cmds.c: At top level: cmds.c:298:1: warning: return type defaults to ‘int’ [-Wimplicit-int] changetype(newtype, show) ^~~~~~~~~~ cmds.c: In function ‘changetype’: cmds.c:307:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:298:1: note: declared here changetype(newtype, show) ^~~~~~~~~~ cmds.c:315:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:298:1: note: declared here changetype(newtype, show) ^~~~~~~~~~ cmds.c: At top level: cmds.c:336:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setbinary() ^~~~~~~~~ cmds.c:346:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setascii() ^~~~~~~~ cmds.c:356:1: warning: return type defaults to ‘int’ [-Wimplicit-int] settenex() ^~~~~~~~ cmds.c:366:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setmode(argc, argv) ^~~~~~~ cmds.c:379:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setform(argc, argv) ^~~~~~~ cmds.c:392:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setstruct(argc, argv) ^~~~~~~~~ cmds.c:404:1: warning: return type defaults to ‘int’ [-Wimplicit-int] put(argc, argv) ^~~ cmds.c: In function ‘put’: cmds.c:423:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:404:1: note: declared here put(argc, argv) ^~~ cmds.c:427:7: warning: implicit declaration of function ‘globulize’ [-Wimplicit-function-declaration] if (!globulize(&argv[1])) { ^~~~~~~~~ cmds.c:429:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:404:1: note: declared here put(argc, argv) ^~~ cmds.c:445:2: warning: implicit declaration of function ‘sendrequest’; did you mean ‘endservent’? [-Wimplicit-function-declaration] sendrequest(cmd, argv[1], argv[2], ^~~~~~~~~~~ endservent cmds.c: At top level: cmds.c:452:1: warning: return type defaults to ‘int’ [-Wimplicit-int] mput(argc, argv) ^~~~ cmds.c: In function ‘mput’: cmds.c:466:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:452:1: note: declared here mput(argc, argv) ^~~~ cmds.c:480:17: warning: implicit declaration of function ‘confirm’ [-Wimplicit-function-declaration] if (mflag && confirm(argv[0], cp)) { ^~~~~~~ cmds.c:519:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:452:1: note: declared here mput(argc, argv) ^~~~ cmds.c:545:5: warning: implicit declaration of function ‘blkfree’ [-Wimplicit-function-declaration] blkfree(gargs); ^~~~~~~ cmds.c:546:5: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free((char *)gargs); ^~~~ cmds.c:546:5: warning: incompatible implicit declaration of built-in function ‘free’ cmds.c:546:5: note: include ‘’ or provide a declaration of ‘free’ cmds.c:568:4: warning: incompatible implicit declaration of built-in function ‘free’ free((char *)gargs); ^~~~ cmds.c:568:4: note: include ‘’ or provide a declaration of ‘free’ cmds.c: At top level: cmds.c:575:1: warning: return type defaults to ‘int’ [-Wimplicit-int] reget(argc, argv) ^~~~~ cmds.c: In function ‘reget’: cmds.c:579:9: warning: implicit declaration of function ‘getit’; did you mean ‘getw’? [-Wimplicit-function-declaration] (void) getit(argc, argv, 1, "r+w"); ^~~~~ getw cmds.c: At top level: cmds.c:582:1: warning: return type defaults to ‘int’ [-Wimplicit-int] get(argc, argv) ^~~ cmds.c:592:1: warning: return type defaults to ‘int’ [-Wimplicit-int] getit(argc, argv, restartit, mode) ^~~~~ cmds.c: In function ‘getit’: cmds.c:592:1: warning: type of ‘restartit’ defaults to ‘int’ [-Wimplicit-int] cmds.c:697:2: warning: implicit declaration of function ‘recvrequest’ [-Wimplicit-function-declaration] recvrequest("RETR", argv[2], argv[1], mode, ^~~~~~~~~~~ cmds.c: At top level: cmds.c:727:1: warning: return type defaults to ‘int’ [-Wimplicit-int] mget(argc, argv) ^~~~ cmds.c: In function ‘mget’: cmds.c:740:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:727:1: note: declared here mget(argc, argv) ^~~~ cmds.c: In function ‘remglob’: cmds.c:824:10: warning: incompatible implicit declaration of built-in function ‘strcpy’ (void) strcpy(temp, _PATH_TMP); ^~~~~~ cmds.c:824:10: note: include ‘’ or provide a declaration of ‘strcpy’ cmds.c:825:10: warning: implicit declaration of function ‘mktemp’; did you mean ‘mktime’? [-Wimplicit-function-declaration] (void) mktemp(temp); ^~~~~~ mktime cmds.c:829:4: warning: implicit declaration of function ‘pswitch’ [-Wimplicit-function-declaration] pswitch(!proxy); ^~~~~~~ cmds.c:838:10: warning: implicit declaration of function ‘unlink’; did you mean ‘unix’? [-Wimplicit-function-declaration] (void) unlink(temp); ^~~~~~ unix cmds.c: At top level: cmds.c:865:1: warning: return type defaults to ‘int’ [-Wimplicit-int] status(argc, argv) ^~~~~~ cmds.c:920:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setbell() ^~~~~~~ cmds.c:932:1: warning: return type defaults to ‘int’ [-Wimplicit-int] settrace() ^~~~~~~~ cmds.c:944:1: warning: return type defaults to ‘int’ [-Wimplicit-int] sethash() ^~~~~~~ cmds.c:959:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setverbose() ^~~~~~~~~~ cmds.c:971:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setport() ^~~~~~~ cmds.c:984:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setprompt() ^~~~~~~~~ cmds.c:997:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setglob() ^~~~~~~ cmds.c:1010:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setdebug(argc, argv) ^~~~~~~~ cmds.c: In function ‘setdebug’: cmds.c:1021:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1010:1: note: declared here setdebug(argc, argv) ^~~~~~~~ cmds.c: At top level: cmds.c:1038:1: warning: return type defaults to ‘int’ [-Wimplicit-int] cd(argc, argv) ^~ cmds.c: In function ‘cd’: cmds.c:1046:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1038:1: note: declared here cd(argc, argv) ^~ cmds.c: At top level: cmds.c:1059:1: warning: return type defaults to ‘int’ [-Wimplicit-int] lcd(argc, argv) ^~~ cmds.c: In function ‘lcd’: cmds.c:1073:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1059:1: note: declared here lcd(argc, argv) ^~~ cmds.c:1077:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1059:1: note: declared here lcd(argc, argv) ^~~ cmds.c:1079:6: warning: implicit declaration of function ‘chdir’; did you mean ‘mkdir’? [-Wimplicit-function-declaration] if (chdir(argv[1]) < 0) { ^~~~~ mkdir cmds.c:1082:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1059:1: note: declared here lcd(argc, argv) ^~~ cmds.c: At top level: cmds.c:1095:1: warning: return type defaults to ‘int’ [-Wimplicit-int] delete(argc, argv) ^~~~~~ cmds.c: In function ‘delete’: cmds.c:1103:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1095:1: note: declared here delete(argc, argv) ^~~~~~ cmds.c: At top level: cmds.c:1111:1: warning: return type defaults to ‘int’ [-Wimplicit-int] mdelete(argc, argv) ^~~~~~~ cmds.c: In function ‘mdelete’: cmds.c:1124:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1111:1: note: declared here mdelete(argc, argv) ^~~~~~~ cmds.c: At top level: cmds.c:1154:1: warning: return type defaults to ‘int’ [-Wimplicit-int] renamefile(argc, argv) ^~~~~~~~~~ cmds.c: In function ‘renamefile’: cmds.c:1165:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1154:1: note: declared here renamefile(argc, argv) ^~~~~~~~~~ cmds.c: At top level: cmds.c:1175:1: warning: return type defaults to ‘int’ [-Wimplicit-int] ls(argc, argv) ^~ cmds.c: In function ‘ls’: cmds.c:1188:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1175:1: note: declared here ls(argc, argv) ^~ cmds.c:1193:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1175:1: note: declared here ls(argc, argv) ^~ cmds.c:1198:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1175:1: note: declared here ls(argc, argv) ^~ cmds.c: At top level: cmds.c:1207:1: warning: return type defaults to ‘int’ [-Wimplicit-int] mls(argc, argv) ^~~ cmds.c: In function ‘mls’: cmds.c:1223:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1207:1: note: declared here mls(argc, argv) ^~~ cmds.c:1231:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1207:1: note: declared here mls(argc, argv) ^~~ cmds.c: At top level: cmds.c:1258:1: warning: return type defaults to ‘int’ [-Wimplicit-int] shell(argc, argv) ^~~~~ cmds.c: In function ‘shell’: cmds.c:1273:13: warning: implicit declaration of function ‘fork’ [-Wimplicit-function-declaration] if ((pid = fork()) == 0) { ^~~~ cmds.c:1275:11: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] (void) close(pid); ^~~~~ pclose cmds.c:1284:10: warning: incompatible implicit declaration of built-in function ‘strcpy’ (void) strcpy(shellnam,"-"); ^~~~~~ cmds.c:1284:10: note: include ‘’ or provide a declaration of ‘strcpy’ cmds.c:1285:10: warning: implicit declaration of function ‘strcat’ [-Wimplicit-function-declaration] (void) strcat(shellnam, ++namep); ^~~~~~ cmds.c:1285:10: warning: incompatible implicit declaration of built-in function ‘strcat’ cmds.c:1285:10: note: include ‘’ or provide a declaration of ‘strcat’ cmds.c:1293:4: warning: implicit declaration of function ‘execl’ [-Wimplicit-function-declaration] execl(shell,shellnam,"-c",altarg,(char *)0); ^~~~~ cmds.c:1293:4: warning: incompatible implicit declaration of built-in function ‘execl’ cmds.c:1296:4: warning: incompatible implicit declaration of built-in function ‘execl’ execl(shell,shellnam,(char *)0); ^~~~~ cmds.c:1300:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ cmds.c:1300:3: warning: incompatible implicit declaration of built-in function ‘exit’ cmds.c:1300:3: note: include ‘’ or provide a declaration of ‘exit’ cmds.c: At top level: cmds.c:1323:1: warning: return type defaults to ‘int’ [-Wimplicit-int] user(argc, argv) ^~~~ cmds.c: In function ‘user’: cmds.c:1343:10: warning: incompatible implicit declaration of built-in function ‘strlen’ acct[strlen(acct) - 1] = '\0'; ^~~~~~ cmds.c:1343:10: note: include ‘’ or provide a declaration of ‘strlen’ cmds.c:1355:9: warning: incompatible implicit declaration of built-in function ‘strlen’ acct[strlen(acct) - 1] = '\0'; ^~~~~~ cmds.c:1355:9: note: include ‘’ or provide a declaration of ‘strlen’ cmds.c: At top level: cmds.c:1375:1: warning: return type defaults to ‘int’ [-Wimplicit-int] pwd() ^~~ cmds.c:1393:1: warning: return type defaults to ‘int’ [-Wimplicit-int] makedir(argc, argv) ^~~~~~~ cmds.c: In function ‘makedir’: cmds.c:1401:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1393:1: note: declared here makedir(argc, argv) ^~~~~~~ cmds.c: At top level: cmds.c:1413:1: warning: return type defaults to ‘int’ [-Wimplicit-int] removedir(argc, argv) ^~~~~~~~~ cmds.c: In function ‘removedir’: cmds.c:1421:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1413:1: note: declared here removedir(argc, argv) ^~~~~~~~~ cmds.c: At top level: cmds.c:1433:1: warning: return type defaults to ‘int’ [-Wimplicit-int] quote(argc, argv) ^~~~~ cmds.c: In function ‘quote’: cmds.c:1441:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1433:1: note: declared here quote(argc, argv) ^~~~~ cmds.c:1443:2: warning: implicit declaration of function ‘quote1’; did you mean ‘quote’? [-Wimplicit-function-declaration] quote1("", argc, argv); ^~~~~~ quote cmds.c: At top level: cmds.c:1451:1: warning: return type defaults to ‘int’ [-Wimplicit-int] site(argc, argv) ^~~~ cmds.c: In function ‘site’: cmds.c:1459:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1451:1: note: declared here site(argc, argv) ^~~~ cmds.c: At top level: cmds.c:1468:1: warning: return type defaults to ‘int’ [-Wimplicit-int] quote1(initial, argc, argv) ^~~~~~ cmds.c: In function ‘quote1’: cmds.c:1476:9: warning: incompatible implicit declaration of built-in function ‘strcpy’ (void) strcpy(buf, initial); ^~~~~~ cmds.c:1476:9: note: include ‘’ or provide a declaration of ‘strcpy’ cmds.c:1478:9: warning: incompatible implicit declaration of built-in function ‘strlen’ len = strlen(buf); ^~~~~~ cmds.c:1478:9: note: include ‘’ or provide a declaration of ‘strlen’ cmds.c:1486:10: warning: implicit declaration of function ‘getreply’; did you mean ‘setbell’? [-Wimplicit-function-declaration] while (getreply(0) == PRELIM); ^~~~~~~~ setbell cmds.c: At top level: cmds.c:1490:1: warning: return type defaults to ‘int’ [-Wimplicit-int] do_chmod(argc, argv) ^~~~~~~~ cmds.c: In function ‘do_chmod’: cmds.c:1501:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1490:1: note: declared here do_chmod(argc, argv) ^~~~~~~~ cmds.c: At top level: cmds.c:1506:1: warning: return type defaults to ‘int’ [-Wimplicit-int] do_umask(argc, argv) ^~~~~~~~ cmds.c:1517:1: warning: return type defaults to ‘int’ [-Wimplicit-int] idle(argc, argv) ^~~~ cmds.c:1531:1: warning: return type defaults to ‘int’ [-Wimplicit-int] rmthelp(argc, argv) ^~~~~~~ cmds.c:1546:1: warning: return type defaults to ‘int’ [-Wimplicit-int] quit() ^~~~ cmds.c: In function ‘quit’: cmds.c:1550:3: warning: implicit declaration of function ‘disconnect’; did you mean ‘Rconnect’? [-Wimplicit-function-declaration] disconnect(); ^~~~~~~~~~ Rconnect cmds.c:1555:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(0); ^~~~ cmds.c:1555:2: note: include ‘’ or provide a declaration of ‘exit’ cmds.c: At top level: cmds.c:1561:1: warning: return type defaults to ‘int’ [-Wimplicit-int] disconnect() ^~~~~~~~~~ cmds.c: In function ‘disconnect’: cmds.c:1567:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1561:1: note: declared here disconnect() ^~~~~~~~~~ cmds.c: At top level: cmds.c:1580:1: warning: return type defaults to ‘int’ [-Wimplicit-int] confirm(cmd, file) ^~~~~~~ cmds.c:1594:1: warning: return type defaults to ‘int’ [-Wimplicit-int] fatal(msg) ^~~~~ cmds.c: In function ‘fatal’: cmds.c:1599:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ cmds.c:1599:2: note: include ‘’ or provide a declaration of ‘exit’ cmds.c: At top level: cmds.c:1608:1: warning: return type defaults to ‘int’ [-Wimplicit-int] globulize(cpp) ^~~~~~~~~ cmds.c: In function ‘globulize’: cmds.c:1620:4: warning: incompatible implicit declaration of built-in function ‘free’ free((char *)globbed); ^~~~ cmds.c:1620:4: note: include ‘’ or provide a declaration of ‘free’ cmds.c:1629:4: warning: incompatible implicit declaration of built-in function ‘free’ free((char *)globbed); ^~~~ cmds.c:1629:4: note: include ‘’ or provide a declaration of ‘free’ cmds.c: At top level: cmds.c:1635:1: warning: return type defaults to ‘int’ [-Wimplicit-int] account(argc,argv) ^~~~~~~ cmds.c: In function ‘account’: cmds.c:1644:10: warning: implicit declaration of function ‘strncpy’ [-Wimplicit-function-declaration] (void) strncpy(acct,*argv,49); ^~~~~~~ cmds.c:1644:10: warning: incompatible implicit declaration of built-in function ‘strncpy’ cmds.c:1644:10: note: include ‘’ or provide a declaration of ‘strncpy’ cmds.c:1649:11: warning: implicit declaration of function ‘strncat’ [-Wimplicit-function-declaration] (void) strncat(acct,*argv, 49-strlen(acct)); ^~~~~~~ cmds.c:1649:11: warning: incompatible implicit declaration of built-in function ‘strncat’ cmds.c:1649:11: note: include ‘’ or provide a declaration of ‘strncat’ cmds.c:1649:34: warning: incompatible implicit declaration of built-in function ‘strlen’ (void) strncat(acct,*argv, 49-strlen(acct)); ^~~~~~ cmds.c:1649:34: note: include ‘’ or provide a declaration of ‘strlen’ cmds.c: At top level: cmds.c:1679:1: warning: return type defaults to ‘int’ [-Wimplicit-int] doproxy(argc,argv) ^~~~~~~ cmds.c: In function ‘doproxy’: cmds.c:1693:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1679:1: note: declared here doproxy(argc,argv) ^~~~~~~ cmds.c:1700:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1679:1: note: declared here doproxy(argc,argv) ^~~~~~~ cmds.c:1706:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1679:1: note: declared here doproxy(argc,argv) ^~~~~~~ cmds.c:1712:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1679:1: note: declared here doproxy(argc,argv) ^~~~~~~ cmds.c:1716:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1679:1: note: declared here doproxy(argc,argv) ^~~~~~~ cmds.c:1726:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1679:1: note: declared here doproxy(argc,argv) ^~~~~~~ cmds.c: At top level: cmds.c:1739:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setcase() ^~~~~~~ cmds.c:1746:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setcr() ^~~~~ cmds.c:1753:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setntrans(argc,argv) ^~~~~~~~~ cmds.c: In function ‘setntrans’: cmds.c:1761:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1753:1: note: declared here setntrans(argc,argv) ^~~~~~~~~ cmds.c:1765:9: warning: incompatible implicit declaration of built-in function ‘strncpy’ (void) strncpy(ntin, argv[1], 16); ^~~~~~~ cmds.c:1765:9: note: include ‘’ or provide a declaration of ‘strncpy’ cmds.c:1769:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1753:1: note: declared here setntrans(argc,argv) ^~~~~~~~~ cmds.c: At top level: cmds.c:1803:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setnmap(argc, argv) ^~~~~~~ cmds.c: In function ‘setnmap’: cmds.c:1813:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1803:1: note: declared here setnmap(argc, argv) ^~~~~~~ cmds.c:1818:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:1803:1: note: declared here setnmap(argc, argv) ^~~~~~~ cmds.c:1829:9: warning: incompatible implicit declaration of built-in function ‘strncpy’ (void) strncpy(mapin, altarg, MAXPATHLEN - 1); ^~~~~~~ cmds.c:1829:9: note: include ‘’ or provide a declaration of ‘strncpy’ cmds.c: At top level: cmds.c:2004:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setsunique() ^~~~~~~~~~ cmds.c:2011:1: warning: return type defaults to ‘int’ [-Wimplicit-int] setrunique() ^~~~~~~~~~ cmds.c:2019:1: warning: return type defaults to ‘int’ [-Wimplicit-int] cdup() ^~~~ cmds.c:2029:1: warning: return type defaults to ‘int’ [-Wimplicit-int] restart(argc, argv) ^~~~~~~ cmds.c:2044:1: warning: return type defaults to ‘int’ [-Wimplicit-int] syst() ^~~~ cmds.c:2049:1: warning: return type defaults to ‘int’ [-Wimplicit-int] macdef(argc, argv) ^~~~~~ cmds.c: In function ‘macdef’: cmds.c:2059:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:2049:1: note: declared here macdef(argc, argv) ^~~~~~ cmds.c:2064:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:2049:1: note: declared here macdef(argc, argv) ^~~~~~ cmds.c:2069:9: warning: incompatible implicit declaration of built-in function ‘strncpy’ (void) strncpy(macros[macnum].mac_name, argv[1], 8); ^~~~~~~ cmds.c:2069:9: note: include ‘’ or provide a declaration of ‘strncpy’ cmds.c:2081:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:2049:1: note: declared here macdef(argc, argv) ^~~~~~ cmds.c:2087:5: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:2049:1: note: declared here macdef(argc, argv) ^~~~~~ cmds.c:2092:5: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:2049:1: note: declared here macdef(argc, argv) ^~~~~~ cmds.c:2104:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:2049:1: note: declared here macdef(argc, argv) ^~~~~~ cmds.c: At top level: cmds.c:2112:1: warning: return type defaults to ‘int’ [-Wimplicit-int] sizecmd(argc, argv) ^~~~~~~ cmds.c: In function ‘sizecmd’: cmds.c:2120:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:2112:1: note: declared here sizecmd(argc, argv) ^~~~~~~ cmds.c: At top level: cmds.c:2128:1: warning: return type defaults to ‘int’ [-Wimplicit-int] modtime(argc, argv) ^~~~~~~ cmds.c: In function ‘modtime’: cmds.c:2137:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ cmds.c:2128:1: note: declared here modtime(argc, argv) ^~~~~~~ cmds.c: At top level: cmds.c:2157:1: warning: return type defaults to ‘int’ [-Wimplicit-int] rmtstatus(argc, argv) ^~~~~~~~~ cmds.c:2167:1: warning: return type defaults to ‘int’ [-Wimplicit-int] newer(argc, argv) ^~~~~ gcc -I../include -g -DLINUX -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -c -o cmdtab.o cmdtab.c gcc -I../include -g -DLINUX -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -c -o ftp.o ftp.c ftp.c: In function ‘hookup’: ftp.c:158:2: warning: implicit declaration of function ‘bzero’ [-Wimplicit-function-declaration] bzero((char *)&hisctladdr, sizeof (hisctladdr)); ^~~~~ ftp.c:158:2: warning: incompatible implicit declaration of built-in function ‘bzero’ ftp.c:162:10: warning: implicit declaration of function ‘strncpy’ [-Wimplicit-function-declaration] (void) strncpy(hostnamebuf, host, sizeof(hostnamebuf)); ^~~~~~~ ftp.c:162:10: warning: incompatible implicit declaration of built-in function ‘strncpy’ ftp.c:162:10: note: include ‘’ or provide a declaration of ‘strncpy’ ftp.c:172:3: warning: implicit declaration of function ‘bcopy’ [-Wimplicit-function-declaration] bcopy(hp->h_addr_list[0], ^~~~~ ftp.c:172:3: warning: incompatible implicit declaration of built-in function ‘bcopy’ ftp.c:174:10: warning: incompatible implicit declaration of built-in function ‘strncpy’ (void) strncpy(hostnamebuf, hp->h_name, sizeof(hostnamebuf)); ^~~~~~~ ftp.c:174:10: note: include ‘’ or provide a declaration of ‘strncpy’ ftp.c:194:4: warning: incompatible implicit declaration of built-in function ‘bcopy’ bcopy(hp->h_addr_list[0], ^~~~~ ftp.c:198:11: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] (void) close(s); ^~~~~ pclose ftp.c:239:6: warning: implicit declaration of function ‘getreply’; did you mean ‘getdelim’? [-Wimplicit-function-declaration] if (getreply(0) > 2) { /* read startup message from server */ ^~~~~~~~ getdelim ftp.c: At top level: ftp.c:271:1: warning: return type defaults to ‘int’ [-Wimplicit-int] login(host) ^~~~~ ftp.c: In function ‘login’: ftp.c:279:6: warning: implicit declaration of function ‘ruserpass’; did you mean ‘getpass’? [-Wimplicit-function-declaration] if (ruserpass(host, &user, &pass, &acct) < 0) { ^~~~~~~~~ getpass ftp.c:297:7: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] tmp[strlen(tmp) - 1] = '\0'; ^~~~~~ ftp.c:297:7: warning: incompatible implicit declaration of built-in function ‘strlen’ ftp.c:297:7: note: include ‘’ or provide a declaration of ‘strlen’ ftp.c:306:8: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] if (strcmp(user, "anonymous") == 0) { ^~~~~~ ftp.c:309:9: warning: incompatible implicit declaration of built-in function ‘strlen’ tmp[strlen(tmp) - 1] = '\0'; ^~~~~~ ftp.c:309:9: note: include ‘’ or provide a declaration of ‘strlen’ ftp.c:331:11: warning: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration] (void) strcpy(line, "$init"); ^~~~~~ ftp.c:331:11: warning: incompatible implicit declaration of built-in function ‘strcpy’ ftp.c:331:11: note: include ‘’ or provide a declaration of ‘strcpy’ ftp.c:332:4: warning: implicit declaration of function ‘makeargv’; did you mean ‘makedev’? [-Wimplicit-function-declaration] makeargv(); ^~~~~~~~ makedev ftp.c:333:4: warning: implicit declaration of function ‘domacro’ [-Wimplicit-function-declaration] domacro(margc, margv); ^~~~~~~ ftp.c: In function ‘command’: ftp.c:377:7: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration] if (strncmp("PASS ", fmt, 5) == 0) ^~~~~~~ ftp.c: At top level: ftp.c:414:1: warning: return type defaults to ‘int’ [-Wimplicit-int] getreply(expecteof) ^~~~~~~~ ftp.c:517:1: warning: return type defaults to ‘int’ [-Wimplicit-int] empty(mask, sec) ^~~~~ ftp.c: In function ‘empty’: ftp.c:525:20: warning: passing argument 2 of ‘Rselect’ from incompatible pointer type [-Wincompatible-pointer-types] return(select(32, mask, (struct fd_set *) 0, (struct fd_set *) 0, &t)); ^~~~ :0:8: note: expected ‘fd_set * restrict {aka struct * restrict}’ but argument is of type ‘struct fd_set *’ ftp.c:525:26: warning: passing argument 3 of ‘Rselect’ from incompatible pointer type [-Wincompatible-pointer-types] return(select(32, mask, (struct fd_set *) 0, (struct fd_set *) 0, &t)); ^ :0:8: note: expected ‘fd_set * restrict {aka struct * restrict}’ but argument is of type ‘struct fd_set *’ ftp.c:525:47: warning: passing argument 4 of ‘Rselect’ from incompatible pointer type [-Wincompatible-pointer-types] return(select(32, mask, (struct fd_set *) 0, (struct fd_set *) 0, &t)); ^ :0:8: note: expected ‘fd_set * restrict {aka struct * restrict}’ but argument is of type ‘struct fd_set *’ ftp.c: At top level: ftp.c:543:1: warning: return type defaults to ‘int’ [-Wimplicit-int] sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c: In function ‘sendrequest’: ftp.c:564:3: warning: implicit declaration of function ‘proxtrans’ [-Wimplicit-function-declaration] proxtrans(cmd, local, remote); ^~~~~~~~~ ftp.c:565:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:543:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:568:3: warning: implicit declaration of function ‘changetype’ [-Wimplicit-function-declaration] changetype(type, 0); ^~~~~~~~~~ ftp.c:586:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:543:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:599:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:543:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:609:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:543:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:618:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:543:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:621:6: warning: implicit declaration of function ‘initconn’; did you mean ‘dataconn’? [-Wimplicit-function-declaration] if (initconn()) { ^~~~~~~~ dataconn ftp.c:628:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:543:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:641:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:543:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:648:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:543:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:660:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:543:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:669:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:543:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:681:15: warning: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration] while ((c = read(fileno(fin), buf, sizeof (buf))) > 0) { ^~~~ fread ftp.c:684:14: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] if ((d = write(fileno(dout), bufp, c)) <= 0) ^~~~~ fwrite ftp.c:758:3: warning: implicit declaration of function ‘ptransfer’ [-Wimplicit-function-declaration] ptransfer("sent", bytes, &start, &stop); ^~~~~~~~~ ftp.c:760:2: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:543:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:768:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:543:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c: At top level: ftp.c:802:1: warning: return type defaults to ‘int’ [-Wimplicit-int] recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c: In function ‘recvrequest’: ftp.c:802:1: warning: type of ‘printnames’ defaults to ‘int’ [-Wimplicit-int] ftp.c:818:8: warning: conflicting types for built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] char *malloc(); ^~~~~~ ftp.c:829:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:846:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:850:7: warning: implicit declaration of function ‘access’; did you mean ‘accept’? [-Wimplicit-function-declaration] if (access(local, 2) < 0) { ^~~~~~ accept ftp.c:858:5: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:870:5: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:879:5: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:885:5: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:891:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:902:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:908:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:912:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:917:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:950:11: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] (void) free(buf); ^~~~ ftp.c:950:11: warning: incompatible implicit declaration of built-in function ‘free’ ftp.c:950:11: note: include ‘’ or provide a declaration of ‘free’ ftp.c:982:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1044:5: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1108:2: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1120:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:802:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1123:2: warning: implicit declaration of function ‘abort_remote’; did you mean ‘abortrecv’? [-Wimplicit-function-declaration] abort_remote(din); ^~~~~~~~~~~~ abortrecv ftp.c: At top level: ftp.c:1148:1: warning: return type defaults to ‘int’ [-Wimplicit-int] initconn() ^~~~~~~~ ftp.c:1285:1: warning: return type defaults to ‘int’ [-Wimplicit-int] ptransfer(direction, bytes, t0, t1) ^~~~~~~~~ ftp.c: In function ‘ptransfer’: ftp.c:1294:3: warning: implicit declaration of function ‘tvsub’ [-Wimplicit-function-declaration] tvsub(&td, t1, t0); ^~~~~ ftp.c: At top level: ftp.c:1313:1: warning: return type defaults to ‘int’ [-Wimplicit-int] tvsub(tdiff, t1, t0) ^~~~~ ftp.c:1331:1: warning: return type defaults to ‘int’ [-Wimplicit-int] pswitch(flag) ^~~~~~~ ftp.c: In function ‘pswitch’: ftp.c:1362:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:1331:1: note: declared here pswitch(flag) ^~~~~~~ ftp.c:1368:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:1331:1: note: declared here pswitch(flag) ^~~~~~~ ftp.c:1376:10: warning: incompatible implicit declaration of built-in function ‘strncpy’ (void) strncpy(ip->name, hostname, sizeof(ip->name) - 1); ^~~~~~~ ftp.c:1376:10: note: include ‘’ or provide a declaration of ‘strncpy’ ftp.c:1377:12: warning: incompatible implicit declaration of built-in function ‘strlen’ ip->name[strlen(ip->name)] = '\0'; ^~~~~~ ftp.c:1377:12: note: include ‘’ or provide a declaration of ‘strlen’ ftp.c:1403:9: warning: incompatible implicit declaration of built-in function ‘strncpy’ (void) strncpy(ip->nti, ntin, 16); ^~~~~~~ ftp.c:1403:9: note: include ‘’ or provide a declaration of ‘strncpy’ ftp.c:1404:12: warning: incompatible implicit declaration of built-in function ‘strlen’ (ip->nti)[strlen(ip->nti)] = '\0'; ^~~~~~ ftp.c:1404:12: note: include ‘’ or provide a declaration of ‘strlen’ ftp.c:1405:9: warning: incompatible implicit declaration of built-in function ‘strcpy’ (void) strcpy(ntin, op->nti); ^~~~~~ ftp.c:1405:9: note: include ‘’ or provide a declaration of ‘strcpy’ ftp.c: At top level: ftp.c:1438:1: warning: return type defaults to ‘int’ [-Wimplicit-int] proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c: In function ‘proxtrans’: ftp.c:1462:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:1438:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c:1469:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:1438:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c:1475:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:1438:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c:1483:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:1438:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c:1485:2: warning: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration] sleep(2); ^~~~~ ftp.c:1498:2: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:1438:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c:1516:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:1438:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c:1530:4: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ ftp.c:1438:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c: At top level: ftp.c:1558:1: warning: return type defaults to ‘int’ [-Wimplicit-int] reset() ^~~~~ ftp.c: In function ‘gunique’: ftp.c:1595:9: warning: incompatible implicit declaration of built-in function ‘strcpy’ (void) strcpy(new, local); ^~~~~~ ftp.c:1595:9: note: include ‘’ or provide a declaration of ‘strcpy’ ftp.c:1596:13: warning: incompatible implicit declaration of built-in function ‘strlen’ cp = new + strlen(new); ^~~~~~ ftp.c:1596:13: note: include ‘’ or provide a declaration of ‘strlen’ ftp.c: At top level: ftp.c:1623:1: warning: return type defaults to ‘int’ [-Wimplicit-int] abort_remote(din) ^~~~~~~~~~~~ gcc -I../include -g -DLINUX -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -c -o glob.o glob.c glob.c: In function ‘ftpglob’: glob.c:121:3: warning: implicit declaration of function ‘blkfree’; did you mean ‘free’? [-Wimplicit-function-declaration] blkfree(gargv), gargv = 0; ^~~~~~~ free glob.c: In function ‘expand’: glob.c:188:14: warning: implicit declaration of function ‘letter’; did you mean ‘listen’? [-Wimplicit-function-declaration] for (cs++; letter(*cs) || digit(*cs) || *cs == '-';) ^~~~~~ listen glob.c:188:29: warning: implicit declaration of function ‘digit’; did you mean ‘ginit’? [-Wimplicit-function-declaration] for (cs++; letter(*cs) || digit(*cs) || *cs == '-';) ^~~~~ ginit glob.c:193:9: warning: implicit declaration of function ‘gethdir’; did you mean ‘matchdir’? [-Wimplicit-function-declaration] if (gethdir(gpath + 1)) ^~~~~~~ matchdir glob.c:201:10: warning: implicit declaration of function ‘any’ [-Wimplicit-function-declaration] while (!any(*cs, globchars)) { ^~~ glob.c: At top level: glob.c:456:1: warning: return type defaults to ‘int’ [-Wimplicit-int] Gmatch(s, p) ^~~~~~ glob.c:575:1: warning: return type defaults to ‘int’ [-Wimplicit-int] tglob(c) ^~~~~ glob.c:593:1: warning: return type defaults to ‘int’ [-Wimplicit-int] letter(c) ^~~~~~ glob.c:600:1: warning: return type defaults to ‘int’ [-Wimplicit-int] digit(c) ^~~~~ glob.c:607:1: warning: return type defaults to ‘int’ [-Wimplicit-int] any(c, s) ^~~ glob.c:617:1: warning: return type defaults to ‘int’ [-Wimplicit-int] blklen(av) ^~~~~~ glob.c:639:1: warning: return type defaults to ‘int’ [-Wimplicit-int] blkfree(av0) ^~~~~~~ glob.c: In function ‘strspl’: glob.c:664:3: warning: implicit declaration of function ‘fatal’; did you mean ‘atol’? [-Wimplicit-function-declaration] fatal("Out of memory"); ^~~~~ atol glob.c: At top level: glob.c:698:1: warning: return type defaults to ‘int’ [-Wimplicit-int] gethdir(home) ^~~~~~~ gcc -I../include -g -DLINUX -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -c -o main.o main.c main.c:66:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(argc, argv) ^~~~ main.c: In function ‘main’: main.c:66:1: warning: type of ‘argc’ defaults to ‘int’ [-Wimplicit-int] main.c:75:2: warning: implicit declaration of function ‘SOCKSinit’ [-Wimplicit-function-declaration] SOCKSinit(argv[0]); ^~~~~~~~~ main.c:83:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ main.c:83:3: warning: incompatible implicit declaration of built-in function ‘exit’ main.c:83:3: note: include ‘’ or provide a declaration of ‘exit’ main.c:124:5: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ main.c:124:5: note: include ‘’ or provide a declaration of ‘exit’ main.c:128:13: warning: implicit declaration of function ‘isatty’; did you mean ‘isset’? [-Wimplicit-function-declaration] fromatty = isatty(fileno(stdin)); ^~~~~~ isset main.c:146:10: warning: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration] (void) strcpy(home, pw->pw_dir); ^~~~~~ main.c:146:10: warning: incompatible implicit declaration of built-in function ‘strcpy’ main.c:146:10: note: include ‘’ or provide a declaration of ‘strcpy’ main.c:150:4: warning: incompatible implicit declaration of built-in function ‘exit’ exit(0); ^~~~ main.c:150:4: note: include ‘’ or provide a declaration of ‘exit’ main.c:153:3: warning: implicit declaration of function ‘setpeer’; did you mean ‘lostpeer’? [-Wimplicit-function-declaration] setpeer(argc + 1, argv - 1); ^~~~~~~ lostpeer main.c:161:3: warning: implicit declaration of function ‘cmdscanner’ [-Wimplicit-function-declaration] cmdscanner(top); ^~~~~~~~~~ main.c: In function ‘lostpeer’: main.c:187:11: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] (void) close(data); ^~~~~ pclose main.c:192:2: warning: implicit declaration of function ‘pswitch’ [-Wimplicit-function-declaration] pswitch(1); ^~~~~~~ main.c: At top level: main.c:225:1: warning: return type defaults to ‘int’ [-Wimplicit-int] cmdscanner(top) ^~~~~~~~~~ main.c: In function ‘cmdscanner’: main.c:241:4: warning: implicit declaration of function ‘quit’ [-Wimplicit-function-declaration] quit(); ^~~~ main.c:242:7: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] l = strlen(line); ^~~~~~ main.c:242:7: warning: incompatible implicit declaration of built-in function ‘strlen’ main.c:242:7: note: include ‘’ or provide a declaration of ‘strlen’ main.c:255:3: warning: implicit declaration of function ‘makeargv’; did you mean ‘makedev’? [-Wimplicit-function-declaration] makeargv(); ^~~~~~~~ makedev main.c: At top level: main.c:318:1: warning: return type defaults to ‘int’ [-Wimplicit-int] makeargv() ^~~~~~~~ main.c:461:1: warning: return type defaults to ‘int’ [-Wimplicit-int] help(argc, argv) ^~~~ main.c: In function ‘help’: main.c:475:14: warning: incompatible implicit declaration of built-in function ‘strlen’ int len = strlen(c->c_name); ^~~~~~ main.c:475:14: note: include ‘’ or provide a declaration of ‘strlen’ main.c:492:20: warning: incompatible implicit declaration of built-in function ‘strlen’ for (k=0; k < strlen(c->c_name); k++) { ^~~~~~ main.c:492:20: note: include ‘’ or provide a declaration of ‘strlen’ main.c:500:9: warning: incompatible implicit declaration of built-in function ‘strlen’ w = strlen(c->c_name); ^~~~~~ main.c:500:9: note: include ‘’ or provide a declaration of ‘strlen’ main.c:507:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ main.c:461:1: note: declared here help(argc, argv) ^~~~ gcc -I../include -g -DLINUX -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -c -o ruserpass.o ruserpass.c ruserpass.c:54:20: warning: conflicting types for built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] char *renvlook(), *malloc(), *index(), *getenv(), *getpass(), *getlogin(); ^~~~~~ ruserpass.c:85:1: warning: return type defaults to ‘int’ [-Wimplicit-int] ruserpass(host, aname, apass, aacct) ^~~~~~~~~ ruserpass.c: In function ‘ruserpass’: ruserpass.c:103:6: warning: implicit declaration of function ‘gethostname’; did you mean ‘gethostbyname’? [-Wimplicit-function-declaration] if (gethostname(myname, sizeof(myname)) < 0) ^~~~~~~~~~~ gethostbyname ruserpass.c:123:8: warning: implicit declaration of function ‘strcasecmp’ [-Wimplicit-function-declaration] if (strcasecmp(host, tokval) == 0) ^~~~~~~~~~ ruserpass.c:129:8: warning: implicit declaration of function ‘strncasecmp’ [-Wimplicit-function-declaration] strncasecmp(hostname, tokval, tmp-hostname) == 0 && ^~~~~~~~~~~ ruserpass.c:145:33: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] *aname = malloc((unsigned) strlen(tokval) + 1); ^~~~~~ ruserpass.c:145:33: warning: incompatible implicit declaration of built-in function ‘strlen’ ruserpass.c:145:33: note: include ‘’ or provide a declaration of ‘strlen’ ruserpass.c:148:10: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] if (strcmp(*aname, tokval)) ^~~~~~ ruserpass.c:161:32: warning: incompatible implicit declaration of built-in function ‘strlen’ *apass = malloc((unsigned) strlen(tokval) + 1); ^~~~~~ ruserpass.c:161:32: note: include ‘’ or provide a declaration of ‘strlen’ ruserpass.c:173:32: warning: incompatible implicit declaration of built-in function ‘strlen’ *aacct = malloc((unsigned) strlen(tokval) + 1); ^~~~~~ ruserpass.c:173:32: note: include ‘’ or provide a declaration of ‘strlen’ ruserpass.c: At top level: ruserpass.c:251:1: warning: return type defaults to ‘int’ [-Wimplicit-int] token() ^~~~~ gcc -I../include -g -DLINUX -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -c -o domacro.o domacro.c domacro.c:52:1: warning: return type defaults to ‘int’ [-Wimplicit-int] domacro(argc, argv) ^~~~~~~ domacro.c: In function ‘domacro’: domacro.c:64:19: warning: implicit declaration of function ‘another’ [-Wimplicit-function-declaration] if (argc < 2 && !another(&argc, &argv, "macro name")) { ^~~~~~~ domacro.c:67:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ domacro.c:52:1: note: declared here domacro(argc, argv) ^~~~~~~ domacro.c:70:8: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration] if (!strncmp(argv[1], macros[i].mac_name, 9)) { ^~~~~~~ domacro.c:77:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ domacro.c:52:1: note: declared here domacro(argc, argv) ^~~~~~~ domacro.c:79:9: warning: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration] (void) strcpy(line2, line); ^~~~~~ domacro.c:79:9: warning: incompatible implicit declaration of built-in function ‘strcpy’ domacro.c:79:9: note: include ‘’ or provide a declaration of ‘strcpy’ domacro.c:101:13: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] cp2 += strlen(argv[j+1]); ^~~~~~ domacro.c:101:13: warning: incompatible implicit declaration of built-in function ‘strlen’ domacro.c:101:13: note: include ‘’ or provide a declaration of ‘strlen’ domacro.c:110:16: warning: incompatible implicit declaration of built-in function ‘strlen’ cp2 += strlen(argv[count]); ^~~~~~ domacro.c:110:16: note: include ‘’ or provide a declaration of ‘strlen’ domacro.c:124:3: warning: implicit declaration of function ‘makeargv’; did you mean ‘makedev’? [-Wimplicit-function-declaration] makeargv(); ^~~~~~~~ makedev gcc -I../include -g -DLINUX -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -o rftp cmds.o cmdtab.o ftp.o glob.o main.o ruserpass.o domacro.o -L/<>/lib/ -lsocks cmds.o: In function `lcd': /<>/rftp/cmds.c:1087: warning: the `getwd' function is dangerous and should not be used. cmds.o: In function `remglob': /<>/rftp/cmds.c:825: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/<>/rftp' (cd rtelnet; make CC="gcc" OS="linux" SOCKS_LIB="-L/<>/lib/ -lsocks" \ SOCKS_LIB_DEP="/<>/lib/libsocks.a" \ OPTIMIZE="-g" SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname" \ RESOLV_LIB="" \ OTHER_CFLAGS="-DLINUX ") make[2]: Entering directory '/<>/rtelnet' /<>/rtelnet cd libtelnet; make linux CC="gcc" OTHER_CFLAGS="-DLINUX " SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname" SOCKS_LIB="-L/<>/lib/ -lsocks" SOCKS_LIB_DEP=/<>/lib/libsocks.a RESOLV_LIB="" OPTIMIZE="-g" make[3]: Entering directory '/<>/rtelnet/libtelnet' make -f ../Config.local WHAT= CC=gcc OPTIMIZE=-g SOCKS=-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname SOCKS_LIB_DEP=/<>/lib/libsocks.a SOCKS_LIB=-L/<>/lib/ -lsocks RESOLV_LIB= linux make[4]: Entering directory '/<>/rtelnet/libtelnet' make -f Makefile.generic \ LIBS="-L/<>/lib/ -lsocks ../libtelnet/libtelnet.a \ -lncurses" \ DEST=/usr/ucb \ DEFINES="-DLINUX \ -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname \ -DDIAGNOSTICS -DKLUDGELINEMODE" \ INCLUDES="-I.. -I../../include" \ LIB_OBJ="getent.o" \ LIB_SRC="getent.c" \ AR=ar ARFLAGS=rc RANLIB=ranlib \ LIBEXEC=/usr/etc/in.telnetd \ CC="gcc" LCCFLAGS="-g" make[5]: Entering directory '/<>/rtelnet/libtelnet' gcc -g -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -I.. -I../../include -c -o auth.o auth.c gcc -g -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -I.. -I../../include -c -o encrypt.o encrypt.c gcc -g -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -I.. -I../../include -c -o genget.o genget.c gcc -g -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -I.. -I../../include -c -o misc.o misc.c misc.c: In function ‘auth_encrypt_init’: misc.c:63:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(UserNameRequested); ^~~~ misc.c:63:3: warning: incompatible implicit declaration of built-in function ‘free’ misc.c:63:3: note: include ‘’ or provide a declaration of ‘free’ misc.c: In function ‘auth_encrypt_user’: misc.c:75:3: warning: incompatible implicit declaration of built-in function ‘free’ free(UserNameRequested); ^~~~ misc.c:75:3: note: include ‘’ or provide a declaration of ‘free’ misc.c: In function ‘printd’: misc.c:93:3: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] printf(" %02x", *data); ^~~~~~ misc.c:93:3: warning: incompatible implicit declaration of built-in function ‘printf’ misc.c:93:3: note: include ‘’ or provide a declaration of ‘printf’ gcc -g -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -I.. -I../../include -c -o enc_des.o enc_des.c gcc -g -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -I.. -I../../include -c -o getent.o getent.c getent.c:44:1: warning: return type defaults to ‘int’ [-Wimplicit-int] getent(cp, name) ^~~~~~ rm -f libtelnet.a ar rc libtelnet.a auth.o encrypt.o genget.o misc.o enc_des.o getent.o ranlib libtelnet.a make[5]: Leaving directory '/<>/rtelnet/libtelnet' make[4]: Leaving directory '/<>/rtelnet/libtelnet' make[3]: Leaving directory '/<>/rtelnet/libtelnet' cd telnet; make linux CC="gcc" OTHER_CFLAGS="-DLINUX " SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname" SOCKS_LIB="-L/<>/lib/ -lsocks" SOCKS_LIB_DEP=/<>/lib/libsocks.a RESOLV_LIB="" OPTIMIZE="-g" make[3]: Entering directory '/<>/rtelnet/telnet' make -f ../Config.local WHAT= CC=gcc OPTIMIZE=-g SOCKS=-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname SOCKS_LIB_DEP=/<>/lib/libsocks.a SOCKS_LIB=-L/<>/lib/ -lsocks RESOLV_LIB= linux make[4]: Entering directory '/<>/rtelnet/telnet' make -f Makefile.generic \ LIBS="-L/<>/lib/ -lsocks ../libtelnet/libtelnet.a \ -lncurses" \ DEST=/usr/ucb \ DEFINES="-DLINUX \ -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname \ -DDIAGNOSTICS -DKLUDGELINEMODE" \ INCLUDES="-I.. -I../../include" \ LIB_OBJ="getent.o" \ LIB_SRC="getent.c" \ AR=ar ARFLAGS=rc RANLIB=ranlib \ LIBEXEC=/usr/etc/in.telnetd \ CC="gcc" LCCFLAGS="-g" make[5]: Entering directory '/<>/rtelnet/telnet' gcc -g -I.. -I../../include -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -c -o authenc.o authenc.c gcc -g -I.. -I../../include -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -c -o commands.o commands.c commands.c:196:1: warning: return type defaults to ‘int’ [-Wimplicit-int] call(intrtn_t routine, ...) ^~~~ commands.c:227:1: warning: return type defaults to ‘int’ [-Wimplicit-int] special(s) ^~~~~~~ commands.c: In function ‘sendcmd’: commands.c:417:13: warning: implicit declaration of function ‘quit’ [-Wimplicit-function-declaration] (void) quit(); ^~~~ commands.c: In function ‘send_docmd’: commands.c:452:12: warning: implicit declaration of function ‘send_tncmd’; did you mean ‘send_docmd’? [-Wimplicit-function-declaration] return(send_tncmd(send_do, "do", name)); ^~~~~~~~~~ send_docmd commands.c: In function ‘togdebug’: commands.c:557:3: warning: implicit declaration of function ‘SetSockOpt’; did you mean ‘setsockopt’? [-Wimplicit-function-declaration] (SetSockOpt(net, SOL_SOCKET, SO_DEBUG, debug)) < 0) { ^~~~~~~~~~ setsockopt commands.c: In function ‘togbinary’: commands.c:617:6: warning: implicit declaration of function ‘tel_leave_binary’; did you mean ‘tel_enter_binary’? [-Wimplicit-function-declaration] tel_leave_binary(3); ^~~~~~~~~~~~~~~~ tel_enter_binary commands.c: In function ‘setmode’: commands.c:1179:1: warning: type of ‘bit’ defaults to ‘int’ [-Wimplicit-int] setmode(bit) ^~~~~~~ commands.c: In function ‘clearmode’: commands.c:1185:1: warning: type of ‘bit’ defaults to ‘int’ [-Wimplicit-int] clearmode(bit) ^~~~~~~~~ commands.c: In function ‘display’: commands.c:1335:6: warning: implicit declaration of function ‘optionstatus’; did you mean ‘get_status’? [-Wimplicit-function-declaration] /*@*/optionstatus(); ^~~~~~~~~~~~ get_status commands.c: In function ‘suspend’: commands.c:1396:8: warning: implicit declaration of function ‘TerminalWindowSize’; did you mean ‘TerminalNewMode’? [-Wimplicit-function-declaration] err = TerminalWindowSize(&oldrows, &oldcols); ^~~~~~~~~~~~~~~~~~ TerminalNewMode commands.c: In function ‘shell’: commands.c:1448:3: warning: missing sentinel in function call [-Wformat=] execl(shellp, shellname, "-c", &saveline[1], 0); ^~~~~ commands.c:1450:3: warning: missing sentinel in function call [-Wformat=] execl(shellp, shellname, 0); ^~~~~ commands.c:1455:12: warning: implicit declaration of function ‘wait’; did you mean ‘write’? [-Wimplicit-function-declaration] (void)wait((int *)0); /* Wait for the shell to complete */ ^~~~ write commands.c: At top level: commands.c:1463:1: warning: return type defaults to ‘int’ [-Wimplicit-int] bye(argc, argv) ^~~ commands.c: In function ‘bye’: commands.c:1472:9: warning: implicit declaration of function ‘NetClose’; did you mean ‘setmode’? [-Wimplicit-function-declaration] (void) NetClose(net); ^~~~~~~~ setmode commands.c: At top level: commands.c:1492:1: warning: return type defaults to ‘int’ [-Wimplicit-int] quit() ^~~~ commands.c: In function ‘quit’: commands.c:1495:2: warning: implicit declaration of function ‘Exit’; did you mean ‘_Exit’? [-Wimplicit-function-declaration] Exit(0); ^~~~ _Exit commands.c: In function ‘logout’: commands.c:1504:9: warning: implicit declaration of function ‘netflush’; did you mean ‘tcflush’? [-Wimplicit-function-declaration] (void) netflush(); ^~~~~~~~ tcflush commands.c: At top level: commands.c:1558:1: warning: return type defaults to ‘int’ [-Wimplicit-int] slccmd(argc, argv) ^~~~~~ commands.c:1647:1: warning: return type defaults to ‘int’ [-Wimplicit-int] env_cmd(argc, argv) ^~~~~~~ commands.c: In function ‘env_default’: commands.c:1858:3: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ commands.c:1851:1: note: declared here env_default(init) ^~~~~~~~~~~ commands.c: At top level: commands.c:1992:1: warning: return type defaults to ‘int’ [-Wimplicit-int] status(argc, argv) ^~~~~~ commands.c: In function ‘status’: commands.c:1999:17: warning: implicit declaration of function ‘getconnmode’; did you mean ‘setconnmode’? [-Wimplicit-function-declaration] int mode = getconnmode(); ^~~~~~~~~~~ setconnmode commands.c: In function ‘tn’: commands.c:2198:17: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration] sin.sin_port = atoi(portp); ^~~~ commands.c:2282:5: warning: implicit declaration of function ‘cmdrc’ [-Wimplicit-function-declaration] cmdrc(hostp, hostname); ^~~~~ commands.c:2303:5: warning: implicit declaration of function ‘ExitString’ [-Wimplicit-function-declaration] ExitString("Connection closed by foreign host.\n",1); ^~~~~~~~~~ commands.c: At top level: commands.c:2476:1: warning: return type defaults to ‘int’ [-Wimplicit-int] help(argc, argv) ^~~~ commands.c:2508:1: warning: return type defaults to ‘int’ [-Wimplicit-int] cmdrc(m1, m2) ^~~~~ commands.c: In function ‘cmdrc’: commands.c:2519:2: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ commands.c:2508:1: note: declared here cmdrc(m1, m2) ^~~~~ commands.c:2535:2: warning: ‘return’ with no value, in function returning non-void return; ^~~~~~ commands.c:2508:1: note: declared here cmdrc(m1, m2) ^~~~~ gcc -g -I.. -I../../include -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -c -o main.o main.c main.c: In function ‘tninit’: main.c:42:5: warning: implicit declaration of function ‘init_terminal’ [-Wimplicit-function-declaration] init_terminal(); ^~~~~~~~~~~~~ main.c:44:5: warning: implicit declaration of function ‘init_network’ [-Wimplicit-function-declaration] init_network(); ^~~~~~~~~~~~ main.c:46:5: warning: implicit declaration of function ‘init_telnet’; did you mean ‘telnet’? [-Wimplicit-function-declaration] init_telnet(); ^~~~~~~~~~~ telnet main.c:48:5: warning: implicit declaration of function ‘init_sys’; did you mean ‘init_3270’? [-Wimplicit-function-declaration] init_sys(); ^~~~~~~~ init_3270 main.c: In function ‘usage’: main.c:78:2: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ main.c:78:2: warning: incompatible implicit declaration of built-in function ‘exit’ main.c:78:2: note: include ‘’ or provide a declaration of ‘exit’ main.c: At top level: main.c:86:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(argc, argv) ^~~~ main.c: In function ‘main’: main.c:100:2: warning: implicit declaration of function ‘SOCKSinit’ [-Wimplicit-function-declaration] SOCKSinit(argv[0]); ^~~~~~~~~ main.c:119:15: warning: implicit declaration of function ‘getopt’; did you mean ‘getw’? [-Wimplicit-function-declaration] while ((ch = getopt(argc, argv, "8EKLS:X:ade:k:l:n:rt:x")) != EOF) { ^~~~~~ getw main.c:167:4: warning: implicit declaration of function ‘set_escape_char’ [-Wimplicit-function-declaration] set_escape_char(optarg); ^~~~~~~~~~~~~~~ main.c:248:4: warning: implicit declaration of function ‘Exit’; did you mean ‘_Exit’? [-Wimplicit-function-declaration] Exit(0); ^~~~ _Exit main.c:249:7: warning: implicit declaration of function ‘tn’ [-Wimplicit-function-declaration] if (tn(argp - args, args) == 1) ^~ gcc -g -I.. -I../../include -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -c -o network.o network.c network.c: In function ‘init_network’: network.c:52:2: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ network.c:52:2: warning: incompatible implicit declaration of built-in function ‘exit’ network.c:52:2: note: include ‘’ or provide a declaration of ‘exit’ network.c:55:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ network.c:55:2: note: include ‘’ or provide a declaration of ‘exit’ network.c: In function ‘stilloob’: network.c:81:9: warning: implicit declaration of function ‘quit’ [-Wimplicit-function-declaration] (void) quit(); ^~~~ network.c: In function ‘netflush’: network.c:121:7: warning: implicit declaration of function ‘ring_at_mark’; did you mean ‘ring_mark’? [-Wimplicit-function-declaration] if (!ring_at_mark(&netoring)) { ^~~~~~~~~~~~ ring_mark network.c:139:12: warning: implicit declaration of function ‘NetClose’; did you mean ‘netflush’? [-Wimplicit-function-declaration] (void)NetClose(net); ^~~~~~~~ netflush gcc -g -I.. -I../../include -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -c -o ring.o ring.c ring.c:88:5: warning: return type defaults to ‘int’ [-Wimplicit-int] ring_init(ring, buffer, count) ^~~~~~~~~ ring.c: In function ‘ring_init’: ring.c:93:5: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset((char *)ring, 0, sizeof *ring); ^~~~~~ ring.c:93:5: warning: incompatible implicit declaration of built-in function ‘memset’ ring.c:93:5: note: include ‘’ or provide a declaration of ‘memset’ ring.c: In function ‘ring_supply_data’: ring.c:271:2: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration] memcpy(ring->supply, buffer, i); ^~~~~~ ring.c:271:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ ring.c:271:2: note: include ‘’ or provide a declaration of ‘memcpy’ gcc -g -I.. -I../../include -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -c -o sys_bsd.o sys_bsd.c sys_bsd.c: In function ‘TerminalWrite’: sys_bsd.c:143:12: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] return write(tout, buf, n); ^~~~~ fwrite sys_bsd.c: In function ‘TerminalRead’: sys_bsd.c:151:12: warning: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration] return read(tin, buf, n); ^~~~ fread sys_bsd.c: In function ‘TerminalSpecialChars’: sys_bsd.c:205:6: warning: implicit declaration of function ‘sendabort’; did you mean ‘sendbrk’? [-Wimplicit-function-declaration] sendabort(); ^~~~~~~~~ sendbrk sys_bsd.c:209:6: warning: implicit declaration of function ‘sendeof’; did you mean ‘sendto’? [-Wimplicit-function-declaration] sendeof(); ^~~~~~~ sendto sys_bsd.c:214:2: warning: implicit declaration of function ‘sendsusp’; did you mean ‘sendmsg’? [-Wimplicit-function-declaration] sendsusp(); ^~~~~~~~ sendmsg sys_bsd.c: In function ‘TerminalNewMode’: sys_bsd.c:441:11: warning: implicit declaration of function ‘ttyflush’; did you mean ‘tcflush’? [-Wimplicit-function-declaration] old = ttyflush(SYNCHing|flushout); ^~~~~~~~ tcflush sys_bsd.c: In function ‘NetClose’: sys_bsd.c:800:12: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] return close(fd); ^~~~~ pclose sys_bsd.c: In function ‘susp’: sys_bsd.c:896:40: warning: implicit declaration of function ‘rlogin_susp’ [-Wimplicit-function-declaration] if ((rlogin != _POSIX_VDISABLE) && rlogin_susp()) ^~~~~~~~~~~ sys_bsd.c: In function ‘sys_telnet_init’: sys_bsd.c:957:9: warning: implicit declaration of function ‘SetSockOpt’; did you mean ‘setsockopt’? [-Wimplicit-function-declaration] if (SetSockOpt(net, SOL_SOCKET, SO_OOBINLINE, 1) == -1) { ^~~~~~~~~~ setsockopt sys_bsd.c: In function ‘process_rings’: sys_bsd.c:975:1: warning: type of ‘netin’ defaults to ‘int’ [-Wimplicit-int] process_rings(netin, netout, netex, ttyin, ttyout, poll) ^~~~~~~~~~~~~ sys_bsd.c:975:1: warning: type of ‘netout’ defaults to ‘int’ [-Wimplicit-int] sys_bsd.c:975:1: warning: type of ‘netex’ defaults to ‘int’ [-Wimplicit-int] sys_bsd.c:975:1: warning: type of ‘ttyin’ defaults to ‘int’ [-Wimplicit-int] sys_bsd.c:975:1: warning: type of ‘ttyout’ defaults to ‘int’ [-Wimplicit-int] sys_bsd.c:1044:6: warning: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration] sleep(5); ^~~~~ sys_bsd.c:1181:54: warning: implicit declaration of function ‘isatty’ [-Wimplicit-function-declaration] if ((c == 0) && MODE_LOCAL_CHARS(globalmode) && isatty(tin)) { ^~~~~~ sys_bsd.c:1199:17: warning: implicit declaration of function ‘netflush’; did you mean ‘tcflush’? [-Wimplicit-function-declaration] returnValue |= netflush(); ^~~~~~~~ tcflush gcc -g -I.. -I../../include -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -c -o telnet.o telnet.c telnet.c: In function ‘init_telnet’: telnet.c:154:5: warning: implicit declaration of function ‘env_init’; did you mean ‘env_opt’? [-Wimplicit-function-declaration] env_init(); ^~~~~~~~ env_opt telnet.c: In function ‘mklist’: telnet.c:590:18: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] argv = (char **)malloc((n+3)*sizeof(char *)); ^~~~~~ telnet.c:590:18: warning: incompatible implicit declaration of built-in function ‘malloc’ telnet.c:590:18: note: include ‘’ or provide a declaration of ‘malloc’ telnet.c:614:13: warning: implicit declaration of function ‘is_unique’ [-Wimplicit-function-declaration] else if (is_unique(cp2, argv+1, argvp)) ^~~~~~~~~ telnet.c: In function ‘gettermname’: telnet.c:725:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] free(tnamep); ^~~~ telnet.c:725:4: warning: incompatible implicit declaration of built-in function ‘free’ telnet.c:725:4: note: include ‘’ or provide a declaration of ‘free’ telnet.c:727:6: warning: implicit declaration of function ‘setupterm’; did you mean ‘setneturg’? [-Wimplicit-function-declaration] (setupterm(tname, 1, &err) == 0)) { ^~~~~~~~~ setneturg telnet.c: In function ‘suboption’: telnet.c:785:3: warning: implicit declaration of function ‘ExitString’ [-Wimplicit-function-declaration] ExitString("No room in buffer for terminal type.\n", 1); ^~~~~~~~~~ telnet.c:800:6: warning: implicit declaration of function ‘TerminalSpeeds’; did you mean ‘TerminalNewMode’? [-Wimplicit-function-declaration] TerminalSpeeds(&ispeed, &ospeed); ^~~~~~~~~~~~~~ TerminalNewMode telnet.c:802:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘long int’ [-Wformat=] sprintf((char *)temp, "%c%c%c%c%d,%d%c%c", IAC, SB, TELOPT_TSPEED, ~^ %ld telnet.c:802:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘long int’ [-Wformat=] sprintf((char *)temp, "%c%c%c%c%d,%d%c%c", IAC, SB, TELOPT_TSPEED, ~^ %ld telnet.c: In function ‘slc_export’: telnet.c:1190:5: warning: implicit declaration of function ‘TerminalDefaultChars’; did you mean ‘TerminalSaveState’? [-Wimplicit-function-declaration] TerminalDefaultChars(); ^~~~~~~~~~~~~~~~~~~~ TerminalSaveState telnet.c: In function ‘env_opt_start’: telnet.c:1419:32: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] opt_reply = (unsigned char *)realloc(opt_reply, OPT_REPLY_SIZE); ^~~~~~~ telnet.c:1419:32: warning: incompatible implicit declaration of built-in function ‘realloc’ telnet.c:1419:32: note: include ‘’ or provide a declaration of ‘realloc’ telnet.c:1421:32: warning: incompatible implicit declaration of built-in function ‘malloc’ opt_reply = (unsigned char *)malloc(OPT_REPLY_SIZE); ^~~~~~ telnet.c:1421:32: note: include ‘’ or provide a declaration of ‘malloc’ telnet.c: In function ‘env_opt_add’: telnet.c:1465:32: warning: incompatible implicit declaration of built-in function ‘realloc’ opt_reply = (unsigned char *)realloc(opt_reply, len); ^~~~~~~ telnet.c:1465:32: note: include ‘’ or provide a declaration of ‘realloc’ telnet.c: In function ‘env_opt_end’: telnet.c:1514:3: warning: incompatible implicit declaration of built-in function ‘free’ free(opt_reply); ^~~~ telnet.c:1514:3: note: include ‘’ or provide a declaration of ‘free’ telnet.c: In function ‘telrcv’: telnet.c:1645:10: warning: implicit declaration of function ‘ttyflush’; did you mean ‘tcflush’? [-Wimplicit-function-declaration] (void) ttyflush(1); ^~~~~~~~ tcflush telnet.c:1646:14: warning: implicit declaration of function ‘stilloob’; did you mean ‘ftello’? [-Wimplicit-function-declaration] SYNCHing = stilloob(); ^~~~~~~~ ftello telnet.c: In function ‘telsnd’: telnet.c:1890:10: warning: implicit declaration of function ‘TerminalSpecialChars’; did you mean ‘TerminalSaveState’? [-Wimplicit-function-declaration] if (TerminalSpecialChars(sc) == 0) { ^~~~~~~~~~~~~~~~~~~~ TerminalSaveState telnet.c: In function ‘Scheduler’: telnet.c:1993:19: warning: implicit declaration of function ‘process_rings’ [-Wimplicit-function-declaration] returnValue = process_rings(netin, netout, netex, ttyin, ttyout, !block); ^~~~~~~~~~~~~ telnet.c: In function ‘sendnaws’: telnet.c:2380:9: warning: implicit declaration of function ‘TerminalWindowSize’; did you mean ‘TerminalNewMode’? [-Wimplicit-function-declaration] if (TerminalWindowSize(&rows, &cols) == 0) { /* Failed */ ^~~~~~~~~~~~~~~~~~ TerminalNewMode gcc -g -I.. -I../../include -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -c -o terminal.o terminal.c terminal.c: In function ‘init_terminal’: terminal.c:81:2: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^~~~ terminal.c:81:2: warning: incompatible implicit declaration of built-in function ‘exit’ terminal.c:81:2: note: include ‘’ or provide a declaration of ‘exit’ terminal.c:84:2: warning: incompatible implicit declaration of built-in function ‘exit’ exit(1); ^~~~ terminal.c:84:2: note: include ‘’ or provide a declaration of ‘exit’ terminal.c:86:17: warning: implicit declaration of function ‘TerminalAutoFlush’ [-Wimplicit-function-declaration] autoflush = TerminalAutoFlush(); ^~~~~~~~~~~~~~~~~ terminal.c: In function ‘ttyflush’: terminal.c:113:10: warning: implicit declaration of function ‘TerminalWrite’; did you mean ‘TerminalNewMode’? [-Wimplicit-function-declaration] n = TerminalWrite(ttyoring.consume, n); ^~~~~~~~~~~~~ TerminalNewMode gcc -g -I.. -I../../include -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE -c -o utilities.o utilities.c utilities.c: In function ‘SetSockOpt’: utilities.c:84:12: warning: implicit declaration of function ‘setsockopt’; did you mean ‘SetSockOpt’? [-Wimplicit-function-declaration] return setsockopt(fd, level, option, ^~~~~~~~~~ SetSockOpt utilities.c: In function ‘Dump’: utilities.c:130:12: warning: type defaults to ‘int’ in declaration of ‘pettydump’ [-Wimplicit-int] extern pettydump; ^~~~~~~~~ utilities.c: In function ‘printsub’: utilities.c:688:8: warning: format not a string literal and no format arguments [-Wformat-security] fprintf(NetTrace, "\" VAR " + noquote); ^~~~~~~ utilities.c:693:8: warning: format not a string literal and no format arguments [-Wformat-security] fprintf(NetTrace, "\" VALUE " + noquote); ^~~~~~~ utilities.c:698:8: warning: format not a string literal and no format arguments [-Wformat-security] fprintf(NetTrace, "\" ESC " + noquote); ^~~~~~~ utilities.c: In function ‘EmptyTerminal’: utilities.c:765:13: warning: implicit declaration of function ‘ttyflush’; did you mean ‘tcflush’? [-Wimplicit-function-declaration] (void) ttyflush(0); ^~~~~~~~ tcflush utilities.c: In function ‘SetForExit’: utilities.c:785:8: warning: implicit declaration of function ‘telrcv’; did you mean ‘telnet’? [-Wimplicit-function-declaration] (void)telrcv(); /* Process any incoming data */ ^~~~~~ telnet utilities.c: In function ‘Exit’: utilities.c:807:5: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(returnCode); ^~~~ utilities.c:807:5: warning: incompatible implicit declaration of built-in function ‘exit’ utilities.c:807:5: note: include ‘’ or provide a declaration of ‘exit’ utilities.c: In function ‘ExitString’: utilities.c:817:5: warning: incompatible implicit declaration of built-in function ‘exit’ exit(returnCode); ^~~~ utilities.c:817:5: note: include ‘’ or provide a declaration of ‘exit’ gcc -o ../rtelnet -g -I.. -I../../include -DLINUX -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname -DDIAGNOSTICS -DKLUDGELINEMODE authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o utilities.o -L/<>/lib/ -lsocks ../libtelnet/libtelnet.a -lncurses make[5]: Leaving directory '/<>/rtelnet/telnet' make[4]: Leaving directory '/<>/rtelnet/telnet' make[3]: Leaving directory '/<>/rtelnet/telnet' make[2]: Leaving directory '/<>/rtelnet' (cd runsocks; make CC="gcc" SOCKS_LIB="-L/<>/lib/ -lsocks" \ SOCKS_LIB_DEP="/<>/lib/libsocks.a" \ OPTIMIZE="-g" SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname" \ RESOLV_LIB="" \ OTHER_CFLAGS="-DLINUX ") make[2]: Entering directory '/<>/runsocks' gcc -fPIC -DLINUX -c wrap.c wrap.c: In function ‘doinit’: wrap.c:61:13: warning: implicit declaration of function ‘getpid’; did you mean ‘getenv’? [-Wimplicit-function-declaration] pid = getpid(); ^~~~~~ getenv wrap.c:66:15: warning: implicit declaration of function ‘strerror’; did you mean ‘perror’? [-Wimplicit-function-declaration] procfile, strerror(errno)); ^~~~~~~~ perror wrap.c:65:40: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Wformat=] fprintf(stderr, "Can not open %s : %s\n", ~^ %d procfile, strerror(errno)); ~~~~~~~~~~~~~~~ wrap.c:74:4: warning: implicit declaration of function ‘SOCKSinit’ [-Wimplicit-function-declaration] SOCKSinit(cmd); ^~~~~~~~~ gcc -fPIC -DLINUX -c connect.c In file included from connect.c:6:0: connect.c: In function ‘_RLD_connect’: wrap.h:14:5: warning: implicit declaration of function ‘GetOriginalFunc’ [-Wimplicit-function-declaration] GetOriginalFunc(&func, (name), (flags)); \ ^ connect.c:10:3: note: in expansion of macro ‘GETFUNC’ GETFUNC("connect", TRY_LIBC, -1, (int (*)(int sockfd, __const struct sockaddr *serv_addr, socklen_t addrlen )), (sockfd, serv_addr, addrlen), int); ^~~~~~~ connect.c: In function ‘connect’: wrap.h:5:23: warning: implicit declaration of function ‘Rconnect’; did you mean ‘connect’? [-Wimplicit-function-declaration] #define LIBPREFIX(x) R ## x ^ connect.c:26:13: note: in expansion of macro ‘LIBPREFIX’ ret = LIBPREFIX(connect)(sockfd, serv_addr, addrlen); ^~~~~~~~~ gcc -fPIC -DLINUX -c bind.c In file included from bind.c:6:0: bind.c: In function ‘_RLD_bind’: wrap.h:14:5: warning: implicit declaration of function ‘GetOriginalFunc’ [-Wimplicit-function-declaration] GetOriginalFunc(&func, (name), (flags)); \ ^ bind.c:10:3: note: in expansion of macro ‘GETFUNC’ GETFUNC("bind", TRY_LIBC, -1, (int (*)(int sockfd, __const struct sockaddr *my_addr, socklen_t addrlen )), (sockfd, my_addr, addrlen), int); ^~~~~~~ bind.c: In function ‘bind’: wrap.h:5:23: warning: implicit declaration of function ‘Rbind’; did you mean ‘bind’? [-Wimplicit-function-declaration] #define LIBPREFIX(x) R ## x ^ bind.c:24:11: note: in expansion of macro ‘LIBPREFIX’ ret = LIBPREFIX(bind)(sockfd, my_addr, addrlen); ^~~~~~~~~ gcc -fPIC -DLINUX -c accept.c In file included from accept.c:6:0: accept.c: In function ‘_RLD_accept’: wrap.h:14:5: warning: implicit declaration of function ‘GetOriginalFunc’ [-Wimplicit-function-declaration] GetOriginalFunc(&func, (name), (flags)); \ ^ accept.c:10:3: note: in expansion of macro ‘GETFUNC’ GETFUNC("accept", TRY_LIBC, -1, (int (*)(int sockfd, struct sockaddr *addr, socklen_t *addrlen )), (sockfd, addr, addrlen), int); ^~~~~~~ accept.c: In function ‘accept’: wrap.h:5:23: warning: implicit declaration of function ‘Raccept’; did you mean ‘accept’? [-Wimplicit-function-declaration] #define LIBPREFIX(x) R ## x ^ accept.c:22:11: note: in expansion of macro ‘LIBPREFIX’ ret = LIBPREFIX(accept)(sockfd, addr, addrlen); ^~~~~~~~~ gcc -fPIC -DLINUX -c listen.c In file included from listen.c:6:0: listen.c: In function ‘_RLD_listen’: wrap.h:14:5: warning: implicit declaration of function ‘GetOriginalFunc’ [-Wimplicit-function-declaration] GetOriginalFunc(&func, (name), (flags)); \ ^ listen.c:10:3: note: in expansion of macro ‘GETFUNC’ GETFUNC("listen", TRY_LIBC, -1, (int (*)(int sockfd, unsigned int backlog )), (sockfd, backlog), int); ^~~~~~~ listen.c: In function ‘listen’: wrap.h:5:23: warning: implicit declaration of function ‘Rlisten’; did you mean ‘listen’? [-Wimplicit-function-declaration] #define LIBPREFIX(x) R ## x ^ listen.c:22:11: note: in expansion of macro ‘LIBPREFIX’ ret = LIBPREFIX(listen)(sockfd, backlog); ^~~~~~~~~ gcc -fPIC -DLINUX -c gethostbyname.c In file included from gethostbyname.c:6:0: gethostbyname.c: In function ‘_RLD_gethostbyname’: wrap.h:14:5: warning: implicit declaration of function ‘GetOriginalFunc’ [-Wimplicit-function-declaration] GetOriginalFunc(&func, (name), (flags)); \ ^ gethostbyname.c:10:3: note: in expansion of macro ‘GETFUNC’ GETFUNC("gethostbyname", TRY_LIBC, -1, (int (*)(int sockfd, unsigned int backlog )), (sockfd, backlog), int); ^~~~~~~ gethostbyname.c: In function ‘gethostbyname’: wrap.h:5:23: warning: implicit declaration of function ‘Rgethostbyname’; did you mean ‘gethostbyname’? [-Wimplicit-function-declaration] #define LIBPREFIX(x) R ## x ^ gethostbyname.c:22:11: note: in expansion of macro ‘LIBPREFIX’ ret = LIBPREFIX(gethostbyname)(sockfd, backlog); ^~~~~~~~~ gcc -o libsockspl.so -fPIC -nostdlib -shared wrap.o connect.o bind.o accept.o listen.o gethostbyname.o -L/<>/lib/ -lsocks -ldl -lc make[2]: Leaving directory '/<>/runsocks' make[1]: Leaving directory '/<>' touch build-stamp fakeroot debian/rules binary-arch dh_installdirs dh_installdirs: Compatibility levels before 9 are deprecated (level 5 in use) make install.server install.mkfc DESTDIR=`pwd`/debian/socks4-server 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 make[2]: Leaving directory '/<>/lib' (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 make[2]: Leaving directory '/<>/sockd' (cd sockd; make INSTALL="install" MAN_DEST_DIR="/<>/debian/socks4-server/usr/share/man" \ SERVER_BIN_DIR="/<>/debian/socks4-server/usr/sbin" install install.man) make[2]: Entering directory '/<>/sockd' /<>/sockd install -m 111 sockd /<>/debian/socks4-server/usr/sbin install -m 444 ../doc/sockd.8 /<>/debian/socks4-server/usr/share/man/man8 install -m 444 ../doc/sockd.conf.5 /<>/debian/socks4-server/usr/share/man/man5 install -m 444 ../doc/sockd.route.5 /<>/debian/socks4-server/usr/share/man/man5 make[2]: Leaving directory '/<>/sockd' (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 make[2]: Leaving directory '/<>/mkfc' (cd mkfc; make INSTALL="install" \ MKFC_DIR="/<>/debian/socks4-server/usr/sbin" install) make[2]: Entering directory '/<>/mkfc' /<>/mkfc for i in make_socksfc make_sockdfc make_sockdfr dump_socksfc dump_sockdfc dump_sockdfr; do \ install -m 100 $i /<>/debian/socks4-server/usr/sbin ;\ done make[2]: Leaving directory '/<>/mkfc' make[1]: Leaving directory '/<>' install -m 755 sockd/rsockd `pwd`/debian/socks4-server/usr/sbin/ install -m 644 debian/sockd.conf `pwd`/debian/socks4-server/etc/ install -m 644 debian/sockd.route `pwd`/debian/socks4-server/etc/ make install.clients DESTDIR=`pwd`/debian/socks4-server 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 make[2]: Leaving directory '/<>/lib' (cd rfinger; make CC="gcc" WHOIS_SERVER=-DWHOIS_SERVER\'=\"rs.internic.net\"\' \ OPTIMIZE="-g" SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname" \ RESOLV_LIB="" SOCKS_LIB="-L/<>/lib/ -lsocks" \ SOCKS_LIB_DEP="/<>/lib/libsocks.a" \ OTHER_CFLAGS="-DLINUX ") make[2]: Entering directory '/<>/rfinger' /<>/rfinger make[2]: Leaving directory '/<>/rfinger' (cd rftp; make CC="gcc" SOCKS_LIB="-L/<>/lib/ -lsocks" \ SOCKS_LIB_DEP="/<>/lib/libsocks.a" \ OPTIMIZE="-g" SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname" \ RESOLV_LIB="" \ OTHER_CFLAGS="-DLINUX ") make[2]: Entering directory '/<>/rftp' /<>/rftp make[2]: Leaving directory '/<>/rftp' (cd rtelnet; make CC="gcc" OS="linux" SOCKS_LIB="-L/<>/lib/ -lsocks" \ SOCKS_LIB_DEP="/<>/lib/libsocks.a" \ OPTIMIZE="-g" SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname" \ RESOLV_LIB="" \ OTHER_CFLAGS="-DLINUX ") make[2]: Entering directory '/<>/rtelnet' /<>/rtelnet cd libtelnet; make linux CC="gcc" OTHER_CFLAGS="-DLINUX " SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname" SOCKS_LIB="-L/<>/lib/ -lsocks" SOCKS_LIB_DEP=/<>/lib/libsocks.a RESOLV_LIB="" OPTIMIZE="-g" make[3]: Entering directory '/<>/rtelnet/libtelnet' make -f ../Config.local WHAT= CC=gcc OPTIMIZE=-g SOCKS=-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname SOCKS_LIB_DEP=/<>/lib/libsocks.a SOCKS_LIB=-L/<>/lib/ -lsocks RESOLV_LIB= linux make[4]: Entering directory '/<>/rtelnet/libtelnet' make -f Makefile.generic \ LIBS="-L/<>/lib/ -lsocks ../libtelnet/libtelnet.a \ -lncurses" \ DEST=/<>/debian/socks4-server/usr/ucb \ DEFINES="-DLINUX \ -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname \ -DDIAGNOSTICS -DKLUDGELINEMODE" \ INCLUDES="-I.. -I../../include" \ LIB_OBJ="getent.o" \ LIB_SRC="getent.c" \ AR=ar ARFLAGS=rc RANLIB=ranlib \ LIBEXEC=/<>/debian/socks4-server/usr/etc/in.telnetd \ CC="gcc" LCCFLAGS="-g" make[5]: Entering directory '/<>/rtelnet/libtelnet' make[5]: 'libtelnet.a' is up to date. make[5]: Leaving directory '/<>/rtelnet/libtelnet' make[4]: Leaving directory '/<>/rtelnet/libtelnet' make[3]: Leaving directory '/<>/rtelnet/libtelnet' cd telnet; make linux CC="gcc" OTHER_CFLAGS="-DLINUX " SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname" SOCKS_LIB="-L/<>/lib/ -lsocks" SOCKS_LIB_DEP=/<>/lib/libsocks.a RESOLV_LIB="" OPTIMIZE="-g" make[3]: Entering directory '/<>/rtelnet/telnet' make -f ../Config.local WHAT= CC=gcc OPTIMIZE=-g SOCKS=-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname SOCKS_LIB_DEP=/<>/lib/libsocks.a SOCKS_LIB=-L/<>/lib/ -lsocks RESOLV_LIB= linux make[4]: Entering directory '/<>/rtelnet/telnet' make -f Makefile.generic \ LIBS="-L/<>/lib/ -lsocks ../libtelnet/libtelnet.a \ -lncurses" \ DEST=/<>/debian/socks4-server/usr/ucb \ DEFINES="-DLINUX \ -DUSE_TERMIO -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname \ -DDIAGNOSTICS -DKLUDGELINEMODE" \ INCLUDES="-I.. -I../../include" \ LIB_OBJ="getent.o" \ LIB_SRC="getent.c" \ AR=ar ARFLAGS=rc RANLIB=ranlib \ LIBEXEC=/<>/debian/socks4-server/usr/etc/in.telnetd \ CC="gcc" LCCFLAGS="-g" make[5]: Entering directory '/<>/rtelnet/telnet' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/<>/rtelnet/telnet' make[4]: Leaving directory '/<>/rtelnet/telnet' make[3]: Leaving directory '/<>/rtelnet/telnet' make[2]: Leaving directory '/<>/rtelnet' (cd runsocks; make CC="gcc" SOCKS_LIB="-L/<>/lib/ -lsocks" \ SOCKS_LIB_DEP="/<>/lib/libsocks.a" \ OPTIMIZE="-g" SOCKS="-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten -Daccept=Raccept -Dbind=Rbind -Dselect=Rselect -Dgethostbyname=Rgethostbyname" \ RESOLV_LIB="" \ OTHER_CFLAGS="-DLINUX ") make[2]: Entering directory '/<>/runsocks' make[2]: 'libsockspl.so' is up to date. make[2]: Leaving directory '/<>/runsocks' (cd doc; make INSTALL="install" MAN_DEST_DIR="/<>/debian/socks4-server/usr/share/man" \ install) make[2]: Entering directory '/<>/doc' for i in *.1; do \ install -m 444 $i /<>/debian/socks4-server/usr/share/man/man1 ;\ done for i in *.5; do \ install -m 444 $i /<>/debian/socks4-server/usr/share/man/man5 ;\ done for i in *.8; do \ install -m 444 $i /<>/debian/socks4-server/usr/share/man/man8 ;\ done make[2]: Leaving directory '/<>/doc' for i in rfinger rftp rtelnet runsocks; do \ (cd $i ; make INSTALL="install" \ CLIENTS_BIN_DIR="/<>/debian/socks4-server/usr/bin" \ LIB_DEST_DIR="/<>/debian/socks4-server/usr/lib" \ install); done make[2]: Entering directory '/<>/rfinger' /<>/rfinger install -m 111 rfinger /<>/debian/socks4-server/usr/bin install -m 111 rwhois /<>/debian/socks4-server/usr/bin make[2]: Leaving directory '/<>/rfinger' make[2]: Entering directory '/<>/rftp' /<>/rftp install -m 111 rftp /<>/debian/socks4-server/usr/bin make[2]: Leaving directory '/<>/rftp' make[2]: Entering directory '/<>/rtelnet' /<>/rtelnet install -s -o bin -g bin -m 111 rtelnet /<>/debian/socks4-server/usr/bin make[2]: Leaving directory '/<>/rtelnet' make[2]: Entering directory '/<>/runsocks' mkdir -p /<>/debian/socks4-server/usr/lib/socks4/ install libsockspl.so /<>/debian/socks4-server/usr/lib/socks4// install runsocks /<>/debian/socks4-server/usr/bin/ make[2]: Leaving directory '/<>/runsocks' make[1]: Leaving directory '/<>' install -m 644 debian/socks.conf `pwd`/debian/socks4-server/etc/ cd debian/socks4-clients/usr/share/man/man1 && ln -s ../man7/undocumented.7.gz runsocks.1.gz make install.lib DESTDIR=`pwd`/debian/socks4-server 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 make[2]: Leaving directory '/<>/lib' (cd lib; make INSTALL="install" LIB_DEST_DIR="/<>/debian/socks4-server/usr/lib" install) make[2]: Entering directory '/<>/lib' /<>/lib if [ -d /<>/debian/socks4-server/usr/lib ]; then \ (install -m 644 libsocks.a /<>/debian/socks4-server/usr/lib; \ -t /<>/debian/socks4-server/usr/lib/libsocks.a); fi /bin/sh: 3: -t: not found Makefile:45: recipe for target 'install' failed make[2]: [install] Error 127 (ignored) make[2]: Leaving directory '/<>/lib' make[1]: Leaving directory '/<>' install -m 644 lib/libsocks.so.4.3 `pwd`/debian/socks4-server/usr/lib/ ln -s libsocks.so.4.3 debian/socks4-server/usr/lib/libsocks.so.4 ln -s libsocks.so.4.3 debian/socks4-server/usr/lib/libsocks.so make install.man DESTDIR=`pwd`/debian/socks4-server make[1]: Entering directory '/<>' (cd doc; make INSTALL="install" MAN_DEST_DIR="/<>/debian/socks4-server/usr/share/man" \ install) make[2]: Entering directory '/<>/doc' for i in *.1; do \ install -m 444 $i /<>/debian/socks4-server/usr/share/man/man1 ;\ done for i in *.5; do \ install -m 444 $i /<>/debian/socks4-server/usr/share/man/man5 ;\ done for i in *.8; do \ install -m 444 $i /<>/debian/socks4-server/usr/share/man/man8 ;\ done make[2]: Leaving directory '/<>/doc' make[1]: Leaving directory '/<>' touch install-stamp dh_testdir dh_testroot dh_movefiles --sourcedir=debian/socks4-server dh_movefiles: Compatibility levels before 9 are deprecated (level 5 in use) rmdir debian/socks4-server/usr/bin rmdir debian/socks4-server/usr/share/man/man1 rmdir debian/socks4-server/usr/lib/socks4 rmdir debian/socks4-server/usr/lib install -m 644 debian/libsocks4.lintian debian/libsocks4/usr/share/lintian/overrides/libsocks4 dh_installchangelogs CHANGES dh_installdocs runsocks/README.runsocks dh_installdocs: Compatibility levels before 9 are deprecated (level 5 in use) dh_installexamples dh_installexamples: Compatibility levels before 9 are deprecated (level 5 in use) dh_installmenu dh_installcron dh_installman dh_installman: Compatibility levels before 9 are deprecated (level 5 in use) dh_strip dh_strip: Compatibility levels before 9 are deprecated (level 5 in use) dh_strip: Compatibility levels before 9 are deprecated (level 5 in use) dh_strip: Compatibility levels before 9 are deprecated (level 5 in use) dh_link dh_compress dh_compress: Compatibility levels before 9 are deprecated (level 5 in use) dh_compress: Compatibility levels before 9 are deprecated (level 5 in use) dh_compress: Compatibility levels before 9 are deprecated (level 5 in use) dh_fixperms dh_makeshlibs dh_makeshlibs: Compatibility levels before 9 are deprecated (level 5 in use) dh_installdeb dh_installdeb: Compatibility levels before 9 are deprecated (level 5 in use) dh_shlibdeps dh_shlibdeps: Compatibility levels before 9 are deprecated (level 5 in use) dh_shlibdeps: Compatibility levels before 9 are deprecated (level 5 in use) dh_shlibdeps: Compatibility levels before 9 are deprecated (level 5 in use) dh_gencontrol dh_md5sums dh_builddeb INFO: pkgstriptranslations version 138.18.04.0 INFO: pkgstriptranslations version 138.18.04.0 INFO: pkgstriptranslations version 138.18.04.0 pkgstriptranslations: processing socks4-server (in debian/socks4-server); do_strip: , oemstrip: pkgstriptranslations: processing socks4-clients (in debian/socks4-clients); do_strip: , oemstrip: pkgstriptranslations: processing libsocks4 (in debian/libsocks4); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/socks4-server/DEBIAN/control, package socks4-server, directory debian/socks4-server .. removing usr/share/doc/socks4-server/changelog.gz Searching for duplicated docs in dependency libsocks4... symlinking changelog.Debian.gz in socks4-server to file in libsocks4 pkgstripfiles: Running PNG optimization (using 4 cpus) for package socks4-server ... pkgstripfiles: No PNG files. dpkg-deb: building package 'socks4-server' in '../socks4-server_4.3.beta2-20_armhf.deb'. pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/socks4-clients/DEBIAN/control, package socks4-clients, directory debian/socks4-clients .. removing usr/share/doc/socks4-clients/changelog.gz Searching for duplicated docs in dependency libsocks4... symlinking changelog.Debian.gz in socks4-clients to file in libsocks4 pkgstripfiles: Running PNG optimization (using 4 cpus) for package socks4-clients ... pkgstripfiles: No PNG files. dpkg-deb: building package 'socks4-clients' in '../socks4-clients_4.3.beta2-20_armhf.deb'. pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/libsocks4/DEBIAN/control, package libsocks4, directory debian/libsocks4 .. removing usr/share/doc/libsocks4/changelog.gz pkgstripfiles: Truncating usr/share/doc/libsocks4/changelog.Debian.gz to topmost ten records pkgstripfiles: Running PNG optimization (using 4 cpus) for package libsocks4 ... pkgstripfiles: No PNG files. dpkg-deb: building package 'libsocks4' in '../libsocks4_4.3.beta2-20_armhf.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../socks4-server_4.3.beta2-20_armhf.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build socks4-server-4.3.beta2 dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 20190224-1433 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ socks4-server_4.3.beta2-20_armhf.changes: ----------------------------------------- Format: 1.8 Date: Fri, 02 Sep 2016 19:55:38 +0200 Source: socks4-server Binary: socks4-server socks4-clients libsocks4 Architecture: armhf Version: 4.3.beta2-20 Distribution: bionic Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Aurelien Jarno Description: libsocks4 - SOCKS libraries socks4-clients - Socks4 enabled clients as rtelnet and rftp socks4-server - SOCKS4 server for proxying IP-based services over a firewall Closes: 833972 Changes: socks4-server (4.3.beta2-20) unstable; urgency=medium . * QA upload. * Fix FTBFS: do not use deprecated BSD union wait type. (Closes: #833972). Checksums-Sha1: f59f2b37f9bd44468879ceb387f007e24350624c 27068 libsocks4_4.3.beta2-20_armhf.deb 46443811350d010a4ff8128befd0503ab44ddcb2 71220 socks4-clients_4.3.beta2-20_armhf.deb 1f382592865401499f22a43db0fe6c2810767518 5809 socks4-server_4.3.beta2-20_armhf.buildinfo f5e6b22c9226712f026bbf0077eca2bf53768a35 50480 socks4-server_4.3.beta2-20_armhf.deb Checksums-Sha256: 81678173dd8f0402485445a0ef93028e4b06c6be485aa0563abe43718ab78eca 27068 libsocks4_4.3.beta2-20_armhf.deb 97531d9da5477ff421507fcb374365e2b28f2f5a0c94403f8e1e8a4f41c1cf11 71220 socks4-clients_4.3.beta2-20_armhf.deb e9aba03dbfc4bb2f8287b533e57bb46e4594bee00a1587132f365ba12699dc95 5809 socks4-server_4.3.beta2-20_armhf.buildinfo c871d0d2d83b475e5cef8e63e8d83540dc0fe77d502bc9beecdd74fdd397a3c8 50480 socks4-server_4.3.beta2-20_armhf.deb Files: 692785b17d4379fc3faf81be14872497 27068 libs optional libsocks4_4.3.beta2-20_armhf.deb 836000754c1615c76100252d5338cbea 71220 net extra socks4-clients_4.3.beta2-20_armhf.deb 5e79ab9262a28247bc92a284143e3c30 5809 net extra socks4-server_4.3.beta2-20_armhf.buildinfo 45390cfbd3639c2bb24b758659fcd098 50480 net extra socks4-server_4.3.beta2-20_armhf.deb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ libsocks4_4.3.beta2-20_armhf.deb -------------------------------- new debian package, version 2.0. size 27068 bytes: control archive=1136 bytes. 16 bytes, 1 lines conffiles 826 bytes, 20 lines control 329 bytes, 5 lines md5sums 69 bytes, 8 lines * postinst #!/bin/sh 21 bytes, 1 lines shlibs 74 bytes, 2 lines triggers Package: libsocks4 Source: socks4-server Version: 4.3.beta2-20 Architecture: armhf Maintainer: Ubuntu Developers Original-Maintainer: Debian QA Group Installed-Size: 132 Depends: libc6 (>= 2.4) Replaces: socks4-clients Section: libs Priority: optional Description: SOCKS libraries This is version 4.3 of SOCKS, a package that allows Unix hosts behind a firewall to gain full access to the internet without requiring direct IP reachability. It does require a SOCKS server program being run on a hosts that can communicate directly to hosts behind the firewall as well as hosts on the Internet at large. It is based on the original SOCKS written by David Koblas . . This package includes libsocks needed by SOCKSified client programs. drwxr-xr-x root/root 0 2016-09-02 17:55 ./ drwxr-xr-x root/root 0 2016-09-02 17:55 ./etc/ -rw-r--r-- root/root 231 2016-09-02 17:55 ./etc/socks.conf drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/lib/ -rw-r--r-- root/root 65874 2016-09-02 17:55 ./usr/lib/libsocks.a lrwxrwxrwx root/root 0 2016-09-02 17:55 ./usr/lib/libsocks.so -> libsocks.so.4.3 lrwxrwxrwx root/root 0 2016-09-02 17:55 ./usr/lib/libsocks.so.4 -> libsocks.so.4.3 -rw-r--r-- root/root 38868 2016-09-02 17:55 ./usr/lib/libsocks.so.4.3 drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/doc/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/doc/libsocks4/ -rw-r--r-- root/root 1208 2016-09-02 17:55 ./usr/share/doc/libsocks4/changelog.Debian.gz -rw-r--r-- root/root 3062 2016-09-02 17:55 ./usr/share/doc/libsocks4/copyright drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/lintian/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 86 2016-09-02 17:55 ./usr/share/lintian/overrides/libsocks4 socks4-clients_4.3.beta2-20_armhf.deb ------------------------------------- new debian package, version 2.0. size 71220 bytes: control archive=1264 bytes. 974 bytes, 21 lines control 845 bytes, 14 lines md5sums Package: socks4-clients Source: socks4-server Version: 4.3.beta2-20 Architecture: armhf Maintainer: Ubuntu Developers Original-Maintainer: Debian QA Group Installed-Size: 235 Depends: libc6 (>= 2.7), libsocks4, libtinfo5 (>= 6) Section: net Priority: extra Description: Socks4 enabled clients as rtelnet and rftp This is version 4.3 of SOCKS, a package that allows Unix hosts behind a firewall to gain full access to the internet without requiring direct IP reachability. It does require a SOCKS server program being run on a hosts that can communicate directly to hosts behind the firewall as well as hosts on the Internet at large. It is based on the original SOCKS written by David Koblas . . This package includes SOCKSified client programs of finger, ftp, telnet, and whois. A few other SOCKSified clients may be found on ftp.nec.com, in directory /pub/security/socks.cstc. drwxr-xr-x root/root 0 2016-09-02 17:55 ./ drwxr-xr-x root/root 0 2016-09-02 17:55 ./etc/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/bin/ -rwxr-xr-x root/root 9636 2016-09-02 17:55 ./usr/bin/rfinger -rwxr-xr-x root/root 70856 2016-09-02 17:55 ./usr/bin/rftp -rwxr-xr-x root/root 75416 2016-09-02 17:55 ./usr/bin/rtelnet -rwxr-xr-x root/root 56 2016-09-02 17:55 ./usr/bin/runsocks -rwxr-xr-x root/root 9636 2016-09-02 17:55 ./usr/bin/rwhois drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/lib/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/lib/socks4/ -rw-r--r-- root/root 5208 2016-09-02 17:55 ./usr/lib/socks4/libsockspl.so drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/sbin/ -rwxr-xr-x root/root 11936 2016-09-02 17:55 ./usr/sbin/dump_socksfc -rwxr-xr-x root/root 12228 2016-09-02 17:55 ./usr/sbin/make_socksfc drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/doc/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/doc/socks4-clients/ lrwxrwxrwx root/root 0 2016-09-02 17:55 ./usr/share/doc/socks4-clients/changelog.Debian.gz -> ../libsocks4/changelog.Debian.gz -rw-r--r-- root/root 3062 2016-09-02 17:55 ./usr/share/doc/socks4-clients/copyright drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/man/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/man/man1/ lrwxrwxrwx root/root 0 2016-09-02 17:55 ./usr/share/man/man1/rfinger.1.gz -> socks_clients.1.gz lrwxrwxrwx root/root 0 2016-09-02 17:55 ./usr/share/man/man1/rftp.1.gz -> socks_clients.1.gz lrwxrwxrwx root/root 0 2016-09-02 17:55 ./usr/share/man/man1/rtelnet.1.gz -> socks_clients.1.gz lrwxrwxrwx root/root 0 2016-09-02 17:55 ./usr/share/man/man1/runsocks.1.gz -> ../man7/undocumented.7.gz lrwxrwxrwx root/root 0 2016-09-02 17:55 ./usr/share/man/man1/rwhois.1.gz -> socks_clients.1.gz -rw-r--r-- root/root 2086 2016-09-02 17:55 ./usr/share/man/man1/socks_clients.1.gz drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/man/man5/ -rw-r--r-- root/root 3064 2016-09-02 17:55 ./usr/share/man/man5/socks.conf.5.gz -rw-r--r-- root/root 545 2016-09-02 17:55 ./usr/share/man/man5/socks.fc.5.gz drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/man/man8/ -rw-r--r-- root/root 628 2016-09-02 17:55 ./usr/share/man/man8/dump_socksfc.8.gz -rw-r--r-- root/root 707 2016-09-02 17:55 ./usr/share/man/man8/make_socksfc.8.gz socks4-server_4.3.beta2-20_armhf.deb ------------------------------------ new debian package, version 2.0. size 50480 bytes: control archive=1468 bytes. 33 bytes, 2 lines conffiles 828 bytes, 18 lines control 1690 bytes, 25 lines md5sums Package: socks4-server Version: 4.3.beta2-20 Architecture: armhf Maintainer: Ubuntu Developers Original-Maintainer: Debian QA Group Installed-Size: 126 Depends: libc6 (>= 2.4), libident (>= 0.22-3), libsocks4 Section: net Priority: extra Description: SOCKS4 server for proxying IP-based services over a firewall This is version 4.3 of SOCKS, a package that allows Unix hosts behind a firewall to gain full access to the internet without requiring direct IP reachability. It does require a SOCKS server program being run on a hosts that can communicate directly to hosts behind the firewall as well as hosts on the Internet at large. It is based on the original SOCKS written by David Koblas . . This package includes the SOCKS server. drwxr-xr-x root/root 0 2016-09-02 17:55 ./ drwxr-xr-x root/root 0 2016-09-02 17:55 ./etc/ -rw-r--r-- root/root 193 2016-09-02 17:55 ./etc/sockd.conf -rw-r--r-- root/root 166 2016-09-02 17:55 ./etc/sockd.route drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/sbin/ -rwxr-xr-x root/root 5540 2016-09-02 17:55 ./usr/sbin/dump_sockdfc -rwxr-xr-x root/root 5540 2016-09-02 17:55 ./usr/sbin/dump_sockdfr -rwxr-xr-x root/root 5548 2016-09-02 17:55 ./usr/sbin/make_sockdfc -rwxr-xr-x root/root 5548 2016-09-02 17:55 ./usr/sbin/make_sockdfr -rwxr-xr-x root/root 13748 2016-09-02 17:55 ./usr/sbin/rsockd -rwxr-xr-x root/root 13748 2016-09-02 17:55 ./usr/sbin/sockd drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/doc/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/doc/socks4-server/ -rw-r--r-- root/root 2834 1995-02-14 23:12 ./usr/share/doc/socks4-server/COPYRIGHTS lrwxrwxrwx root/root 0 2016-09-02 17:55 ./usr/share/doc/socks4-server/README.1st.gz -> README.4.3.beta2.gz -rw-r--r-- root/root 5227 1994-07-05 19:46 ./usr/share/doc/socks4-server/README.4.0.gz -rw-r--r-- root/root 6014 1994-07-05 19:46 ./usr/share/doc/socks4-server/README.4.1.gz -rw-r--r-- root/root 5094 1995-02-25 21:23 ./usr/share/doc/socks4-server/README.4.2.gz -rw-r--r-- root/root 4564 1996-06-11 19:17 ./usr/share/doc/socks4-server/README.4.3.beta2.gz -rw-r--r-- root/root 1841 1994-07-05 19:46 ./usr/share/doc/socks4-server/README.DK -rw-r--r-- root/root 172 2016-09-02 17:55 ./usr/share/doc/socks4-server/README.Debian -rw-r--r-- root/root 1030 2016-09-02 17:55 ./usr/share/doc/socks4-server/README.runsocks lrwxrwxrwx root/root 0 2016-09-02 17:55 ./usr/share/doc/socks4-server/changelog.Debian.gz -> ../libsocks4/changelog.Debian.gz -rw-r--r-- root/root 3062 2016-09-02 17:55 ./usr/share/doc/socks4-server/copyright drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/man/ drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/man/man5/ -rw-r--r-- root/root 4475 2016-09-02 17:55 ./usr/share/man/man5/sockd.conf.5.gz -rw-r--r-- root/root 533 2016-09-02 17:55 ./usr/share/man/man5/sockd.fc.5.gz -rw-r--r-- root/root 538 2016-09-02 17:55 ./usr/share/man/man5/sockd.fr.5.gz -rw-r--r-- root/root 1994 2016-09-02 17:55 ./usr/share/man/man5/sockd.route.5.gz drwxr-xr-x root/root 0 2016-09-02 17:55 ./usr/share/man/man8/ -rw-r--r-- root/root 624 2016-09-02 17:55 ./usr/share/man/man8/dump_sockdfc.8.gz -rw-r--r-- root/root 618 2016-09-02 17:55 ./usr/share/man/man8/dump_sockdfr.8.gz -rw-r--r-- root/root 704 2016-09-02 17:55 ./usr/share/man/man8/make_sockdfc.8.gz -rw-r--r-- root/root 696 2016-09-02 17:55 ./usr/share/man/man8/make_sockdfr.8.gz -rw-r--r-- root/root 1674 2016-09-02 17:55 ./usr/share/man/man8/rsockd.8.gz -rw-r--r-- root/root 2870 2016-09-02 17:55 ./usr/share/man/man8/sockd.8.gz +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: armhf Build-Space: 4432 Build-Time: 36 Distribution: bionic Host Architecture: armhf Install-Time: 17 Job: socks4-server_4.3.beta2-20.dsc Machine Architecture: arm64 Package: socks4-server Package-Time: 55 Source-Version: 4.3.beta2-20 Space: 4432 Status: successful Version: 4.3.beta2-20 -------------------------------------------------------------------------------- Finished at 20190224-1433 Build needed 00:00:55, 4432k disc space RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-16181819 Scanning for processes to kill in build PACKAGEBUILD-16181819