sbuild (Debian sbuild) 0.78.1 (09 February 2019) on gcc131.bak.milne.osuosl.org +==============================================================================+ | socks4-server 4.3.beta2-20 (ppc64el) Wed, 11 Sep 2019 09:41:20 +0000 | +==============================================================================+ Package: socks4-server Version: 4.3.beta2-20 Source Version: 4.3.beta2-20 Distribution: unstable Machine Architecture: amd64 Host Architecture: ppc64el Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-0d9327d0-b8fb-4df5-8fa2-0ad16a37c824' with '<>' I: NOTICE: Log filtering will replace 'build/socks4-server-BB9BkE/resolver-hKWzCb' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Get:1 http://debian.oregonstate.edu/debian unstable InRelease [139 kB] Get:2 http://debian.oregonstate.edu/debian unstable/main Sources.diff/Index [27.9 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main amd64 Packages.diff/Index [27.9 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main Sources 2019-09-11-0817.56.pdiff [9641 B] Get:4 http://debian.oregonstate.edu/debian unstable/main Sources 2019-09-11-0817.56.pdiff [9641 B] Get:5 http://debian.oregonstate.edu/debian unstable/main amd64 Packages 2019-09-11-0817.56.pdiff [72.1 kB] Get:5 http://debian.oregonstate.edu/debian unstable/main amd64 Packages 2019-09-11-0817.56.pdiff [72.1 kB] Get:6 http://debian.oregonstate.edu/debian unstable/main ppc64el Packages [7996 kB] Fetched 8272 kB in 2s (4269 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... Need to get 267 kB of source archives. Get:1 http://debian.oregonstate.edu/debian unstable/main socks4-server 4.3.beta2-20 (dsc) [1825 B] Get:2 http://debian.oregonstate.edu/debian unstable/main socks4-server 4.3.beta2-20 (tar) [246 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main socks4-server 4.3.beta2-20 (diff) [19.3 kB] Fetched 267 kB in 0s (5578 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/socks4-server-BB9BkE/socks4-server-4.3.beta2' with '<>' I: NOTICE: Log filtering will replace 'build/socks4-server-BB9BkE' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 4.2.0), libident-dev, libncurses5-dev, libc-dev, libstdc++-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-ppc64el:amd64, libc-dev:ppc64el, libstdc++-dev:ppc64el Filtered Build-Depends: debhelper (>= 4.2.0), libident-dev, libncurses5-dev, libc-dev, libstdc++-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-ppc64el:amd64, libc-dev:ppc64el, libstdc++-dev:ppc64el dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [414 B] Get:5 copy:/<>/apt_archive ./ Packages [505 B] Fetched 1876 B in 0s (92.1 kB/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev binutils-powerpc64le-linux-gnu bsdmainutils cpp-9-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu cross-config crossbuild-essential-ppc64el debhelper dh-autoreconf dh-strip-nondeterminism dpkg-cross dwz file g++-9-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc-9-base:ppc64el gcc-9-cross-base gcc-9-powerpc64le-linux-gnu gcc-9-powerpc64le-linux-gnu-base gcc-powerpc64le-linux-gnu gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan5:ppc64el libasan5-ppc64el-cross libatomic1:ppc64el libatomic1-ppc64el-cross libbsd0 libc6:ppc64el libc6-dev:ppc64el libc6-dev-ppc64el-cross libc6-ppc64el-cross libconfig-auto-perl libconfig-inifiles-perl libcroco3 libdebian-dpkgcross-perl libelf1 libfile-homedir-perl libfile-stripnondeterminism-perl libfile-which-perl libgcc-9-dev:ppc64el libgcc-9-dev-ppc64el-cross libgcc1:ppc64el libgcc1-ppc64el-cross libglib2.0-0 libgomp1:ppc64el libgomp1-ppc64el-cross libicu63 libident:ppc64el libident-dev:ppc64el libio-string-perl libitm1:ppc64el libitm1-ppc64el-cross liblocale-gettext-perl liblsan0:ppc64el liblsan0-ppc64el-cross libmagic-mgc libmagic1 libncurses-dev:ppc64el libncurses5-dev:ppc64el libncurses6 libncurses6:ppc64el libncursesw6:ppc64el libpipeline1 libquadmath0:ppc64el libquadmath0-ppc64el-cross libsigsegv2 libstdc++-9-dev:ppc64el libstdc++-9-dev-ppc64el-cross libstdc++6:ppc64el libstdc++6-ppc64el-cross libsub-override-perl libtinfo6:ppc64el libtool libtsan0:ppc64el libtsan0-ppc64el-cross libubsan1:ppc64el libubsan1-ppc64el-cross libuchardet0 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl linux-libc-dev:ppc64el linux-libc-dev-ppc64el-cross m4 man-db po-debconf sensible-utils ucf Suggested packages: autoconf-archive gnu-standards autoconf-doc binutils-doc wamerican | wordlist whois vacation gcc-9-locales cpp-doc dh-make binutils-multiarch gcc-9-doc libstdc++6-9-dbg-ppc64el-cross libgcc1-dbg-ppc64el-cross libgomp1-dbg-ppc64el-cross libitm1-dbg-ppc64el-cross libatomic1-dbg-ppc64el-cross libasan5-dbg-ppc64el-cross liblsan0-dbg-ppc64el-cross libtsan0-dbg-ppc64el-cross libubsan1-dbg-ppc64el-cross libquadmath0-dbg-ppc64el-cross manpages-dev flex bison gdb-powerpc64le-linux-gnu gcc-doc gettext-doc libasprintf-dev libgettextpo-dev groff glibc-doc:ppc64el libc-l10n:ppc64el locales:ppc64el manpages-dev:ppc64el ncurses-doc:ppc64el libstdc++-9-doc:ppc64el libtool-doc gfortran | fortran95-compiler gcj-jdk libyaml-shell-perl m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libidn2-0:ppc64el libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libgpm2 libgpm2:ppc64el libltdl-dev libwww-perl libxml-sax-expat-perl libyaml-libyaml-perl | libyaml-syck-perl libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev binutils-powerpc64le-linux-gnu bsdmainutils cpp-9-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu cross-config crossbuild-essential-ppc64el debhelper dh-autoreconf dh-strip-nondeterminism dpkg-cross dwz file g++-9-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc-9-base:ppc64el gcc-9-cross-base gcc-9-powerpc64le-linux-gnu gcc-9-powerpc64le-linux-gnu-base gcc-powerpc64le-linux-gnu gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan5:ppc64el libasan5-ppc64el-cross libatomic1:ppc64el libatomic1-ppc64el-cross libbsd0 libc6:ppc64el libc6-dev:ppc64el libc6-dev-ppc64el-cross libc6-ppc64el-cross libconfig-auto-perl libconfig-inifiles-perl libcroco3 libdebian-dpkgcross-perl libelf1 libfile-homedir-perl libfile-stripnondeterminism-perl libfile-which-perl libgcc-9-dev:ppc64el libgcc-9-dev-ppc64el-cross libgcc1:ppc64el libgcc1-ppc64el-cross libglib2.0-0 libgomp1:ppc64el libgomp1-ppc64el-cross libicu63 libident:ppc64el libident-dev:ppc64el libio-string-perl libitm1:ppc64el libitm1-ppc64el-cross liblocale-gettext-perl liblsan0:ppc64el liblsan0-ppc64el-cross libmagic-mgc libmagic1 libncurses-dev:ppc64el libncurses5-dev:ppc64el libncurses6 libncurses6:ppc64el libncursesw6:ppc64el libpipeline1 libquadmath0:ppc64el libquadmath0-ppc64el-cross libsigsegv2 libstdc++-9-dev:ppc64el libstdc++-9-dev-ppc64el-cross libstdc++6:ppc64el libstdc++6-ppc64el-cross libsub-override-perl libtinfo6:ppc64el libtool libtsan0:ppc64el libtsan0-ppc64el-cross libubsan1:ppc64el libubsan1-ppc64el-cross libuchardet0 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl linux-libc-dev:ppc64el linux-libc-dev-ppc64el-cross m4 man-db po-debconf sbuild-build-depends-main-dummy:ppc64el sensible-utils ucf 0 upgraded, 99 newly installed, 0 to remove and 0 not upgraded. Need to get 66.9 MB of archives. After this operation, 297 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [928 B] Get:2 http://debian.oregonstate.edu/debian unstable/main amd64 libbsd0 amd64 0.10.0-1 [107 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main amd64 bsdmainutils amd64 11.1.2+b1 [191 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main amd64 libuchardet0 amd64 0.0.6-3 [64.9 kB] Get:5 http://debian.oregonstate.edu/debian unstable/main amd64 groff-base amd64 1.22.4-3 [916 kB] Get:6 http://debian.oregonstate.edu/debian unstable/main amd64 libpipeline1 amd64 1.5.1-2 [31.2 kB] Get:7 http://debian.oregonstate.edu/debian unstable/main amd64 man-db amd64 2.8.7-3 [1300 kB] Get:8 http://debian.oregonstate.edu/debian unstable/main amd64 liblocale-gettext-perl amd64 1.07-3+b4 [18.9 kB] Get:9 http://debian.oregonstate.edu/debian unstable/main ppc64el gcc-9-base ppc64el 9.2.1-8 [193 kB] Get:10 http://debian.oregonstate.edu/debian unstable/main amd64 sensible-utils all 0.0.12 [15.8 kB] Get:11 http://debian.oregonstate.edu/debian unstable/main amd64 libmagic-mgc amd64 1:5.37-5 [253 kB] Get:12 http://debian.oregonstate.edu/debian unstable/main amd64 libmagic1 amd64 1:5.37-5 [119 kB] Get:13 http://debian.oregonstate.edu/debian unstable/main amd64 file amd64 1:5.37-5 [67.1 kB] Get:14 http://debian.oregonstate.edu/debian unstable/main amd64 gettext-base amd64 0.19.8.1-9 [123 kB] Get:15 http://debian.oregonstate.edu/debian unstable/main amd64 ucf all 3.0038+nmu1 [69.0 kB] Get:16 http://debian.oregonstate.edu/debian unstable/main amd64 libsigsegv2 amd64 2.12-2 [32.8 kB] Get:17 http://debian.oregonstate.edu/debian unstable/main amd64 m4 amd64 1.4.18-2 [203 kB] Get:18 http://debian.oregonstate.edu/debian unstable/main amd64 autoconf all 2.69-11 [341 kB] Get:19 http://debian.oregonstate.edu/debian unstable/main amd64 autotools-dev all 20180224.1 [77.0 kB] Get:20 http://debian.oregonstate.edu/debian unstable/main amd64 automake all 1:1.16.1-4 [771 kB] Get:21 http://debian.oregonstate.edu/debian unstable/main amd64 autopoint all 0.19.8.1-9 [434 kB] Get:22 http://debian.oregonstate.edu/debian unstable/main amd64 binutils-powerpc64le-linux-gnu amd64 2.32.51.20190909-1 [2237 kB] Get:23 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-9-powerpc64le-linux-gnu-base amd64 9.2.1-4cross1 [192 kB] Get:24 http://debian.oregonstate.edu/debian unstable/main amd64 cpp-9-powerpc64le-linux-gnu amd64 9.2.1-4cross1 [6736 kB] Get:25 http://debian.oregonstate.edu/debian unstable/main amd64 cpp-powerpc64le-linux-gnu amd64 4:9.2.1-3.1 [16.7 kB] Get:26 http://debian.oregonstate.edu/debian unstable/main amd64 cross-config all 2.6.15-3 [39.9 kB] Get:27 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-9-cross-base all 9.2.1-4cross1 [188 kB] Get:28 http://debian.oregonstate.edu/debian unstable/main amd64 libc6-ppc64el-cross all 2.29-1cross7 [1539 kB] Get:29 http://debian.oregonstate.edu/debian unstable/main amd64 libgcc1-ppc64el-cross all 1:9.2.1-4cross1 [29.8 kB] Get:30 http://debian.oregonstate.edu/debian unstable/main amd64 libgomp1-ppc64el-cross all 9.2.1-4cross1 [90.7 kB] Get:31 http://debian.oregonstate.edu/debian unstable/main amd64 libitm1-ppc64el-cross all 9.2.1-4cross1 [29.5 kB] Get:32 http://debian.oregonstate.edu/debian unstable/main amd64 libatomic1-ppc64el-cross all 9.2.1-4cross1 [9784 B] Get:33 http://debian.oregonstate.edu/debian unstable/main amd64 libasan5-ppc64el-cross all 9.2.1-4cross1 [401 kB] Get:34 http://debian.oregonstate.edu/debian unstable/main amd64 liblsan0-ppc64el-cross all 9.2.1-4cross1 [147 kB] Get:35 http://debian.oregonstate.edu/debian unstable/main amd64 libtsan0-ppc64el-cross all 9.2.1-4cross1 [296 kB] Get:36 http://debian.oregonstate.edu/debian unstable/main amd64 libstdc++6-ppc64el-cross all 9.2.1-4cross1 [501 kB] Get:37 http://debian.oregonstate.edu/debian unstable/main amd64 libubsan1-ppc64el-cross all 9.2.1-4cross1 [139 kB] Get:38 http://debian.oregonstate.edu/debian unstable/main amd64 libquadmath0-ppc64el-cross all 9.2.1-4cross1 [148 kB] Get:39 http://debian.oregonstate.edu/debian unstable/main amd64 libgcc-9-dev-ppc64el-cross all 9.2.1-4cross1 [1255 kB] Get:40 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-9-powerpc64le-linux-gnu amd64 9.2.1-4cross1 [7096 kB] Get:41 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-powerpc64le-linux-gnu amd64 4:9.2.1-3.1 [1480 B] Get:42 http://debian.oregonstate.edu/debian unstable/main amd64 linux-libc-dev-ppc64el-cross all 5.2.9-2cross7 [1323 kB] Get:43 http://debian.oregonstate.edu/debian unstable/main amd64 libc6-dev-ppc64el-cross all 2.29-1cross7 [2671 kB] Get:44 http://debian.oregonstate.edu/debian unstable/main amd64 libstdc++-9-dev-ppc64el-cross all 9.2.1-4cross1 [1725 kB] Get:45 http://debian.oregonstate.edu/debian unstable/main amd64 g++-9-powerpc64le-linux-gnu amd64 9.2.1-4cross1 [7317 kB] Get:46 http://debian.oregonstate.edu/debian unstable/main amd64 g++-powerpc64le-linux-gnu amd64 4:9.2.1-3.1 [1188 B] Get:47 http://debian.oregonstate.edu/debian unstable/main amd64 libconfig-inifiles-perl all 3.000001-1 [51.9 kB] Get:48 http://debian.oregonstate.edu/debian unstable/main amd64 libio-string-perl all 1.08-3 [12.3 kB] Get:49 http://debian.oregonstate.edu/debian unstable/main amd64 libicu63 amd64 63.2-2 [8301 kB] Get:50 http://debian.oregonstate.edu/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-7+b3 [687 kB] Get:51 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-namespacesupport-perl all 1.12-1 [14.8 kB] Get:52 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-sax-base-perl all 1.09-1 [20.4 kB] Get:53 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-sax-perl all 1.02+dfsg-1 [59.0 kB] Get:54 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1 [344 kB] Get:55 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-simple-perl all 2.25-1 [72.0 kB] Get:56 http://debian.oregonstate.edu/debian unstable/main amd64 libyaml-perl all 1.29-1 [67.4 kB] Get:57 http://debian.oregonstate.edu/debian unstable/main amd64 libconfig-auto-perl all 0.44-1 [19.5 kB] Get:58 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-which-perl all 1.23-1 [16.6 kB] Get:59 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-homedir-perl all 1.004-1 [42.7 kB] Get:60 http://debian.oregonstate.edu/debian unstable/main amd64 libdebian-dpkgcross-perl all 2.6.15-3 [38.7 kB] Get:61 http://debian.oregonstate.edu/debian unstable/main amd64 dpkg-cross all 2.6.15-3 [49.3 kB] Get:62 http://debian.oregonstate.edu/debian unstable/main amd64 crossbuild-essential-ppc64el all 12.7 [6616 B] Get:63 http://debian.oregonstate.edu/debian unstable/main amd64 libtool all 2.4.6-11 [547 kB] Get:64 http://debian.oregonstate.edu/debian unstable/main amd64 dh-autoreconf all 19 [16.9 kB] Get:65 http://debian.oregonstate.edu/debian unstable/main amd64 libarchive-zip-perl all 1.65-1 [95.8 kB] Get:66 http://debian.oregonstate.edu/debian unstable/main amd64 libsub-override-perl all 0.09-2 [10.2 kB] Get:67 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.6.0-1 [23.3 kB] Get:68 http://debian.oregonstate.edu/debian unstable/main amd64 dh-strip-nondeterminism all 1.6.0-1 [14.3 kB] Get:69 http://debian.oregonstate.edu/debian unstable/main amd64 libelf1 amd64 0.176-1.1 [161 kB] Get:70 http://debian.oregonstate.edu/debian unstable/main amd64 dwz amd64 0.13-1 [81.8 kB] Get:71 http://debian.oregonstate.edu/debian unstable/main amd64 libglib2.0-0 amd64 2.60.6-2 [1295 kB] Get:72 http://debian.oregonstate.edu/debian unstable/main amd64 libcroco3 amd64 0.6.13-1 [146 kB] Get:73 http://debian.oregonstate.edu/debian unstable/main amd64 libncurses6 amd64 6.1+20190803-1 [102 kB] Get:74 http://debian.oregonstate.edu/debian unstable/main amd64 gettext amd64 0.19.8.1-9 [1303 kB] Get:75 http://debian.oregonstate.edu/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get:76 http://debian.oregonstate.edu/debian unstable/main amd64 po-debconf all 1.0.21 [248 kB] Get:77 http://debian.oregonstate.edu/debian unstable/main amd64 debhelper all 12.5.4 [1035 kB] Get:78 http://debian.oregonstate.edu/debian unstable/main ppc64el libgcc1 ppc64el 1:9.2.1-8 [29.8 kB] Get:79 http://debian.oregonstate.edu/debian unstable/main ppc64el libc6 ppc64el 2.29-1 [2818 kB] Get:80 http://debian.oregonstate.edu/debian unstable/main ppc64el libasan5 ppc64el 9.2.1-8 [408 kB] Get:81 http://debian.oregonstate.edu/debian unstable/main ppc64el libatomic1 ppc64el 9.2.1-8 [9800 B] Get:82 http://debian.oregonstate.edu/debian unstable/main ppc64el linux-libc-dev ppc64el 5.2.9-2 [1229 kB] Get:83 http://debian.oregonstate.edu/debian unstable/main ppc64el libc6-dev ppc64el 2.29-1 [2677 kB] Get:84 http://debian.oregonstate.edu/debian unstable/main ppc64el libgomp1 ppc64el 9.2.1-8 [92.5 kB] Get:85 http://debian.oregonstate.edu/debian unstable/main ppc64el libitm1 ppc64el 9.2.1-8 [29.7 kB] Get:86 http://debian.oregonstate.edu/debian unstable/main ppc64el liblsan0 ppc64el 9.2.1-8 [147 kB] Get:87 http://debian.oregonstate.edu/debian unstable/main ppc64el libtsan0 ppc64el 9.2.1-8 [303 kB] Get:88 http://debian.oregonstate.edu/debian unstable/main ppc64el libstdc++6 ppc64el 9.2.1-8 [541 kB] Get:89 http://debian.oregonstate.edu/debian unstable/main ppc64el libubsan1 ppc64el 9.2.1-8 [139 kB] Get:90 http://debian.oregonstate.edu/debian unstable/main ppc64el libquadmath0 ppc64el 9.2.1-8 [148 kB] Get:91 http://debian.oregonstate.edu/debian unstable/main ppc64el libgcc-9-dev ppc64el 9.2.1-8 [1261 kB] Get:92 http://debian.oregonstate.edu/debian unstable/main ppc64el libident ppc64el 0.22-3.1+b1 [13.5 kB] Get:93 http://debian.oregonstate.edu/debian unstable/main ppc64el libident-dev ppc64el 0.22-3.1+b1 [9428 B] Get:94 http://debian.oregonstate.edu/debian unstable/main ppc64el libtinfo6 ppc64el 6.1+20190803-1 [340 kB] Get:95 http://debian.oregonstate.edu/debian unstable/main ppc64el libncurses6 ppc64el 6.1+20190803-1 [114 kB] Get:96 http://debian.oregonstate.edu/debian unstable/main ppc64el libncursesw6 ppc64el 6.1+20190803-1 [147 kB] Get:97 http://debian.oregonstate.edu/debian unstable/main ppc64el libncurses-dev ppc64el 6.1+20190803-1 [376 kB] Get:98 http://debian.oregonstate.edu/debian unstable/main ppc64el libncurses5-dev ppc64el 6.1+20190803-1 [940 B] Get:99 http://debian.oregonstate.edu/debian unstable/main ppc64el libstdc++-9-dev ppc64el 9.2.1-8 [1744 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 66.9 MB in 1s (60.8 MB/s) Selecting previously unselected package libbsd0:amd64. (Reading database ... 13083 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.10.0-1_amd64.deb ... Unpacking libbsd0:amd64 (0.10.0-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_amd64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../02-libuchardet0_0.0.6-3_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_amd64.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../04-libpipeline1_1.5.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.7-3_amd64.deb ... Unpacking man-db (2.8.7-3) ... Selecting previously unselected package liblocale-gettext-perl. Preparing to unpack .../06-liblocale-gettext-perl_1.07-3+b4_amd64.deb ... Unpacking liblocale-gettext-perl (1.07-3+b4) ... Selecting previously unselected package gcc-9-base:ppc64el. Preparing to unpack .../07-gcc-9-base_9.2.1-8_ppc64el.deb ... Unpacking gcc-9-base:ppc64el (9.2.1-8) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../08-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../09-libmagic-mgc_1%3a5.37-5_amd64.deb ... Unpacking libmagic-mgc (1:5.37-5) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../10-libmagic1_1%3a5.37-5_amd64.deb ... Unpacking libmagic1:amd64 (1:5.37-5) ... Selecting previously unselected package file. Preparing to unpack .../11-file_1%3a5.37-5_amd64.deb ... Unpacking file (1:5.37-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../12-gettext-base_0.19.8.1-9_amd64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package ucf. Preparing to unpack .../13-ucf_3.0038+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0038+nmu1) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../14-libsigsegv2_2.12-2_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../15-m4_1.4.18-2_amd64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../16-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../17-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../18-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../19-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package binutils-powerpc64le-linux-gnu. Preparing to unpack .../20-binutils-powerpc64le-linux-gnu_2.32.51.20190909-1_amd64.deb ... Unpacking binutils-powerpc64le-linux-gnu (2.32.51.20190909-1) ... Selecting previously unselected package gcc-9-powerpc64le-linux-gnu-base:amd64. Preparing to unpack .../21-gcc-9-powerpc64le-linux-gnu-base_9.2.1-4cross1_amd64.deb ... Unpacking gcc-9-powerpc64le-linux-gnu-base:amd64 (9.2.1-4cross1) ... Selecting previously unselected package cpp-9-powerpc64le-linux-gnu. Preparing to unpack .../22-cpp-9-powerpc64le-linux-gnu_9.2.1-4cross1_amd64.deb ... Unpacking cpp-9-powerpc64le-linux-gnu (9.2.1-4cross1) ... Selecting previously unselected package cpp-powerpc64le-linux-gnu. Preparing to unpack .../23-cpp-powerpc64le-linux-gnu_4%3a9.2.1-3.1_amd64.deb ... Unpacking cpp-powerpc64le-linux-gnu (4:9.2.1-3.1) ... Selecting previously unselected package cross-config. Preparing to unpack .../24-cross-config_2.6.15-3_all.deb ... Unpacking cross-config (2.6.15-3) ... Selecting previously unselected package gcc-9-cross-base. Preparing to unpack .../25-gcc-9-cross-base_9.2.1-4cross1_all.deb ... Unpacking gcc-9-cross-base (9.2.1-4cross1) ... Selecting previously unselected package libc6-ppc64el-cross. Preparing to unpack .../26-libc6-ppc64el-cross_2.29-1cross7_all.deb ... Unpacking libc6-ppc64el-cross (2.29-1cross7) ... Selecting previously unselected package libgcc1-ppc64el-cross. Preparing to unpack .../27-libgcc1-ppc64el-cross_1%3a9.2.1-4cross1_all.deb ... Unpacking libgcc1-ppc64el-cross (1:9.2.1-4cross1) ... Selecting previously unselected package libgomp1-ppc64el-cross. Preparing to unpack .../28-libgomp1-ppc64el-cross_9.2.1-4cross1_all.deb ... Unpacking libgomp1-ppc64el-cross (9.2.1-4cross1) ... Selecting previously unselected package libitm1-ppc64el-cross. Preparing to unpack .../29-libitm1-ppc64el-cross_9.2.1-4cross1_all.deb ... Unpacking libitm1-ppc64el-cross (9.2.1-4cross1) ... Selecting previously unselected package libatomic1-ppc64el-cross. Preparing to unpack .../30-libatomic1-ppc64el-cross_9.2.1-4cross1_all.deb ... Unpacking libatomic1-ppc64el-cross (9.2.1-4cross1) ... Selecting previously unselected package libasan5-ppc64el-cross. Preparing to unpack .../31-libasan5-ppc64el-cross_9.2.1-4cross1_all.deb ... Unpacking libasan5-ppc64el-cross (9.2.1-4cross1) ... Selecting previously unselected package liblsan0-ppc64el-cross. Preparing to unpack .../32-liblsan0-ppc64el-cross_9.2.1-4cross1_all.deb ... Unpacking liblsan0-ppc64el-cross (9.2.1-4cross1) ... Selecting previously unselected package libtsan0-ppc64el-cross. Preparing to unpack .../33-libtsan0-ppc64el-cross_9.2.1-4cross1_all.deb ... Unpacking libtsan0-ppc64el-cross (9.2.1-4cross1) ... Selecting previously unselected package libstdc++6-ppc64el-cross. Preparing to unpack .../34-libstdc++6-ppc64el-cross_9.2.1-4cross1_all.deb ... Unpacking libstdc++6-ppc64el-cross (9.2.1-4cross1) ... Selecting previously unselected package libubsan1-ppc64el-cross. Preparing to unpack .../35-libubsan1-ppc64el-cross_9.2.1-4cross1_all.deb ... Unpacking libubsan1-ppc64el-cross (9.2.1-4cross1) ... Selecting previously unselected package libquadmath0-ppc64el-cross. Preparing to unpack .../36-libquadmath0-ppc64el-cross_9.2.1-4cross1_all.deb ... Unpacking libquadmath0-ppc64el-cross (9.2.1-4cross1) ... Selecting previously unselected package libgcc-9-dev-ppc64el-cross. Preparing to unpack .../37-libgcc-9-dev-ppc64el-cross_9.2.1-4cross1_all.deb ... Unpacking libgcc-9-dev-ppc64el-cross (9.2.1-4cross1) ... Selecting previously unselected package gcc-9-powerpc64le-linux-gnu. Preparing to unpack .../38-gcc-9-powerpc64le-linux-gnu_9.2.1-4cross1_amd64.deb ... Unpacking gcc-9-powerpc64le-linux-gnu (9.2.1-4cross1) ... Selecting previously unselected package gcc-powerpc64le-linux-gnu. Preparing to unpack .../39-gcc-powerpc64le-linux-gnu_4%3a9.2.1-3.1_amd64.deb ... Unpacking gcc-powerpc64le-linux-gnu (4:9.2.1-3.1) ... Selecting previously unselected package linux-libc-dev-ppc64el-cross. Preparing to unpack .../40-linux-libc-dev-ppc64el-cross_5.2.9-2cross7_all.deb ... Unpacking linux-libc-dev-ppc64el-cross (5.2.9-2cross7) ... Selecting previously unselected package libc6-dev-ppc64el-cross. Preparing to unpack .../41-libc6-dev-ppc64el-cross_2.29-1cross7_all.deb ... Unpacking libc6-dev-ppc64el-cross (2.29-1cross7) ... Selecting previously unselected package libstdc++-9-dev-ppc64el-cross. Preparing to unpack .../42-libstdc++-9-dev-ppc64el-cross_9.2.1-4cross1_all.deb ... Unpacking libstdc++-9-dev-ppc64el-cross (9.2.1-4cross1) ... Selecting previously unselected package g++-9-powerpc64le-linux-gnu. Preparing to unpack .../43-g++-9-powerpc64le-linux-gnu_9.2.1-4cross1_amd64.deb ... Unpacking g++-9-powerpc64le-linux-gnu (9.2.1-4cross1) ... Selecting previously unselected package g++-powerpc64le-linux-gnu. Preparing to unpack .../44-g++-powerpc64le-linux-gnu_4%3a9.2.1-3.1_amd64.deb ... Unpacking g++-powerpc64le-linux-gnu (4:9.2.1-3.1) ... Selecting previously unselected package libconfig-inifiles-perl. Preparing to unpack .../45-libconfig-inifiles-perl_3.000001-1_all.deb ... Unpacking libconfig-inifiles-perl (3.000001-1) ... Selecting previously unselected package libio-string-perl. Preparing to unpack .../46-libio-string-perl_1.08-3_all.deb ... Unpacking libio-string-perl (1.08-3) ... Selecting previously unselected package libicu63:amd64. Preparing to unpack .../47-libicu63_63.2-2_amd64.deb ... Unpacking libicu63:amd64 (63.2-2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../48-libxml2_2.9.4+dfsg1-7+b3_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../49-libxml-namespacesupport-perl_1.12-1_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-1) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../50-libxml-sax-base-perl_1.09-1_all.deb ... Unpacking libxml-sax-base-perl (1.09-1) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../51-libxml-sax-perl_1.02+dfsg-1_all.deb ... Unpacking libxml-sax-perl (1.02+dfsg-1) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../52-libxml-libxml-perl_2.0134+dfsg-1_amd64.deb ... Unpacking libxml-libxml-perl (2.0134+dfsg-1) ... Selecting previously unselected package libxml-simple-perl. Preparing to unpack .../53-libxml-simple-perl_2.25-1_all.deb ... Unpacking libxml-simple-perl (2.25-1) ... Selecting previously unselected package libyaml-perl. Preparing to unpack .../54-libyaml-perl_1.29-1_all.deb ... Unpacking libyaml-perl (1.29-1) ... Selecting previously unselected package libconfig-auto-perl. Preparing to unpack .../55-libconfig-auto-perl_0.44-1_all.deb ... Unpacking libconfig-auto-perl (0.44-1) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../56-libfile-which-perl_1.23-1_all.deb ... Unpacking libfile-which-perl (1.23-1) ... Selecting previously unselected package libfile-homedir-perl. Preparing to unpack .../57-libfile-homedir-perl_1.004-1_all.deb ... Unpacking libfile-homedir-perl (1.004-1) ... Selecting previously unselected package libdebian-dpkgcross-perl. Preparing to unpack .../58-libdebian-dpkgcross-perl_2.6.15-3_all.deb ... Unpacking libdebian-dpkgcross-perl (2.6.15-3) ... Selecting previously unselected package dpkg-cross. Preparing to unpack .../59-dpkg-cross_2.6.15-3_all.deb ... Unpacking dpkg-cross (2.6.15-3) ... Selecting previously unselected package crossbuild-essential-ppc64el. Preparing to unpack .../60-crossbuild-essential-ppc64el_12.7_all.deb ... Unpacking crossbuild-essential-ppc64el (12.7) ... Selecting previously unselected package libtool. Preparing to unpack .../61-libtool_2.4.6-11_all.deb ... Unpacking libtool (2.4.6-11) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../62-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../63-libarchive-zip-perl_1.65-1_all.deb ... Unpacking libarchive-zip-perl (1.65-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../64-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../65-libfile-stripnondeterminism-perl_1.6.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.6.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../66-dh-strip-nondeterminism_1.6.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.6.0-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../67-libelf1_0.176-1.1_amd64.deb ... Unpacking libelf1:amd64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../68-dwz_0.13-1_amd64.deb ... Unpacking dwz (0.13-1) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../69-libglib2.0-0_2.60.6-2_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.60.6-2) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../70-libcroco3_0.6.13-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.13-1) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../71-libncurses6_6.1+20190803-1_amd64.deb ... Unpacking libncurses6:amd64 (6.1+20190803-1) ... Selecting previously unselected package gettext. Preparing to unpack .../72-gettext_0.19.8.1-9_amd64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../73-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../74-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../75-debhelper_12.5.4_all.deb ... Unpacking debhelper (12.5.4) ... Selecting previously unselected package libgcc1:ppc64el. Preparing to unpack .../76-libgcc1_1%3a9.2.1-8_ppc64el.deb ... Unpacking libgcc1:ppc64el (1:9.2.1-8) ... Selecting previously unselected package libc6:ppc64el. Preparing to unpack .../77-libc6_2.29-1_ppc64el.deb ... Unpacking libc6:ppc64el (2.29-1) ... Selecting previously unselected package libasan5:ppc64el. Preparing to unpack .../78-libasan5_9.2.1-8_ppc64el.deb ... Unpacking libasan5:ppc64el (9.2.1-8) ... Selecting previously unselected package libatomic1:ppc64el. Preparing to unpack .../79-libatomic1_9.2.1-8_ppc64el.deb ... Unpacking libatomic1:ppc64el (9.2.1-8) ... Selecting previously unselected package linux-libc-dev:ppc64el. Preparing to unpack .../80-linux-libc-dev_5.2.9-2_ppc64el.deb ... Unpacking linux-libc-dev:ppc64el (5.2.9-2) ... Selecting previously unselected package libc6-dev:ppc64el. Preparing to unpack .../81-libc6-dev_2.29-1_ppc64el.deb ... Unpacking libc6-dev:ppc64el (2.29-1) ... Selecting previously unselected package libgomp1:ppc64el. Preparing to unpack .../82-libgomp1_9.2.1-8_ppc64el.deb ... Unpacking libgomp1:ppc64el (9.2.1-8) ... Selecting previously unselected package libitm1:ppc64el. Preparing to unpack .../83-libitm1_9.2.1-8_ppc64el.deb ... Unpacking libitm1:ppc64el (9.2.1-8) ... Selecting previously unselected package liblsan0:ppc64el. Preparing to unpack .../84-liblsan0_9.2.1-8_ppc64el.deb ... Unpacking liblsan0:ppc64el (9.2.1-8) ... Selecting previously unselected package libtsan0:ppc64el. Preparing to unpack .../85-libtsan0_9.2.1-8_ppc64el.deb ... Unpacking libtsan0:ppc64el (9.2.1-8) ... Selecting previously unselected package libstdc++6:ppc64el. Preparing to unpack .../86-libstdc++6_9.2.1-8_ppc64el.deb ... Unpacking libstdc++6:ppc64el (9.2.1-8) ... Selecting previously unselected package libubsan1:ppc64el. Preparing to unpack .../87-libubsan1_9.2.1-8_ppc64el.deb ... Unpacking libubsan1:ppc64el (9.2.1-8) ... Selecting previously unselected package libquadmath0:ppc64el. Preparing to unpack .../88-libquadmath0_9.2.1-8_ppc64el.deb ... Unpacking libquadmath0:ppc64el (9.2.1-8) ... Selecting previously unselected package libgcc-9-dev:ppc64el. Preparing to unpack .../89-libgcc-9-dev_9.2.1-8_ppc64el.deb ... Unpacking libgcc-9-dev:ppc64el (9.2.1-8) ... Selecting previously unselected package libident:ppc64el. Preparing to unpack .../90-libident_0.22-3.1+b1_ppc64el.deb ... Unpacking libident:ppc64el (0.22-3.1+b1) ... Selecting previously unselected package libident-dev:ppc64el. Preparing to unpack .../91-libident-dev_0.22-3.1+b1_ppc64el.deb ... Unpacking libident-dev:ppc64el (0.22-3.1+b1) ... Selecting previously unselected package libtinfo6:ppc64el. Preparing to unpack .../92-libtinfo6_6.1+20190803-1_ppc64el.deb ... Unpacking libtinfo6:ppc64el (6.1+20190803-1) ... Selecting previously unselected package libncurses6:ppc64el. Preparing to unpack .../93-libncurses6_6.1+20190803-1_ppc64el.deb ... Unpacking libncurses6:ppc64el (6.1+20190803-1) ... Selecting previously unselected package libncursesw6:ppc64el. Preparing to unpack .../94-libncursesw6_6.1+20190803-1_ppc64el.deb ... Unpacking libncursesw6:ppc64el (6.1+20190803-1) ... Selecting previously unselected package libncurses-dev:ppc64el. Preparing to unpack .../95-libncurses-dev_6.1+20190803-1_ppc64el.deb ... Unpacking libncurses-dev:ppc64el (6.1+20190803-1) ... Selecting previously unselected package libncurses5-dev:ppc64el. Preparing to unpack .../96-libncurses5-dev_6.1+20190803-1_ppc64el.deb ... Unpacking libncurses5-dev:ppc64el (6.1+20190803-1) ... Selecting previously unselected package libstdc++-9-dev:ppc64el. Preparing to unpack .../97-libstdc++-9-dev_9.2.1-8_ppc64el.deb ... Unpacking libstdc++-9-dev:ppc64el (9.2.1-8) ... Selecting previously unselected package sbuild-build-depends-main-dummy:ppc64el. Preparing to unpack .../98-sbuild-build-depends-main-dummy_0.invalid.0_ppc64el.deb ... Unpacking sbuild-build-depends-main-dummy:ppc64el (0.invalid.0) ... Setting up libconfig-inifiles-perl (3.000001-1) ... Setting up libpipeline1:amd64 (1.5.1-2) ... Setting up libfile-which-perl (1.23-1) ... Setting up libmagic-mgc (1:5.37-5) ... Setting up libarchive-zip-perl (1.65-1) ... Setting up libglib2.0-0:amd64 (2.60.6-2) ... No schema files found: doing nothing. Setting up libc6-ppc64el-cross (2.29-1cross7) ... Setting up libmagic1:amd64 (1:5.37-5) ... Setting up linux-libc-dev:ppc64el (5.2.9-2) ... Setting up libxml-namespacesupport-perl (1.12-1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.37-5) ... Setting up gcc-9-powerpc64le-linux-gnu-base:amd64 (9.2.1-4cross1) ... Setting up libyaml-perl (1.29-1) ... Setting up libicu63:amd64 (63.2-2) ... Setting up libxml-sax-base-perl (1.09-1) ... Setting up libio-string-perl (1.08-3) ... Setting up cpp-9-powerpc64le-linux-gnu (9.2.1-4cross1) ... Setting up autotools-dev (20180224.1) ... Setting up cross-config (2.6.15-3) ... Setting up libncurses6:amd64 (6.1+20190803-1) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up gcc-9-cross-base (9.2.1-4cross1) ... Setting up libitm1-ppc64el-cross (9.2.1-4cross1) ... Setting up libatomic1-ppc64el-cross (9.2.1-4cross1) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:amd64 (0.0.6-3) ... Setting up linux-libc-dev-ppc64el-cross (5.2.9-2cross7) ... Setting up libsub-override-perl (0.09-2) ... Setting up binutils-powerpc64le-linux-gnu (2.32.51.20190909-1) ... Setting up libfile-homedir-perl (1.004-1) ... Setting up libbsd0:amd64 (0.10.0-1) ... Setting up libelf1:amd64 (0.176-1.1) ... Setting up libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Setting up liblocale-gettext-perl (1.07-3+b4) ... Setting up cpp-powerpc64le-linux-gnu (4:9.2.1-3.1) ... Setting up gcc-9-base:ppc64el (9.2.1-8) ... Setting up libfile-stripnondeterminism-perl (1.6.0-1) ... Setting up libgcc1-ppc64el-cross (1:9.2.1-4cross1) ... Setting up libc6-dev-ppc64el-cross (2.29-1cross7) ... Setting up libtool (2.4.6-11) ... Setting up libquadmath0-ppc64el-cross (9.2.1-4cross1) ... Setting up libasan5-ppc64el-cross (9.2.1-4cross1) ... Setting up m4 (1.4.18-2) ... Setting up libgomp1-ppc64el-cross (9.2.1-4cross1) ... Setting up liblsan0-ppc64el-cross (9.2.1-4cross1) ... Setting up libtsan0-ppc64el-cross (9.2.1-4cross1) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:amd64 (0.6.13-1) ... Setting up ucf (3.0038+nmu1) ... Setting up libstdc++6-ppc64el-cross (9.2.1-4cross1) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.13-1) ... Setting up groff-base (1.22.4-3) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up libubsan1-ppc64el-cross (9.2.1-4cross1) ... Setting up man-db (2.8.7-3) ... Not building database; man-db/auto-update is not 'true'. Setting up libxml-sax-perl (1.02+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libxml-libxml-perl (2.0134+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libgcc-9-dev-ppc64el-cross (9.2.1-4cross1) ... Setting up gcc-9-powerpc64le-linux-gnu (9.2.1-4cross1) ... Setting up po-debconf (1.0.21) ... Setting up libstdc++-9-dev-ppc64el-cross (9.2.1-4cross1) ... Setting up gcc-powerpc64le-linux-gnu (4:9.2.1-3.1) ... Setting up libxml-simple-perl (2.25-1) ... Setting up g++-9-powerpc64le-linux-gnu (9.2.1-4cross1) ... Setting up g++-powerpc64le-linux-gnu (4:9.2.1-3.1) ... Setting up libconfig-auto-perl (0.44-1) ... Setting up libdebian-dpkgcross-perl (2.6.15-3) ... Setting up dpkg-cross (2.6.15-3) ... Setting up crossbuild-essential-ppc64el (12.7) ... Setting up dh-autoreconf (19) ... Setting up libc6:ppc64el (2.29-1) ... Setting up libc6-dev:ppc64el (2.29-1) ... Setting up libident:ppc64el (0.22-3.1+b1) ... Setting up libitm1:ppc64el (9.2.1-8) ... Setting up libtinfo6:ppc64el (6.1+20190803-1) ... Setting up libgcc1:ppc64el (1:9.2.1-8) ... Setting up debhelper (12.5.4) ... Setting up libgomp1:ppc64el (9.2.1-8) ... Setting up libasan5:ppc64el (9.2.1-8) ... Setting up libncurses6:ppc64el (6.1+20190803-1) ... Setting up libquadmath0:ppc64el (9.2.1-8) ... Setting up libatomic1:ppc64el (9.2.1-8) ... Setting up libncursesw6:ppc64el (6.1+20190803-1) ... Setting up libident-dev:ppc64el (0.22-3.1+b1) ... Setting up dh-strip-nondeterminism (1.6.0-1) ... Setting up libstdc++6:ppc64el (9.2.1-8) ... Setting up liblsan0:ppc64el (9.2.1-8) ... Setting up libtsan0:ppc64el (9.2.1-8) ... Setting up libncurses-dev:ppc64el (6.1+20190803-1) ... Setting up libubsan1:ppc64el (9.2.1-8) ... Setting up libncurses5-dev:ppc64el (6.1+20190803-1) ... Setting up libgcc-9-dev:ppc64el (9.2.1-8) ... Setting up libstdc++-9-dev:ppc64el (9.2.1-8) ... Setting up sbuild-build-depends-main-dummy:ppc64el (0.invalid.0) ... Processing triggers for libc-bin (2.29-1) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (ppc64el included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) amd64 (x86_64) Toolchain package versions: binutils_2.32.51.20190909-1 dpkg-dev_1.19.7 g++-8_8.3.0-22 g++-9_9.2.1-8 gcc-8_8.3.0-22 gcc-9_9.2.1-8 libc6-dev_2.29-1 libstdc++-8-dev_8.3.0-22 libstdc++-9-dev_9.2.1-8 libstdc++-9-dev-ppc64el-cross_9.2.1-4cross1 libstdc++6_9.2.1-8 libstdc++6-ppc64el-cross_9.2.1-4cross1 linux-libc-dev_5.2.9-2 Package versions: adduser_3.118 apt_1.8.3 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_11 base-passwd_3.5.46 bash_5.0-4 binutils_2.32.51.20190909-1 binutils-common_2.32.51.20190909-1 binutils-powerpc64le-linux-gnu_2.32.51.20190909-1 binutils-x86-64-linux-gnu_2.32.51.20190909-1 bsdmainutils_11.1.2+b1 bsdutils_1:2.34-0.1 build-essential_12.7 bzip2_1.0.8-2 coreutils_8.30-3+b1 cpp_4:9.2.1-3.1 cpp-8_8.3.0-22 cpp-9_9.2.1-8 cpp-9-powerpc64le-linux-gnu_9.2.1-4cross1 cpp-powerpc64le-linux-gnu_4:9.2.1-3.1 cross-config_2.6.15-3 crossbuild-essential-ppc64el_12.7 dash_0.5.10.2-6 debconf_1.5.73 debhelper_12.5.4 debian-archive-keyring_2019.1 debianutils_4.9 dh-autoreconf_19 dh-strip-nondeterminism_1.6.0-1 diffutils_1:3.7-3 dpkg_1.19.7 dpkg-cross_2.6.15-3 dpkg-dev_1.19.7 dwz_0.13-1 e2fsprogs_1.45.3-4 fakeroot_1.24-1 fdisk_2.34-0.1 file_1:5.37-5 findutils_4.7.0-1 g++_4:9.2.1-3.1 g++-8_8.3.0-22 g++-9_9.2.1-8 g++-9-powerpc64le-linux-gnu_9.2.1-4cross1 g++-powerpc64le-linux-gnu_4:9.2.1-3.1 gcc_4:9.2.1-3.1 gcc-8_8.3.0-22 gcc-8-base_8.3.0-22 gcc-9_9.2.1-8 gcc-9-base_9.2.1-8 gcc-9-cross-base_9.2.1-4cross1 gcc-9-powerpc64le-linux-gnu_9.2.1-4cross1 gcc-9-powerpc64le-linux-gnu-base_9.2.1-4cross1 gcc-powerpc64le-linux-gnu_4:9.2.1-3.1 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gpgv_2.2.17-3 grep_3.3-1 groff-base_1.22.4-3 gzip_1.9-3+b1 hostname_3.22+b1 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-4 libapt-pkg5.0_1.8.3 libarchive-zip-perl_1.65-1 libasan5_9.2.1-8 libasan5-ppc64el-cross_9.2.1-4cross1 libatomic1_9.2.1-8 libatomic1-ppc64el-cross_9.2.1-4cross1 libattr1_1:2.4.48-4 libaudit-common_1:2.8.5-2 libaudit1_1:2.8.5-2 libbinutils_2.32.51.20190909-1 libblkid1_2.34-0.1 libbsd0_0.10.0-1 libbz2-1.0_1.0.8-2 libc-bin_2.29-1 libc-dev-bin_2.29-1 libc6_2.29-1 libc6-dev_2.29-1 libc6-dev-ppc64el-cross_2.29-1cross7 libc6-ppc64el-cross_2.29-1cross7 libcap-ng0_0.7.9-2+b1 libcc1-0_9.2.1-8 libcom-err2_1.45.3-4 libconfig-auto-perl_0.44-1 libconfig-inifiles-perl_3.000001-1 libcroco3_0.6.13-1 libdb5.3_5.3.28+dfsg1-0.6 libdebconfclient0_0.249 libdebian-dpkgcross-perl_2.6.15-3 libdpkg-perl_1.19.7 libelf1_0.176-1.1 libext2fs2_1.45.3-4 libfakeroot_1.24-1 libfdisk1_2.34-0.1 libffi6_3.2.1-9 libfile-homedir-perl_1.004-1 libfile-stripnondeterminism-perl_1.6.0-1 libfile-which-perl_1.23-1 libgcc-8-dev_8.3.0-22 libgcc-9-dev_9.2.1-8 libgcc-9-dev-ppc64el-cross_9.2.1-4cross1 libgcc1_1:9.2.1-8 libgcc1-ppc64el-cross_1:9.2.1-4cross1 libgcrypt20_1.8.5-2 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.60.6-2 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.9-4 libgomp1_9.2.1-8 libgomp1-ppc64el-cross_9.2.1-4cross1 libgpg-error0_1.36-7 libhogweed4_3.5.1+really3.4.1-1 libicu63_63.2-2 libident_0.22-3.1+b1 libident-dev_0.22-3.1+b1 libidn2-0_2.2.0-1 libio-string-perl_1.08-3 libisl19_0.20-2 libisl21_0.21-2 libitm1_9.2.1-8 libitm1-ppc64el-cross_9.2.1-4cross1 liblocale-gettext-perl_1.07-3+b4 liblsan0_9.2.1-8 liblsan0-ppc64el-cross_9.2.1-4cross1 liblz4-1_1.8.3-1+b1 liblzma5_5.2.4-1+b1 libmagic-mgc_1:5.37-5 libmagic1_1:5.37-5 libmount1_2.34-0.1 libmpc3_1.1.0-1 libmpfr6_4.0.2-1 libmpx2_8.3.0-22 libncurses-dev_6.1+20190803-1 libncurses5-dev_6.1+20190803-1 libncurses6_6.1+20190803-1 libncursesw6_6.1+20190803-1 libnettle6_3.5.1+really3.4.1-1 libp11-kit0_0.23.16.1-2 libpam-modules_1.3.1-5 libpam-modules-bin_1.3.1-5 libpam-runtime_1.3.1-5 libpam0g_1.3.1-5 libpcre2-8-0_10.32-5+b1 libpcre3_2:8.39-12+b1 libperl5.28_5.28.1-6 libpipeline1_1.5.1-2 libquadmath0_9.2.1-8 libquadmath0-ppc64el-cross_9.2.1-4cross1 libseccomp2_2.4.1-2 libselinux1_2.9-2+b2 libsemanage-common_2.9-3 libsemanage1_2.9-3 libsepol1_2.9-2+b2 libsigsegv2_2.12-2 libsmartcols1_2.34-0.1 libss2_1.45.3-4 libstdc++-8-dev_8.3.0-22 libstdc++-9-dev_9.2.1-8 libstdc++-9-dev-ppc64el-cross_9.2.1-4cross1 libstdc++6_9.2.1-8 libstdc++6-ppc64el-cross_9.2.1-4cross1 libsub-override-perl_0.09-2 libsystemd0_242-7 libtasn1-6_4.14-2 libtinfo6_6.1+20190803-1 libtool_2.4.6-11 libtsan0_9.2.1-8 libtsan0-ppc64el-cross_9.2.1-4cross1 libubsan1_9.2.1-8 libubsan1-ppc64el-cross_9.2.1-4cross1 libuchardet0_0.0.6-3 libudev1_242-7 libunistring2_0.9.10-2 libuuid1_2.34-0.1 libxml-libxml-perl_2.0134+dfsg-1 libxml-namespacesupport-perl_1.12-1 libxml-sax-base-perl_1.09-1 libxml-sax-perl_1.02+dfsg-1 libxml-simple-perl_2.25-1 libxml2_2.9.4+dfsg1-7+b3 libyaml-perl_1.29-1 libzstd1_1.4.3+dfsg-1 linux-libc-dev_5.2.9-2 linux-libc-dev-ppc64el-cross_5.2.9-2cross7 login_1:4.7-2 logsave_1.45.3-4 lsb-base_11.1.0 m4_1.4.18-2 make_4.2.1-1.2 man-db_2.8.7-3 mawk_1.3.3-17+b3 mount_2.34-0.1 ncurses-base_6.1+20190803-1 ncurses-bin_6.1+20190803-1 passwd_1:4.7-2 patch_2.7.6-6 perl_5.28.1-6 perl-base_5.28.1-6 perl-modules-5.28_5.28.1-6 po-debconf_1.0.21 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12 sysvinit-utils_2.96~beta-1 tar_1.30+dfsg-6+b1 tzdata_2019b-2 ucf_3.0038+nmu1 util-linux_2.34-0.1 xz-utils_5.2.4-1+b1 zlib1g_1:1.2.11.dfsg-1+b1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.0 Source: socks4-server Binary: socks4-server, socks4-clients, libsocks4 Architecture: any Version: 4.3.beta2-20 Maintainer: Debian QA Group Standards-Version: 3.8.0 Build-Depends: debhelper (>= 4.2.0), libident-dev, libncurses5-dev Package-List: libsocks4 deb libs optional arch=any socks4-clients deb net extra arch=any socks4-server deb net extra arch=any Checksums-Sha1: 1e4748f90e5a75a3f3580dee324ef1f37661a510 246247 socks4-server_4.3.beta2.orig.tar.gz c1e942536ac5fb2f8fea19eaade26c3e2136794a 19349 socks4-server_4.3.beta2-20.diff.gz Checksums-Sha256: 034e43869e4a37f7697e8753485e99c0802f29df9adae2b6b91c6777e8bc50f0 246247 socks4-server_4.3.beta2.orig.tar.gz 58cc11f896bfae93cdc46e9b819a33613da07155728af95a888f23b901d066b5 19349 socks4-server_4.3.beta2-20.diff.gz Files: e1d485434a0427e8970c399816fa62b4 246247 socks4-server_4.3.beta2.orig.tar.gz 6c0a3fae389845aa4064450d2b538288 19349 socks4-server_4.3.beta2-20.diff.gz -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXyb0gAAoJELqceAYd3YybPw8QAKtxuf/gIMl4Ue7fV7aQRvFV wYT0giH74ZaQvZSwQPeMKE85e3pjvNFMRHu4tppPt7QwdHeVj5O+RQRgGRxoS1kp 21axioRXXLWWzjOhzVAmDrmLhu4mBcrbg5MCMJL6ucSQjhoO6Dje0tUQMWHla49/ gfqjFpXGJLn0lOZ+Y5PKcnmj5O8PfwDnrURofwWzw7FuuDvd5oB4PbYRlqn8oHha v/z0ei4qrZIQohjitO8Pio+/KzMIfl0XOnfeWFNfS+ODJ4H1d8ghU7Wuw3rq0mzB 8O+pFO67W7VAK6DMqPaS5I2pEOh+64T4QEM0eUuTE+zNn3ID7ugG/of4HIO6X+AT F2ddFKiVPAyi2Fo2IwbZ3RCGswXGNjXFb6xEMUZtpUcrI9ulyDua3takP4fRmJ4n LSpbMbL4blWMaxVQBLeJp5hAIdYToAcBlLuwGB99fah8bikTPVDAmPh/EKxYMNRm aica7KU+5TTvJker5MD2E30uQMEqKx8XtxCPNecq1Vkc5FWyf8b9/kF2mldB6aqa DdwI5JqZfNMf83ftjLqdy9wk+6Xstk1uS4NtyAV6SJEmNlCcaePfFZxUYydeq2hv DoWDhNNluMqnaoOIb6+EcPHtZWBn5J0+NPytnfaIYxlROwnPzmSDn14d1pUdeaC+ lszlPC258nMaWVgNx/cp =d7VP -----END PGP SIGNATURE----- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Fri Sep 2 17:55:44 2016 UTC gpgv: using RSA key BA9C78061DDD8C9B gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./socks4-server_4.3.beta2-20.dsc dpkg-source: info: extracting socks4-server in /<> dpkg-source: info: unpacking socks4-server_4.3.beta2.orig.tar.gz dpkg-source: info: applying socks4-server_4.3.beta2-20.diff.gz dpkg-source: info: upstream files that have been modified: /<>/Makefile /<>/doc/sockd.8 /<>/include/socks.h /<>/lib/Makefile /<>/lib/Rconnect.c /<>/lib/Rconnect.c,v /<>/libident/id_open.c /<>/libident/id_open.c,v /<>/mkfc/Makefile /<>/rfinger/Makefile /<>/rfinger/finger.c /<>/rftp/Makefile /<>/rftp/cmds.c /<>/rftp/domacro.c /<>/rftp/ftp.c /<>/rftp/ftp_var.h /<>/rftp/glob.c /<>/rftp/ruserpass.c /<>/rtelnet/Config.local /<>/rtelnet/Makefile /<>/rtelnet/libtelnet/Makefile /<>/rtelnet/telnet/Makefile /<>/rtelnet/telnet/commands.c /<>/rtelnet/telnet/externs.h /<>/rtelnet/telnet/sys_bsd.c /<>/runsocks/Makefile /<>/runsocks/README.runsocks /<>/runsocks/accept.c /<>/runsocks/bind.c /<>/runsocks/connect.c /<>/runsocks/gethostbyname.c /<>/runsocks/listen.c /<>/runsocks/runsocks /<>/runsocks/wrap.c /<>/runsocks/wrap.h /<>/sockd/Makefile Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf CONFIG_SITE=/etc/dpkg-cross/cross-config.ppc64el DEB_BUILD_OPTIONS=nocheck HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=C.UTF-8 LOGNAME=helmut PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1003 SCHROOT_GROUP=helmut SCHROOT_SESSION_ID=unstable-amd64-sbuild-0d9327d0-b8fb-4df5-8fa2-0ad16a37c824 SCHROOT_UID=1003 SCHROOT_USER=helmut SHELL=/bin/sh USER=helmut dpkg-buildpackage ----------------- Command: dpkg-buildpackage -appc64el -Pcross,nocheck -us -uc -B -rfakeroot --jobs-try=1 dpkg-buildpackage: info: source package socks4-server dpkg-buildpackage: info: source version 4.3.beta2-20 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Aurelien Jarno dpkg-architecture: warning: specified GNU system type powerpc64le-linux-gnu does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable dpkg-source --before-build . dpkg-buildpackage: info: host architecture ppc64el 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 124 | return; | ^~~~~~ Rconnect.c:106:5: note: declared here 106 | int SOCKSinit(Progname) | ^~~~~~~~~ Rconnect.c:144:2: warning: implicit declaration of function ‘gethostname’; did you mean ‘gethostbyname’? [-Wimplicit-function-declaration] 144 | gethostname(socks_src_name, sizeof(socks_src_name)); | ^~~~~~~~~~~ | gethostbyname Rconnect.c:145:6: warning: implicit declaration of function ‘socks_host’ [-Wimplicit-function-declaration] 145 | if (socks_host(socks_src_name, &socks_srcsh) < 0) { | ^~~~~~~~~~ Rconnect.c:150:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 150 | exit(1); | ^~~~ Rconnect.c:150:3: warning: incompatible implicit declaration of built-in function ‘exit’ Rconnect.c:37:1: note: include ‘’ or provide a declaration of ‘exit’ 36 | #include +++ |+#include 37 | Rconnect.c:157:3: warning: incompatible implicit declaration of built-in function ‘exit’ 157 | 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] 165 | if ((pw = getpwuid(uid=geteuid())) == NULL) { | ^~~~~~~ | getpwuid Rconnect.c:170:3: warning: incompatible implicit declaration of built-in function ‘exit’ 170 | exit(1); | ^~~~ Rconnect.c:170:3: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:260:10: warning: implicit declaration of function ‘socks_rdfz’ [-Wimplicit-function-declaration] 260 | socks_rdfz(SOCKS_FC, &scfAddr, &Nscf, &cfStrings, socks_useSyslog); | ^~~~~~~~~~ Rconnect.c:262:10: warning: implicit declaration of function ‘socks_rdconf’ [-Wimplicit-function-declaration] 262 | socks_rdconf(SOCKS_CONF, &scfAddr, &Nscf, socks_useSyslog); | ^~~~~~~~~~~~ Rconnect.c: In function ‘socks_connect_sockd’: Rconnect.c:283:7: warning: implicit declaration of function ‘socks_GetQuad’ [-Wimplicit-function-declaration] 283 | if (socks_GetQuad(socks_server, &socks_nsin.sin_addr) != -1) { | ^~~~~~~~~~~~~ Rconnect.c:298:9: warning: implicit declaration of function ‘dup2’ [-Wimplicit-function-declaration] 298 | if (dup2(new_sock, sock) < 0) { | ^~~~ Rconnect.c:299:6: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] 299 | 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] 353 | 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’ [-Wimplicit-function-declaration] 371 | if ((sta = socks_SendDst(s, dst)) < 0) { | ^~~~~~~~~~~~~ Rconnect.c:397:13: warning: implicit declaration of function ‘socks_GetDst’ [-Wimplicit-function-declaration] 397 | if ((sta = socks_GetDst(s, dst)) < 0) { | ^~~~~~~~~~~~ Rconnect.c: In function ‘quit_C_proto’: Rconnect.c:409:2: warning: incompatible implicit declaration of built-in function ‘exit’ 409 | 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] 420 | alarm(CLIENT_CONN_TIMEOUT); | ^~~~~ Rconnect.c:427:3: warning: incompatible implicit declaration of built-in function ‘exit’ 427 | 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’ 432 | 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’ 434 | 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’ [-Wimplicit-function-declaration] 465 | if (socks_IPtohost(&sin->sin_addr, &socks_dstsh) < 0) { | ^~~~~~~~~~~~~~ Rconnect.c:470:4: warning: incompatible implicit declaration of built-in function ‘exit’ 470 | 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] 538 | 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] 581 | 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] 32 | 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] 52 | if((n = write(s, p, i)) > 0) { | ^~~~~ SendGetDst.c: In function ‘socks_GetDst’: SendGetDst.c:95:11: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration] 95 | if((n = read(s, p, i)) > 0) { | ^~~~ SendGetDst.c:110:2: warning: incompatible implicit declaration of built-in function ‘bcopy’ 110 | 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] 17 | strncpy(name, serv->s_name, namelen); | ^~~~~~~ porttoserv.c:17:3: warning: incompatible implicit declaration of built-in function ‘strncpy’ porttoserv.c:7:1: note: include ‘’ or provide a declaration of ‘strncpy’ 6 | #include +++ |+#include 7 | porttoserv.c:19:3: warning: implicit declaration of function ‘sprintf’ [-Wimplicit-function-declaration] 19 | sprintf(name, "%u", port); | ^~~~~~~ porttoserv.c:19:3: warning: incompatible implicit declaration of built-in function ‘sprintf’ porttoserv.c:7:1: note: include ‘’ or provide a declaration of ‘sprintf’ 6 | #include +++ |+#include 7 | 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] 80 | free(*domain); | ^~~~ utils.c:80:3: warning: incompatible implicit declaration of built-in function ‘free’ utils.c:18:1: note: include ‘’ or provide a declaration of ‘free’ 17 | #include "socks.h" +++ |+#include 18 | utils.c: In function ‘socks_GetPort’: utils.c:103:9: warning: implicit declaration of function ‘atol’ [-Wimplicit-function-declaration] 103 | return atol(name); | ^~~~ utils.c: In function ‘socks_IPtohost’: utils.c:119:4: warning: incompatible implicit declaration of built-in function ‘free’ 119 | 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’ 141 | 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’ 193 | 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] 48 | Rbind(sock, sin, size) | ^~~~~ Rbind.c:151:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 151 | Rlisten(s, n) | ^~~~~~~ Rbind.c:163:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 163 | Rgetsockname(sock, sin, size) | ^~~~~~~~~~~~ Rbind.c:181:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 181 | Raccept(sock, sin, size) | ^~~~~~~ Rbind.c: In function ‘Raccept’: Rbind.c:197:32: warning: implicit declaration of function ‘socks_GetDst’ [-Wimplicit-function-declaration] 197 | if (FD_ISSET(sock, &fds) && (socks_GetDst(sock, &dst) >= 0)) { | ^~~~~~~~~~~~ Rbind.c:201:11: warning: implicit declaration of function ‘dup’ [-Wimplicit-function-declaration] 201 | 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] 111 | free(hr->h_name); | ^~~~ Rgethostbyname.c:111:3: warning: incompatible implicit declaration of built-in function ‘free’ Rgethostbyname.c:19:1: note: include ‘’ or provide a declaration of ‘free’ 18 | #include "socks.h" +++ |+#include 19 | Rgethostbyname.c:126:3: warning: incompatible implicit declaration of built-in function ‘free’ 126 | 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] 145 | 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’ 154 | 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] 186 | 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] 22 | socks_0openlog(ident, log_opt, fac) | ^~~~~~~~~~~~~~ null_syslog.c:30:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 30 | socks_0closelog() | ^~~~~~~~~~~~~~~ null_syslog.c:35:9: warning: return type defaults to ‘int’ [-Wimplicit-int] 35 | VARARGS(socks_0syslog, int, prio) | ^~~~~~~~~~~~~ null_syslog.c:12:32: note: in definition of macro ‘VARARGS’ 12 | #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’ [-Wimplicit-function-declaration] 68 | int daemon_pid = getpid(); | ^~~~~~ shell_cmd.c:71:9: warning: implicit declaration of function ‘strpbrk’ [-Wimplicit-function-declaration] 71 | if (strpbrk(cmd, alpha_num) == NULL) { | ^~~~~~~ shell_cmd.c:71:9: warning: incompatible implicit declaration of built-in function ‘strpbrk’ shell_cmd.c:33:1: note: include ‘’ or provide a declaration of ‘strpbrk’ 32 | #include "socks.h" +++ |+#include 33 | shell_cmd.c:81:25: warning: implicit declaration of function ‘fork’ [-Wimplicit-function-declaration] 81 | switch (child_pid = fork()) { | ^~~~ shell_cmd.c:89:21: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration] 89 | while ((wait_pid = wait((int *) 0)) != -1 && wait_pid != child_pid) | ^~~~ 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] 110 | (void) close(tmp_fd); | ^~~~~ | pclose shell_cmd.c:114:9: warning: implicit declaration of function ‘open’; did you mean ‘popen’? [-Wimplicit-function-declaration] 114 | if (open("/dev/null", 2) != 0) { | ^~~~ | popen shell_cmd.c:116:16: warning: implicit declaration of function ‘dup’ [-Wimplicit-function-declaration] 116 | } else if (dup(0) != 1 || dup(0) != 2) { | ^~~ shell_cmd.c:119:9: warning: implicit declaration of function ‘execl’ [-Wimplicit-function-declaration] 119 | (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] 206 | 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’ shell_cmd.c:218:29: warning: ‘strncpy’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 218 | strncpy(result, expansion, expansion_len); | ^~~~~~~~~~~~~ shell_cmd.c:35:14: note: built-in ‘strncpy’ declared here 35 | extern char *strncpy(); | ^~~~~~~ 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] 48 | 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] 49 | 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] 50 | socks_ckprt(cp->tst, dst_sin_port, cp->dport)) | ^~~~~~~~~~~ | socks_ckcf socks_ckcf.c:60:3: warning: implicit declaration of function ‘socks_shell_cmd’ [-Wimplicit-function-declaration] 60 | socks_shell_cmd(cp->cmdp, srcshp, dstshp); | ^~~~~~~~~~~~~~~ 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] 39 | exit(1); | ^~~~ socks_rdconf.c:39:3: warning: incompatible implicit declaration of built-in function ‘exit’ socks_rdconf.c:11:1: note: include ‘’ or provide a declaration of ‘exit’ 10 | #include "socks.h" +++ |+#include 11 | socks_rdconf.c:44:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 44 | 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’ 46 | 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’ 48 | 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’ 50 | 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’ 53 | 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] 56 | 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’ 62 | 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’ 84 | 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’ [-Wimplicit-function-declaration] 94 | socks_mkargs(buf, &argc, argv, 10); | ^~~~~~~~~~~~ socks_rdconf.c:126:7: warning: incompatible implicit declaration of built-in function ‘exit’ 126 | 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’ 138 | 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’ 162 | 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’ [-Wimplicit-function-declaration] 175 | if (socks_GetAddr(argv[next_arg++], &cp->daddr, &cp->ddomain) == -1) { | ^~~~~~~~~~~~~ socks_rdconf.c:183:7: warning: implicit declaration of function ‘socks_GetQuad’ [-Wimplicit-function-declaration] 183 | if (socks_GetQuad(argv[next_arg++], &cp->dmask) == -1) { | ^~~~~~~~~~~~~ socks_rdconf.c:214:14: warning: implicit declaration of function ‘socks_GetPort’ [-Wimplicit-function-declaration] 214 | if (((p = socks_GetPort(argv[next_arg+1])) < 0) || | ^~~~~~~~~~~~~ socks_rdconf.c:231:31: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] 231 | 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’ 237 | 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’ 251 | 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’ 254 | 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’ 256 | 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] 31 | exit(1); | ^~~~ socks_rdfz.c:31:3: warning: incompatible implicit declaration of built-in function ‘exit’ socks_rdfz.c:11:1: note: include ‘’ or provide a declaration of ‘exit’ 10 | #include "socks.h" +++ |+#include 11 | socks_rdfz.c:34:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 34 | 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’ 36 | 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] 38 | if (read(fd, &Ncf, sizeof(Ncf)) != sizeof(Ncf)) { | ^~~~ | fread socks_rdfz.c:43:3: warning: incompatible implicit declaration of built-in function ‘exit’ 43 | 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’ 51 | 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] 54 | 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’ 60 | 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’ 67 | 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] 72 | close(fd); | ^~~~~ | pclose socks_rdfz.c:80:3: warning: incompatible implicit declaration of built-in function ‘exit’ 80 | 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’ 88 | exit(1); | ^~~~ socks_rdfz.c:88:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:95:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 95 | cp->userlist = startaddr + (int)cp->userlist; | ^ socks_rdfz.c:97:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 97 | cp->serverlist = startaddr + (int)cp->serverlist; | ^ socks_rdfz.c:99:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 99 | cp->sdomain = startaddr + (int)cp->sdomain; | ^ socks_rdfz.c:101:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 101 | cp->ddomain = startaddr + (int)cp->ddomain; | ^ socks_rdfz.c:103:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 103 | cp->cmdp = startaddr + (int)cp->cmdp; | ^ gcc -I../include -g -DLINUX -c -o socks_wrfz.o socks_wrfz.c socks_wrfz.c: In function ‘socks_wrfz’: socks_wrfz.c:40:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] 40 | if ((stringarea = (char *)malloc(stringsize)) == NULL) { | ^~~~~~ socks_wrfz.c:40:29: warning: incompatible implicit declaration of built-in function ‘malloc’ socks_wrfz.c:11:1: note: include ‘’ or provide a declaration of ‘malloc’ 10 | #include "socks.h" +++ |+#include 11 | socks_wrfz.c:45:4: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 45 | exit(1); | ^~~~ socks_wrfz.c:45:4: warning: incompatible implicit declaration of built-in function ‘exit’ socks_wrfz.c:45:4: note: include ‘’ or provide a declaration of ‘exit’ socks_wrfz.c:83:3: warning: incompatible implicit declaration of built-in function ‘exit’ 83 | 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] 85 | if (write(fd, &Nconf, sizeof(Nconf)) != sizeof(Nconf)) { | ^~~~~ | fwrite socks_wrfz.c:90:3: warning: incompatible implicit declaration of built-in function ‘exit’ 90 | 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’ 97 | 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’ 104 | 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’ 111 | 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] 39 | exit(1); | ^~~~ sockd_rdconf.c:39:3: warning: incompatible implicit declaration of built-in function ‘exit’ sockd_rdconf.c:11:1: note: include ‘’ or provide a declaration of ‘exit’ 10 | #include "socks.h" +++ |+#include 11 | sockd_rdconf.c:44:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 44 | 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’ 46 | 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’ 48 | 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’ 50 | 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’ 53 | 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’ 55 | 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’ 59 | 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] 64 | 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’ [-Wimplicit-function-declaration] 107 | socks_mkargs(buf, &argc, argv, 10); | ^~~~~~~~~~~~ sockd_rdconf.c:116:4: warning: incompatible implicit declaration of built-in function ‘exit’ 116 | 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’ [-Wimplicit-function-declaration] 175 | if (socks_GetAddr(argv[next_arg++], &cp->saddr, &cp->sdomain) == -1){ | ^~~~~~~~~~~~~ sockd_rdconf.c:178:7: warning: implicit declaration of function ‘socks_GetQuad’ [-Wimplicit-function-declaration] 178 | if (socks_GetQuad(argv[next_arg++], &cp->smask) == -1) { | ^~~~~~~~~~~~~ sockd_rdconf.c:232:14: warning: implicit declaration of function ‘socks_GetPort’ [-Wimplicit-function-declaration] 232 | if (((p = socks_GetPort(argv[next_arg+1])) < 0) || | ^~~~~~~~~~~~~ sockd_rdconf.c:250:31: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] 250 | 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’ 264 | 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’ 267 | 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’ 269 | 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’ 279 | 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] 38 | exit(1); | ^~~~ sockd_rdroute.c:38:3: warning: incompatible implicit declaration of built-in function ‘exit’ sockd_rdroute.c:12:1: note: include ‘’ or provide a declaration of ‘exit’ 11 | #include "socks.h" +++ |+#include 12 | sockd_rdroute.c:43:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 43 | 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’ 46 | 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] 49 | 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’ [-Wimplicit-function-declaration] 78 | socks_mkargs(buf, &argc, argv, 10); | ^~~~~~~~~~~~ sockd_rdroute.c:87:4: warning: incompatible implicit declaration of built-in function ‘exit’ 87 | 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] 90 | if (socks_GetQuad(argv[0], &cp->saddr) == -1) { | ^~~~~~~~~~~~~ sockd_rdroute.c:98:7: warning: implicit declaration of function ‘socks_GetAddr’ [-Wimplicit-function-declaration] 98 | if (socks_GetAddr(argv[1], &cp->daddr, &cp->ddomain) == -1){ | ^~~~~~~~~~~~~ sockd_rdroute.c:113:31: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] 113 | 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’ 127 | 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’ 130 | 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’ 132 | 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’ 142 | 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] 94 | omask = sigblock(sigmask(SIGINT)); | ^~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/signal.h:1, from getpass.c:44: /usr/include/signal.h:170:12: note: declared here 170 | 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] 109 | (void)write(fileno(outfp), "\n", 1); | ^~~~~ | fwrite getpass.c:124:2: warning: ‘sigsetmask’ is deprecated [-Wdeprecated-declarations] 124 | (void)sigsetmask(omask); | ^ In file included from /usr/include/x86_64-linux-gnu/sys/signal.h:1, from getpass.c:44: /usr/include/signal.h:173:12: note: declared here 173 | 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 124 | return; | ^~~~~~ Rconnect.c:106:5: note: declared here 106 | int SOCKSinit(Progname) | ^~~~~~~~~ Rconnect.c:144:2: warning: implicit declaration of function ‘gethostname’; did you mean ‘gethostbyname’? [-Wimplicit-function-declaration] 144 | gethostname(socks_src_name, sizeof(socks_src_name)); | ^~~~~~~~~~~ | gethostbyname Rconnect.c:145:6: warning: implicit declaration of function ‘socks_host’ [-Wimplicit-function-declaration] 145 | if (socks_host(socks_src_name, &socks_srcsh) < 0) { | ^~~~~~~~~~ Rconnect.c:150:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 150 | exit(1); | ^~~~ Rconnect.c:150:3: warning: incompatible implicit declaration of built-in function ‘exit’ Rconnect.c:37:1: note: include ‘’ or provide a declaration of ‘exit’ 36 | #include +++ |+#include 37 | Rconnect.c:157:3: warning: incompatible implicit declaration of built-in function ‘exit’ 157 | 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] 165 | if ((pw = getpwuid(uid=geteuid())) == NULL) { | ^~~~~~~ | getpwuid Rconnect.c:170:3: warning: incompatible implicit declaration of built-in function ‘exit’ 170 | exit(1); | ^~~~ Rconnect.c:170:3: note: include ‘’ or provide a declaration of ‘exit’ Rconnect.c:260:10: warning: implicit declaration of function ‘socks_rdfz’ [-Wimplicit-function-declaration] 260 | socks_rdfz(SOCKS_FC, &scfAddr, &Nscf, &cfStrings, socks_useSyslog); | ^~~~~~~~~~ Rconnect.c:262:10: warning: implicit declaration of function ‘socks_rdconf’ [-Wimplicit-function-declaration] 262 | socks_rdconf(SOCKS_CONF, &scfAddr, &Nscf, socks_useSyslog); | ^~~~~~~~~~~~ Rconnect.c: In function ‘socks_connect_sockd’: Rconnect.c:283:7: warning: implicit declaration of function ‘socks_GetQuad’ [-Wimplicit-function-declaration] 283 | if (socks_GetQuad(socks_server, &socks_nsin.sin_addr) != -1) { | ^~~~~~~~~~~~~ Rconnect.c:298:9: warning: implicit declaration of function ‘dup2’ [-Wimplicit-function-declaration] 298 | if (dup2(new_sock, sock) < 0) { | ^~~~ Rconnect.c:299:6: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration] 299 | 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] 353 | 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’ [-Wimplicit-function-declaration] 371 | if ((sta = socks_SendDst(s, dst)) < 0) { | ^~~~~~~~~~~~~ Rconnect.c:397:13: warning: implicit declaration of function ‘socks_GetDst’ [-Wimplicit-function-declaration] 397 | if ((sta = socks_GetDst(s, dst)) < 0) { | ^~~~~~~~~~~~ Rconnect.c: In function ‘quit_C_proto’: Rconnect.c:409:2: warning: incompatible implicit declaration of built-in function ‘exit’ 409 | 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] 420 | alarm(CLIENT_CONN_TIMEOUT); | ^~~~~ Rconnect.c:427:3: warning: incompatible implicit declaration of built-in function ‘exit’ 427 | 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’ 432 | 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’ 434 | 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’ [-Wimplicit-function-declaration] 465 | if (socks_IPtohost(&sin->sin_addr, &socks_dstsh) < 0) { | ^~~~~~~~~~~~~~ Rconnect.c:470:4: warning: incompatible implicit declaration of built-in function ‘exit’ 470 | 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] 538 | 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] 581 | 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] 32 | 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] 52 | if((n = write(s, p, i)) > 0) { | ^~~~~ SendGetDst.c: In function ‘socks_GetDst’: SendGetDst.c:95:11: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration] 95 | if((n = read(s, p, i)) > 0) { | ^~~~ SendGetDst.c:110:2: warning: incompatible implicit declaration of built-in function ‘bcopy’ 110 | 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] 17 | strncpy(name, serv->s_name, namelen); | ^~~~~~~ porttoserv.c:17:3: warning: incompatible implicit declaration of built-in function ‘strncpy’ porttoserv.c:7:1: note: include ‘’ or provide a declaration of ‘strncpy’ 6 | #include +++ |+#include 7 | porttoserv.c:19:3: warning: implicit declaration of function ‘sprintf’ [-Wimplicit-function-declaration] 19 | sprintf(name, "%u", port); | ^~~~~~~ porttoserv.c:19:3: warning: incompatible implicit declaration of built-in function ‘sprintf’ porttoserv.c:7:1: note: include ‘’ or provide a declaration of ‘sprintf’ 6 | #include +++ |+#include 7 | 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] 80 | free(*domain); | ^~~~ utils.c:80:3: warning: incompatible implicit declaration of built-in function ‘free’ utils.c:18:1: note: include ‘’ or provide a declaration of ‘free’ 17 | #include "socks.h" +++ |+#include 18 | utils.c: In function ‘socks_GetPort’: utils.c:103:9: warning: implicit declaration of function ‘atol’ [-Wimplicit-function-declaration] 103 | return atol(name); | ^~~~ utils.c: In function ‘socks_IPtohost’: utils.c:119:4: warning: incompatible implicit declaration of built-in function ‘free’ 119 | 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’ 141 | 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’ 193 | 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] 48 | Rbind(sock, sin, size) | ^~~~~ Rbind.c:151:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 151 | Rlisten(s, n) | ^~~~~~~ Rbind.c:163:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 163 | Rgetsockname(sock, sin, size) | ^~~~~~~~~~~~ Rbind.c:181:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 181 | Raccept(sock, sin, size) | ^~~~~~~ Rbind.c: In function ‘Raccept’: Rbind.c:197:32: warning: implicit declaration of function ‘socks_GetDst’ [-Wimplicit-function-declaration] 197 | if (FD_ISSET(sock, &fds) && (socks_GetDst(sock, &dst) >= 0)) { | ^~~~~~~~~~~~ Rbind.c:201:11: warning: implicit declaration of function ‘dup’ [-Wimplicit-function-declaration] 201 | 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] 111 | free(hr->h_name); | ^~~~ Rgethostbyname.c:111:3: warning: incompatible implicit declaration of built-in function ‘free’ Rgethostbyname.c:19:1: note: include ‘’ or provide a declaration of ‘free’ 18 | #include "socks.h" +++ |+#include 19 | Rgethostbyname.c:126:3: warning: incompatible implicit declaration of built-in function ‘free’ 126 | 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] 145 | 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’ 154 | 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] 186 | 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] 22 | socks_0openlog(ident, log_opt, fac) | ^~~~~~~~~~~~~~ null_syslog.c:30:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 30 | socks_0closelog() | ^~~~~~~~~~~~~~~ null_syslog.c:35:9: warning: return type defaults to ‘int’ [-Wimplicit-int] 35 | VARARGS(socks_0syslog, int, prio) | ^~~~~~~~~~~~~ null_syslog.c:12:32: note: in definition of macro ‘VARARGS’ 12 | #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’ [-Wimplicit-function-declaration] 68 | int daemon_pid = getpid(); | ^~~~~~ shell_cmd.c:71:9: warning: implicit declaration of function ‘strpbrk’ [-Wimplicit-function-declaration] 71 | if (strpbrk(cmd, alpha_num) == NULL) { | ^~~~~~~ shell_cmd.c:71:9: warning: incompatible implicit declaration of built-in function ‘strpbrk’ shell_cmd.c:33:1: note: include ‘’ or provide a declaration of ‘strpbrk’ 32 | #include "socks.h" +++ |+#include 33 | shell_cmd.c:81:25: warning: implicit declaration of function ‘fork’ [-Wimplicit-function-declaration] 81 | switch (child_pid = fork()) { | ^~~~ shell_cmd.c:89:21: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration] 89 | while ((wait_pid = wait((int *) 0)) != -1 && wait_pid != child_pid) | ^~~~ 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] 110 | (void) close(tmp_fd); | ^~~~~ | pclose shell_cmd.c:114:9: warning: implicit declaration of function ‘open’; did you mean ‘popen’? [-Wimplicit-function-declaration] 114 | if (open("/dev/null", 2) != 0) { | ^~~~ | popen shell_cmd.c:116:16: warning: implicit declaration of function ‘dup’ [-Wimplicit-function-declaration] 116 | } else if (dup(0) != 1 || dup(0) != 2) { | ^~~ shell_cmd.c:119:9: warning: implicit declaration of function ‘execl’ [-Wimplicit-function-declaration] 119 | (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] 206 | 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’ shell_cmd.c:218:29: warning: ‘strncpy’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 218 | strncpy(result, expansion, expansion_len); | ^~~~~~~~~~~~~ shell_cmd.c:35:14: note: built-in ‘strncpy’ declared here 35 | extern char *strncpy(); | ^~~~~~~ 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] 48 | 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] 49 | 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] 50 | socks_ckprt(cp->tst, dst_sin_port, cp->dport)) | ^~~~~~~~~~~ | socks_ckcf socks_ckcf.c:60:3: warning: implicit declaration of function ‘socks_shell_cmd’ [-Wimplicit-function-declaration] 60 | socks_shell_cmd(cp->cmdp, srcshp, dstshp); | ^~~~~~~~~~~~~~~ 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] 39 | exit(1); | ^~~~ socks_rdconf.c:39:3: warning: incompatible implicit declaration of built-in function ‘exit’ socks_rdconf.c:11:1: note: include ‘’ or provide a declaration of ‘exit’ 10 | #include "socks.h" +++ |+#include 11 | socks_rdconf.c:44:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 44 | 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’ 46 | 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’ 48 | 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’ 50 | 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’ 53 | 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] 56 | 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’ 62 | 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’ 84 | 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’ [-Wimplicit-function-declaration] 94 | socks_mkargs(buf, &argc, argv, 10); | ^~~~~~~~~~~~ socks_rdconf.c:126:7: warning: incompatible implicit declaration of built-in function ‘exit’ 126 | 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’ 138 | 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’ 162 | 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’ [-Wimplicit-function-declaration] 175 | if (socks_GetAddr(argv[next_arg++], &cp->daddr, &cp->ddomain) == -1) { | ^~~~~~~~~~~~~ socks_rdconf.c:183:7: warning: implicit declaration of function ‘socks_GetQuad’ [-Wimplicit-function-declaration] 183 | if (socks_GetQuad(argv[next_arg++], &cp->dmask) == -1) { | ^~~~~~~~~~~~~ socks_rdconf.c:214:14: warning: implicit declaration of function ‘socks_GetPort’ [-Wimplicit-function-declaration] 214 | if (((p = socks_GetPort(argv[next_arg+1])) < 0) || | ^~~~~~~~~~~~~ socks_rdconf.c:231:31: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] 231 | 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’ 237 | 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’ 251 | 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’ 254 | 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’ 256 | 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] 31 | exit(1); | ^~~~ socks_rdfz.c:31:3: warning: incompatible implicit declaration of built-in function ‘exit’ socks_rdfz.c:11:1: note: include ‘’ or provide a declaration of ‘exit’ 10 | #include "socks.h" +++ |+#include 11 | socks_rdfz.c:34:3: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 34 | 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’ 36 | 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] 38 | if (read(fd, &Ncf, sizeof(Ncf)) != sizeof(Ncf)) { | ^~~~ | fread socks_rdfz.c:43:3: warning: incompatible implicit declaration of built-in function ‘exit’ 43 | 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’ 51 | 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] 54 | 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’ 60 | 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’ 67 | 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] 72 | close(fd); | ^~~~~ | pclose socks_rdfz.c:80:3: warning: incompatible implicit declaration of built-in function ‘exit’ 80 | 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’ 88 | exit(1); | ^~~~ socks_rdfz.c:88:3: note: include ‘’ or provide a declaration of ‘exit’ socks_rdfz.c:95:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 95 | cp->userlist = startaddr + (int)cp->userlist; | ^ socks_rdfz.c:97:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 97 | cp->serverlist = startaddr + (int)cp->serverlist; | ^ socks_rdfz.c:99:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 99 | cp->sdomain = startaddr + (int)cp->sdomain; | ^ socks_rdfz.c:101:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 101 | cp->ddomain = startaddr + (int)cp->ddomain; | ^ socks_rdfz.c:103:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 103 | cp->cmdp = startaddr + (int)cp->cmdp; | ^ gcc -fPIC -I../include -g -DLINUX -c -o socks_wrfz.lo socks_wrfz.c socks_wrfz.c: In function ‘socks_wrfz’: socks_wrfz.c:40:29: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] 40 | if ((stringarea = (char *)malloc(stringsize)) == NULL) { | ^~~~~~ socks_wrfz.c:40:29: warning: incompatible implicit declaration of built-in function ‘malloc’ socks_wrfz.c:11:1: note: include ‘’ or provide a declaration of ‘malloc’ 10 | #include "socks.h" +++ |+#include 11 | socks_wrfz.c:45:4: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 45 | exit(1); | ^~~~ socks_wrfz.c:45:4: warning: incompatible implicit declaration of built-in function ‘exit’ socks_wrfz.c:45:4: note: include ‘’ or provide a declaration of ‘exit’ socks_wrfz.c:83:3: warning: incompatible implicit declaration of built-in function ‘exit’ 83 | 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] 85 | if (write(fd, &Nconf, sizeof(Nconf)) != sizeof(Nconf)) { | ^~~~~ | fwrite socks_wrfz.c:90:3: warning: incompatible implicit declaration of built-in function ‘exit’ 90 | 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’ 97 | 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’ 104 | 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’ 111 | 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] 39 | exit(1); | ^~~~ sockd_rdconf.c:39:3: warning: incompatible implicit declaration of built-in function ‘exit’ sockd_rdconf.c:11:1: note: include ‘’ or provide a declaration of ‘exit’ 10 | #include "socks.h" +++ |+#include 11 | sockd_rdconf.c:44:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 44 | 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’ 46 | 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’ 48 | 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’ 50 | 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’ 53 | 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’ 55 | 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’ 59 | 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] 64 | 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’ [-Wimplicit-function-declaration] 107 | socks_mkargs(buf, &argc, argv, 10); | ^~~~~~~~~~~~ sockd_rdconf.c:116:4: warning: incompatible implicit declaration of built-in function ‘exit’ 116 | 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’ [-Wimplicit-function-declaration] 175 | if (socks_GetAddr(argv[next_arg++], &cp->saddr, &cp->sdomain) == -1){ | ^~~~~~~~~~~~~ sockd_rdconf.c:178:7: warning: implicit declaration of function ‘socks_GetQuad’ [-Wimplicit-function-declaration] 178 | if (socks_GetQuad(argv[next_arg++], &cp->smask) == -1) { | ^~~~~~~~~~~~~ sockd_rdconf.c:232:14: warning: implicit declaration of function ‘socks_GetPort’ [-Wimplicit-function-declaration] 232 | if (((p = socks_GetPort(argv[next_arg+1])) < 0) || | ^~~~~~~~~~~~~ sockd_rdconf.c:250:31: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] 250 | 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’ 264 | 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’ 267 | 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’ 269 | 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’ 279 | 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] 38 | exit(1); | ^~~~ sockd_rdroute.c:38:3: warning: incompatible implicit declaration of built-in function ‘exit’ sockd_rdroute.c:12:1: note: include ‘’ or provide a declaration of ‘exit’ 11 | #include "socks.h" +++ |+#include 12 | sockd_rdroute.c:43:4: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 43 | 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’ 46 | 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] 49 | 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’ [-Wimplicit-function-declaration] 78 | socks_mkargs(buf, &argc, argv, 10); | ^~~~~~~~~~~~ sockd_rdroute.c:87:4: warning: incompatible implicit declaration of built-in function ‘exit’ 87 | 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] 90 | if (socks_GetQuad(argv[0], &cp->saddr) == -1) { | ^~~~~~~~~~~~~ sockd_rdroute.c:98:7: warning: implicit declaration of function ‘socks_GetAddr’ [-Wimplicit-function-declaration] 98 | if (socks_GetAddr(argv[1], &cp->daddr, &cp->ddomain) == -1){ | ^~~~~~~~~~~~~ sockd_rdroute.c:113:31: warning: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] 113 | 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’ 127 | 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’ 130 | 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’ 132 | 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’ 142 | 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] 94 | omask = sigblock(sigmask(SIGINT)); | ^~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/signal.h:1, from getpass.c:44: /usr/include/signal.h:170:12: note: declared here 170 | 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] 109 | (void)write(fileno(outfp), "\n", 1); | ^~~~~ | fwrite getpass.c:124:2: warning: ‘sigsetmask’ is deprecated [-Wdeprecated-declarations] 124 | (void)sigsetmask(omask); | ^ In file included from /usr/include/x86_64-linux-gnu/sys/signal.h:1, from getpass.c:44: /usr/include/signal.h:173:12: note: declared here 173 | 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] 9 | main(argc, argv) | ^~~~ make_socksfc.c: In function ‘main’: make_socksfc.c:21:6: warning: implicit declaration of function ‘socks_rdconf’ [-Wimplicit-function-declaration] 21 | if (socks_rdconf(infile, &confAddr, &Nconf, useSyslog) == -1) { | ^~~~~~~~~~~~ make_socksfc.c:23:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 23 | exit(1); | ^~~~ make_socksfc.c:23:3: warning: incompatible implicit declaration of built-in function ‘exit’ make_socksfc.c:6:1: note: include ‘’ or provide a declaration of ‘exit’ 5 | #include "socks.h" +++ |+#include 6 | make_socksfc.c:25:2: warning: implicit declaration of function ‘socks_wrfz’ [-Wimplicit-function-declaration] 25 | 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] 9 | main(argc, argv) | ^~~~ make_sockdfc.c: In function ‘main’: make_sockdfc.c:22:6: warning: implicit declaration of function ‘sockd_rdconf’ [-Wimplicit-function-declaration] 22 | if (sockd_rdconf(infile, &confAddr, &Nconf, &ptr1, &ptr2, useSyslog) == -1) { | ^~~~~~~~~~~~ make_sockdfc.c:24:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 24 | exit(1); | ^~~~ make_sockdfc.c:24:3: warning: incompatible implicit declaration of built-in function ‘exit’ make_sockdfc.c:6:1: note: include ‘’ or provide a declaration of ‘exit’ 5 | #include "socks.h" +++ |+#include 6 | make_sockdfc.c:26:2: warning: implicit declaration of function ‘socks_wrfz’ [-Wimplicit-function-declaration] 26 | 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] 9 | main(argc, argv) | ^~~~ make_sockdfr.c: In function ‘main’: make_sockdfr.c:21:6: warning: implicit declaration of function ‘sockd_rdroute’ [-Wimplicit-function-declaration] 21 | if (sockd_rdroute(infile, &confAddr, &Nconf, useSyslog) == -1) { | ^~~~~~~~~~~~~ make_sockdfr.c:23:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 23 | exit(1); | ^~~~ make_sockdfr.c:23:3: warning: incompatible implicit declaration of built-in function ‘exit’ make_sockdfr.c:6:1: note: include ‘’ or provide a declaration of ‘exit’ 5 | #include "socks.h" +++ |+#include 6 | make_sockdfr.c:25:2: warning: implicit declaration of function ‘socks_wrfz’ [-Wimplicit-function-declaration] 25 | 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] 12 | main(argc, argv) | ^~~~ dump_socksfc.c: In function ‘main’: dump_socksfc.c:24:2: warning: implicit declaration of function ‘socks_rdfz’ [-Wimplicit-function-declaration] 24 | socks_rdfz(file, &cfAddr, &Ncf, &cfstrings, useSyslog); | ^~~~~~~~~~ dump_socksfc.c:25:2: warning: implicit declaration of function ‘socks_dumpcf’ [-Wimplicit-function-declaration] 25 | 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] 12 | main(argc, argv) | ^~~~ dump_sockdfc.c: In function ‘main’: dump_sockdfc.c:24:2: warning: implicit declaration of function ‘socks_rdfz’ [-Wimplicit-function-declaration] 24 | socks_rdfz(file, &cfAddr, &Ncf, &cfstrings, useSyslog); | ^~~~~~~~~~ dump_sockdfc.c:25:2: warning: implicit declaration of function ‘sockd_dumpcf’ [-Wimplicit-function-declaration] 25 | 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] 12 | main(argc, argv) | ^~~~ dump_sockdfr.c: In function ‘main’: dump_sockdfr.c:24:2: warning: implicit declaration of function ‘socks_rdfz’ [-Wimplicit-function-declaration] 24 | socks_rdfz(file, &rtAddr, &Nrt, &rtstrings, useSyslog); | ^~~~~~~~~~ dump_sockdfr.c:25:2: warning: implicit declaration of function ‘sockd_dumprt’ [-Wimplicit-function-declaration] 25 | sockd_dumprt(rtAddr, Nrt, useSyslog); | ^~~~~~~~~~~~ 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’ [-Wimplicit-function-declaration] 41 | if (socks_ckadr(srcshp, cp->sdomain, &cp->saddr, &cp->smask) && | ^~~~~~~~~~~ sockd_ckcf.c:43:7: warning: implicit declaration of function ‘socks_ckusr’ [-Wimplicit-function-declaration] 43 | socks_ckusr(cp->userlist, srcshp->user, useSyslog) && | ^~~~~~~~~~~ sockd_ckcf.c:44:7: warning: implicit declaration of function ‘socks_ckprt’ [-Wimplicit-function-declaration] 44 | socks_ckprt(cp->tst, dst_sin_port, cp->dport)) | ^~~~~~~~~~~ sockd_ckcf.c:61:4: warning: implicit declaration of function ‘socks_shell_cmd’ [-Wimplicit-function-declaration] 61 | 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’ [-Wimplicit-function-declaration] 19 | if (socks_ckadr(dstshp, cp->ddomain, &cp->daddr, &cp->dmask) == 1) { | ^~~~~~~~~~~ sockd_ckrt.c:24:2: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 24 | exit(1); | ^~~~ sockd_ckrt.c:24:2: warning: incompatible implicit declaration of built-in function ‘exit’ sockd_ckrt.c:8:1: note: include ‘’ or provide a declaration of ‘exit’ 7 | #include "socks.h" +++ |+#include 8 | 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 30 | return; | ^~~~~~ sockd_getspcmd.c:10:5: note: declared here 10 | 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 35 | return; | ^~~~~~ sockd_getspcmd.c:10:5: note: declared here 10 | 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] 15 | socks_SendDst(in, ndst); | ^~~~~~~~~~~~~ sockd_fail.c:16:2: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 16 | exit(1); | ^~~~ sockd_fail.c:16:2: warning: incompatible implicit declaration of built-in function ‘exit’ sockd_fail.c:6:1: note: include ‘’ or provide a declaration of ‘exit’ 5 | #include "socks.h" +++ |+#include 6 | gcc -I../include -g -DLINUX -c -o setproctitle.o setproctitle.c setproctitle.c:22:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 22 | 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] 35 | 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] 57 | close(out); | ^~~~~ | closelog DoConnect.c:66:2: warning: implicit declaration of function ‘socks_SendDst’ [-Wimplicit-function-declaration] 66 | 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] 50 | 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] 108 | socks_SendDst(in, &ndst); | ^~~~~~~~~~~~~ DoNewBind.c:122:2: warning: implicit declaration of function ‘close’; did you mean ‘closelog’? [-Wimplicit-function-declaration] 122 | close(out); | ^~~~~ | closelog DoNewBind.c:133:4: warning: implicit declaration of function ‘socks_IPtohost’ [-Wimplicit-function-declaration] 133 | socks_IPtohost(&sin.sin_addr, dstshp); | ^~~~~~~~~~~~~~ DoNewBind.c:139:4: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 139 | exit(1); | ^~~~ DoNewBind.c:139:4: warning: incompatible implicit declaration of built-in function ‘exit’ DoNewBind.c:8:1: note: include ‘’ or provide a declaration of ‘exit’ 7 | #include "socks.h" +++ |+#include 8 | 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] 35 | 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] 52 | 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] 57 | close(out); | ^~~~~ | closelog DoConnect.c:66:2: warning: implicit declaration of function ‘socks_SendDst’ [-Wimplicit-function-declaration] 66 | 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] 50 | 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] 76 | strcpy(socks_srcsh.user, srcshp->user); | ^~~~~~ DoNewBind.c:76:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ DoNewBind.c:8:1: note: include ‘’ or provide a declaration of ‘strcpy’ 7 | #include "socks.h" +++ |+#include 8 | DoNewBind.c:80:6: warning: implicit declaration of function ‘Rbind’; did you mean ‘bind’? [-Wimplicit-function-declaration] 80 | 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] 82 | 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] 101 | if (Rlisten(out, 1) < 0) | ^~~~~~~ | listen DoNewBind.c:108:2: warning: implicit declaration of function ‘socks_SendDst’ [-Wimplicit-function-declaration] 108 | socks_SendDst(in, &ndst); | ^~~~~~~~~~~~~ DoNewBind.c:112:13: warning: implicit declaration of function ‘Raccept’; did you mean ‘accept’? [-Wimplicit-function-declaration] 112 | 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] 122 | 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’ [-Wimplicit-function-declaration] 84 | socks_rdfz(SOCKD_FC, &cfAddr, &Ncf, &cfStrings, useSyslog); | ^~~~~~~~~~ sockd.c:85:3: warning: implicit declaration of function ‘sockd_getspcmd’ [-Wimplicit-function-declaration] 85 | sockd_getspcmd(cfAddr, Ncf, &no_identd_cmd, &bad_id_cmd); | ^~~~~~~~~~~~~~ sockd.c:88:3: warning: implicit declaration of function ‘sockd_rdconf’ [-Wimplicit-function-declaration] 88 | sockd_rdconf(SOCKD_CONF, &cfAddr, &Ncf, &no_identd_cmd, &bad_id_cmd, useSyslog); | ^~~~~~~~~~~~ sockd.c:95:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 95 | exit(1); | ^~~~ sockd.c:95:3: warning: incompatible implicit declaration of built-in function ‘exit’ sockd.c:29:1: note: include ‘’ or provide a declaration of ‘exit’ 28 | #include "ident.h" +++ |+#include 29 | #define IDENTD_TIMEOUT 15 /* 15 seconds */ sockd.c:105:10: warning: implicit declaration of function ‘sockd_rdroute’; did you mean ‘sockd_ckrt’? [-Wimplicit-function-declaration] 105 | sockd_rdroute(SOCKD_ROUTE_FILE, &rtAddr, &Nrt, useSyslog); | ^~~~~~~~~~~~~ | sockd_ckrt sockd.c:112:3: warning: incompatible implicit declaration of built-in function ‘exit’ 112 | 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’ 163 | 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] 178 | main(argc, argv) | ^~~~ sockd.c: In function ‘main’: sockd.c:293:3: warning: incompatible implicit declaration of built-in function ‘exit’ 293 | 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] 347 | if (gethostname(name, sizeof(name)) < 0) { | ^~~~~~~~~~~ | gethostbyname sockd.c:349:3: warning: incompatible implicit declaration of built-in function ‘exit’ 349 | 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’ 353 | 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] 419 | in = dup(0); | ^~~ sockd.c:424:3: warning: incompatible implicit declaration of built-in function ‘exit’ 424 | 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] 430 | if (socks_IPtohost(&from.sin_addr, &srcsh) < 0) { | ^~~~~~~~~~~~~~ sockd.c:432:3: warning: incompatible implicit declaration of built-in function ‘exit’ 432 | 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’ [-Wimplicit-function-declaration] 436 | if (socks_GetDst(in, &dst) < 0) { | ^~~~~~~~~~~~ sockd.c:438:3: warning: incompatible implicit declaration of built-in function ‘exit’ 438 | 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’ 444 | 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’ 456 | 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] 464 | while (read(in, &c, 1) == 1) | ^~~~ | fread sockd.c:477:4: warning: incompatible implicit declaration of built-in function ‘exit’ 477 | 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’ 492 | 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’ [-Wimplicit-function-declaration] 497 | if(socks_host(name, &dstsh) < 0) { | ^~~~~~~~~~ sockd.c:499:4: warning: incompatible implicit declaration of built-in function ‘exit’ 499 | 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’ 507 | 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] 514 | 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’ 541 | 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’ [-Wimplicit-function-declaration] 548 | socks_SendDst(in, &dst); | ^~~~~~~~~~~~~ sockd.c:549:3: warning: incompatible implicit declaration of built-in function ‘exit’ 549 | 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’ 555 | 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’ 559 | 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] 576 | alarm(60*2); | ^~~~~ sockd.c:630:10: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] 630 | if (write(out, netbuf, n) < 0) { | ^~~~~ | fwrite gcc -I../include -g -DLINUX -o sockd sockd.o libsockd.a -L/<>/lib/ -lsocks -lident /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/libident.so when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/libident.a when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/../lib/libident.so when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/../lib/libident.a when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/9/../../../libident.so when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/9/../../../libident.a when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/libident.so when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/libident.a when searching for -lident /usr/bin/ld: cannot find -lident collect2: error: ld returned 1 exit status make[2]: *** [Makefile:20: sockd] Error 1 make[2]: Leaving directory '/<>/sockd' make[1]: *** [Makefile:345: server] Error 2 make[1]: Leaving directory '/<>' make: *** [debian/rules:13: build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2019-09-11T09:41:56Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any Build-Space: 2840 Build-Time: 6 Distribution: unstable Fail-Stage: build Foreign Architectures: ppc64el Host Architecture: ppc64el Install-Time: 18 Job: socks4-server_4.3.beta2-20 Machine Architecture: amd64 Package: socks4-server Package-Time: 36 Source-Version: 4.3.beta2-20 Space: 2840 Status: attempted Version: 4.3.beta2-20 -------------------------------------------------------------------------------- Finished at 2019-09-11T09:41:56Z Build needed 00:00:36, 2840k disk space