request from: hawk checking if we should skip the build started at: Mon Mar 12 16:12:26 2018 fetching http://kraz.tld-linux.org/~buildertidev//srpms/09b3c54a-1b5e-4b98-ba30-1ae8421f2ca4/srp-2.1.2-5.src.rpm fetched 1466497 bytes, 1205.7 K/s installing srpm: srp-2.1.2-5.src.rpm mesg: ttyname failed: Inappropriate ioctl for device + install -d /tmp/B.v2X3qH/BUILD /tmp/B.v2X3qH/RPMS + LC_ALL=en_US.UTF-8 + rpm -qp --changelog srp-2.1.2-5.src.rpm * Mon Mar 12 2018 TLD Linux - For complete changelog see: http://git.tld-linux.org/?p=packages/srp.git;a=log;h=master + rpm -Uhv --nodeps --define '_topdir /tmp/B.v2X3qH' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' srp-2.1.2-5.src.rpm srp ################################################## + rm -f srp-2.1.2-5.src.rpm mesg: ttyname failed: Inappropriate ioctl for device + install -m 700 -d /tmp/B.v2X3qH/BUILD/tmp mesg: ttyname failed: Inappropriate ioctl for device + TMPDIR=/tmp/B.v2X3qH/BUILD/tmp + exec nice -n 19 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.v2X3qH' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-tld-linux --define 'prep exit 0' /tmp/B.v2X3qH/srp.spec Building target platforms: i686-tld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: Building target platforms: i686-tld-linux no BR needed building RPM using: set -ex; : build-id: 09b3c54a-1b5e-4b98-ba30-1ae8421f2ca4; TMPDIR=/tmp/B.v2X3qH/BUILD/tmp exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j8' --define '_tld_builder 1' --define '_topdir /tmp/B.v2X3qH' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-tld-linux /tmp/B.v2X3qH/srp.spec mesg: ttyname failed: Inappropriate ioctl for device + : build-id: 09b3c54a-1b5e-4b98-ba30-1ae8421f2ca4 + TMPDIR=/tmp/B.v2X3qH/BUILD/tmp + exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j8' --define '_tld_builder 1' --define '_topdir /tmp/B.v2X3qH' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-tld-linux /tmp/B.v2X3qH/srp.spec Building target platforms: i686-tld-linux Executing(%prep): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.v2X3qH/BUILD/tmp /bin/sh -e /tmp/B.v2X3qH/BUILD/tmp/rpm-tmp.64369 + umask 022 + cd /tmp/B.v2X3qH/BUILD + cd /tmp/B.v2X3qH/BUILD + rm -rf srp-2.1.2 + /usr/bin/gzip -dc /tmp/B.v2X3qH/srp-2.1.2.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd srp-2.1.2 + /bin/id -u + '[' 10001 '=' 0 ']' + true . + /bin/chmod -Rf -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (srp-shared.patch):' Patch #0 (srp-shared.patch): + /dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_misc.c -fPIC -DPIC -o .libs/t_misc.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_pw.c -fPIC -DPIC -o .libs/t_pw.o /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o t_read.lo t_read.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_getpass.c -o t_getpass.o >/dev/null 2>&1 t_pw.c: In function 't_changepw': t_pw.c:468:3: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] link(pwname, bakfile); ^~~~~~~~~~~~~~~~~~~~~ t_pw.c:470:3: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] link(bakfile2, pwname); ^~~~~~~~~~~~~~~~~~~~~~ t_pw.c: In function 't_deletepw': t_pw.c:540:3: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] link(pwname, bakfile); ^~~~~~~~~~~~~~~~~~~~~ t_pw.c:542:3: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] link(bakfile2, pwname); ^~~~~~~~~~~~~~~~~~~~~~ libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_read.c -fPIC -DPIC -o .libs/t_read.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_conv.c -o t_conv.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_client.c -o t_client.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o t_server.lo t_server.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_misc.c -o t_misc.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_read.c -o t_read.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_conf.c -o t_conf.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_math.c -o t_math.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o t_truerand.lo t_truerand.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_server.c -fPIC -DPIC -o .libs/t_server.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_truerand.c -fPIC -DPIC -o .libs/t_truerand.o /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o cstr.lo cstr.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_pw.c -o t_pw.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o srp.lo srp.c /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o rfc2945_client.lo rfc2945_client.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c cstr.c -fPIC -DPIC -o .libs/cstr.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_truerand.c -o t_truerand.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c srp.c -fPIC -DPIC -o .libs/srp.o cstr.c:24:44: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] static cstr_allocator malloc_allocator = { malloc, free, NULL }; ^~~~~~ cstr.c:24:44: note: (near initialization for 'malloc_allocator.alloc') cstr.c:24:52: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] static cstr_allocator malloc_allocator = { malloc, free, NULL }; ^~~~ cstr.c:24:52: note: (near initialization for 'malloc_allocator.free') libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c rfc2945_client.c -fPIC -DPIC -o .libs/rfc2945_client.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c t_server.c -o t_server.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o rfc2945_server.lo rfc2945_server.c /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o srp6_client.lo srp6_client.c /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o srp6_server.lo srp6_server.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c rfc2945_server.c -fPIC -DPIC -o .libs/rfc2945_server.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c cstr.c -o cstr.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c srp6_server.c -fPIC -DPIC -o .libs/srp6_server.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c srp6_client.c -fPIC -DPIC -o .libs/srp6_client.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c rfc2945_client.c -o rfc2945_client.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o yp_misc.lo yp_misc.c /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o yp_tpasswd.lo yp_tpasswd.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c srp.c -o srp.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c yp_misc.c -fPIC -DPIC -o .libs/yp_misc.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c yp_tpasswd.c -fPIC -DPIC -o .libs/yp_tpasswd.o /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o yp_tconf.lo yp_tconf.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c yp_misc.c -o yp_misc.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c rfc2945_server.c -o rfc2945_server.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c yp_tpasswd.c -o yp_tpasswd.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o nsw_tpasswd.lo nsw_tpasswd.c /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o nsw_tconf.lo nsw_tconf.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c yp_tconf.c -fPIC -DPIC -o .libs/yp_tconf.o /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o nsswitch.lo nsswitch.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c yp_tconf.c -o yp_tconf.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c nsw_tpasswd.c -fPIC -DPIC -o .libs/nsw_tpasswd.o i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o tconf.o tconf.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c srp6_server.c -o srp6_server.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c nsw_tconf.c -fPIC -DPIC -o .libs/nsw_tconf.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c srp6_client.c -o srp6_client.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c nsw_tpasswd.c -o nsw_tpasswd.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c nsw_tconf.c -o nsw_tconf.o >/dev/null 2>&1 tconf.c: In function 'main': tconf.c:102:16: warning: implicit declaration of function 'getopt'; did you mean 'gettpent'? [-Wimplicit-function-declaration] while ((ch = getopt(argc, argv, "dvfx2c:")) != EOF) ^~~~~~ gettpent tconf.c:134:8: warning: implicit declaration of function 'creat'; did you mean 'fread'? [-Wimplicit-function-declaration] if(creat(configFile, 0644) < 0 || (efp = fopen(configFile, "a+")) == NULL) { ^~~~~ fread i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o clitest.o clitest.c tconf.c:188:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cbuf, sizeof(cbuf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tconf.c:202:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cbuf, sizeof(cbuf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tconf.c:230:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cbuf, sizeof(cbuf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tconf.c:263:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(cbuf, sizeof(cbuf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o srvtest.o srvtest.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o getpwtest.o getpwtest.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c nsswitch.c -fPIC -DPIC -o .libs/nsswitch.o clitest.c: In function 'main': clitest.c:51:3: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] gets(username); ^~~~ fgets clitest.c:80:33: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] t_clientaddexdata(tc, hexbuf, strlen(hexbuf)); ^~~~~~ clitest.c:80:33: warning: incompatible implicit declaration of built-in function 'strlen' clitest.c:80:33: note: include '' or provide a declaration of 'strlen' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o srptest.o srptest.c srvtest.c: In function 'main': srvtest.c:77:3: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] gets(username); ^~~~ fgets i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o srpbench.o srpbench.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o srp6bench.o srp6bench.c srptest.c: In function 'main': srptest.c:504:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(strcmp(*argv, "-v") == 0) ^~~~~~ srp6bench.c: In function 'do_srp6preparam': srp6bench.c:197:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2); ^~~~ srp6bench.c:197:5: warning: incompatible implicit declaration of built-in function 'exit' srp6bench.c:197:5: note: include '' or provide a declaration of 'exit' srp6bench.c: In function 'usage': srp6bench.c:214:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ srp6bench.c:214:3: note: include '' or provide a declaration of 'exit' srp6bench.c: In function 'main': srp6bench.c:242:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(strcmp(*argv, "-engine") == 0) { ^~~~~~ srp6bench.c:246:4: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^~~~ srp6bench.c:246:4: note: include '' or provide a declaration of 'exit' srp6bench.c:253:16: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] pindex = atoi(*argv + 1); ^~~~ libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c nsswitch.c -o nsswitch.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o libsrp.la -rpath /usr/lib t_client.lo t_conf.lo t_conv.lo t_getpass.lo t_sha.lo t_math.lo t_misc.lo t_pw.lo t_read.lo t_server.lo t_truerand.lo cstr.lo srp.lo rfc2945_client.lo rfc2945_server.lo srp6_client.lo srp6_server.lo yp_misc.lo yp_tpasswd.lo yp_tconf.lo nsw_tpasswd.lo nsw_tconf.lo nsswitch.lo -lcrypto libtool: link: i686-tld-linux-gcc -shared -fPIC -DPIC -O2 -fstack-protector -march=i686 -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc .libs/t_client.o .libs/t_conf.o .libs/t_conv.o .libs/t_getpass.o .libs/t_sha.o .libs/t_math.o .libs/t_misc.o .libs/t_pw.o .libs/t_read.o .libs/t_server.o .libs/t_truerand.o .libs/cstr.o .libs/srp.o .libs/rfc2945_client.o .libs/rfc2945_server.o .libs/srp6_client.o .libs/srp6_server.o .libs/yp_misc.o .libs/yp_tpasswd.o .libs/yp_tconf.o .libs/nsw_tpasswd.o .libs/nsw_tconf.o .libs/nsswitch.o -lcrypto -Wl,-soname -Wl,libsrp.so.0 -o .libs/libsrp.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libsrp.so.0" && ln -s "libsrp.so.0.0.0" "libsrp.so.0") libtool: link: (cd ".libs" && rm -f "libsrp.so" && ln -s "libsrp.so.0.0.0" "libsrp.so") libtool: link: ar cru .libs/libsrp.a t_client.o t_conf.o t_conv.o t_getpass.o t_sha.o t_math.o t_misc.o t_pw.o t_read.o t_server.o t_truerand.o cstr.o srp.o rfc2945_client.o rfc2945_server.o srp6_client.o srp6_server.o yp_misc.o yp_tpasswd.o yp_tconf.o nsw_tpasswd.o nsw_tconf.o nsswitch.o libtool: link: ranlib .libs/libsrp.a libtool: link: ( cd ".libs" && rm -f "libsrp.la" && ln -s "../libsrp.la" "libsrp.la" ) /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o tconf tconf.o libsrp.la -lcrypto /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o clitest clitest.o libsrp.la -lcrypto /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o srvtest srvtest.o libsrp.la -lcrypto /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o getpwtest getpwtest.o libsrp.la -lcrypto /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o srptest srptest.o libsrp.la -lcrypto /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o srpbench srpbench.o libsrp.la -lcrypto /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o srp6bench srp6bench.o libsrp.la -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/srpbench srpbench.o ./.libs/libsrp.so -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/srp6bench srp6bench.o ./.libs/libsrp.so -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/tconf tconf.o ./.libs/libsrp.so -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/clitest clitest.o ./.libs/libsrp.so -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/getpwtest getpwtest.o ./.libs/libsrp.so -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/srvtest srvtest.o ./.libs/libsrp.so -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/srptest srptest.o ./.libs/libsrp.so -lcrypto clitest.o: In function `main': clitest.c:(.text.startup+0x3a): warning: the `gets' function is dangerous and should not be used. srvtest.o: In function `main': srvtest.c:(.text.startup+0x47): warning: the `gets' function is dangerous and should not be used. make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libsrp' make[1]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libsrp' Making all in libkrypto make[1]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libkrypto' /usr/bin/make all-am make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libkrypto' /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT krypto.lo -MD -MP -MF .deps/krypto.Tpo -c -o krypto.lo krypto.c /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher.lo -MD -MP -MF .deps/cipher.Tpo -c -o cipher.lo cipher.c /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_crypt_ecb.lo -MD -MP -MF .deps/cipher_crypt_ecb.Tpo -c -o cipher_crypt_ecb.lo cipher_crypt_ecb.c /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_crypt_cbc.lo -MD -MP -MF .deps/cipher_crypt_cbc.Tpo -c -o cipher_crypt_cbc.lo cipher_crypt_cbc.c /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_crypt_cfb.lo -MD -MP -MF .deps/cipher_crypt_cfb.Tpo -c -o cipher_crypt_cfb.lo cipher_crypt_cfb.c /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_crypt_ofb.lo -MD -MP -MF .deps/cipher_crypt_ofb.Tpo -c -o cipher_crypt_ofb.lo cipher_crypt_ofb.c /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT hash.lo -MD -MP -MF .deps/hash.Tpo -c -o hash.lo hash.c /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT krypto_rand_conf.lo -MD -MP -MF .deps/krypto_rand_conf.Tpo -c -o krypto_rand_conf.lo krypto_rand_conf.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_crypt_cbc.lo -MD -MP -MF .deps/cipher_crypt_cbc.Tpo -c cipher_crypt_cbc.c -fPIC -DPIC -o .libs/cipher_crypt_cbc.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT krypto.lo -MD -MP -MF .deps/krypto.Tpo -c krypto.c -fPIC -DPIC -o .libs/krypto.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher.lo -MD -MP -MF .deps/cipher.Tpo -c cipher.c -fPIC -DPIC -o .libs/cipher.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_crypt_ecb.lo -MD -MP -MF .deps/cipher_crypt_ecb.Tpo -c cipher_crypt_ecb.c -fPIC -DPIC -o .libs/cipher_crypt_ecb.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT hash.lo -MD -MP -MF .deps/hash.Tpo -c hash.c -fPIC -DPIC -o .libs/hash.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_crypt_ofb.lo -MD -MP -MF .deps/cipher_crypt_ofb.Tpo -c cipher_crypt_ofb.c -fPIC -DPIC -o .libs/cipher_crypt_ofb.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_crypt_cfb.lo -MD -MP -MF .deps/cipher_crypt_cfb.Tpo -c cipher_crypt_cfb.c -fPIC -DPIC -o .libs/cipher_crypt_cfb.o krypto.c: In function 'krypto_msg_priv': krypto.c:218:5: warning: implicit declaration of function 'krypto_rand_conf'; did you mean 'krypto_random'? [-Wimplicit-function-declaration] krypto_rand_conf (confounder, conflen); ^~~~~~~~~~~~~~~~ krypto_random libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT krypto_rand_conf.lo -MD -MP -MF .deps/krypto_rand_conf.Tpo -c krypto_rand_conf.c -fPIC -DPIC -o .libs/krypto_rand_conf.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_crypt_ecb.lo -MD -MP -MF .deps/cipher_crypt_ecb.Tpo -c cipher_crypt_ecb.c -o cipher_crypt_ecb.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_crypt_ofb.lo -MD -MP -MF .deps/cipher_crypt_ofb.Tpo -c cipher_crypt_ofb.c -o cipher_crypt_ofb.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT hash.lo -MD -MP -MF .deps/hash.Tpo -c hash.c -o hash.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT krypto_rand_conf.lo -MD -MP -MF .deps/krypto_rand_conf.Tpo -c krypto_rand_conf.c -o krypto_rand_conf.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_crypt_cfb.lo -MD -MP -MF .deps/cipher_crypt_cfb.Tpo -c cipher_crypt_cfb.c -o cipher_crypt_cfb.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_crypt_cbc.lo -MD -MP -MF .deps/cipher_crypt_cbc.Tpo -c cipher_crypt_cbc.c -o cipher_crypt_cbc.o >/dev/null 2>&1 libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher.lo -MD -MP -MF .deps/cipher.Tpo -c cipher.c -o cipher.o >/dev/null 2>&1 mv -f .deps/cipher_crypt_ecb.Tpo .deps/cipher_crypt_ecb.Plo /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_imp_cast.lo -MD -MP -MF .deps/cipher_imp_cast.Tpo -c -o cipher_imp_cast.lo cipher_imp_cast.c mv -f .deps/cipher_crypt_ofb.Tpo .deps/cipher_crypt_ofb.Plo /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_imp_blowfish.lo -MD -MP -MF .deps/cipher_imp_blowfish.Tpo -c -o cipher_imp_blowfish.lo cipher_imp_blowfish.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT krypto.lo -MD -MP -MF .deps/krypto.Tpo -c krypto.c -o krypto.o >/dev/null 2>&1 mv -f .deps/krypto_rand_conf.Tpo .deps/krypto_rand_conf.Plo /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_imp_des.lo -MD -MP -MF .deps/cipher_imp_des.Tpo -c -o cipher_imp_des.lo cipher_imp_des.c mv -f .deps/hash.Tpo .deps/hash.Plo /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_imp_none.lo -MD -MP -MF .deps/cipher_imp_none.Tpo -c -o cipher_imp_none.lo cipher_imp_none.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_imp_cast.lo -MD -MP -MF .deps/cipher_imp_cast.Tpo -c cipher_imp_cast.c -fPIC -DPIC -o .libs/cipher_imp_cast.o mv -f .deps/cipher_crypt_cfb.Tpo .deps/cipher_crypt_cfb.Plo /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT hash_imp_md5.lo -MD -MP -MF .deps/hash_imp_md5.Tpo -c -o hash_imp_md5.lo hash_imp_md5.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_imp_blowfish.lo -MD -MP -MF .deps/cipher_imp_blowfish.Tpo -c cipher_imp_blowfish.c -fPIC -DPIC -o .libs/cipher_imp_blowfish.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_imp_des.lo -MD -MP -MF .deps/cipher_imp_des.Tpo -c cipher_imp_des.c -fPIC -DPIC -o .libs/cipher_imp_des.o cipher_imp_cast.c: In function 'cipher_imp_cast_init': cipher_imp_cast.c:41:27: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] ctxt = (CastKeySched *) malloc (sizeof (CastKeySched)); ^~~~~~ cipher_imp_cast.c:41:27: warning: incompatible implicit declaration of built-in function 'malloc' cipher_imp_cast.c:41:27: note: include '' or provide a declaration of 'malloc' cipher_imp_cast.c: In function 'cipher_imp_cast_finish': cipher_imp_cast.c:63:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset (ctxt, 0, sizeof (CastKeySched)); ^~~~~~ cipher_imp_cast.c:63:5: warning: incompatible implicit declaration of built-in function 'memset' cipher_imp_cast.c:63:5: note: include '' or provide a declaration of 'memset' cipher_imp_cast.c:64:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free (c); ^~~~ cipher_imp_cast.c:64:5: warning: incompatible implicit declaration of built-in function 'free' cipher_imp_cast.c:64:5: note: include '' or provide a declaration of 'free' mv -f .deps/cipher_crypt_cbc.Tpo .deps/cipher_crypt_cbc.Plo /bin/sh ./libtool --tag=CC --mode=compile i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT hash_imp_sha.lo -MD -MP -MF .deps/hash_imp_sha.Tpo -c -o hash_imp_sha.lo hash_imp_sha.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_imp_none.lo -MD -MP -MF .deps/cipher_imp_none.Tpo -c cipher_imp_none.c -fPIC -DPIC -o .libs/cipher_imp_none.o libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_imp_cast.lo -MD -MP -MF .deps/cipher_imp_cast.Tpo -c cipher_imp_cast.c -o cipher_imp_cast.o >/dev/null 2>&1 mv -f .deps/cipher.Tpo .deps/cipher.Plo libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT hash_imp_md5.lo -MD -MP -MF .deps/hash_imp_md5.Tpo -c hash_imp_md5.c -fPIC -DPIC -o .libs/hash_imp_md5.o i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_test.o -MD -MP -MF .deps/cipher_test.Tpo -c -o cipher_test.o cipher_test.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_imp_none.lo -MD -MP -MF .deps/cipher_imp_none.Tpo -c cipher_imp_none.c -o cipher_imp_none.o >/dev/null 2>&1 cipher_test.c: In function 'main': cipher_test.c:385:19: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (i = 0; i < strlen (list); i++) ^~~~~~ cipher_test.c:385:19: warning: incompatible implicit declaration of built-in function 'strlen' cipher_test.c:385:19: note: include '' or provide a declaration of 'strlen' cipher_test.c:395:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset (in, 0, 40); memset (out, 0, 40); ^~~~~~ cipher_test.c:395:3: warning: incompatible implicit declaration of built-in function 'memset' cipher_test.c:395:3: note: include '' or provide a declaration of 'memset' cipher_test.c:406:11: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] if (memcmp (out, &(bf_data[i][0]), 8) != 0) ^~~~~~ cipher_test.c:418:9: warning: incompatible implicit declaration of built-in function 'strlen' len = strlen (test_data) + 1; ^~~~~~ cipher_test.c:418:9: note: include '' or provide a declaration of 'strlen' cipher_test.c:508:7: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy (key, ecb_data[i], 8); ^~~~~~ cipher_test.c:508:7: warning: incompatible implicit declaration of built-in function 'memcpy' cipher_test.c:508:7: note: include '' or provide a declaration of 'memcpy' cipher_test.c:616:7: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy (key, ecb_data[i], 8); ^~~~~~ cipher_test.c:616:7: note: include '' or provide a declaration of 'memcpy' cipher_test.c:727:7: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy (key, ecb_data[i], 8); ^~~~~~ cipher_test.c:727:7: note: include '' or provide a declaration of 'memcpy' cipher_test.c:759:5: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy (key, cast_key, 16); ^~~~~~ cipher_test.c:759:5: note: include '' or provide a declaration of 'memcpy' libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_imp_blowfish.lo -MD -MP -MF .deps/cipher_imp_blowfish.Tpo -c cipher_imp_blowfish.c -o cipher_imp_blowfish.o >/dev/null 2>&1 mv -f .deps/cipher_imp_cast.Tpo .deps/cipher_imp_cast.Plo i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT hash_test.o -MD -MP -MF .deps/hash_test.Tpo -c -o hash_test.o hash_test.c libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT hash_imp_sha.lo -MD -MP -MF .deps/hash_imp_sha.Tpo -c hash_imp_sha.c -fPIC -DPIC -o .libs/hash_imp_sha.o mv -f .deps/cipher_imp_none.Tpo .deps/cipher_imp_none.Plo cipher_imp_des.c: In function 'cipher_imp_des_crypt': cipher_imp_des.c:75:3: warning: passing argument 1 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(tmp, tmp, *des_key, state); ^~~~~~~~~~~~~~~ In file included from cipher_imp_des.h:25:0, from cipher_imp_des.c:21: /usr/include/openssl/des.h:152:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ cipher_imp_des.c:75:3: warning: passing argument 2 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(tmp, tmp, *des_key, state); ^~~~~~~~~~~~~~~ In file included from cipher_imp_des.h:25:0, from cipher_imp_des.c:21: /usr/include/openssl/des.h:152:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ cipher_imp_des.c: In function 'cipher_imp_des3_crypt': cipher_imp_des.c:205:3: warning: passing argument 1 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(tmp, tmp, KEY1(ctxt), KEY2(ctxt), KEY3(ctxt), state); ^~~~~~~~~~~~~~~~ In file included from cipher_imp_des.h:25:0, from cipher_imp_des.c:21: /usr/include/openssl/des.h:132:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ cipher_imp_des.c:205:3: warning: passing argument 2 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(tmp, tmp, KEY1(ctxt), KEY2(ctxt), KEY3(ctxt), state); ^~~~~~~~~~~~~~~~ In file included from cipher_imp_des.h:25:0, from cipher_imp_des.c:21: /usr/include/openssl/des.h:132:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT krypto_test.o -MD -MP -MF .deps/krypto_test.Tpo -c -o krypto_test.o krypto_test.c mv -f .deps/krypto.Tpo .deps/krypto.Plo i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_bench.o -MD -MP -MF .deps/cipher_bench.Tpo -c -o cipher_bench.o cipher_bench.c hash_imp_sha.c: In function 'sha_new': hash_imp_sha.c:20:23: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] ctxt = (SHA1_CTX *) malloc (sizeof (SHA1_CTX)); ^~~~~~ hash_imp_sha.c:20:23: warning: incompatible implicit declaration of built-in function 'malloc' hash_imp_sha.c:20:23: note: include '' or provide a declaration of 'malloc' hash_imp_sha.c: In function 'sha_delete': hash_imp_sha.c:28:13: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] if (ctxt) free (ctxt); ^~~~ hash_imp_sha.c:28:13: warning: incompatible implicit declaration of built-in function 'free' hash_imp_sha.c:28:13: note: include '' or provide a declaration of 'free' libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT hash_imp_md5.lo -MD -MP -MF .deps/hash_imp_md5.Tpo -c hash_imp_md5.c -o hash_imp_md5.o >/dev/null 2>&1 krypto_test.c: In function 'main': krypto_test.c:62:19: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (i = 0; i < strlen (clist); i++) ^~~~~~ krypto_test.c:62:19: warning: incompatible implicit declaration of built-in function 'strlen' krypto_test.c:62:19: note: include '' or provide a declaration of 'strlen' krypto_test.c:76:9: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] if (memcmp (message1, buf2, strlen (message1))) ^~~~~~ cipher_bench.c: In function 'bcipher_bench': cipher_bench.c:74:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(data, 0, 8); ^~~~~~ cipher_bench.c:74:3: warning: incompatible implicit declaration of built-in function 'memset' cipher_bench.c:74:3: note: include '' or provide a declaration of 'memset' cipher_bench.c:109:18: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'unsigned int' [-Wformat=] printf("*** %s encryption/decryption error: [%08x %08x] != 0\n", *lo, *hi); ~^ ~~~ %d cipher_bench.c:109:58: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] printf("*** %s encryption/decryption error: [%08x %08x] != 0\n", *lo, *hi); ~~~^ cipher_bench.c:115:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] printf("Time for %d runs: %d.%06d sec (%g Kb/sec)\n", 2 * NRUNS, ~^ %ld elapsedus / 1000000, elapsedus % 1000000, ~~~~~~~~~~~~~~~~~~~ cipher_bench.c:115:35: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] printf("Time for %d runs: %d.%06d sec (%g Kb/sec)\n", 2 * NRUNS, ~~~^ %06ld elapsedus / 1000000, elapsedus % 1000000, ~~~~~~~~~~~~~~~~~~~ libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT hash_imp_sha.lo -MD -MP -MF .deps/hash_imp_sha.Tpo -c hash_imp_sha.c -o hash_imp_sha.o >/dev/null 2>&1 mv -f .deps/cipher_imp_blowfish.Tpo .deps/cipher_imp_blowfish.Plo libtool: compile: i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cipher_imp_des.lo -MD -MP -MF .deps/cipher_imp_des.Tpo -c cipher_imp_des.c -o cipher_imp_des.o >/dev/null 2>&1 mv -f .deps/cipher_bench.Tpo .deps/cipher_bench.Po mv -f .deps/krypto_test.Tpo .deps/krypto_test.Po mv -f .deps/hash_test.Tpo .deps/hash_test.Po mv -f .deps/hash_imp_md5.Tpo .deps/hash_imp_md5.Plo mv -f .deps/hash_imp_sha.Tpo .deps/hash_imp_sha.Plo mv -f .deps/cipher_imp_des.Tpo .deps/cipher_imp_des.Plo /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o libkrypto.la -rpath /usr/lib krypto.lo cipher.lo cipher_crypt_ecb.lo cipher_crypt_cbc.lo cipher_crypt_cfb.lo cipher_crypt_ofb.lo hash.lo krypto_rand_conf.lo cipher_imp_cast.lo cipher_imp_blowfish.lo cipher_imp_des.lo cipher_imp_none.lo hash_imp_md5.lo hash_imp_sha.lo -lcrypto mv -f .deps/cipher_test.Tpo .deps/cipher_test.Po libtool: link: i686-tld-linux-gcc -shared -fPIC -DPIC -O2 -fstack-protector -march=i686 -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc .libs/krypto.o .libs/cipher.o .libs/cipher_crypt_ecb.o .libs/cipher_crypt_cbc.o .libs/cipher_crypt_cfb.o .libs/cipher_crypt_ofb.o .libs/hash.o .libs/krypto_rand_conf.o .libs/cipher_imp_cast.o .libs/cipher_imp_blowfish.o .libs/cipher_imp_des.o .libs/cipher_imp_none.o .libs/hash_imp_md5.o .libs/hash_imp_sha.o -lcrypto -Wl,-soname -Wl,libkrypto.so.0 -o .libs/libkrypto.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libkrypto.so.0" && ln -s "libkrypto.so.0.0.0" "libkrypto.so.0") libtool: link: (cd ".libs" && rm -f "libkrypto.so" && ln -s "libkrypto.so.0.0.0" "libkrypto.so") libtool: link: ar cru .libs/libkrypto.a krypto.o cipher.o cipher_crypt_ecb.o cipher_crypt_cbc.o cipher_crypt_cfb.o cipher_crypt_ofb.o hash.o krypto_rand_conf.o cipher_imp_cast.o cipher_imp_blowfish.o cipher_imp_des.o cipher_imp_none.o hash_imp_md5.o hash_imp_sha.o libtool: link: ranlib .libs/libkrypto.a libtool: link: ( cd ".libs" && rm -f "libkrypto.la" && ln -s "../libkrypto.la" "libkrypto.la" ) /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o cipher_test cipher_test.o libkrypto.la ../libsrp/libsrp.la -lcrypto /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o hash_test hash_test.o libkrypto.la ../libsrp/libsrp.la -lcrypto /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o krypto_test krypto_test.o libkrypto.la ../libsrp/libsrp.la -lcrypto /bin/sh ./libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o cipher_bench cipher_bench.o libkrypto.la ../libsrp/libsrp.la -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/krypto_test krypto_test.o ./.libs/libkrypto.so ../libsrp/.libs/libsrp.so -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/cipher_test cipher_test.o ./.libs/libkrypto.so ../libsrp/.libs/libsrp.so -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/cipher_bench cipher_bench.o ./.libs/libkrypto.so ../libsrp/.libs/libsrp.so -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/hash_test hash_test.o ./.libs/libkrypto.so ../libsrp/.libs/libsrp.so -lcrypto make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libkrypto' make[1]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libkrypto' Making all in telnet make[1]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet' /usr/bin/make all-recursive make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet' Making all in arpa make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/arpa' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/arpa' Making all in libtelnet make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/libtelnet' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o auth.o auth.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o encrypt.o encrypt.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o genget.o genget.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o misc.o misc.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o srp.o srp.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o kerberos4c.o kerberos4c.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o kerberos.o kerberos.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o kerberos5.o kerberos5.c misc.c: In function 'auth_encrypt_init': misc.c:65:2: warning: implicit declaration of function 'auth_init' [-Wimplicit-function-declaration] auth_init(name, server); ^~~~~~~~~ i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o forward.o forward.c misc.c:68:2: warning: implicit declaration of function 'encrypt_init'; did you mean 'auth_encrypt_init'? [-Wimplicit-function-declaration] encrypt_init(name, server); ^~~~~~~~~~~~ auth_encrypt_init misc.c:71:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(UserNameRequested); ^~~~ misc.c:71:3: warning: incompatible implicit declaration of built-in function 'free' misc.c:71:3: note: include '' or provide a declaration of 'free' misc.c: In function 'auth_encrypt_reset': misc.c:84:2: warning: implicit declaration of function 'encrypt_reset'; did you mean 'auth_encrypt_reset'? [-Wimplicit-function-declaration] encrypt_reset(); ^~~~~~~~~~~~~ auth_encrypt_reset misc.c: In function 'auth_encrypt_user': misc.c:94:3: warning: incompatible implicit declaration of built-in function 'free' free(UserNameRequested); ^~~~ misc.c:94:3: note: include '' or provide a declaration of 'free' misc.c: In function 'printd': misc.c:113:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf(" %02x", *data); ^~~~~~ misc.c:113:3: warning: incompatible implicit declaration of built-in function 'printf' misc.c:113:3: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'encrypt_init': encrypt.c:287:4: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf(">>>%s: I will support %s\r\n", ^~~~~~ encrypt.c:287:4: warning: incompatible implicit declaration of built-in function 'printf' encrypt.c:287:4: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'encrypt_list_types': encrypt.c:324:2: warning: incompatible implicit declaration of built-in function 'printf' printf("Valid encryption types:\n"); ^~~~~~ encrypt.c:324:2: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'EncryptBegin': encrypt.c:335:6: warning: implicit declaration of function 'isprefix' [-Wimplicit-function-declaration] if (isprefix(type, "help") || isprefix(type, "?")) { ^~~~~~~~ encrypt.c:336:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Usage: encrypt begin [input|output]\n"); ^~~~~~ encrypt.c:336:3: note: include '' or provide a declaration of 'printf' encrypt.c:340:6: warning: implicit declaration of function 'EncryptEnable'; did you mean 'EncryptBegin'? [-Wimplicit-function-declaration] if (EncryptEnable(type, mode)) ^~~~~~~~~~~~~ EncryptBegin encrypt.c:341:10: warning: implicit declaration of function 'EncryptStart'; did you mean 'encrypt_wait'? [-Wimplicit-function-declaration] return(EncryptStart(mode)); ^~~~~~~~~~~~ encrypt_wait encrypt.c: In function 'EncryptDisable': encrypt.c:353:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Usage: encrypt disable [input|output]\n"); ^~~~~~ encrypt.c:353:3: note: include '' or provide a declaration of 'printf' encrypt.c:355:34: warning: implicit declaration of function 'genget'; did you mean 'memset'? [-Wimplicit-function-declaration] } else if ((ep = (Encryptions *)genget(type, encryptions, ^~~~~~ memset encrypt.c:357:3: warning: incompatible implicit declaration of built-in function 'printf' printf("%s: invalid encryption type\n", type); ^~~~~~ encrypt.c:357:3: note: include '' or provide a declaration of 'printf' encrypt.c:358:13: warning: implicit declaration of function 'Ambiguous' [-Wimplicit-function-declaration] } else if (Ambiguous(ep)) { ^~~~~~~~~ encrypt.c:359:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Ambiguous type '%s'\n", type); ^~~~~~ encrypt.c:359:3: note: include '' or provide a declaration of 'printf' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o spx.o spx.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o rsaencpwd.o rsaencpwd.c In file included from auth.c:78:0: auth.h:89:8: warning: type defaults to 'int' in declaration of 'auth_debug_mode' [-Wimplicit-int] extern auth_debug_mode; ^~~~~~~~~~~~~~~ In file included from srp.c:50:0: auth.h:89:8: warning: type defaults to 'int' in declaration of 'auth_debug_mode' [-Wimplicit-int] extern auth_debug_mode; ^~~~~~~~~~~~~~~ encrypt.c:363:5: warning: implicit declaration of function 'EncryptStopInput'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] EncryptStopInput(); ^~~~~~~~~~~~~~~~ encrypt_output auth.c: In function 'auth_enable': auth.c:299:9: warning: implicit declaration of function 'auth_onoff'; did you mean 'auth_init'? [-Wimplicit-function-declaration] return(auth_onoff(type, 1)); ^~~~~~~~~~ auth_init srp.c:55:8: warning: type defaults to 'int' in declaration of 'auth_debug_mode' [-Wimplicit-int] extern auth_debug_mode; ^~~~~~~~~~~~~~~ auth.c: In function 'auth_request': auth.c:418:3: warning: implicit declaration of function 'printsub'; did you mean 'printd'? [-Wimplicit-function-declaration] printsub('>', &str_request[2], e - str_request - 2); ^~~~~~~~ printd srp.c: In function 'Data': srp.c:123:3: warning: implicit declaration of function 'printsub'; did you mean 'printd'? [-Wimplicit-function-declaration] printsub('>', &str_data[2], p - (&str_data[2])); ^~~~~~~~ printd encrypt.c:370:5: warning: implicit declaration of function 'EncryptStopOutput'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] EncryptStopOutput(); ^~~~~~~~~~~~~~~~~ encrypt_output encrypt.c:376:4: warning: incompatible implicit declaration of built-in function 'printf' printf("%s: invalid encryption mode\n", mode); ^~~~~~ encrypt.c:376:4: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'EncryptEnable': encrypt.c:390:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Usage: encrypt enable [input|output]\n"); ^~~~~~ encrypt.c:390:3: note: include '' or provide a declaration of 'printf' encrypt.c:394:3: warning: incompatible implicit declaration of built-in function 'printf' printf("%s: invalid encryption type\n", type); ^~~~~~ encrypt.c:394:3: note: include '' or provide a declaration of 'printf' encrypt.c:396:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Ambiguous type '%s'\n", type); ^~~~~~ encrypt.c:396:3: note: include '' or provide a declaration of 'printf' encrypt.c:411:4: warning: incompatible implicit declaration of built-in function 'printf' printf("%s: invalid encryption mode\n", mode); ^~~~~~ encrypt.c:411:4: note: include '' or provide a declaration of 'printf' srp.c: In function 'srp_send': srp.c:165:5: warning: implicit declaration of function 'read_string' [-Wimplicit-function-declaration] read_string(ubuf, sizeof(ubuf) - 1, ""); ^~~~~~~~~~~ auth.c: In function 'auth_warn': auth.c:555:6: warning: implicit declaration of function 'read_string' [-Wimplicit-function-declaration] read_string(rbuf, sizeof(rbuf) - 1, "Continue? (Y/N) "); ^~~~~~~~~~~ auth.c:557:8: warning: implicit declaration of function 'clean_exit'; did you mean 'on_exit'? [-Wimplicit-function-declaration] clean_exit(1); ^~~~~~~~~~ on_exit srp.c:171:8: warning: implicit declaration of function 'auth_sendname'; did you mean 'auth_send'? [-Wimplicit-function-declaration] if (!auth_sendname(UserNameRequested, strlen(UserNameRequested))) { ^~~~~~~~~~~~~ auth_send encrypt.c: In function 'EncryptStart': encrypt.c:423:11: warning: implicit declaration of function 'EncryptStartInput'; did you mean 'EncryptStart'? [-Wimplicit-function-declaration] return(EncryptStartInput()); ^~~~~~~~~~~~~~~~~ EncryptStart auth.c: In function 'auth_name': auth.c:628:17: warning: implicit declaration of function 'auth_encrypt_user'; did you mean 'auth_encrypt_reset'? [-Wimplicit-function-declaration] auth_encrypt_user(NULL); ^~~~~~~~~~~~~~~~~ auth_encrypt_reset auth.c: In function 'auth_wait': auth.c:701:2: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] alarm(300); ^~~~~ encrypt.c:425:11: warning: implicit declaration of function 'EncryptStartOutput'; did you mean 'encrypt_start_output'? [-Wimplicit-function-declaration] return(EncryptStartOutput()); ^~~~~~~~~~~~~~~~~~ encrypt_start_output encrypt.c:427:4: warning: incompatible implicit declaration of built-in function 'printf' printf("Usage: encrypt start [input|output]\n"); ^~~~~~ encrypt.c:427:4: note: include '' or provide a declaration of 'printf' encrypt.c:430:3: warning: incompatible implicit declaration of built-in function 'printf' printf("%s: invalid encryption mode 'encrypt start ?' for help\n", mode); ^~~~~~ encrypt.c:430:3: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'EncryptStartInput': encrypt.c:446:13: warning: incompatible implicit declaration of built-in function 'printf' printf("No previous decryption mode, decryption not enabled\r\n"); ^~~~~~ encrypt.c:446:13: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'EncryptStartOutput': encrypt.c:458:13: warning: incompatible implicit declaration of built-in function 'printf' printf("No previous encryption mode, encryption not enabled\r\n"); ^~~~~~ encrypt.c:458:13: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'EncryptStop': encrypt.c:473:4: warning: incompatible implicit declaration of built-in function 'printf' printf("Usage: encrypt stop [input|output]\n"); ^~~~~~ encrypt.c:473:4: note: include '' or provide a declaration of 'printf' encrypt.c:476:3: warning: incompatible implicit declaration of built-in function 'printf' printf("%s: invalid encryption mode 'encrypt stop ?' for help\n", mode); ^~~~~~ encrypt.c:476:3: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'encrypt_display': encrypt.c:502:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Currently encrypting output with %s (%d bits)\r\n", ^~~~~~ encrypt.c:502:3: note: include '' or provide a declaration of 'printf' encrypt.c:505:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Currently decrypting input with %s (%d bits)\r\n", ^~~~~~ encrypt.c:505:3: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'EncryptStatus': encrypt.c:513:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Currently encrypting output with %s (%d bits)\r\n", ^~~~~~ encrypt.c:513:3: note: include '' or provide a declaration of 'printf' encrypt.c:516:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Currently output is clear text.\r\n"); ^~~~~~ encrypt.c:516:3: note: include '' or provide a declaration of 'printf' encrypt.c:521:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Currently decrypting input with %s (%d bits)\r\n", ^~~~~~ encrypt.c:521:3: note: include '' or provide a declaration of 'printf' encrypt.c:524:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Currently input is clear text.\r\n"); ^~~~~~ encrypt.c:524:3: note: include '' or provide a declaration of 'printf' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o krb4encpwd.o krb4encpwd.c encrypt.c: In function 'encrypt_send_support': encrypt.c:565:3: warning: implicit declaration of function 'printsub'; did you mean 'printd'? [-Wimplicit-function-declaration] printsub('>', &str_send[2], str_suplen - 2); ^~~~~~~~ printd encrypt.c: In function 'EncryptDebug': encrypt.c:578:2: warning: incompatible implicit declaration of built-in function 'printf' printf("Encryption debugging %s\r\n", ^~~~~~ encrypt.c:578:2: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'EncryptVerbose': encrypt.c:591:2: warning: incompatible implicit declaration of built-in function 'printf' printf("Encryption %s verbose\r\n", ^~~~~~ encrypt.c:591:2: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'EncryptAutoEnc': encrypt.c:601:2: warning: incompatible implicit declaration of built-in function 'printf' printf("Automatic encryption of output is %s\r\n", ^~~~~~ encrypt.c:601:2: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'EncryptAutoDec': encrypt.c:611:2: warning: incompatible implicit declaration of built-in function 'printf' printf("Automatic decryption of input is %s\r\n", ^~~~~~ encrypt.c:611:2: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'encrypt_support': encrypt.c:636:4: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: He is supporting %s (%d)\r\n", ^~~~~~ encrypt.c:636:4: note: include '' or provide a declaration of 'printf' encrypt.c:640:25: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: He is supporting UNKNOWN (%d)\r\n", ^~~~~~ encrypt.c:640:25: note: include '' or provide a declaration of 'printf' encrypt.c:656:4: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: (*ep->start)() returned %d\r\n", ^~~~~~ encrypt.c:656:4: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'encrypt_is': encrypt.c:681:4: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: Can't find type %s (%d) for initial negotiation\r\n", ^~~~~~ encrypt.c:681:4: note: include '' or provide a declaration of 'printf' encrypt.c:690:4: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: No initial negotiation needed for type %s (%d)\r\n", ^~~~~~ encrypt.c:690:4: note: include '' or provide a declaration of 'printf' encrypt.c:699:4: warning: incompatible implicit declaration of built-in function 'printf' printf("(*ep->is)(%x, %d) returned %s(%d)\n", data, cnt, ^~~~~~ encrypt.c:699:4: note: include '' or provide a declaration of 'printf' encrypt.c:699:23: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] printf("(*ep->is)(%x, %d) returned %s(%d)\n", data, cnt, ~^ %hhn encrypt.c: In function 'encrypt_reply': encrypt.c:725:4: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: Can't find type %s (%d) for initial negotiation\r\n", ^~~~~~ encrypt.c:725:4: note: include '' or provide a declaration of 'printf' encrypt.c:734:4: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: No initial negotiation needed for type %s (%d)\r\n", ^~~~~~ encrypt.c:734:4: note: include '' or provide a declaration of 'printf' encrypt.c:743:4: warning: incompatible implicit declaration of built-in function 'printf' printf("(*ep->reply)(%x, %d) returned %s(%d)\n", ^~~~~~ encrypt.c:743:4: note: include '' or provide a declaration of 'printf' encrypt.c:743:26: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'unsigned char *' [-Wformat=] printf("(*ep->reply)(%x, %d) returned %s(%d)\n", ~^ %hhn encrypt.c:749:3: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: encrypt_reply returned %d\n", Name, ret); ^~~~~~ encrypt.c:749:3: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'encrypt_start': encrypt.c:776:3: warning: incompatible implicit declaration of built-in function 'printf' printf("%s: Warning, Cannot decrypt input stream!!!\r\n", Name); ^~~~~~ encrypt.c:776:3: note: include '' or provide a declaration of 'printf' encrypt.c:784:4: warning: incompatible implicit declaration of built-in function 'printf' printf("[ Input is now decrypted with type %s (%d bits) ]\r\n", ^~~~~~ encrypt.c:784:4: note: include '' or provide a declaration of 'printf' srp.c: In function 'srp_reply': srp.c:574:5: warning: implicit declaration of function 'local_des_read_pw_string' [-Wimplicit-function-declaration] local_des_read_pw_string(user_passwd, sizeof(user_passwd) - 1, "SRP Password: ", 0); ^~~~~~~~~~~~~~~~~~~~~~~~ encrypt.c:788:4: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: Start to decrypt input with type %s\r\n", ^~~~~~ encrypt.c:788:4: note: include '' or provide a declaration of 'printf' encrypt.c:791:3: warning: incompatible implicit declaration of built-in function 'printf' printf("%s: Warning, Cannot decrypt type %s (%d)!!!\r\n", ^~~~~~ encrypt.c:791:3: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'encrypt_end': encrypt.c:839:3: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: Input is back to clear text\r\n", Name); ^~~~~~ encrypt.c:839:3: note: include '' or provide a declaration of 'printf' encrypt.c:841:3: warning: incompatible implicit declaration of built-in function 'printf' printf("[ Input is now clear text ]\r\n"); ^~~~~~ encrypt.c:841:3: note: include '' or provide a declaration of 'printf' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o enc_des.o enc_des.c encrypt.c: In function 'encrypt_enc_keyid': encrypt.c:879:2: warning: implicit declaration of function 'encrypt_keyid'; did you mean 'encrypt_end'? [-Wimplicit-function-declaration] encrypt_keyid(&ki[1], keyid, len); ^~~~~~~~~~~~~ encrypt_end encrypt.c: At top level: encrypt.c:890:1: warning: return type defaults to 'int' [-Wimplicit-int] encrypt_keyid(kp, keyid, len) ^~~~~~~~~~~~~ encrypt.c: In function 'encrypt_keyid': encrypt.c:902:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ encrypt.c:890:1: note: declared here encrypt_keyid(kp, keyid, len) ^~~~~~~~~~~~~ encrypt.c:909:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ encrypt.c:890:1: note: declared here encrypt_keyid(kp, keyid, len) ^~~~~~~~~~~~~ encrypt.c:928:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ encrypt.c:890:1: note: declared here encrypt_keyid(kp, keyid, len) ^~~~~~~~~~~~~ encrypt.c: In function 'encrypt_start_output': encrypt.c:991:4: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: Can't encrypt with type %s (%d)\r\n", ^~~~~~ encrypt.c:991:4: note: include '' or provide a declaration of 'printf' encrypt.c:1004:4: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: Encrypt start: %s (%d) %s\r\n", ^~~~~~ encrypt.c:1004:4: note: include '' or provide a declaration of 'printf' encrypt.c:1033:3: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: Started to encrypt output with type %s\r\n", ^~~~~~ encrypt.c:1033:3: note: include '' or provide a declaration of 'printf' encrypt.c:1036:3: warning: incompatible implicit declaration of built-in function 'printf' printf("[ Output is now encrypted with type %s (%d bits) ]\r\n", ^~~~~~ encrypt.c:1036:3: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'encrypt_send_end': encrypt.c:1056:3: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: Output is back to clear text\r\n", Name); ^~~~~~ encrypt.c:1056:3: note: include '' or provide a declaration of 'printf' encrypt.c:1058:3: warning: incompatible implicit declaration of built-in function 'printf' printf("[ Output is now clear text ]\r\n"); ^~~~~~ encrypt.c:1058:3: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'encrypt_send_request_start': encrypt.c:1078:3: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: Request input to be encrypted\r\n", Name); ^~~~~~ encrypt.c:1078:3: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'encrypt_send_request_end': encrypt.c:1089:3: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: Request input to be clear text\r\n", Name); ^~~~~~ encrypt.c:1089:3: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'encrypt_wait': encrypt.c:1097:3: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: in encrypt_wait\r\n", Name); ^~~~~~ encrypt.c:1097:3: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'decrypt_wait': encrypt.c:1110:3: warning: incompatible implicit declaration of built-in function 'printf' printf(">>>%s: in decrypt_wait\r\n", Name); ^~~~~~ encrypt.c:1110:3: note: include '' or provide a declaration of 'printf' encrypt.c: In function 'encrypt_gen_printsub': encrypt.c:1146:3: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] sprintf(tbuf, " %d", *data); ^~~~~~~ encrypt.c:1146:3: warning: incompatible implicit declaration of built-in function 'sprintf' encrypt.c:1146:3: note: include '' or provide a declaration of 'sprintf' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o enc_des_ede3.o enc_des_ede3.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o enc_cast.o enc_cast.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o cast.o cast.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o read_password.o read_password.c enc_cast.c:72:8: warning: type defaults to 'int' in declaration of 'encrypt_debug_mode' [-Wimplicit-int] extern encrypt_debug_mode; ^~~~~~~~~~~~~~~~~~ enc_cast.c: In function 'cast_fb64_init': enc_cast.c:165:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset((void *)fbp, 0, sizeof(*fbp)); ^~~~~~ enc_cast.c:165:2: warning: incompatible implicit declaration of built-in function 'memset' enc_cast.c:165:2: note: include '' or provide a declaration of 'memset' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o localhost.o localhost.c enc_cast.c: In function 'cast_fb64_start': enc_cast.c:270:3: warning: implicit declaration of function 'printsub'; did you mean 'printd'? [-Wimplicit-function-declaration] printsub('>', &fbp->fb_feed[2], p - &fbp->fb_feed[2]); ^~~~~~~~ printd enc_cast.c: In function 'cast_fb64_reply': enc_cast.c:453:3: warning: incompatible implicit declaration of built-in function 'memset' memset(fbp->temp_feed, 0, sizeof(Block)); ^~~~~~ enc_cast.c:453:3: note: include '' or provide a declaration of 'memset' enc_cast.c: In function 'cast_fb64_session': enc_cast.c:546:4: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] memmove(fbp->temp_feed, key->data + 2 * klen, sizeof(Block)); ^~~~~~~ enc_cast.c:546:4: warning: incompatible implicit declaration of built-in function 'memmove' enc_cast.c:546:4: note: include '' or provide a declaration of 'memmove' enc_cast.c:549:11: warning: implicit declaration of function 't_random'; did you mean 'srandom'? [-Wimplicit-function-declaration] t_random(fbp->temp_feed, sizeof(Block)); ^~~~~~~~ srandom enc_cast.c: In function 'cast_fb64_stream_iv': enc_cast.c:690:2: warning: incompatible implicit declaration of built-in function 'memmove' memmove((void *)stp->str_iv, (void *)seed, sizeof(Block)); ^~~~~~~ enc_cast.c:690:2: note: include '' or provide a declaration of 'memmove' enc_cast.c: In function 'cast_fb64_stream_key': enc_cast.c:709:2: warning: incompatible implicit declaration of built-in function 'memmove' memmove((void *)stp->str_output, (void *)stp->str_iv, sizeof(Block)); ^~~~~~~ enc_cast.c:709:2: note: include '' or provide a declaration of 'memmove' enc_cast.c: In function '_cast_cfb64_encrypt': enc_cast.c:766:4: warning: incompatible implicit declaration of built-in function 'memmove' memmove((void *)stp->str_feed, (void *)b, sizeof(Block)); ^~~~~~~ enc_cast.c:766:4: note: include '' or provide a declaration of 'memmove' enc_cast.c: In function '_cast_cfb64_decrypt': enc_cast.c:816:3: warning: incompatible implicit declaration of built-in function 'memmove' memmove((void *)stp->str_feed, (void *)b, sizeof(Block)); ^~~~~~~ enc_cast.c:816:3: note: include '' or provide a declaration of 'memmove' enc_cast.c: In function '_cast_ofb64_encrypt': enc_cast.c:876:4: warning: incompatible implicit declaration of built-in function 'memmove' memmove((void *)stp->str_feed, (void *)b, sizeof(Block)); ^~~~~~~ enc_cast.c:876:4: note: include '' or provide a declaration of 'memmove' enc_cast.c: In function '_cast_ofb64_decrypt': enc_cast.c:923:3: warning: incompatible implicit declaration of built-in function 'memmove' memmove((void *)stp->str_feed, (void *)b, sizeof(Block)); ^~~~~~~ enc_cast.c:923:3: note: include '' or provide a declaration of 'memmove' enc_des.c:65:8: warning: type defaults to 'int' in declaration of 'encrypt_debug_mode' [-Wimplicit-int] extern encrypt_debug_mode; ^~~~~~~~~~~~~~~~~~ enc_des_ede3.c:68:8: warning: type defaults to 'int' in declaration of 'encrypt_debug_mode' [-Wimplicit-int] extern encrypt_debug_mode; ^~~~~~~~~~~~~~~~~~ enc_des.c: In function 'fb64_start': enc_des.c:235:3: warning: passing argument 1 of 'DES_random_key' from incompatible pointer type [-Wincompatible-pointer-types] des_new_random_key(fbp->temp_feed); ^~~~~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:221:5: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_random_key(DES_cblock *ret); ^~~~~~~~~~~~~~ enc_des.c:241:3: warning: passing argument 1 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(fbp->temp_feed, fbp->temp_feed, ^~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des.c:241:3: warning: passing argument 2 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(fbp->temp_feed, fbp->temp_feed, ^~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des.c:241:3: warning: passing argument 3 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(fbp->temp_feed, fbp->temp_feed, ^~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des_ede3.c: In function 'des3_fb64_init': enc_des_ede3.c:165:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset((void *)fbp, 0, sizeof(*fbp)); ^~~~~~ enc_des_ede3.c:165:2: warning: incompatible implicit declaration of built-in function 'memset' enc_des_ede3.c:165:2: note: include '' or provide a declaration of 'memset' enc_des_ede3.c: In function 'des3_fb64_start': enc_des_ede3.c:241:3: warning: passing argument 1 of 'DES_random_key' from incompatible pointer type [-Wincompatible-pointer-types] des_new_random_key(fbp->temp_feed); ^~~~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:221:5: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_random_key(DES_cblock *ret); ^~~~~~~~~~~~~~ enc_des_ede3.c:244:3: warning: passing argument 1 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(fbp->temp_feed, fbp->temp_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:244:3: warning: passing argument 2 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(fbp->temp_feed, fbp->temp_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:244:3: warning: passing argument 3 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(fbp->temp_feed, fbp->temp_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des.c:254:3: warning: implicit declaration of function 'printsub'; did you mean 'printd'? [-Wimplicit-function-declaration] printsub('>', &fbp->fb_feed[2], p - &fbp->fb_feed[2]); ^~~~~~~~ printd enc_des_ede3.c:244:3: warning: passing argument 4 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(fbp->temp_feed, fbp->temp_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:244:3: warning: passing argument 5 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(fbp->temp_feed, fbp->temp_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:273:3: warning: implicit declaration of function 'printsub'; did you mean 'printd'? [-Wimplicit-function-declaration] printsub('>', &fbp->fb_feed[2], p - &fbp->fb_feed[2]); ^~~~~~~~ printd enc_des.c: In function 'fb64_session': enc_des.c:467:25: warning: passing argument 1 of 'DES_set_odd_parity' from incompatible pointer type [-Wincompatible-pointer-types] des_fixup_key_parity(fbp->krbdes_key); ^~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:222:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_set_odd_parity(DES_cblock *key); ^~~~~~~~~~~~~~~~~~ enc_des.c:475:25: warning: passing argument 1 of 'DES_set_odd_parity' from incompatible pointer type [-Wincompatible-pointer-types] des_fixup_key_parity(fbp->krbdes_key); ^~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:222:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_set_odd_parity(DES_cblock *key); ^~~~~~~~~~~~~~~~~~ enc_des.c:484:3: warning: passing argument 1 of '_ossl_096_des_random_seed' from incompatible pointer type [-Wincompatible-pointer-types] des_random_seed(fbp->krbdes_key); ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/des.h:102:0, from enc_des.c:56: /usr/include/openssl/des_old.h:451:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void _ossl_096_des_random_seed(des_cblock *key); ^~~~~~~~~~~~~~~~~~~~~~~~~ enc_des_ede3.c: In function 'des3_fb64_reply': enc_des.c:496:2: warning: passing argument 1 of 'DES_key_sched' from incompatible pointer type [-Wincompatible-pointer-types] des_key_sched(fbp->krbdes_key, fbp->krbdes_sched); ^~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:231:5: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); ^~~~~~~~~~~~~ enc_des_ede3.c:416:3: warning: incompatible implicit declaration of built-in function 'memset' memset(fbp->temp_feed, 0, sizeof(Block)); ^~~~~~ enc_des_ede3.c:416:3: note: include '' or provide a declaration of 'memset' enc_des.c:496:2: warning: passing argument 2 of 'DES_key_sched' from incompatible pointer type [-Wincompatible-pointer-types] des_key_sched(fbp->krbdes_key, fbp->krbdes_sched); ^~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:231:5: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); ^~~~~~~~~~~~~ enc_des_ede3.c: In function 'des3_fb64_session': enc_des_ede3.c:484:4: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy((void *)fbp->krbdes_key[0], ^~~~~~ enc_des_ede3.c:484:4: warning: incompatible implicit declaration of built-in function 'memcpy' enc_des_ede3.c:484:4: note: include '' or provide a declaration of 'memcpy' enc_des_ede3.c:505:3: warning: passing argument 1 of '_ossl_096_des_random_seed' from incompatible pointer type [-Wincompatible-pointer-types] des_random_seed(fbp->krbdes_key[0]); ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/des.h:102:0, from enc_des_ede3.c:59: /usr/include/openssl/des_old.h:451:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void _ossl_096_des_random_seed(des_cblock *key); ^~~~~~~~~~~~~~~~~~~~~~~~~ enc_des.c: In function 'fb64_stream_iv': enc_des.c:621:2: warning: passing argument 1 of 'DES_key_sched' from incompatible pointer type [-Wincompatible-pointer-types] des_key_sched(stp->str_ikey, stp->str_sched); ^~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:231:5: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); ^~~~~~~~~~~~~ enc_des_ede3.c:519:25: warning: passing argument 1 of 'DES_set_odd_parity' from incompatible pointer type [-Wincompatible-pointer-types] des_fixup_key_parity(fbp->krbdes_key[i]); ^~~ enc_des.c:621:2: warning: passing argument 2 of 'DES_key_sched' from incompatible pointer type [-Wincompatible-pointer-types] des_key_sched(stp->str_ikey, stp->str_sched); ^~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:222:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_set_odd_parity(DES_cblock *key); ^~~~~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:231:5: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); ^~~~~~~~~~~~~ enc_des_ede3.c:526:4: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy((void *)fbp->krbdes_key[0], ^~~~~~ enc_des_ede3.c:526:4: note: include '' or provide a declaration of 'memcpy' enc_des.c: In function 'fb64_stream_key': enc_des.c:636:2: warning: passing argument 1 of 'DES_key_sched' from incompatible pointer type [-Wincompatible-pointer-types] des_key_sched(key, stp->str_sched); ^~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:231:5: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); ^~~~~~~~~~~~~ enc_des.c:636:2: warning: passing argument 2 of 'DES_key_sched' from incompatible pointer type [-Wincompatible-pointer-types] des_key_sched(key, stp->str_sched); ^~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:231:5: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); ^~~~~~~~~~~~~ enc_des.c: In function 'cfb64_encrypt': enc_des.c:683:4: warning: passing argument 1 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(stp->str_output, stp->str_feed, stp->str_sched, 1); ^~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des_ede3.c:569:25: warning: passing argument 1 of 'DES_set_odd_parity' from incompatible pointer type [-Wincompatible-pointer-types] des_fixup_key_parity(fbp->krbdes_key[i]); ^~~ enc_des.c:683:4: warning: passing argument 2 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(stp->str_output, stp->str_feed, stp->str_sched, 1); ^~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:222:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_set_odd_parity(DES_cblock *key); ^~~~~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des.c:683:4: warning: passing argument 3 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(stp->str_output, stp->str_feed, stp->str_sched, 1); ^~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des_ede3.c:578:4: warning: passing argument 1 of 'DES_key_sched' from incompatible pointer type [-Wincompatible-pointer-types] des_key_sched(fbp->krbdes_key[i], fbp->krbdes_sched[i]); ^~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:231:5: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); ^~~~~~~~~~~~~ enc_des_ede3.c:578:4: warning: passing argument 2 of 'DES_key_sched' from incompatible pointer type [-Wincompatible-pointer-types] des_key_sched(fbp->krbdes_key[i], fbp->krbdes_sched[i]); ^~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:231:5: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); ^~~~~~~~~~~~~ enc_des.c: In function 'cfb64_decrypt': enc_des.c:722:3: warning: passing argument 1 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(stp->str_output, stp->str_feed, stp->str_sched, 1); ^~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des.c:722:3: warning: passing argument 2 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(stp->str_output, stp->str_feed, stp->str_sched, 1); ^~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des.c:722:3: warning: passing argument 3 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(stp->str_output, stp->str_feed, stp->str_sched, 1); ^~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des.c: In function 'ofb64_encrypt': enc_des.c:767:4: warning: passing argument 1 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(stp->str_feed, stp->str_feed, stp->str_sched, 1); ^~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des.c:767:4: warning: passing argument 2 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(stp->str_feed, stp->str_feed, stp->str_sched, 1); ^~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des_ede3.c: In function 'des3_fb64_stream_iv': enc_des.c:767:4: warning: passing argument 3 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(stp->str_feed, stp->str_feed, stp->str_sched, 1); ^~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des_ede3.c:700:2: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] memmove((void *)stp->str_iv, (void *)seed, sizeof(Block)); ^~~~~~~ enc_des_ede3.c:700:2: warning: incompatible implicit declaration of built-in function 'memmove' enc_des_ede3.c:700:2: note: include '' or provide a declaration of 'memmove' enc_des.c: In function 'ofb64_decrypt': enc_des_ede3.c:707:4: warning: passing argument 1 of 'DES_key_sched' from incompatible pointer type [-Wincompatible-pointer-types] des_key_sched(stp->str_ikey[i], stp->str_sched[i]); ^~~~~~~~~~~~~ enc_des.c:801:3: warning: passing argument 1 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(stp->str_feed, stp->str_feed, stp->str_sched, 1); ^~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:231:5: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); ^~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des.c:801:3: warning: passing argument 2 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(stp->str_feed, stp->str_feed, stp->str_sched, 1); ^~~~~~~~~~~~~~~ enc_des_ede3.c:707:4: warning: passing argument 2 of 'DES_key_sched' from incompatible pointer type [-Wincompatible-pointer-types] des_key_sched(stp->str_ikey[i], stp->str_sched[i]); ^~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:231:5: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); ^~~~~~~~~~~~~ enc_des.c:801:3: warning: passing argument 3 of 'DES_ecb_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb_encrypt(stp->str_feed, stp->str_feed, stp->str_sched, 1); ^~~~~~~~~~~~~~~ In file included from enc_des.c:56:0: /usr/include/openssl/des.h:152:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~ enc_des_ede3.c: In function 'des3_fb64_stream_key': enc_des_ede3.c:722:4: warning: incompatible implicit declaration of built-in function 'memmove' memmove((void *)stp->str_ikey[i], (void *)key[i], sizeof(Block)); ^~~~~~~ enc_des_ede3.c:722:4: note: include '' or provide a declaration of 'memmove' enc_des_ede3.c:726:4: warning: passing argument 1 of 'DES_key_sched' from incompatible pointer type [-Wincompatible-pointer-types] des_key_sched(key[i], stp->str_sched[i]); ^~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:231:5: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); ^~~~~~~~~~~~~ enc_des_ede3.c:726:4: warning: passing argument 2 of 'DES_key_sched' from incompatible pointer type [-Wincompatible-pointer-types] des_key_sched(key[i], stp->str_sched[i]); ^~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:231:5: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); ^~~~~~~~~~~~~ enc_des_ede3.c:730:2: warning: incompatible implicit declaration of built-in function 'memmove' memmove((void *)stp->str_output, (void *)stp->str_iv, sizeof(Block)); ^~~~~~~ enc_des_ede3.c:730:2: note: include '' or provide a declaration of 'memmove' enc_des_ede3.c: In function 'des3_cfb64_encrypt': enc_des_ede3.c:771:4: warning: passing argument 1 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_output, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:771:4: warning: passing argument 2 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_output, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:771:4: warning: passing argument 3 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_output, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:771:4: warning: passing argument 4 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_output, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:771:4: warning: passing argument 5 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_output, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c: In function 'des3_cfb64_decrypt': enc_des_ede3.c:823:3: warning: passing argument 1 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_output, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:823:3: warning: passing argument 2 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_output, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:823:3: warning: passing argument 3 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_output, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:823:3: warning: passing argument 4 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_output, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:823:3: warning: passing argument 5 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_output, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c: In function 'des3_ofb64_encrypt': enc_des_ede3.c:889:4: warning: passing argument 1 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_feed, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:889:4: warning: passing argument 2 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_feed, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:889:4: warning: passing argument 3 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_feed, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:889:4: warning: passing argument 4 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_feed, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:889:4: warning: passing argument 5 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_feed, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c: In function 'des3_ofb64_decrypt': enc_des_ede3.c:937:3: warning: passing argument 1 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_feed, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:937:3: warning: passing argument 2 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_feed, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:937:3: warning: passing argument 3 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_feed, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:937:3: warning: passing argument 4 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_feed, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ enc_des_ede3.c:937:3: warning: passing argument 5 of 'DES_ecb3_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] des_ecb3_encrypt(stp->str_feed, stp->str_feed, ^~~~~~~~~~~~~~~~ In file included from enc_des_ede3.c:59:0: /usr/include/openssl/des.h:132:6: note: expected 'DES_key_schedule * {aka struct DES_ks *}' but argument is of type 'struct (*)[16]' void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, ^~~~~~~~~~~~~~~~ i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o xmalloc.o xmalloc.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o err.o err.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o __progname.o __progname.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o getent.o getent.c getent.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] getent(cp, name) ^~~~~~ i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c -o parsetos.o parsetos.c parsetos.c: In function 'parsetos': parsetos.c:41:14: warning: implicit declaration of function 'strtol' [-Wimplicit-function-declaration] tos = (int)strtol(name, (char **)NULL, 0); ^~~~~~ rm -f libtelnet.a ar cru libtelnet.a auth.o encrypt.o genget.o misc.o srp.o kerberos4c.o kerberos.o kerberos5.o forward.o spx.o rsaencpwd.o krb4encpwd.o enc_des.o enc_des_ede3.o enc_cast.o cast.o read_password.o localhost.o xmalloc.o err.o __progname.o getent.o parsetos.o ranlib libtelnet.a make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/libtelnet' Making all in telnet make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/telnet' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT authenc.o -MD -MP -MF .deps/authenc.Tpo -c -o authenc.o authenc.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT commands.o -MD -MP -MF .deps/commands.Tpo -c -o commands.o commands.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT network.o -MD -MP -MF .deps/network.Tpo -c -o network.o network.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT ring.o -MD -MP -MF .deps/ring.Tpo -c -o ring.o ring.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT sys_bsd.o -MD -MP -MF .deps/sys_bsd.Tpo -c -o sys_bsd.o sys_bsd.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT telnet.o -MD -MP -MF .deps/telnet.Tpo -c -o telnet.o telnet.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT terminal.o -MD -MP -MF .deps/terminal.Tpo -c -o terminal.o terminal.c In file included from main.c:49:0: ../libtelnet/auth.h:89:8: warning: type defaults to 'int' in declaration of 'auth_debug_mode' [-Wimplicit-int] extern auth_debug_mode; ^~~~~~~~~~~~~~~ In file included from commands.c:64:0: ../libtelnet/auth.h:89:8: warning: type defaults to 'int' in declaration of 'auth_debug_mode' [-Wimplicit-int] extern auth_debug_mode; ^~~~~~~~~~~~~~~ ring.c: In function 'ring_init': ring.c:111:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset((char *)ring, 0, sizeof *ring); ^~~~~~ ring.c:111:5: warning: incompatible implicit declaration of built-in function 'memset' ring.c:111:5: note: include '' or provide a declaration of 'memset' ring.c: In function 'ring_supply_data': ring.c:302:2: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] memmove(ring->supply, buffer, i); ^~~~~~~ ring.c:302:2: warning: incompatible implicit declaration of built-in function 'memmove' ring.c:302:2: note: include '' or provide a declaration of 'memmove' authenc.c: In function 'telnet_spin': authenc.c:85:5: warning: implicit declaration of function 'Scheduler' [-Wimplicit-function-declaration] Scheduler(0); ^~~~~~~~~ main.c: In function 'tninit': main.c:73:5: warning: implicit declaration of function 'init_terminal' [-Wimplicit-function-declaration] init_terminal(); ^~~~~~~~~~~~~ main.c:75:5: warning: implicit declaration of function 'init_network' [-Wimplicit-function-declaration] init_network(); ^~~~~~~~~~~~ main.c:77:5: warning: implicit declaration of function 'init_telnet'; did you mean 'telnet'? [-Wimplicit-function-declaration] init_telnet(); ^~~~~~~~~~~ telnet main.c:79:5: warning: implicit declaration of function 'init_sys'; did you mean 'init_3270'? [-Wimplicit-function-declaration] init_sys(); ^~~~~~~~ init_3270 main.c: In function 'usage': main.c:127:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ main.c:127:2: warning: incompatible implicit declaration of built-in function 'exit' main.c:127:2: note: include '' or provide a declaration of 'exit' main.c: In function 'main': main.c:224:4: warning: implicit declaration of function 'set_escape_char' [-Wimplicit-function-declaration] set_escape_char(optarg); ^~~~~~~~~~~~~~~ main.c:316:4: warning: implicit declaration of function 'encrypt_auto'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_auto(1); ^~~~~~~~~~~~ encrypt_output main.c:317:4: warning: implicit declaration of function 'decrypt_auto'; did you mean 'decrypt_input'? [-Wimplicit-function-declaration] decrypt_auto(1); ^~~~~~~~~~~~ decrypt_input main.c:379:4: warning: implicit declaration of function 'Exit'; did you mean '_Exit'? [-Wimplicit-function-declaration] Exit(0); ^~~~ _Exit main.c:380:7: warning: implicit declaration of function 'tn' [-Wimplicit-function-declaration] if (tn(argp - args, args) == 1) ^~ telnet.c: In function 'reset_telnet': telnet.c:218:5: warning: implicit declaration of function 'auth_encrypt_connect'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] auth_encrypt_connect(connected); ^~~~~~~~~~~~~~~~~~~~ encrypt_output telnet.c: In function 'init_telnet': telnet.c:241:5: warning: implicit declaration of function 'env_init'; did you mean 'tls_init'? [-Wimplicit-function-declaration] env_init(); ^~~~~~~~ tls_init telnet.c: In function 'willoption': telnet.c:467:3: warning: implicit declaration of function 'encrypt_send_support'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_send_support(); ^~~~~~~~~~~~~~~~~~~~ encrypt_output telnet.c: In function 'dontoption': telnet.c:734:3: warning: implicit declaration of function 'auth_warn' [-Wimplicit-function-declaration] auth_warn(); ^~~~~~~~~ mv -f .deps/authenc.Tpo .deps/authenc.Po telnet.c: In function 'mklist': telnet.c:808:13: warning: implicit declaration of function 'is_unique' [-Wimplicit-function-declaration] else if (is_unique(cp2, argv+1, argvp)) ^~~~~~~~~ i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tn3270.o -MD -MP -MF .deps/tn3270.Tpo -c -o tn3270.o tn3270.c telnet.c: In function 't_setupterm': telnet.c:911:10: warning: implicit declaration of function 'setupterm'; did you mean 't_setupterm'? [-Wimplicit-function-declaration] return setupterm(tname, fd, errp); ^~~~~~~~~ t_setupterm sys_bsd.c: In function 'TerminalSpecialChars': sys_bsd.c:219:6: warning: implicit declaration of function 'sendabort'; did you mean 'sendbrk'? [-Wimplicit-function-declaration] sendabort(); ^~~~~~~~~ sendbrk sys_bsd.c:223:6: warning: implicit declaration of function 'sendeof'; did you mean 'sendto'? [-Wimplicit-function-declaration] sendeof(); ^~~~~~~ sendto sys_bsd.c:228:2: warning: implicit declaration of function 'sendsusp'; did you mean 'sendmsg'? [-Wimplicit-function-declaration] sendsusp(); ^~~~~~~~ sendmsg commands.c:158:8: warning: type defaults to 'int' in declaration of 'call' [-Wimplicit-int] static call __P((intrtn_t, ...)); ^~~~ telnet.c: In function 'suboption': telnet.c:1011:3: warning: implicit declaration of function 'auth_encrypt_reset' [-Wimplicit-function-declaration] auth_encrypt_reset(); /* Forget auth/encrypt state */ ^~~~~~~~~~~~~~~~~~ commands.c: In function 'sendcmd': commands.c:423:13: warning: implicit declaration of function 'quit'; did you mean 'exit'? [-Wimplicit-function-declaration] (void) quit(); ^~~~ exit terminal.c: In function 'init_terminal': terminal.c:99:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ terminal.c:99:2: warning: incompatible implicit declaration of built-in function 'exit' terminal.c:99:2: note: include '' or provide a declaration of 'exit' terminal.c:102:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ terminal.c:102:2: note: include '' or provide a declaration of 'exit' commands.c: In function 'send_docmd': commands.c:450:12: warning: implicit declaration of function 'send_tncmd'; did you mean 'send_docmd'? [-Wimplicit-function-declaration] return(send_tncmd(send_do, "do", name)); ^~~~~~~~~~ send_docmd commands.c: In function 'togdebug': commands.c:565:3: warning: implicit declaration of function 'SetSockOpt'; did you mean 'setsockopt'? [-Wimplicit-function-declaration] (SetSockOpt(net, SOL_SOCKET, SO_DEBUG, debug)) < 0) { ^~~~~~~~~~ setsockopt terminal.c:104:17: warning: implicit declaration of function 'TerminalAutoFlush' [-Wimplicit-function-declaration] autoflush = TerminalAutoFlush(); ^~~~~~~~~~~~~~~~~ telnet.c:1052:22: warning: implicit declaration of function 'fwdx_send_xauth_to_xserver' [-Wimplicit-function-declaration] rc = fwdx_send_xauth_to_xserver(channel,subpointer + 2, ^~~~~~~~~~~~~~~~~~~~~~~~~~ sys_bsd.c: In function 'TerminalNewMode': sys_bsd.c:444:11: warning: implicit declaration of function 'ttyflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] old = ttyflush(SYNCHing|flushout); ^~~~~~~~ tcflush sys_bsd.c:697:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] (void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1))); ^ In file included from sys_bsd.c:58:0: /usr/include/signal.h:173:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~~~ sys_bsd.c:697:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] (void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1))); ^ In file included from sys_bsd.c:58:0: /usr/include/signal.h:170:12: note: declared here extern int sigblock (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~ commands.c: In function 'togbinary': commands.c:625:6: warning: implicit declaration of function 'tel_leave_binary'; did you mean 'tel_enter_binary'? [-Wimplicit-function-declaration] tel_leave_binary(3); ^~~~~~~~~~~~~~~~ tel_enter_binary network.c: In function 'init_network': network.c:75:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ network.c:75:2: warning: incompatible implicit declaration of built-in function 'exit' network.c:75:2: note: include '' or provide a declaration of 'exit' network.c:78:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ network.c:78:2: note: include '' or provide a declaration of 'exit' network.c: In function 'stilloob': network.c:104:9: warning: implicit declaration of function 'quit' [-Wimplicit-function-declaration] (void) quit(); ^~~~ telnet.c:1093:6: warning: implicit declaration of function 'TerminalSpeeds'; did you mean 'TerminalNewMode'? [-Wimplicit-function-declaration] TerminalSpeeds(&ispeed, &ospeed); ^~~~~~~~~~~~~~ TerminalNewMode telnet.c:1096:18: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=] "%c%c%c%c%d,%d%c%c", IAC, SB, TELOPT_TSPEED, ~^ %ld telnet.c:1096:21: warning: format '%d' expects argument of type 'int', but argument 9 has type 'long int' [-Wformat=] "%c%c%c%c%d,%d%c%c", IAC, SB, TELOPT_TSPEED, ~^ %ld network.c: In function 'netflush': network.c:155:7: warning: implicit declaration of function 'ring_at_mark'; did you mean 'ring_mark'? [-Wimplicit-function-declaration] if (!ring_at_mark(&netoring)) { ^~~~~~~~~~~~ ring_mark commands.c: In function 'tel_setmode': commands.c:1234:1: warning: type of 'bit' defaults to 'int' [-Wimplicit-int] tel_setmode(bit) ^~~~~~~~~~~ sys_bsd.c: In function 'susp': commands.c: In function 'tel_clearmode': sys_bsd.c:939:40: warning: implicit declaration of function 'rlogin_susp' [-Wimplicit-function-declaration] if ((rlogin != _POSIX_VDISABLE) && rlogin_susp()) ^~~~~~~~~~~ commands.c:1240:1: warning: type of 'bit' defaults to 'int' [-Wimplicit-int] tel_clearmode(bit) ^~~~~~~~~~~~~ telnet.c:1225:4: warning: implicit declaration of function 'auth_is' [-Wimplicit-function-declaration] auth_is(subpointer, SB_LEN()); ^~~~~~~ network.c:173:12: warning: implicit declaration of function 'NetClose'; did you mean 'netflush'? [-Wimplicit-function-declaration] (void)NetClose(net); ^~~~~~~~ netflush sys_bsd.c: In function 'sys_telnet_init': sys_bsd.c:1000:9: warning: implicit declaration of function 'SetSockOpt'; did you mean 'setsockopt'? [-Wimplicit-function-declaration] if (SetSockOpt(net, SOL_SOCKET, SO_OOBINLINE, 1) == -1) { ^~~~~~~~~~ setsockopt sys_bsd.c: In function 'process_rings': sys_bsd.c:1018:1: warning: type of 'netin' defaults to 'int' [-Wimplicit-int] process_rings(netin, netout, netex, ttyin, ttyout, poll) ^~~~~~~~~~~~~ sys_bsd.c:1018:1: warning: type of 'netout' defaults to 'int' [-Wimplicit-int] sys_bsd.c:1018:1: warning: type of 'netex' defaults to 'int' [-Wimplicit-int] sys_bsd.c:1018:1: warning: type of 'ttyin' defaults to 'int' [-Wimplicit-int] sys_bsd.c:1018:1: warning: type of 'ttyout' defaults to 'int' [-Wimplicit-int] telnet.c:1237:4: warning: implicit declaration of function 'auth_send'; did you mean 'tls_send'? [-Wimplicit-function-declaration] auth_send(subpointer, SB_LEN()); ^~~~~~~~~ tls_send terminal.c: In function 'ttyflush': commands.c: In function 'display': terminal.c:131:10: warning: implicit declaration of function 'TerminalWrite'; did you mean 'TerminalNewMode'? [-Wimplicit-function-declaration] n = TerminalWrite(ttyoring.consume, n); ^~~~~~~~~~~~~ TerminalNewMode commands.c:1390:6: warning: implicit declaration of function 'optionstatus'; did you mean 'get_status'? [-Wimplicit-function-declaration] /*@*/optionstatus(); ^~~~~~~~~~~~ get_status telnet.c:1242:4: warning: implicit declaration of function 'auth_reply' [-Wimplicit-function-declaration] auth_reply(subpointer, SB_LEN()); ^~~~~~~~~~ mv -f .deps/main.Tpo .deps/main.Po telnet.c:1247:4: warning: implicit declaration of function 'auth_name' [-Wimplicit-function-declaration] auth_name(subpointer, SB_LEN()); ^~~~~~~~~ commands.c:1392:5: warning: implicit declaration of function 'EncryptStatus'; did you mean 'EncryptDebug'? [-Wimplicit-function-declaration] EncryptStatus(); ^~~~~~~~~~~~~ EncryptDebug telnet.c:1261:4: warning: implicit declaration of function 'encrypt_start'; did you mean 'env_opt_start'? [-Wimplicit-function-declaration] encrypt_start(subpointer, SB_LEN()); ^~~~~~~~~~~~~ env_opt_start i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT utilities.o -MD -MP -MF .deps/utilities.Tpo -c -o utilities.o utilities.c telnet.c:1266:4: warning: implicit declaration of function 'encrypt_end'; did you mean 'env_opt_end'? [-Wimplicit-function-declaration] encrypt_end(); ^~~~~~~~~~~ env_opt_end sys_bsd.c:1264:17: warning: implicit declaration of function 'netflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] returnValue |= netflush(); ^~~~~~~~ tcflush telnet.c:1271:4: warning: implicit declaration of function 'encrypt_support'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_support(subpointer, SB_LEN()); ^~~~~~~~~~~~~~~ encrypt_output commands.c: In function 'suspend': commands.c:1454:9: warning: implicit declaration of function 'TerminalWindowSize'; did you mean 'TerminalNewMode'? [-Wimplicit-function-declaration] err = (TerminalWindowSize(&oldrows, &oldcols) == 0) ? 1 : 0; ^~~~~~~~~~~~~~~~~~ TerminalNewMode commands.c: In function 'shell': commands.c:1487:12: warning: implicit declaration of function 'vfork' [-Wimplicit-function-declaration] switch(vfork()) { ^~~~~ commands.c:1510:3: warning: implicit declaration of function 'execl' [-Wimplicit-function-declaration] execl(shellp, shellname, "-c", &saveline[1], 0); ^~~~~ commands.c:1510:3: warning: incompatible implicit declaration of built-in function 'execl' commands.c:1510:3: warning: missing sentinel in function call [-Wformat=] commands.c:1512:3: warning: incompatible implicit declaration of built-in function 'execl' execl(shellp, shellname, 0); ^~~~~ commands.c:1512:3: warning: missing sentinel in function call [-Wformat=] commands.c:1514:6: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(1); ^~~~~ commands.c:1514:6: warning: incompatible implicit declaration of built-in function '_exit' commands.c:1517:12: warning: implicit declaration of function 'wait'; did you mean 'exit'? [-Wimplicit-function-declaration] (void)wait((int *)0); /* Wait for the shell to complete */ ^~~~ exit terminal.c: In function 'setconnmode': terminal.c:228:6: warning: implicit declaration of function 'encrypt_request_start'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_request_start(0, 0); ^~~~~~~~~~~~~~~~~~~~~ encrypt_output commands.c: In function 'bye': commands.c:1549:9: warning: implicit declaration of function 'NetClose'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) NetClose(net); ^~~~~~~~ pclose telnet.c:1276:4: warning: implicit declaration of function 'encrypt_request_start'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_request_start(subpointer, SB_LEN()); ^~~~~~~~~~~~~~~~~~~~~ encrypt_output mv -f .deps/tn3270.Tpo .deps/tn3270.Po terminal.c:233:6: warning: implicit declaration of function 'encrypt_request_end'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_request_end(); ^~~~~~~~~~~~~~~~~~~ encrypt_output i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT Xauth.o -MD -MP -MF .deps/Xauth.Tpo -c -o Xauth.o Xauth.c commands.c:1553:2: warning: implicit declaration of function 'auth_encrypt_connect'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] auth_encrypt_connect(connected); ^~~~~~~~~~~~~~~~~~~~ encrypt_output commands.c: In function 'quit': commands.c:1580:2: warning: implicit declaration of function 'Exit'; did you mean 'exit'? [-Wimplicit-function-declaration] Exit(0); ^~~~ exit telnet.c:1287:4: warning: implicit declaration of function 'encrypt_request_end'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_request_end(); ^~~~~~~~~~~~~~~~~~~ encrypt_output telnet.c:1292:4: warning: implicit declaration of function 'encrypt_is' [-Wimplicit-function-declaration] encrypt_is(subpointer, SB_LEN()); ^~~~~~~~~~ commands.c: In function 'logout': commands.c:1589:9: warning: implicit declaration of function 'netflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] (void) netflush(); ^~~~~~~~ tcflush telnet.c:1297:4: warning: implicit declaration of function 'encrypt_reply'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_reply(subpointer, SB_LEN()); ^~~~~~~~~~~~~ encrypt_output mv -f .deps/ring.Tpo .deps/ring.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT XdmAuth.o -MD -MP -MF .deps/XdmAuth.Tpo -c -o XdmAuth.o XdmAuth.c commands.c: In function 'env_define': commands.c:1876:20: warning: implicit declaration of function 'opt_welldefined'; did you mean '__timeval_defined'? [-Wimplicit-function-declaration] ep->welldefined = opt_welldefined(var); ^~~~~~~~~~~~~~~ __timeval_defined commands.c: In function 'env_default': commands.c:1960:1: warning: type of 'welldefined' defaults to 'int' [-Wimplicit-int] env_default(init, welldefined) ^~~~~~~~~~~ telnet.c:1302:4: warning: implicit declaration of function 'encrypt_enc_keyid' [-Wimplicit-function-declaration] encrypt_enc_keyid(subpointer, SB_LEN()); ^~~~~~~~~~~~~~~~~ commands.c: In function 'status': commands.c:2490:17: warning: implicit declaration of function 'getconnmode'; did you mean 'setconnmode'? [-Wimplicit-function-declaration] int mode = getconnmode(); ^~~~~~~~~~~ setconnmode telnet.c:1307:4: warning: implicit declaration of function 'encrypt_dec_keyid' [-Wimplicit-function-declaration] encrypt_dec_keyid(subpointer, SB_LEN()); ^~~~~~~~~~~~~~~~~ commands.c:2511:6: warning: implicit declaration of function 'encrypt_display'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_display(); ^~~~~~~~~~~~~~~ encrypt_output commands.c: In function 'tn': commands.c:2600:2: warning: implicit declaration of function 'setuid'; did you mean 'setcmd'? [-Wimplicit-function-declaration] setuid(getuid()); ^~~~~~ setcmd commands.c:2600:9: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] setuid(getuid()); ^~~~~~ getpwuid commands.c:2881:5: warning: implicit declaration of function 'cmdrc' [-Wimplicit-function-declaration] cmdrc(hostp, hostname); ^~~~~ utilities.c: In function 'SetSockOpt': utilities.c:104:12: warning: implicit declaration of function 'setsockopt'; did you mean 'SetSockOpt'? [-Wimplicit-function-declaration] return setsockopt(fd, level, option, ^~~~~~~~~~ SetSockOpt telnet.c: In function 'slc_export': telnet.c:1563:5: warning: implicit declaration of function 'TerminalDefaultChars'; did you mean 'TerminalSaveState'? [-Wimplicit-function-declaration] TerminalDefaultChars(); ^~~~~~~~~~~~~~~~~~~~ TerminalSaveState utilities.c: In function 'Dump': utilities.c:152:12: warning: type defaults to 'int' in declaration of 'pettydump' [-Wimplicit-int] extern pettydump; ^~~~~~~~~ mv -f .deps/network.Tpo .deps/network.Po commands.c:2918:5: warning: implicit declaration of function 'ExitString' [-Wimplicit-function-declaration] ExitString("Connection closed by foreign host.\r\n",1); ^~~~~~~~~~ commands.c: In function 'cmdrc': commands.c:3189:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ commands.c:3178:1: note: declared here cmdrc(m1, m2) ^~~~~ commands.c:3209:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ commands.c:3178:1: note: declared here cmdrc(m1, m2) ^~~~~ telnet.c: In function 'env_opt_add': telnet.c:1916:6: warning: implicit declaration of function 'opt_welldefined'; did you mean '__timeval_defined'? [-Wimplicit-function-declaration] if (opt_welldefined(ep)) ^~~~~~~~~~~~~~~ __timeval_defined telnet.c: In function 'telrcv': telnet.c:2140:10: warning: implicit declaration of function 'ttyflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] (void) ttyflush(1); ^~~~~~~~ tcflush utilities.c: In function 'printsub': utilities.c:524:3: warning: implicit declaration of function 'auth_printsub'; did you mean 'printsub'? [-Wimplicit-function-declaration] auth_printsub(&pointer[1], length - 1, buf, sizeof(buf)); ^~~~~~~~~~~~~ printsub telnet.c:2141:14: warning: implicit declaration of function 'stilloob'; did you mean 'ftello'? [-Wimplicit-function-declaration] SYNCHing = stilloob(); ^~~~~~~~ ftello commands.c: In function 'tn': commands.c:2606:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(&line[strlen(line)], sizeof(line) - strlen(line), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utilities.c:612:3: warning: implicit declaration of function 'encrypt_printsub'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_printsub(&pointer[1], length - 1, buf, sizeof(buf)); ^~~~~~~~~~~~~~~~ encrypt_output commands.c: In function 'setescape': commands.c:1422:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(buf, sizeof(buf), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utilities.c: In function 'EmptyTerminal': utilities.c:972:13: warning: implicit declaration of function 'ttyflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] (void) ttyflush(0); ^~~~~~~~ tcflush telnet.c: In function 'telsnd': telnet.c:2418:10: warning: implicit declaration of function 'TerminalSpecialChars'; did you mean 'TerminalSaveState'? [-Wimplicit-function-declaration] if (TerminalSpecialChars(sc) == 0) { ^~~~~~~~~~~~~~~~~~~~ TerminalSaveState utilities.c: In function 'SetForExit': utilities.c:992:8: warning: implicit declaration of function 'telrcv'; did you mean 'telnet'? [-Wimplicit-function-declaration] (void)telrcv(); /* Process any incoming data */ ^~~~~~ telnet telnet.c: In function 'announce_my_options': telnet.c:2589:21: warning: implicit declaration of function 'telnet_spin'; did you mean 'telnet'? [-Wimplicit-function-declaration] telnet_spin(); ^~~~~~~~~~~ telnet telnet.c:2597:21: warning: implicit declaration of function 'auth_wait' [-Wimplicit-function-declaration] auth_wait(NULL); ^~~~~~~~~ mv -f .deps/terminal.Tpo .deps/terminal.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT fwdxutil.o -MD -MP -MF .deps/fwdxutil.Tpo -c -o fwdxutil.o fwdxutil.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT parsedpy.o -MD -MP -MF .deps/parsedpy.Tpo -c -o parsedpy.o parsedpy.c telnet.c:2605:36: warning: implicit declaration of function 'auth_must_encrypt' [-Wimplicit-function-declaration] wantencryption || auth_must_encrypt()) { ^~~~~~~~~~~~~~~~~ telnet.c:2606:34: warning: implicit declaration of function 'time'; did you mean 'utimes'? [-Wimplicit-function-declaration] time_t timeout = time(0) + 60; ^~~~ utimes telnet.c:2623:25: warning: implicit declaration of function 'Exit'; did you mean 'exit'? [-Wimplicit-function-declaration] Exit(1); ^~~~ exit telnet.c:2636:25: warning: implicit declaration of function 'encrypt_is_encrypting' [-Wimplicit-function-declaration] if (encrypt_is_encrypting()) ^~~~~~~~~~~~~~~~~~~~~ telnet.c:2649:41: warning: implicit declaration of function 'getconnmode'; did you mean 'setconnmode'? [-Wimplicit-function-declaration] TerminalNewMode(getconnmode()|MODE_TRAPSIG); ^~~~~~~~~~~ setconnmode telnet.c: In function 'telnet': telnet.c:2718:2: warning: implicit declaration of function 'auth_encrypt_init'; did you mean 'decrypt_input'? [-Wimplicit-function-declaration] auth_encrypt_init(local_host, hostname, "TELNET", 0); ^~~~~~~~~~~~~~~~~ decrypt_input telnet.c:2719:2: warning: implicit declaration of function 'auth_encrypt_user' [-Wimplicit-function-declaration] auth_encrypt_user(user, explicit); ^~~~~~~~~~~~~~~~~ telnet.c: In function 'sendnaws': telnet.c:3052:9: warning: implicit declaration of function 'TerminalWindowSize'; did you mean 'TerminalNewMode'? [-Wimplicit-function-declaration] if (TerminalWindowSize(&rows, &cols) == 0) { /* Failed */ ^~~~~~~~~~~~~~~~~~ TerminalNewMode fwdxutil.c: In function 'fwdx_send_xauth_to_xserver': fwdxutil.c:611:17: warning: implicit declaration of function 'time'; did you mean 'utimes'? [-Wimplicit-function-declaration] time_now = time(NULL); ^~~~ utimes mv -f .deps/Xauth.Tpo .deps/Xauth.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tlsutil.o -MD -MP -MF .deps/tlsutil.Tpo -c -o tlsutil.o tlsutil.c mv -f .deps/parsedpy.Tpo .deps/parsedpy.Po mv -f .deps/sys_bsd.Tpo .deps/sys_bsd.Po mv -f .deps/XdmAuth.Tpo .deps/XdmAuth.Po tlsutil.c: In function 'tls_get_method': tlsutil.c:138:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ssl_meth = SSLv23_client_method(); ^ tlsutil.c: In function 'read_char': tlsutil.c:367:5: warning: implicit declaration of function 'read_string'; did you mean 'hex_to_string'? [-Wimplicit-function-declaration] read_string(inl, sizeof(inl), ""); ^~~~~~~~~~~ hex_to_string tlsutil.c: In function 'debug_callback': tlsutil.c:576:32: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'BIO * {aka struct bio_st *}' [-Wformat=] BIO_printf(out,"read from %08X [%08lX] (%d bytes => %ld (0x%X))\n", ~~~^ tlsutil.c:576:39: warning: format '%lX' expects argument of type 'long unsigned int', but argument 4 has type 'const char *' [-Wformat=] BIO_printf(out,"read from %08X [%08lX] (%d bytes => %ld (0x%X))\n", ~~~~^ %08s tlsutil.c:576:63: warning: format '%X' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] BIO_printf(out,"read from %08X [%08lX] (%d bytes => %ld (0x%X))\n", ~^ %lX tlsutil.c:583:31: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'BIO * {aka struct bio_st *}' [-Wformat=] BIO_printf(out,"write to %08X [%08lX] (%d bytes => %ld (0x%X))\n", ~~~^ tlsutil.c:583:38: warning: format '%lX' expects argument of type 'long unsigned int', but argument 4 has type 'const char *' [-Wformat=] BIO_printf(out,"write to %08X [%08lX] (%d bytes => %ld (0x%X))\n", ~~~~^ %08s tlsutil.c:583:62: warning: format '%X' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] BIO_printf(out,"write to %08X [%08lX] (%d bytes => %ld (0x%X))\n", ~^ %lX tlsutil.c: In function 'tls_init': tlsutil.c:854:42: warning: passing argument 2 of 'SSL_CTX_set_info_callback' from incompatible pointer type [-Wincompatible-pointer-types] SSL_CTX_set_info_callback(ssl_ctx, state_debug_callback); ^~~~~~~~~~~~~~~~~~~~ In file included from tlsutil.c:58:0: /usr/include/openssl/ssl.h:1246:6: note: expected 'void (*)(const SSL *, int, int) {aka void (*)(const struct ssl_st *, int, int)}' but argument is of type 'void (*)(SSL *, int, int) {aka void (*)(struct ssl_st *, int, int)}' void SSL_CTX_set_info_callback(SSL_CTX *ctx, ^~~~~~~~~~~~~~~~~~~~~~~~~ tlsutil.c: In function 'tls_try': tlsutil.c:1116:7: warning: implicit declaration of function 'quit'; did you mean 'exit'? [-Wimplicit-function-declaration] quit(); ^~~~ exit tlsutil.c: In function 'tls_protocol': tlsutil.c:1602:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ssl_meth = TLSv1_client_method(); ^ tlsutil.c:1606:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ssl_meth = SSLv3_client_method(); ^ tlsutil.c: In function 'tls_setdebug': tlsutil.c:1658:42: warning: passing argument 2 of 'SSL_CTX_set_info_callback' from incompatible pointer type [-Wincompatible-pointer-types] SSL_CTX_set_info_callback(ssl_ctx, state_debug_callback); ^~~~~~~~~~~~~~~~~~~~ In file included from tlsutil.c:58:0: /usr/include/openssl/ssl.h:1246:6: note: expected 'void (*)(const SSL *, int, int) {aka void (*)(const struct ssl_st *, int, int)}' but argument is of type 'void (*)(SSL *, int, int) {aka void (*)(struct ssl_st *, int, int)}' void SSL_CTX_set_info_callback(SSL_CTX *ctx, ^~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/fwdxutil.Tpo .deps/fwdxutil.Po mv -f .deps/utilities.Tpo .deps/utilities.Po mv -f .deps/tlsutil.Tpo .deps/tlsutil.Po mv -f .deps/commands.Tpo .deps/commands.Po mv -f .deps/telnet.Tpo .deps/telnet.Po /bin/sh ../libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o telnet authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o tn3270.o utilities.o Xauth.o XdmAuth.o fwdxutil.o parsedpy.o tlsutil.o ../libtelnet/libtelnet.a -lssl ../../libsrp/libsrp.la -lcrypto -ltinfo -lutil -lz libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/telnet authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o tn3270.o utilities.o Xauth.o XdmAuth.o fwdxutil.o parsedpy.o tlsutil.o ../libtelnet/libtelnet.a -lssl ../../libsrp/.libs/libsrp.so -lcrypto -ltinfo -lutil -lz make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/telnet' Making all in telnetd make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/telnetd' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT authenc.o -MD -MP -MF .deps/authenc.Tpo -c -o authenc.o authenc.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT global.o -MD -MP -MF .deps/global.Tpo -c -o global.o global.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT slc.o -MD -MP -MF .deps/slc.Tpo -c -o slc.o slc.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT sys_term.o -MD -MP -MF .deps/sys_term.Tpo -c -o sys_term.o sys_term.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT telnetd.o -MD -MP -MF .deps/telnetd.Tpo -c -o telnetd.o telnetd.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT termstat.o -MD -MP -MF .deps/termstat.Tpo -c -o termstat.o termstat.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT utility.o -MD -MP -MF .deps/utility.Tpo -c -o utility.o utility.c In file included from sys_term.c:61:0: ../libtelnet/auth.h:89:8: warning: type defaults to 'int' in declaration of 'auth_debug_mode' [-Wimplicit-int] extern auth_debug_mode; ^~~~~~~~~~~~~~~ In file included from telnetd.c:122:0: ../libtelnet/auth.h:89:8: warning: type defaults to 'int' in declaration of 'auth_debug_mode' [-Wimplicit-int] extern auth_debug_mode; ^~~~~~~~~~~~~~~ telnetd.c: In function 'main': telnetd.c:236:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ sys_term.c: In function 'getpty': sys_term.c:554:3: warning: implicit declaration of function 'grantpt' [-Wimplicit-function-declaration] grantpt(p); ^~~~~~~ In file included from state.c:49:0: ../libtelnet/auth.h:89:8: warning: type defaults to 'int' in declaration of 'auth_debug_mode' [-Wimplicit-int] extern auth_debug_mode; ^~~~~~~~~~~~~~~ mv -f .deps/global.Tpo .deps/global.Po sys_term.c:555:3: warning: implicit declaration of function 'unlockpt'; did you mean 'unlinkat'? [-Wimplicit-function-declaration] unlockpt(p); ^~~~~~~~ unlinkat telnetd.c:638:7: warning: implicit declaration of function 'clean_exit'; did you mean 'on_exit'? [-Wimplicit-function-declaration] clean_exit(1); ^~~~~~~~~~ on_exit telnetd.c:775:9: warning: implicit declaration of function 'doit'; did you mean 'div'? [-Wimplicit-function-declaration] doit(&from); ^~~~ div sys_term.c: In function 'getptyslave': sys_term.c:1190:6: warning: implicit declaration of function 'cleanopen'; did you mean 'cleanup'? [-Wimplicit-function-declaration] t = cleanopen(line); ^~~~~~~~~ cleanup state.c: In function 'telrcv': state.c:419:4: warning: implicit declaration of function 'clean_exit'; did you mean 'on_exit'? [-Wimplicit-function-declaration] clean_exit(1); ^~~~~~~~~~ on_exit telnetd.c: In function 'getterminaltype': telnetd.c:935:13: warning: implicit declaration of function 'encrypt_wait'; did you mean 'encrypt_failure'? [-Wimplicit-function-declaration] encrypt_wait(); ^~~~~~~~~~~~ encrypt_failure i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT Xauth.o -MD -MP -MF .deps/Xauth.Tpo -c -o Xauth.o Xauth.c telnetd.c:938:13: warning: implicit declaration of function 'decrypt_wait'; did you mean 'decrypt_input'? [-Wimplicit-function-declaration] decrypt_wait(); ^~~~~~~~~~~~ decrypt_input sys_term.c: In function 'startslave': sys_term.c:1516:7: warning: implicit declaration of function 'probe_uid_needed' [-Wimplicit-function-declaration] if(probe_uid_needed()) ^~~~~~~~~~~~~~~~ state.c: In function 'dooption': state.c:1030:24: warning: implicit declaration of function 'encrypt_is_encrypting'; did you mean 'encrypt_send_support'? [-Wimplicit-function-declaration] if (fwdx_sbdata && encrypt_is_encrypting()) ^~~~~~~~~~~~~~~~~~~~~ encrypt_send_support telnetd.c:950:21: warning: implicit declaration of function 'encrypt_is_encrypting' [-Wimplicit-function-declaration] while (!encrypt_is_encrypting()) { ^~~~~~~~~~~~~~~~~~~~~ mv -f .deps/slc.Tpo .deps/slc.Po state.c: In function 'suboption': state.c:1598:7: warning: implicit declaration of function 'auth_name'; did you mean 'auth_wait'? [-Wimplicit-function-declaration] auth_name(subpointer, SB_LEN()); ^~~~~~~~~ auth_wait sys_term.c:1517:5: warning: implicit declaration of function 'do_uid_callbacks' [-Wimplicit-function-declaration] do_uid_callbacks(login_uid, login_gid); ^~~~~~~~~~~~~~~~ i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT XdmAuth.o -MD -MP -MF .deps/XdmAuth.Tpo -c -o XdmAuth.o XdmAuth.c sys_term.c: In function 'rmut': sys_term.c:2481:11: warning: type defaults to 'int' in declaration of 'f' [-Wimplicit-int] register f; ^ state.c:1612:3: warning: implicit declaration of function 'encrypt_support'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_support(subpointer, SB_LEN()); ^~~~~~~~~~~~~~~ encrypt_output telnetd.c:958:18: warning: implicit declaration of function 'EncryptStartInput'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] if (!EncryptStartInput()) { ^~~~~~~~~~~~~~~~~ encrypt_output sys_term.c:2507:3: warning: implicit declaration of function 'updwtmpx' [-Wimplicit-function-declaration] updwtmpx(WTMPX_FILE, utxp); ^~~~~~~~ state.c:1615:3: warning: implicit declaration of function 'encrypt_is'; did you mean 'srp_is'? [-Wimplicit-function-declaration] encrypt_is(subpointer, SB_LEN()); ^~~~~~~~~~ srp_is sys_term.c: In function 'cleanopen': sys_term.c:1311:2: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] (void) chown(line, 0, 0); ^~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/authenc.Tpo .deps/authenc.Po sys_term.c: In function 'startslave': sys_term.c:1590:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(syncpipe[1], "\n", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.c:1618:3: warning: implicit declaration of function 'encrypt_reply'; did you mean 'srp_reply'? [-Wimplicit-function-declaration] encrypt_reply(subpointer, SB_LEN()); ^~~~~~~~~~~~~ srp_reply telnetd.c:963:18: warning: implicit declaration of function 'EncryptStartOutput'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] if (!EncryptStartOutput()) { ^~~~~~~~~~~~~~~~~~ encrypt_output state.c:1621:3: warning: implicit declaration of function 'encrypt_start'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_start(subpointer, SB_LEN()); ^~~~~~~~~~~~~ encrypt_output i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT fwdxutil.o -MD -MP -MF .deps/fwdxutil.Tpo -c -o fwdxutil.o fwdxutil.c telnetd.c:1077:42: warning: implicit declaration of function 'terminaltypeok'; did you mean 'getterminaltype'? [-Wimplicit-function-declaration] if (his_state_is_will(TELOPT_TTYPE) && !terminaltypeok(terminaltype)) { ^~~~~~~~~~~~~~ getterminaltype state.c:1624:3: warning: implicit declaration of function 'encrypt_end'; did you mean 'endrpcent'? [-Wimplicit-function-declaration] encrypt_end(); ^~~~~~~~~~~ endrpcent telnetd.c: In function 'terminaltypeok': telnetd.c:1158:8: warning: implicit declaration of function 'setupterm'; did you mean 'setpgrp'? [-Wimplicit-function-declaration] if(setupterm(s, 1, &err) < 0) ^~~~~~~~~ setpgrp telnetd.c: At top level: telnetd.c:1192:1: warning: return type defaults to 'int' [-Wimplicit-int] doit(who) ^~~~ state.c:1627:3: warning: implicit declaration of function 'encrypt_request_start'; did you mean 'encrypt_send_support'? [-Wimplicit-function-declaration] encrypt_request_start(subpointer, SB_LEN()); ^~~~~~~~~~~~~~~~~~~~~ encrypt_send_support telnetd.c: In function 'doit': telnetd.c:1278:2: warning: implicit declaration of function 'auth_encrypt_init'; did you mean 'auth_init'? [-Wimplicit-function-declaration] auth_encrypt_init(hostname, host, "TELNETD", 1); ^~~~~~~~~~~~~~~~~ auth_init telnetd.c:1352:4: warning: implicit declaration of function 'startslave'; did you mean 'start_slave'? [-Wimplicit-function-declaration] startslave(host, AUTH_VALID, user); ^~~~~~~~~~ start_slave telnetd.c: In function 'telnet': telnetd.c:1622:6: warning: implicit declaration of function 'getent'; did you mean 'getenv'? [-Wimplicit-function-declaration] if (getent(defent, "default") == 1) { ^~~~~~ getenv state.c:1636:3: warning: implicit declaration of function 'encrypt_request_end'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_request_end(); ^~~~~~~~~~~~~~~~~~~ encrypt_output state.c:1639:3: warning: implicit declaration of function 'encrypt_enc_keyid'; did you mean 'encrypt_send_support'? [-Wimplicit-function-declaration] encrypt_enc_keyid(subpointer, SB_LEN()); ^~~~~~~~~~~~~~~~~ encrypt_send_support telnetd.c:1640:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(ifd, im_buf, (ist.st_size > MAXIMLEN) ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MAXIMLEN : ist.st_size); ~~~~~~~~~~~~~~~~~~~~~~~ state.c:1642:3: warning: implicit declaration of function 'encrypt_dec_keyid' [-Wimplicit-function-declaration] encrypt_dec_keyid(subpointer, SB_LEN()); ^~~~~~~~~~~~~~~~~ mv -f .deps/termstat.Tpo .deps/termstat.Po utility.c: In function 'ttloop': utility.c:81:2: warning: implicit declaration of function 'clean_exit'; did you mean 'on_exit'? [-Wimplicit-function-declaration] clean_exit(1); ^~~~~~~~~~ on_exit i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT parsedpy.o -MD -MP -MF .deps/parsedpy.Tpo -c -o parsedpy.o parsedpy.c utility.c: In function 'fatal': utility.c:370:3: warning: implicit declaration of function 'encrypt_send_end'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_send_end(); ^~~~~~~~~~~~~~~~ encrypt_output utility.c: In function 'printsub': utility.c:1046:3: warning: implicit declaration of function 'auth_printsub'; did you mean 'printsub'? [-Wimplicit-function-declaration] auth_printsub(&pointer[1], length - 1, buf, sizeof(buf)); ^~~~~~~~~~~~~ printsub utility.c:1141:3: warning: implicit declaration of function 'encrypt_printsub'; did you mean 'encrypt_output'? [-Wimplicit-function-declaration] encrypt_printsub(&pointer[1], length - 1, buf, sizeof(buf)); ^~~~~~~~~~~~~~~~ encrypt_output fwdxutil.c: In function 'fwdx_random': fwdxutil.c:293:5: warning: implicit declaration of function 't_random'; did you mean 'srandom'? [-Wimplicit-function-declaration] t_random((unsigned char *) &rv, sizeof(unsigned int)); ^~~~~~~~ srandom fwdxutil.c: In function 'fwdx_write_xauthfile': fwdxutil.c:535:10: warning: implicit declaration of function 'parse_displayname' [-Wimplicit-function-declaration] if (!parse_displayname(fwdx_display, &family, &host, &dpynum, &scrnum, &rest)) ^~~~~~~~~~~~~~~~~ fwdxutil.c: In function 'fwdx_set_xauthfile_owner': fwdxutil.c:685:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(fwdx_xauthfile, uid, gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fwdxutil.c:688:2: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(fwdx_unix_sock_name, uid, gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fwdxutil.c: In function 'fwdx_send_xauth_error_to_xclient': fwdxutil.c:829:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(socket, msg, msglen); ^~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/Xauth.Tpo .deps/Xauth.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tlsutil.o -MD -MP -MF .deps/tlsutil.Tpo -c -o tlsutil.o tlsutil.c mv -f .deps/parsedpy.Tpo .deps/parsedpy.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libsrp -DTLS_SFC_DIR=\"/var/state/tls_sfc\" -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT x509_to_user.o -MD -MP -MF .deps/x509_to_user.Tpo -c -o x509_to_user.o x509_to_user.c mv -f .deps/XdmAuth.Tpo .deps/XdmAuth.Po mv -f .deps/sys_term.Tpo .deps/sys_term.Po mv -f .deps/x509_to_user.Tpo .deps/x509_to_user.Po tlsutil.c: In function 'seed_PRNG': tlsutil.c:538:9: warning: implicit declaration of function 'RAND_status'; did you mean 'si_status'? [-Wimplicit-function-declaration] if (RAND_status()) ^~~~~~~~~~~ si_status tlsutil.c:551:10: warning: implicit declaration of function 'RAND_load_file'; did you mean 'X509_load_crl_file'? [-Wimplicit-function-declaration] if (!RAND_load_file(rand_file, 1024)) { ^~~~~~~~~~~~~~ X509_load_crl_file tlsutil.c:555:2: warning: implicit declaration of function 'RAND_seed'; did you mean 'RAND_MAX'? [-Wimplicit-function-declaration] RAND_seed(&c, sizeof(c)); ^~~~~~~~~ RAND_MAX tlsutil.c: In function 'tls_cleanup': tlsutil.c:1053:2: warning: implicit declaration of function 'RAND_write_file'; did you mean 'PEM_write_bio'? [-Wimplicit-function-declaration] RAND_write_file(tls_rand_file); ^~~~~~~~~~~~~~~ PEM_write_bio utility.c:817:45: warning: '%s' directive output may be truncated writing up to 4 bytes into a region of size between 1 and 32 [-Wformat-truncation=] snprintf(tbuf, sizeof(tbuf), "%s%s%s%s%s", ^~ In file included from /usr/include/stdio.h:862:0, from defs.h:109, from telnetd.h:37, from utility.c:53: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 36 bytes into a destination of size 32 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/state.Tpo .deps/state.Po mv -f .deps/telnetd.Tpo .deps/telnetd.Po mv -f .deps/fwdxutil.Tpo .deps/fwdxutil.Po mv -f .deps/utility.Tpo .deps/utility.Po mv -f .deps/tlsutil.Tpo .deps/tlsutil.Po /bin/sh ../libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o telnetd authenc.o global.o slc.o state.o sys_term.o telnetd.o termstat.o utility.o Xauth.o XdmAuth.o fwdxutil.o parsedpy.o tlsutil.o x509_to_user.o ../libtelnet/libtelnet.a -lssl ../../libsrp/libsrp.la -lcrypto -ltinfo -lutil -lz libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/telnetd authenc.o global.o slc.o state.o sys_term.o telnetd.o termstat.o utility.o Xauth.o XdmAuth.o fwdxutil.o parsedpy.o tlsutil.o x509_to_user.o ../libtelnet/libtelnet.a -lssl ../../libsrp/.libs/libsrp.so -lcrypto -ltinfo -lutil -lz make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/telnetd' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet' make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet' make[1]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet' Making all in ftp make[1]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp' /usr/bin/make all-recursive make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp' Making all in arpa make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/arpa' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/arpa' Making all in ftp make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/ftp' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cmds.o -MD -MP -MF .deps/cmds.Tpo -c -o cmds.o cmds.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT cmdtab.o -MD -MP -MF .deps/cmdtab.Tpo -c -o cmdtab.o cmdtab.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT domacro.o -MD -MP -MF .deps/domacro.Tpo -c -o domacro.o domacro.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT getpass.o -MD -MP -MF .deps/getpass.Tpo -c -o getpass.o getpass.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT ftp.o -MD -MP -MF .deps/ftp.Tpo -c -o ftp.o ftp.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT pclose.o -MD -MP -MF .deps/pclose.Tpo -c -o pclose.o pclose.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT glob.o -MD -MP -MF .deps/glob.Tpo -c -o glob.o glob.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c getpass.c: In function 'intfix': getpass.c:40:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(SIGINT); ^~~~ getpass.c:40:2: warning: incompatible implicit declaration of built-in function 'exit' getpass.c:40:2: note: include '' or provide a declaration of 'exit' getpass.c: In function 'mygetpass': getpass.c:48:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ In file included from domacro.c:44:0: ftp_var.h:141:8: warning: type defaults to 'int' in declaration of 'command' [-Wimplicit-int] extern command(char *, ...); ^~~~~~~ In file included from main.c:52:0: ftp_var.h:141:8: warning: type defaults to 'int' in declaration of 'command' [-Wimplicit-int] extern command(char *, ...); ^~~~~~~ domacro.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] domacro(argc, argv) ^~~~~~~ domacro.c: In function 'domacro': domacro.c:63:19: warning: implicit declaration of function 'another' [-Wimplicit-function-declaration] if (argc < 2 && !another(&argc, &argv, "macro name")) { ^~~~~~~ domacro.c:66:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ domacro.c:51:1: note: declared here domacro(argc, argv) ^~~~~~~ domacro.c:76:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ domacro.c:51:1: note: declared here domacro(argc, argv) ^~~~~~~ domacro.c:123:3: warning: implicit declaration of function 'makeargv'; did you mean 'makedev'? [-Wimplicit-function-declaration] makeargv(); ^~~~~~~~ makedev In file included from cmdtab.c:43:0: ftp_var.h:141:8: warning: type defaults to 'int' in declaration of 'command' [-Wimplicit-int] extern command(char *, ...); ^~~~~~~ glob.c: In function 'ftpglob': glob.c:226:3: warning: implicit declaration of function 'blkfree'; did you mean 'free'? [-Wimplicit-function-declaration] blkfree(gargv), gargv = 0; ^~~~~~~ free In file included from cmds.c:65:0: ftp_var.h:141:8: warning: type defaults to 'int' in declaration of 'command' [-Wimplicit-int] extern command(char *, ...); ^~~~~~~ main.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ main.c: In function 'main': main.c:84:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] main.c:95:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ main.c:95:3: warning: incompatible implicit declaration of built-in function 'exit' cmds.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] another(pargc, pargv, prompt) ^~~~~~~ main.c:95:3: note: include '' or provide a declaration of 'exit' main.c:127:7: warning: incompatible implicit declaration of built-in function 'exit' exit (1); ^~~~ main.c:127:7: note: include '' or provide a declaration of 'exit' glob.c: In function 'expand': glob.c:295:14: warning: implicit declaration of function 'letter' [-Wimplicit-function-declaration] for (cs++; letter(*cs) || digit(*cs) || *cs == '-';) ^~~~~~ glob.c:295:29: warning: implicit declaration of function 'digit'; did you mean 'ginit'? [-Wimplicit-function-declaration] for (cs++; letter(*cs) || digit(*cs) || *cs == '-';) ^~~~~ ginit cmds.c: In function 'another': cmds.c:123:2: warning: implicit declaration of function 'makeargv'; did you mean 'makedev'? [-Wimplicit-function-declaration] makeargv(); ^~~~~~~~ makedev cmds.c: At top level: cmds.c:134:1: warning: return type defaults to 'int' [-Wimplicit-int] setpeer(argc, argv) ^~~~~~~ cmds.c: In function 'setpeer': cmds.c:145:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:134:1: note: declared here setpeer(argc, argv) ^~~~~~~ glob.c:300:9: warning: implicit declaration of function 'gethdir'; did you mean 'matchdir'? [-Wimplicit-function-declaration] if (gethdir(gpath + 1)) { ^~~~~~~ matchdir cmds.c:152:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:134:1: note: declared here setpeer(argc, argv) ^~~~~~~ glob.c:310:10: warning: implicit declaration of function 'any' [-Wimplicit-function-declaration] while (!any(*cs, globchars)) { ^~~ cmds.c:156:10: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] port = atoi(argv[2]); ^~~~ cmds.c:161:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:134:1: note: declared here setpeer(argc, argv) ^~~~~~~ cmds.c:182:11: warning: implicit declaration of function 'login' [-Wimplicit-function-declaration] (void) login(argv[1]); ^~~~~ glob.c: At top level: glob.c:580:1: warning: return type defaults to 'int' [-Wimplicit-int] Gmatch(s, p) ^~~~~~ glob.c:703:1: warning: return type defaults to 'int' [-Wimplicit-int] tglob(c) ^~~~~ cmds.c:186:5: warning: implicit declaration of function 'setpbsz'; did you mean 'setpeer'? [-Wimplicit-function-declaration] setpbsz(1<<20); ^~~~~~~ setpeer main.c:131:37: warning: implicit declaration of function 'srp_selcipher' [-Wimplicit-function-declaration] if (srp_selcipher (srp_tmp_buf) < 0) exit (1); ^~~~~~~~~~~~~ glob.c:721:1: warning: return type defaults to 'int' [-Wimplicit-int] letter(c) ^~~~~~ main.c:131:70: warning: incompatible implicit declaration of built-in function 'exit' if (srp_selcipher (srp_tmp_buf) < 0) exit (1); ^~~~ main.c:131:70: note: include '' or provide a declaration of 'exit' glob.c:728:1: warning: return type defaults to 'int' [-Wimplicit-int] digit(c) ^~~~~ main.c:145:7: warning: incompatible implicit declaration of built-in function 'exit' exit (1); ^~~~ main.c:145:7: note: include '' or provide a declaration of 'exit' glob.c:735:1: warning: return type defaults to 'int' [-Wimplicit-int] any(c, s) ^~~ glob.c:745:1: warning: return type defaults to 'int' [-Wimplicit-int] blklen(av) ^~~~~~ glob.c:767:1: warning: return type defaults to 'int' [-Wimplicit-int] blkfree(av0) ^~~~~~~ cmds.c: At top level: cmds.c:286:1: warning: return type defaults to 'int' [-Wimplicit-int] setlevel(argc, argv) ^~~~~~~~ cmds.c: In function 'setlevel': cmds.c:286:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] cmds.c:304:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:286:1: note: declared here setlevel(argc, argv) ^~~~~~~~ cmds.c:310:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:286:1: note: declared here setlevel(argc, argv) ^~~~~~~~ glob.c: In function 'strspl': glob.c:785:3: warning: implicit declaration of function 'fatal'; did you mean 'atol'? [-Wimplicit-function-declaration] fatal("Out of memory"); ^~~~~ atol cmds.c:318:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:286:1: note: declared here setlevel(argc, argv) ^~~~~~~~ cmds.c:323:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:286:1: note: declared here setlevel(argc, argv) ^~~~~~~~ glob.c: At top level: glob.c:819:1: warning: return type defaults to 'int' [-Wimplicit-int] gethdir(home) ^~~~~~~ cmds.c: At top level: cmds.c:344:1: warning: return type defaults to 'int' [-Wimplicit-int] setclear() ^~~~~~~~ cmds.c:354:1: warning: return type defaults to 'int' [-Wimplicit-int] setsafe() ^~~~~~~ cmds.c:365:1: warning: return type defaults to 'int' [-Wimplicit-int] setprivate() ^~~~~~~~~~ cmds.c:402:1: warning: return type defaults to 'int' [-Wimplicit-int] settype(argc, argv) ^~~~~~~ cmds.c: In function 'settype': cmds.c:420:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:402:1: note: declared here settype(argc, argv) ^~~~~~~ cmds.c:425:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:402:1: note: declared here settype(argc, argv) ^~~~~~~ cmds.c:433:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:402:1: note: declared here settype(argc, argv) ^~~~~~~ cmds.c: At top level: cmds.c:448:1: warning: return type defaults to 'int' [-Wimplicit-int] changetype(newtype, show) ^~~~~~~~~~ cmds.c: In function 'changetype': cmds.c:457:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:448:1: note: declared here changetype(newtype, show) ^~~~~~~~~~ cmds.c:465:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:448:1: note: declared here changetype(newtype, show) ^~~~~~~~~~ cmds.c: At top level: cmds.c:486:1: warning: return type defaults to 'int' [-Wimplicit-int] setbinary() ^~~~~~~~~ cmds.c:496:1: warning: return type defaults to 'int' [-Wimplicit-int] setascii() ^~~~~~~~ cmds.c:506:1: warning: return type defaults to 'int' [-Wimplicit-int] settenex() ^~~~~~~~ cmds.c:522:1: warning: return type defaults to 'int' [-Wimplicit-int] setmode(argc, argv) ^~~~~~~ cmds.c:541:1: warning: return type defaults to 'int' [-Wimplicit-int] setform(argc, argv) ^~~~~~~ cmds.c:560:1: warning: return type defaults to 'int' [-Wimplicit-int] setstruct(argc, argv) ^~~~~~~~~ main.c:149:37: warning: implicit declaration of function 'srp_selhash' [-Wimplicit-function-declaration] if (srp_selhash (srp_tmp_buf) < 0) exit (1); ^~~~~~~~~~~ main.c:149:68: warning: incompatible implicit declaration of built-in function 'exit' if (srp_selhash (srp_tmp_buf) < 0) exit (1); ^~~~ cmds.c:572:1: warning: return type defaults to 'int' [-Wimplicit-int] put(argc, argv) ^~~ main.c:149:68: note: include '' or provide a declaration of 'exit' main.c:189:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ main.c:189:5: note: include '' or provide a declaration of 'exit' cmds.c: In function 'put': cmds.c:591:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:572:1: note: declared here put(argc, argv) ^~~ In file included from ftp.c:116:0: ftp_var.h:141:8: warning: type defaults to 'int' in declaration of 'command' [-Wimplicit-int] extern command(char *, ...); ^~~~~~~ main.c:194:13: warning: implicit declaration of function 'isatty'; did you mean 'isset'? [-Wimplicit-function-declaration] fromatty = isatty(fileno(stdin)); ^~~~~~ isset main.c:219:4: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ main.c:219:4: note: include '' or provide a declaration of 'exit' cmds.c:595:7: warning: implicit declaration of function 'globulize' [-Wimplicit-function-declaration] if (!globulize(&argv[1])) { ^~~~~~~~~ cmds.c:597:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:572:1: note: declared here put(argc, argv) ^~~ main.c:222:3: warning: implicit declaration of function 'setpeer'; did you mean 'lostpeer'? [-Wimplicit-function-declaration] setpeer(argc + 1, argv - 1); ^~~~~~~ lostpeer ftp.c: In function 'hookup': ftp.c:157:31: warning: implicit declaration of function 'inet_addr'; did you mean 'h_addr'? [-Wimplicit-function-declaration] hisctladdr.sin_addr.s_addr = inet_addr(host); ^~~~~~~~~ h_addr mv -f .deps/cmdtab.Tpo .deps/cmdtab.Po ftp.c:197:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(s); ^~~~~ pclose cmds.c:613:2: warning: implicit declaration of function 'sendrequest'; did you mean 'endservent'? [-Wimplicit-function-declaration] sendrequest(cmd, argv[1], argv[2], ^~~~~~~~~~~ endservent cmds.c: At top level: cmds.c:620:1: warning: return type defaults to 'int' [-Wimplicit-int] mput(argc, argv) ^~~~ main.c:230:3: warning: implicit declaration of function 'cmdscanner' [-Wimplicit-function-declaration] cmdscanner(top); ^~~~~~~~~~ cmds.c: In function 'mput': cmds.c:634:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:620:1: note: declared here mput(argc, argv) ^~~~ main.c: In function 'lostpeer': main.c:260:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(data); ^~~~~ pclose ftp.c:236:6: warning: implicit declaration of function 'getreply'; did you mean 'strcpy'? [-Wimplicit-function-declaration] if (getreply(0) > 2) { /* read startup message from server */ ^~~~~~~~ strcpy ftp.c: At top level: ftp.c:261:1: warning: return type defaults to 'int' [-Wimplicit-int] login(host) ^~~~~ cmds.c:648:17: warning: implicit declaration of function 'confirm' [-Wimplicit-function-declaration] if (mflag && confirm(argv[0], cp)) { ^~~~~~~ main.c:267:2: warning: implicit declaration of function 'pswitch' [-Wimplicit-function-declaration] pswitch(1); ^~~~~~~ main.c: At top level: main.c:302:1: warning: return type defaults to 'int' [-Wimplicit-int] cmdscanner(top) ^~~~~~~~~~ cmds.c:687:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:620:1: note: declared here mput(argc, argv) ^~~~ main.c: In function 'cmdscanner': main.c:318:4: warning: implicit declaration of function 'quit' [-Wimplicit-function-declaration] quit(); ^~~~ ftp.c: In function 'login': ftp.c:275:6: warning: implicit declaration of function 'ruserpass'; did you mean 'mygetpass'? [-Wimplicit-function-declaration] if (ruserpass(host, &user, &pass, &acct) < 0) { ^~~~~~~~~ mygetpass cmds.c:713:5: warning: implicit declaration of function 'blkfree' [-Wimplicit-function-declaration] blkfree(gargs); ^~~~~~~ cmds.c:714:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)gargs); ^~~~ cmds.c:714:5: warning: incompatible implicit declaration of built-in function 'free' cmds.c:714:5: note: include '' or provide a declaration of 'free' cmds.c:736:4: warning: incompatible implicit declaration of built-in function 'free' free((char *)gargs); ^~~~ cmds.c:736:4: note: include '' or provide a declaration of 'free' main.c:332:3: warning: implicit declaration of function 'makeargv'; did you mean 'makedev'? [-Wimplicit-function-declaration] makeargv(); ^~~~~~~~ makedev cmds.c: At top level: cmds.c:743:1: warning: return type defaults to 'int' [-Wimplicit-int] reget(argc, argv) ^~~~~ main.c: At top level: main.c:395:1: warning: return type defaults to 'int' [-Wimplicit-int] makeargv() ^~~~~~~~ cmds.c: In function 'reget': cmds.c:747:9: warning: implicit declaration of function 'getit'; did you mean 'getw'? [-Wimplicit-function-declaration] (void) getit(argc, argv, 1, "r+w"); ^~~~~ getw cmds.c: At top level: cmds.c:750:1: warning: return type defaults to 'int' [-Wimplicit-int] get(argc, argv) ^~~ cmds.c:760:1: warning: return type defaults to 'int' [-Wimplicit-int] getit(argc, argv, restartit, mode) ^~~~~ cmds.c: In function 'getit': cmds.c:760:1: warning: type of 'restartit' defaults to 'int' [-Wimplicit-int] main.c:538:1: warning: return type defaults to 'int' [-Wimplicit-int] help(argc, argv) ^~~~ main.c: In function 'help': main.c:584:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ main.c:538:1: note: declared here help(argc, argv) ^~~~ ftp.c:343:4: warning: implicit declaration of function 'makeargv'; did you mean 'makedev'? [-Wimplicit-function-declaration] makeargv(); ^~~~~~~~ makedev mv -f .deps/getpass.Tpo .deps/getpass.Po ftp.c:344:4: warning: implicit declaration of function 'domacro' [-Wimplicit-function-declaration] domacro(margc, margv); ^~~~~~~ ftp.c: At top level: ftp.c:364:1: warning: return type defaults to 'int' [-Wimplicit-int] secure_command(cmd) ^~~~~~~~~~~~~~ cmds.c:861:2: warning: implicit declaration of function 'recvrequest' [-Wimplicit-function-declaration] recvrequest("RETR", argv[2], argv[1], mode, ^~~~~~~~~~~ cmds.c: At top level: cmds.c:892:1: warning: return type defaults to 'int' [-Wimplicit-int] mget(argc, argv) ^~~~ cmds.c: In function 'mget': cmds.c:905:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:892:1: note: declared here mget(argc, argv) ^~~~ ftp.c: In function 'secure_command': ftp.c:377:25: warning: implicit declaration of function 'srp_encode' [-Wimplicit-function-declaration] if ((length = srp_encode (level == PROT_P, (unsigned char *) cmd, ^~~~~~~~~~ cmds.c: In function 'remglob': cmds.c:994:4: warning: implicit declaration of function 'pswitch' [-Wimplicit-function-declaration] pswitch(!proxy); ^~~~~~~ cmds.c:1003:10: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] (void) unlink(temp); ^~~~~~ unix cmds.c: At top level: cmds.c:1026:1: warning: return type defaults to 'int' [-Wimplicit-int] cstatus() ^~~~~~~ cmds.c: In function 'cstatus': cmds.c:1030:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1026:1: note: declared here cstatus() ^~~~~~~ cmds.c: At top level: cmds.c:1062:1: warning: return type defaults to 'int' [-Wimplicit-int] status(argc, argv) ^~~~~~ cmds.c: In function 'status': cmds.c:1062:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] cmds.c: At top level: cmds.c:1093:1: warning: return type defaults to 'int' [-Wimplicit-int] setbell() ^~~~~~~ cmds.c:1105:1: warning: return type defaults to 'int' [-Wimplicit-int] settrace() ^~~~~~~~ cmds.c:1117:1: warning: return type defaults to 'int' [-Wimplicit-int] sethash() ^~~~~~~ cmds.c:1132:1: warning: return type defaults to 'int' [-Wimplicit-int] setverbose() ^~~~~~~~~~ cmds.c:1144:1: warning: return type defaults to 'int' [-Wimplicit-int] setport() ^~~~~~~ cmds.c:1157:1: warning: return type defaults to 'int' [-Wimplicit-int] setprompt() ^~~~~~~~~ cmds.c:1170:1: warning: return type defaults to 'int' [-Wimplicit-int] setglob() ^~~~~~~ i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT radix.o -MD -MP -MF .deps/radix.Tpo -c -o radix.o radix.c cmds.c:1183:1: warning: return type defaults to 'int' [-Wimplicit-int] setdebug(argc, argv) ^~~~~~~~ cmds.c: In function 'setdebug': cmds.c:1194:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1183:1: note: declared here setdebug(argc, argv) ^~~~~~~~ cmds.c: At top level: cmds.c:1211:1: warning: return type defaults to 'int' [-Wimplicit-int] cd(argc, argv) ^~ cmds.c: In function 'cd': cmds.c:1219:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1211:1: note: declared here cd(argc, argv) ^~ cmds.c: At top level: cmds.c:1232:1: warning: return type defaults to 'int' [-Wimplicit-int] lcd(argc, argv) ^~~ cmds.c: In function 'lcd': cmds.c:1243:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1232:1: note: declared here lcd(argc, argv) ^~~ cmds.c:1247:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:433:16: warning: implicit declaration of function 'radix_encode' [-Wimplicit-function-declaration] if (kerror = radix_encode(out, in, &length, 0)) { ^~~~~~~~~~~~ cmds.c:1232:1: note: declared here lcd(argc, argv) ^~~ cmds.c:1249:6: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] if (chdir(argv[1]) < 0) { ^~~~~ mkdir cmds.c:1252:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1232:1: note: declared here lcd(argc, argv) ^~~ cmds.c:1254:37: warning: implicit declaration of function 'getcwd'; did you mean 'getwd'? [-Wimplicit-function-declaration] printf("Local directory now %s\n", getcwd(buf, sizeof buf)); ^~~~~~ getwd cmds.c:1254:31: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=] printf("Local directory now %s\n", getcwd(buf, sizeof buf)); ~^ ~~~~~~~~~~~~~~~~~~~~~~~ %d cmds.c: At top level: cmds.c:1261:1: warning: return type defaults to 'int' [-Wimplicit-int] delete_file(argc, argv) ^~~~~~~~~~~ cmds.c: In function 'delete_file': cmds.c:1269:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1261:1: note: declared here delete_file(argc, argv) ^~~~~~~~~~~ cmds.c: At top level: cmds.c:1277:1: warning: return type defaults to 'int' [-Wimplicit-int] mdelete(argc, argv) ^~~~~~~ cmds.c: In function 'mdelete': cmds.c:1290:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1277:1: note: declared here mdelete(argc, argv) ^~~~~~~ cmds.c: At top level: cmds.c:1320:1: warning: return type defaults to 'int' [-Wimplicit-int] renamefile(argc, argv) ^~~~~~~~~~ cmds.c: In function 'renamefile': cmds.c:1331:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1320:1: note: declared here renamefile(argc, argv) ^~~~~~~~~~ cmds.c: At top level: cmds.c:1341:1: warning: return type defaults to 'int' [-Wimplicit-int] ls(argc, argv) ^~ cmds.c: In function 'ls': cmds.c:1354:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1341:1: note: declared here ls(argc, argv) ^~ ftp.c:435:6: warning: implicit declaration of function 'radix_error'; did you mean 'gai_strerror'? [-Wimplicit-function-declaration] radix_error(kerror)); ^~~~~~~~~~~ gai_strerror cmds.c:1359:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:434:54: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] fprintf(stderr,"Couldn't base 64 encode command (%s)\n", ~^ %d radix_error(kerror)); ~~~~~~~~~~~~~~~~~~~ cmds.c:1341:1: note: declared here ls(argc, argv) ^~ cmds.c:1364:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c: At top level: ftp.c:449:1: warning: return type defaults to 'int' [-Wimplicit-int] command(char *fmt, ...) ^~~~~~~ cmds.c:1341:1: note: declared here ls(argc, argv) ^~ cmds.c: At top level: cmds.c:1373:1: warning: return type defaults to 'int' [-Wimplicit-int] mls(argc, argv) ^~~ cmds.c: In function 'mls': cmds.c:1389:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT ruserpass.o -MD -MP -MF .deps/ruserpass.Tpo -c -o ruserpass.o ruserpass.c cmds.c:1373:1: note: declared here mls(argc, argv) ^~~ cmds.c:1397:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1373:1: note: declared here mls(argc, argv) ^~~ cmds.c: At top level: cmds.c:1424:1: warning: return type defaults to 'int' [-Wimplicit-int] shell(argc, argv) ^~~~~ cmds.c: In function 'shell': cmds.c:1439:13: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] if ((pid = fork()) == 0) { ^~~~ ftp.c:522:1: warning: return type defaults to 'int' [-Wimplicit-int] getreply(expecteof) ^~~~~~~~ cmds.c:1441:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(pid); ^~~~~ pclose cmds.c:1459:4: warning: implicit declaration of function 'execl' [-Wimplicit-function-declaration] execl(shell,shellnam,"-c",altarg,(char *)0); ^~~~~ cmds.c:1459:4: warning: incompatible implicit declaration of built-in function 'execl' cmds.c:1462:4: warning: incompatible implicit declaration of built-in function 'execl' execl(shell,shellnam,(char *)0); ^~~~~ cmds.c:1466:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ cmds.c:1466:3: warning: incompatible implicit declaration of built-in function 'exit' cmds.c:1466:3: note: include '' or provide a declaration of 'exit' cmds.c: At top level: cmds.c:1486:1: warning: return type defaults to 'int' [-Wimplicit-int] user(argc, argv) ^~~~ ftp.c: In function 'getreply': ftp.c:648:48: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] printf("Can't base 64 decode reply %d (%s)\n\"%s\"\n", ~^ %d code, radix_error(kerror), obuf); ~~~~~~~~~~~~~~~~~~~ cmds.c: In function 'user': cmds.c:1503:13: warning: implicit declaration of function 'srp_auth'; did you mean 'do_auth'? [-Wimplicit-function-declaration] if (srp_auth (NULL, argv[1], argv[2])) ^~~~~~~~ do_auth cmds.c: At top level: cmds.c:1550:1: warning: return type defaults to 'int' [-Wimplicit-int] pwd() ^~~ cmds.c:1568:1: warning: return type defaults to 'int' [-Wimplicit-int] makedir(argc, argv) ^~~~~~~ cmds.c: In function 'makedir': cmds.c:1576:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1568:1: note: declared here makedir(argc, argv) ^~~~~~~ cmds.c: At top level: cmds.c:1588:1: warning: return type defaults to 'int' [-Wimplicit-int] removedir(argc, argv) ^~~~~~~~~ cmds.c: In function 'removedir': cmds.c:1596:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1588:1: note: declared here removedir(argc, argv) ^~~~~~~~~ cmds.c: At top level: cmds.c:1608:1: warning: return type defaults to 'int' [-Wimplicit-int] quote(argc, argv) ^~~~~ cmds.c: In function 'quote': cmds.c:1616:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1608:1: note: declared here quote(argc, argv) ^~~~~ ftp.c:657:38: warning: implicit declaration of function 'srp_decode' [-Wimplicit-function-declaration] if ((outlen = srp_decode (!mysafe, (unsigned char *) ibuf, ^~~~~~~~~~ cmds.c:1618:2: warning: implicit declaration of function 'quote1'; did you mean 'quote'? [-Wimplicit-function-declaration] quote1("", argc, argv); ^~~~~~ quote cmds.c: At top level: cmds.c:1626:1: warning: return type defaults to 'int' [-Wimplicit-int] site(argc, argv) ^~~~ cmds.c: In function 'site': cmds.c:1634:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1626:1: note: declared here site(argc, argv) ^~~~ cmds.c: At top level: ftp.c: At top level: cmds.c:1643:1: warning: return type defaults to 'int' [-Wimplicit-int] quote1(initial, argc, argv) ^~~~~~ ftp.c:751:1: warning: return type defaults to 'int' [-Wimplicit-int] empty(mask, sec) ^~~~~ ftp.c:777:1: warning: return type defaults to 'int' [-Wimplicit-int] secure_error(char *fmt, ...) ^~~~~~~~~~~~ ftp.c:798:1: warning: return type defaults to 'int' [-Wimplicit-int] sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ cmds.c: In function 'quote1': cmds.c:1661:10: warning: implicit declaration of function 'getreply'; did you mean 'setbell'? [-Wimplicit-function-declaration] while (getreply(0) == PRELIM); ^~~~~~~~ setbell cmds.c: At top level: cmds.c:1665:1: warning: return type defaults to 'int' [-Wimplicit-int] do_chmod(argc, argv) ^~~~~~~~ cmds.c: In function 'do_chmod': cmds.c:1676:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1665:1: note: declared here do_chmod(argc, argv) ^~~~~~~~ cmds.c: At top level: cmds.c:1681:1: warning: return type defaults to 'int' [-Wimplicit-int] do_umask(argc, argv) ^~~~~~~~ cmds.c:1692:1: warning: return type defaults to 'int' [-Wimplicit-int] siteidle(argc, argv) ^~~~~~~~ cmds.c:1706:1: warning: return type defaults to 'int' [-Wimplicit-int] rmthelp(argc, argv) ^~~~~~~ cmds.c:1721:1: warning: return type defaults to 'int' [-Wimplicit-int] quit() ^~~~ ftp.c: In function 'sendrequest': ftp.c:819:3: warning: implicit declaration of function 'proxtrans' [-Wimplicit-function-declaration] proxtrans(cmd, local, remote); ^~~~~~~~~ ftp.c:820:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:798:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ cmds.c: In function 'quit': cmds.c:1725:3: warning: implicit declaration of function 'disconnect'; did you mean 'connect'? [-Wimplicit-function-declaration] disconnect(); ^~~~~~~~~~ connect cmds.c:1731:9: warning: implicit declaration of function 'srp_reset' [-Wimplicit-function-declaration] srp_reset (); ^~~~~~~~~ cmds.c:1733:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ cmds.c:1733:2: note: include '' or provide a declaration of 'exit' cmds.c: At top level: ftp.c:823:3: warning: implicit declaration of function 'changetype'; did you mean 'sigtype'? [-Wimplicit-function-declaration] changetype(type, 0); ^~~~~~~~~~ sigtype cmds.c:1739:1: warning: return type defaults to 'int' [-Wimplicit-int] disconnect() ^~~~~~~~~~ cmds.c: In function 'disconnect': cmds.c:1745:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:841:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:798:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ cmds.c:1739:1: note: declared here disconnect() ^~~~~~~~~~ cmds.c: At top level: ftp.c:854:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1760:1: warning: return type defaults to 'int' [-Wimplicit-int] confirm(cmd, file) ^~~~~~~ ftp.c:798:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:864:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:798:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ cmds.c:1774:1: warning: return type defaults to 'int' [-Wimplicit-int] fatal(msg) ^~~~~ cmds.c: In function 'fatal': ftp.c:873:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1782:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ cmds.c:1782:2: note: include '' or provide a declaration of 'exit' ftp.c:798:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ cmds.c: At top level: cmds.c:1791:1: warning: return type defaults to 'int' [-Wimplicit-int] globulize(cpp) ^~~~~~~~~ cmds.c: In function 'globulize': cmds.c:1803:4: warning: incompatible implicit declaration of built-in function 'free' free((char *)globbed); ^~~~ cmds.c:1803:4: note: include '' or provide a declaration of 'free' cmds.c:1813:4: warning: incompatible implicit declaration of built-in function 'free' free((char *)globbed); ^~~~ cmds.c:1813:4: note: include '' or provide a declaration of 'free' cmds.c: At top level: cmds.c:1819:1: warning: return type defaults to 'int' [-Wimplicit-int] account(argc,argv) ^~~~~~~ pclose.c: In function 'mypopen': pclose.c:54:12: warning: implicit declaration of function 'getdtablesize' [-Wimplicit-function-declaration] nfiles = getdtablesize(); ^~~~~~~~~~~~~ cmds.c:1864:1: warning: return type defaults to 'int' [-Wimplicit-int] doproxy(argc,argv) ^~~~~~~ cmds.c: In function 'doproxy': cmds.c:1878:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1864:1: note: declared here doproxy(argc,argv) ^~~~~~~ pclose.c:62:6: warning: implicit declaration of function 'pipe'; did you mean 'popen'? [-Wimplicit-function-declaration] if (pipe(p) < 0) ^~~~ popen cmds.c:1885:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1864:1: note: declared here doproxy(argc,argv) ^~~~~~~ ftp.c:876:6: warning: implicit declaration of function 'initconn'; did you mean 'dataconn'? [-Wimplicit-function-declaration] if (initconn()) { ^~~~~~~~ dataconn cmds.c:1891:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:883:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1864:1: note: declared here doproxy(argc,argv) ^~~~~~~ ftp.c:798:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ pclose.c:66:13: warning: implicit declaration of function 'vfork' [-Wimplicit-function-declaration] if ((pid = vfork()) == 0) { ^~~~~ cmds.c:1897:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1864:1: note: declared here doproxy(argc,argv) ^~~~~~~ ftp.c:896:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:798:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ pclose.c:68:10: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(myside); ^~~~~ pclose cmds.c:1901:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:903:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:798:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ cmds.c:1864:1: note: declared here doproxy(argc,argv) ^~~~~~~ ftp.c:915:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:798:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ cmds.c:1911:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pclose.c:70:11: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] (void) dup2(hisside, tst(0, 1)); ^~~~ ftp.c:924:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pclose.c:73:3: warning: implicit declaration of function 'execl' [-Wimplicit-function-declaration] execl("/bin/sh", "sh", "-c", cmd, (char *)NULL); ^~~~~ pclose.c:73:3: warning: incompatible implicit declaration of built-in function 'execl' ftp.c:798:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ cmds.c:1864:1: note: declared here doproxy(argc,argv) ^~~~~~~ pclose.c:74:3: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(127); ^~~~~ pclose.c:74:3: warning: incompatible implicit declaration of built-in function '_exit' cmds.c: At top level: pclose.c: At top level: pclose.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] mypclose(ptr) ^~~~~~~~ cmds.c:1924:1: warning: return type defaults to 'int' [-Wimplicit-int] setcase() ^~~~~~~ pclose.c: In function 'mypclose': pclose.c:127:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] omask = sigblock(sigmask(SIGQUIT)|sigmask(SIGHUP)); ^~~~~ cmds.c:1931:1: warning: return type defaults to 'int' [-Wimplicit-int] setcr() ^~~~~ In file included from pclose.c:19:0: /usr/include/signal.h:170:12: note: declared here extern int sigblock (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~ ftp.c:936:29: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] while ((c = read(fileno(fin), buf, sizeof (buf))) > 0) { ^~~~ fread pclose.c:130:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(omask); ^~~~~~~~~~ cmds.c:1938:1: warning: return type defaults to 'int' [-Wimplicit-int] setntrans(argc,argv) ^~~~~~~~~ In file included from pclose.c:19:0: /usr/include/signal.h:173:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~~~ cmds.c: In function 'setntrans': radix.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] radix_encode(inbuf, outbuf, len, decode) ^~~~~~~~~~~~ cmds.c:1946:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1938:1: note: declared here setntrans(argc,argv) ^~~~~~~~~ cmds.c:1954:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1938:1: note: declared here setntrans(argc,argv) ^~~~~~~~~ radix.c: In function 'radix_error': radix.c:78:1: warning: type of 'e' defaults to 'int' [-Wimplicit-int] radix_error(e) ^~~~~~~~~~~ cmds.c: At top level: cmds.c:1988:1: warning: return type defaults to 'int' [-Wimplicit-int] setnmap(argc, argv) ^~~~~~~ cmds.c: In function 'setnmap': cmds.c:1998:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1988:1: note: declared here setnmap(argc, argv) ^~~~~~~ cmds.c:2003:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:1988:1: note: declared here setnmap(argc, argv) ^~~~~~~ ftp.c:939:14: warning: implicit declaration of function 'secure_write'; did you mean 'secure_error'? [-Wimplicit-function-declaration] if ((d = secure_write(fileno(dout), bufp, c)) <= 0) ^~~~~~~~~~~~ secure_error cmds.c: At top level: cmds.c:2189:1: warning: return type defaults to 'int' [-Wimplicit-int] setsunique() ^~~~~~~~~~ cmds.c:2196:1: warning: return type defaults to 'int' [-Wimplicit-int] setrunique() ^~~~~~~~~~ cmds.c:2204:1: warning: return type defaults to 'int' [-Wimplicit-int] cdup() ^~~~ cmds.c:2214:1: warning: return type defaults to 'int' [-Wimplicit-int] restart(argc, argv) ^~~~~~~ cmds.c:2229:1: warning: return type defaults to 'int' [-Wimplicit-int] syst() ^~~~ cmds.c:2234:1: warning: return type defaults to 'int' [-Wimplicit-int] macdef(argc, argv) ^~~~~~ cmds.c: In function 'macdef': cmds.c:2244:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:2234:1: note: declared here macdef(argc, argv) ^~~~~~ cmds.c:2249:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:2234:1: note: declared here macdef(argc, argv) ^~~~~~ cmds.c:2266:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:2234:1: note: declared here macdef(argc, argv) ^~~~~~ cmds.c:2272:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:2234:1: note: declared here macdef(argc, argv) ^~~~~~ cmds.c:2277:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:2234:1: note: declared here macdef(argc, argv) ^~~~~~ cmds.c:2289:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:2234:1: note: declared here macdef(argc, argv) ^~~~~~ cmds.c: At top level: cmds.c:2297:1: warning: return type defaults to 'int' [-Wimplicit-int] sizecmd(argc, argv) ^~~~~~~ cmds.c: In function 'sizecmd': ftp.c:960:21: warning: implicit declaration of function 'secure_flush'; did you mean 'secure_error'? [-Wimplicit-function-declaration] if (d < 0 || (d = secure_flush(fileno(dout))) < 0) { ^~~~~~~~~~~~ secure_error cmds.c:2305:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c:2297:1: note: declared here sizecmd(argc, argv) ^~~~~~~ cmds.c: At top level: cmds.c:2313:1: warning: return type defaults to 'int' [-Wimplicit-int] modtime(argc, argv) ^~~~~~~ cmds.c: In function 'modtime': cmds.c:2322:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:976:9: warning: implicit declaration of function 'secure_putc'; did you mean 'secure_error'? [-Wimplicit-function-declaration] secure_putc('\r', dout) < 0) ^~~~~~~~~~~ secure_error ftp.c:1014:3: warning: implicit declaration of function 'ptransfer' [-Wimplicit-function-declaration] ptransfer("sent", bytes, &start, &stop); ^~~~~~~~~ ftp.c:1015:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:798:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c:1023:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:798:1: note: declared here sendrequest(cmd, local, remote, printnames) ^~~~~~~~~~~ ftp.c: At top level: ftp.c:1053:1: warning: return type defaults to 'int' [-Wimplicit-int] recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c: In function 'recvrequest': ftp.c:1053:1: warning: type of 'printnames' defaults to 'int' [-Wimplicit-int] ftp.c:1080:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1097:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1101:7: warning: implicit declaration of function 'access'; did you mean 'accept'? [-Wimplicit-function-declaration] if (access(local, 2) < 0) { ^~~~~~ accept ftp.c:1109:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1121:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1130:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1136:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1142:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ cmds.c:2313:1: note: declared here modtime(argc, argv) ^~~~~~~ ftp.c:1153:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1159:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmds.c: At top level: ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ cmds.c:2342:1: warning: return type defaults to 'int' [-Wimplicit-int] rmtstatus(argc, argv) ^~~~~~~~~ ftp.c:1163:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ cmds.c:2352:1: warning: return type defaults to 'int' [-Wimplicit-int] newer(argc, argv) ^~~~~ ftp.c:1168:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ cmds.c:2367:1: warning: return type defaults to 'int' [-Wimplicit-int] setpassive() ^~~~~~~~~~ ftp.c:1220:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1223:15: warning: implicit declaration of function 'secure_read'; did you mean 'secure_error'? [-Wimplicit-function-declaration] while ((c = secure_read(fileno(din), buf, bufsize)) > 0) { ^~~~~~~~~~~ secure_error ftp.c:1224:13: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if ((d = write(fileno(fout), buf, c)) != c) ^~~~~ fwrite ftp.c:1274:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1277:15: warning: implicit declaration of function 'secure_getc'; did you mean 'secure_error'? [-Wimplicit-function-declaration] while ((c = secure_getc(din)) >= 0) { ^~~~~~~~~~~ secure_error ftp.c:1336:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ ftp.c:1348:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1053:1: note: declared here recvrequest(cmd, local, remote, lmode, printnames) ^~~~~~~~~~~ mv -f .deps/domacro.Tpo .deps/domacro.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT secure.o -MD -MP -MF .deps/secure.Tpo -c -o secure.o secure.c ftp.c:1351:2: warning: implicit declaration of function 'abort_remote'; did you mean 'abortrecv'? [-Wimplicit-function-declaration] abort_remote(din); ^~~~~~~~~~~~ abortrecv ftp.c: At top level: ftp.c:1370:1: warning: return type defaults to 'int' [-Wimplicit-int] initconn() ^~~~~~~~ ftp.c:1518:1: warning: return type defaults to 'int' [-Wimplicit-int] ptransfer(direction, bytes, t0, t1) ^~~~~~~~~ cmds.c: In function 'user': cmds.c:1529:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(acct, sizeof(acct) - 1, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.c: In function 'ptransfer': ftp.c:1527:3: warning: implicit declaration of function 'tvsub' [-Wimplicit-function-declaration] tvsub(&td, t1, t0); ^~~~~ ftp.c: At top level: ftp.c:1546:1: warning: return type defaults to 'int' [-Wimplicit-int] tvsub(tdiff, t1, t0) ^~~~~ ftp.c:1565:1: warning: return type defaults to 'int' [-Wimplicit-int] pswitch(flag) ^~~~~~~ ftp.c: In function 'pswitch': ftp.c:1602:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1565:1: note: declared here pswitch(flag) ^~~~~~~ ftp.c:1608:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1565:1: note: declared here pswitch(flag) ^~~~~~~ ftp.c: At top level: ftp.c:1691:1: warning: return type defaults to 'int' [-Wimplicit-int] proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c: In function 'proxtrans': ftp.c:1715:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1691:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c:1722:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1691:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c:1728:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1691:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c:1736:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1691:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c:1738:2: warning: implicit declaration of function 'sleep'; did you mean 'strsep'? [-Wimplicit-function-declaration] sleep(2); ^~~~~ strsep ftp.c:1751:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1691:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c:1769:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1691:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c:1783:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftp.c:1691:1: note: declared here proxtrans(cmd, local, remote) ^~~~~~~~~ ftp.c: At top level: ftp.c:1811:1: warning: return type defaults to 'int' [-Wimplicit-int] reset() ^~~~~ ftp.c:1885:1: warning: return type defaults to 'int' [-Wimplicit-int] do_auth(host) ^~~~~~~ ftp.c: In function 'do_auth': ftp.c:1902:6: warning: implicit declaration of function 'srp_auth'; did you mean 'do_auth'? [-Wimplicit-function-declaration] if (srp_auth (host, NULL, NULL)) return 1; ^~~~~~~~ do_auth ftp.c: At top level: ftp.c:2105:1: warning: return type defaults to 'int' [-Wimplicit-int] setpbsz(size) ^~~~~~~ ftp.c: In function 'setpbsz': ftp.c:2118:4: warning: implicit declaration of function 'srp_reset'; did you mean 'reset'? [-Wimplicit-function-declaration] srp_reset (); ^~~~~~~~~ reset ftp.c:2126:3: warning: implicit declaration of function 'fatal'; did you mean 'fstat'? [-Wimplicit-function-declaration] fatal("Cannot set PROT buffer size"); ^~~~~ fstat ftp.c: At top level: ftp.c:2135:1: warning: return type defaults to 'int' [-Wimplicit-int] abort_remote(din) ^~~~~~~~~~~~ ftp.c: In function 'login': ftp.c:297:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(tmp, sizeof(tmp) - 1, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/pclose.Tpo .deps/pclose.Po In file included from ruserpass.c:51:0: ftp_var.h:141:8: warning: type defaults to 'int' in declaration of 'command' [-Wimplicit-int] extern command(char *, ...); ^~~~~~~ ruserpass.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int] token() ^~~~~ ruserpass.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] ruserpass(host, aname, apass, aacct) ^~~~~~~~~ ruserpass.c: In function 'ruserpass': ruserpass.c:142:6: warning: implicit declaration of function 'gethostname'; did you mean 'setstate'? [-Wimplicit-function-declaration] if (gethostname(myname, sizeof(myname)) < 0) ^~~~~~~~~~~ setstate i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT srp.o -MD -MP -MF .deps/srp.Tpo -c -o srp.o srp.c secure.c: In function 'looping_write': secure.c:134:7: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] cc = write(fd, buf, wrlen); ^~~~~ fwrite secure.c: In function 'looping_read': secure.c:158:7: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] cc = read(fd, buf, len); ^~~~ fread secure.c: At top level: secure.c:178:8: warning: type defaults to 'int' in declaration of 'secure_error' [-Wimplicit-int] extern secure_error(char *, ...); ^~~~~~~~~~~~ secure.c:186:1: warning: return type defaults to 'int' [-Wimplicit-int] secure_putbyte(fd, c) ^~~~~~~~~~~~~~ secure.c: In function 'secure_putbyte': secure.c:194:10: warning: implicit declaration of function 'secure_putbuf'; did you mean 'secure_putbyte'? [-Wimplicit-function-declaration] ret = secure_putbuf(fd, ucbuf, nout); ^~~~~~~~~~~~~ secure_putbyte secure.c: At top level: secure.c:206:1: warning: return type defaults to 'int' [-Wimplicit-int] secure_flush(fd) ^~~~~~~~~~~~ secure.c:224:1: warning: return type defaults to 'int' [-Wimplicit-int] secure_putc(c, stream) ^~~~~~~~~~~ secure.c:238:1: warning: return type defaults to 'int' [-Wimplicit-int] secure_write(fd, buf, nbyte) ^~~~~~~~~~~~ secure.c:259:1: warning: return type defaults to 'int' [-Wimplicit-int] secure_putbuf(fd, buf, nbyte) ^~~~~~~~~~~~~ secure.c: In function 'secure_putbuf': secure.c:285:25: warning: implicit declaration of function 'srp_encode' [-Wimplicit-function-declaration] if ((length = srp_encode (level == PROT_P, (unsigned char *) buf, ^~~~~~~~~~ secure.c: At top level: secure.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] secure_getbyte(fd) ^~~~~~~~~~~~~~ secure.c: In function 'secure_getbyte': secure.c:392:37: warning: implicit declaration of function 'srp_decode' [-Wimplicit-function-declaration] if ((nin = bufp = srp_decode (level == PROT_P, ^~~~~~~~~~ secure.c: At top level: secure.c:449:1: warning: return type defaults to 'int' [-Wimplicit-int] secure_getc(stream) ^~~~~~~~~~~ secure.c:463:1: warning: return type defaults to 'int' [-Wimplicit-int] secure_read(fd, buf, nbyte) ^~~~~~~~~~~ mv -f .deps/radix.Tpo .deps/radix.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT ftppath.o -MD -MP -MF .deps/ftppath.Tpo -c -o ftppath.o ftppath.c srp.c: In function 'srp_userpass': srp.c:143:3: warning: implicit declaration of function 'ruserpass'; did you mean 'srp_userpass'? [-Wimplicit-function-declaration] ruserpass (host, &user, &srp_pass, &srp_acct); ^~~~~~~~~ srp_userpass srp.c:156:36: warning: implicit declaration of function 'getuid'; did you mean 'gettcid'? [-Wimplicit-function-declaration] struct passwd *pp = getpwuid(getuid()); ^~~~~~ gettcid srp.c: In function 'srp_auth': srp.c:224:5: warning: implicit declaration of function 'srp_put'; did you mean 'srp_auth'? [-Wimplicit-function-declaration] srp_put (vers, &bp, 4, &blen); ^~~~~~~ srp_auth srp.c:239:9: warning: implicit declaration of function 'srp_get'; did you mean 'srp_auth'? [-Wimplicit-function-declaration] if (srp_get (&bp, &cp, &blen, &clen) != 4) goto data_error; ^~~~~~~ srp_auth mv -f .deps/ftppath.Tpo .deps/ftppath.Po srp.c:478:54: warning: implicit declaration of function 'radix_error'; did you mean 'radix_encode'? [-Wimplicit-function-declaration] fprintf (stderr, "Base 64 encoding failed: %s.\n", radix_error (e)); ^~~~~~~~~~~ radix_encode srp.c:478:47: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] fprintf (stderr, "Base 64 encoding failed: %s.\n", radix_error (e)); ~^ ~~~~~~~~~~~~~~~ %d srp.c:483:47: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] fprintf (stderr, "Base 64 decoding failed: %s.\n", radix_error (e)); ~^ ~~~~~~~~~~~~~~~ %d srp.c: In function 'srp_userpass': srp.c:164:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(tmp, sizeof(tmp) - 1, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/main.Tpo .deps/main.Po mv -f .deps/secure.Tpo .deps/secure.Po mv -f .deps/ruserpass.Tpo .deps/ruserpass.Po mv -f .deps/glob.Tpo .deps/glob.Po mv -f .deps/srp.Tpo .deps/srp.Po mv -f .deps/ftp.Tpo .deps/ftp.Po mv -f .deps/cmds.Tpo .deps/cmds.Po /bin/sh ../libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o ftp cmds.o cmdtab.o domacro.o getpass.o ftp.o pclose.o glob.o main.o radix.o ruserpass.o secure.o srp.o ftppath.o ../../libkrypto/libkrypto.la ../../libsrp/libsrp.la -lcrypto -lcrypt libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/ftp cmds.o cmdtab.o domacro.o getpass.o ftp.o pclose.o glob.o main.o radix.o ruserpass.o secure.o srp.o ftppath.o ../../libkrypto/.libs/libkrypto.so ../../libsrp/.libs/libsrp.so -lcrypto -lcrypt cmds.o: In function `remglob': cmds.c:(.text+0xd35): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/ftp' Making all in ftpd make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/ftpd' /bin/sh ../ylwrap ftpcmd.y y.tab.c ftpcmd.c y.tab.h `echo ftpcmd.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output ftpcmd.output -- bison -y i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT ftpd.o -MD -MP -MF .deps/ftpd.Tpo -c -o ftpd.o ftpd.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT logwtmp.o -MD -MP -MF .deps/logwtmp.Tpo -c -o logwtmp.o logwtmp.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT popen.o -MD -MP -MF .deps/popen.Tpo -c -o popen.o popen.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT srp.o -MD -MP -MF .deps/srp.Tpo -c -o srp.o srp.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT vers.o -MD -MP -MF .deps/vers.Tpo -c -o vers.o vers.c logwtmp.c:66:1: warning: return type defaults to 'int' [-Wimplicit-int] Logwtmp(line, name, host) ^~~~~~~ logwtmp.c: In function 'Logwtmp': logwtmp.c:74:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ logwtmp.c:66:1: note: declared here Logwtmp(line, name, host) ^~~~~~~ logwtmp.c:84:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] (void)ftruncate(fd, buf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ srp.c: In function 'srp_adat': srp.c:141:13: warning: implicit declaration of function 'radix_encode' [-Wimplicit-function-declaration] if (e = radix_encode (data, bp, &blen, 1)) goto decode_error; ^~~~~~~~~~~~ srp.c:142:9: warning: implicit declaration of function 'srp_get'; did you mean 'srp_adat'? [-Wimplicit-function-declaration] if (srp_get (&bp, &vp, &blen, &vlen) != 4) goto data_error; ^~~~~~~ srp_adat srp.c:146:5: warning: implicit declaration of function 'srp_put'; did you mean 'srp_auth'? [-Wimplicit-function-declaration] srp_put (vers, &bp, 4, &blen); ^~~~~~~ srp_auth srp.c:149:5: warning: implicit declaration of function 'reply' [-Wimplicit-function-declaration] reply (335, "ADAT=%s", buf); ^~~~~ srp.c:282:5: warning: implicit declaration of function 't_random'; did you mean 'krypto_random'? [-Wimplicit-function-declaration] t_random (seqnum, 4); ^~~~~~~~ krypto_random srp.c:347:47: warning: implicit declaration of function 'radix_error' [-Wimplicit-function-declaration] reply (501, "Base 64 encoding failed: %s.", radix_error (e)); ^~~~~~~~~~~ srp.c:348:44: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] syslog (LOG_ERR, "Couldn't encode ADAT (%s)", radix_error (e)); ~^ ~~~~~~~~~~~~~~~ %d srp.c:354:44: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] syslog (LOG_ERR, "Couldn't decode ADAT (%s)", radix_error (e)); ~^ ~~~~~~~~~~~~~~~ %d mv -f .deps/vers.Tpo .deps/vers.Po mv -f .deps/logwtmp.Tpo .deps/logwtmp.Po popen.c: In function 'ftpd_popen': popen.c:171:3: warning: implicit declaration of function 'blkfree'; did you mean 'free'? [-Wimplicit-function-declaration] blkfree((char **)argv[argc]); ^~~~~~~ free popen.c: At top level: popen.c:177:1: warning: return type defaults to 'int' [-Wimplicit-int] ftpd_pclose(iop) ^~~~~~~~~~~ popen.c: In function 'ftpd_pclose': popen.c:210:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGHUP)); ^~~~~ In file included from /usr/include/sys/wait.h:36:0, from popen.c:47: /usr/include/signal.h:170:12: note: declared here extern int sigblock (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~ popen.c:212:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] sigsetmask(omask); ^~~~~~~~~~ In file included from /usr/include/sys/wait.h:36:0, from popen.c:47: /usr/include/signal.h:173:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~~~ ftpd.c:126:8: warning: type defaults to 'int' in declaration of 'reply' [-Wimplicit-int] extern reply(int, char *, ...); ^~~~~ ftpd.c:127:8: warning: type defaults to 'int' in declaration of 'lreply' [-Wimplicit-int] extern lreply(int, char *, ...); ^~~~~~ ftpd.c:130:8: warning: type defaults to 'int' in declaration of 'Logwtmp' [-Wimplicit-int] extern Logwtmp(char *, char *, char *); ^~~~~~~ ftpd.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv, envp) ^~~~ ftpd.c: In function 'main': ftpd.c:447:2: warning: implicit declaration of function 'dolog'; did you mean 'syslog'? [-Wimplicit-function-declaration] dolog(&his_addr); ^~~~~ syslog ftpd.c:462:10: warning: implicit declaration of function 'yyparse'; did you mean 'pause'? [-Wimplicit-function-declaration] (void) yyparse(); ^~~~~~~ pause ftpd.c: In function 'lostconn': ftpd.c:471:2: warning: implicit declaration of function 'dologout' [-Wimplicit-function-declaration] dologout(-1); ^~~~~~~~ ftpd.c: In function 'sgetsave': ftpd.c:486:3: warning: implicit declaration of function 'perror_reply'; did you mean 'perror'? [-Wimplicit-function-declaration] perror_reply(421, "Local resource failure: malloc"); ^~~~~~~~~~~~ perror ftpd.c: At top level: ftpd.c:535:1: warning: return type defaults to 'int' [-Wimplicit-int] setlevel(prot_level) ^~~~~~~~ ftpd.c:569:1: warning: return type defaults to 'int' [-Wimplicit-int] user(name) ^~~~ ftpd.c: In function 'user': ftpd.c:588:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:569:1: note: declared here user(name) ^~~~ ftpd.c:590:3: warning: implicit declaration of function 'end_login'; did you mean 'setlogin'? [-Wimplicit-function-declaration] end_login(); ^~~~~~~~~ setlogin ftpd.c:595:7: warning: implicit declaration of function 'checkuser' [-Wimplicit-function-declaration] if (checkuser("ftp") || checkuser("anonymous")) ^~~~~~~~~ ftpd.c:603:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:569:1: note: declared here user(name) ^~~~ ftpd.c:623:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:569:1: note: declared here user(name) ^~~~ ftpd.c:638:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:569:1: note: declared here user(name) ^~~~ ftpd.c:698:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:569:1: note: declared here user(name) ^~~~ ftpd.c: At top level: ftpd.c:713:1: warning: return type defaults to 'int' [-Wimplicit-int] checkuser(name) ^~~~~~~~~ ftpd.c:738:1: warning: return type defaults to 'int' [-Wimplicit-int] end_login() ^~~~~~~~~ ftpd.c:804:1: warning: return type defaults to 'int' [-Wimplicit-int] ftpauth () ^~~~~~~ ftpd.c:848:1: warning: return type defaults to 'int' [-Wimplicit-int] pass(passwd) ^~~~ ftpd.c: In function 'pass': ftpd.c:856:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:848:1: note: declared here pass(passwd) ^~~~ ftpd.c:907:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:848:1: note: declared here pass(passwd) ^~~~ ftpd.c:912:9: warning: implicit declaration of function 'initgroups'; did you mean 'getgroups'? [-Wimplicit-function-declaration] (void) initgroups(pw->pw_name, pw->pw_gid); ^~~~~~~~~~ getgroups ftpd.c:983:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:848:1: note: declared here pass(passwd) ^~~~ ftpd.c: At top level: ftpd.c:989:1: warning: return type defaults to 'int' [-Wimplicit-int] retrieve(cmd, name) ^~~~~~~~ ftpd.c: In function 'retrieve': ftpd.c:1012:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:989:1: note: declared here retrieve(cmd, name) ^~~~~~~~ ftpd.c:1043:2: warning: implicit declaration of function 'send_data'; did you mean 'sendto'? [-Wimplicit-function-declaration] send_data(fin, dout, st.st_blksize); ^~~~~~~~~ sendto ftpd.c: At top level: ftpd.c:1054:1: warning: return type defaults to 'int' [-Wimplicit-int] store_file(name, mode, unique) ^~~~~~~~~~ ftpd.c: In function 'store_file': ftpd.c:1065:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1054:1: note: declared here store_file(name, mode, unique) ^~~~~~~~~~ ftpd.c:1073:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1054:1: note: declared here store_file(name, mode, unique) ^~~~~~~~~~ ftpd.c:1106:6: warning: implicit declaration of function 'receive_data' [-Wimplicit-function-declaration] if (receive_data(din, fout) == 0) { ^~~~~~~~~~~~ ftpd.c: At top level: ftpd.c:1235:1: warning: return type defaults to 'int' [-Wimplicit-int] secure_error(char *fmt, ...) ^~~~~~~~~~~~ ftpd.c:1264:1: warning: return type defaults to 'int' [-Wimplicit-int] send_data(instr, outstr, blksize) ^~~~~~~~~ ftpd.c: In function 'send_data': ftpd.c:1276:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1264:1: note: declared here send_data(instr, outstr, blksize) ^~~~~~~~~ ftpd.c:1285:16: warning: implicit declaration of function 'secure_putc'; did you mean 'secure_error'? [-Wimplicit-function-declaration] (ret = secure_putc('\r', outstr)) < 0) ^~~~~~~~~~~ secure_error ftpd.c:1295:14: warning: implicit declaration of function 'secure_flush'; did you mean 'secure_error'? [-Wimplicit-function-declaration] (ret = secure_flush(fileno(outstr))) < 0) ^~~~~~~~~~~~ secure_error ftpd.c:1298:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1264:1: note: declared here send_data(instr, outstr, blksize) ^~~~~~~~~ ftpd.c:1305:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1264:1: note: declared here send_data(instr, outstr, blksize) ^~~~~~~~~ ftpd.c:1310:14: warning: implicit declaration of function 'secure_write'; did you mean 'secure_error'? [-Wimplicit-function-declaration] (ret = secure_write(netfd, buf, cnt)) == cnt) ^~~~~~~~~~~~ secure_error ftpd.c:1322:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1264:1: note: declared here send_data(instr, outstr, blksize) ^~~~~~~~~ ftpd.c:1326:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1264:1: note: declared here send_data(instr, outstr, blksize) ^~~~~~~~~ ftpd.c:1332:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1264:1: note: declared here send_data(instr, outstr, blksize) ^~~~~~~~~ ftpd.c: At top level: ftpd.c:1347:1: warning: return type defaults to 'int' [-Wimplicit-int] receive_data(instr, outstr) ^~~~~~~~~~~~ ftpd.c: In function 'receive_data': ftpd.c:1364:17: warning: implicit declaration of function 'secure_read'; did you mean 'secure_error'? [-Wimplicit-function-declaration] while ((cnt = secure_read(fileno(instr), buf, sizeof buf)) > 0) { ^~~~~~~~~~~ secure_error ftpd.c:1381:15: warning: implicit declaration of function 'secure_getc'; did you mean 'secure_error'? [-Wimplicit-function-declaration] while ((c = secure_getc(instr)) >= 0) { ^~~~~~~~~~~ secure_error ftpd.c: At top level: ftpd.c:1427:1: warning: return type defaults to 'int' [-Wimplicit-int] statfilecmd(filename) ^~~~~~~~~~~ ftpd.c: In function 'statfilecmd': ftpd.c:1450:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1427:1: note: declared here statfilecmd(filename) ^~~~~~~~~~~ ftpd.c: At top level: ftpd.c:1465:1: warning: return type defaults to 'int' [-Wimplicit-int] statcmd() ^~~~~~~ ftpd.c:1529:1: warning: return type defaults to 'int' [-Wimplicit-int] fatal(s) ^~~~~ ftpd.c:1541:1: warning: return type defaults to 'int' [-Wimplicit-int] reply(int n, char *fmt, ...) ^~~~~ ftpd.c: In function 'reply': ftpd.c:1572:19: warning: implicit declaration of function 'srp_encode' [-Wimplicit-function-declaration] if ((length = srp_encode (level == PROT_P, (unsigned char *) in, ^~~~~~~~~~ mv -f .deps/popen.Tpo .deps/popen.Po ftpd.c:1624:16: warning: implicit declaration of function 'radix_encode' [-Wimplicit-function-declaration] if (kerror = radix_encode(out, in, &length, 0)) { ^~~~~~~~~~~~ ftpd.c:1626:6: warning: implicit declaration of function 'radix_error'; did you mean 'secure_error'? [-Wimplicit-function-declaration] radix_error(kerror)); ^~~~~~~~~~~ secure_error ftpd.c:1625:45: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] syslog(LOG_ERR, "Couldn't encode reply (%s)", ~^ %d radix_error(kerror)); ~~~~~~~~~~~~~~~~~~~ ftpd.c: At top level: ftpd.c:1644:1: warning: return type defaults to 'int' [-Wimplicit-int] lreply(int n, char *fmt, ...) ^~~~~~ ftpd.c:1667:1: warning: return type defaults to 'int' [-Wimplicit-int] ack(s) ^~~ ftpd.c:1673:1: warning: return type defaults to 'int' [-Wimplicit-int] nack(s) ^~~~ ftpd.c:1680:1: warning: return type defaults to 'int' [-Wimplicit-int] yyerror(s) ^~~~~~~ ftpd.c:1690:1: warning: return type defaults to 'int' [-Wimplicit-int] delete_file(name) ^~~~~~~~~~~ ftpd.c: In function 'delete_file': ftpd.c:1697:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1690:1: note: declared here delete_file(name) ^~~~~~~~~~~ ftpd.c:1702:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1690:1: note: declared here delete_file(name) ^~~~~~~~~~~ ftpd.c:1708:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1690:1: note: declared here delete_file(name) ^~~~~~~~~~~ ftpd.c: At top level: ftpd.c:1714:1: warning: return type defaults to 'int' [-Wimplicit-int] cwd(path) ^~~ ftpd.c:1723:1: warning: return type defaults to 'int' [-Wimplicit-int] makedir(name) ^~~~~~~ ftpd.c:1732:1: warning: return type defaults to 'int' [-Wimplicit-int] removedir(name) ^~~~~~~~~ ftpd.c:1741:1: warning: return type defaults to 'int' [-Wimplicit-int] pwd() ^~~ ftpd.c:1769:1: warning: return type defaults to 'int' [-Wimplicit-int] renamecmd(from, to) ^~~~~~~~~ ftpd.c:1778:1: warning: return type defaults to 'int' [-Wimplicit-int] dolog(sin) ^~~~~ ftpd.c:1810:1: warning: return type defaults to 'int' [-Wimplicit-int] dologout(status) ^~~~~~~~ ftpd.c: In function 'dologout': ftpd.c:1818:2: warning: implicit declaration of function 'srp_reset' [-Wimplicit-function-declaration] srp_reset (); ^~~~~~~~~ ftpd.c: In function 'myoob': ftpd.c:1838:2: warning: implicit declaration of function 'upper'; did you mean 'user'? [-Wimplicit-function-declaration] upper(cp); ^~~~~ user ftpd.c: At top level: ftpd.c:1862:1: warning: return type defaults to 'int' [-Wimplicit-int] passive() ^~~~~~~ ftpd.c: In function 'passive': ftpd.c:1870:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1862:1: note: declared here passive() ^~~~~~~ ftpd.c:1892:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1862:1: note: declared here passive() ^~~~~~~ ftpd.c:1898:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:1862:1: note: declared here passive() ^~~~~~~ ftpd.c: At top level: ftpd.c:1938:1: warning: return type defaults to 'int' [-Wimplicit-int] perror_reply(code, string) ^~~~~~~~~~~~ ftpd.c:1945:1: warning: return type defaults to 'int' [-Wimplicit-int] auth(type) ^~~~ ftpd.c: In function 'auth': ftpd.c:1953:15: warning: implicit declaration of function 'srp_auth'; did you mean 'ftpauth'? [-Wimplicit-function-declaration] if (srp_auth ()) ^~~~~~~~ ftpauth ftpd.c: At top level: ftpd.c:1976:1: warning: return type defaults to 'int' [-Wimplicit-int] auth_data(data) ^~~~~~~~~ ftpd.c: In function 'auth_data': ftpd.c:2000:15: warning: implicit declaration of function 'srp_adat'; did you mean 'si_addr'? [-Wimplicit-function-declaration] if (srp_adat (data)) ^~~~~~~~ si_addr ftpd.c: At top level: ftpd.c:2247:1: warning: return type defaults to 'int' [-Wimplicit-int] secure_fprintf(FILE *stream, char *fmt, ...) ^~~~~~~~~~~~~~ ftpd.c:2276:1: warning: return type defaults to 'int' [-Wimplicit-int] send_file_list(whichfiles) ^~~~~~~~~~~~~~ ftpd.c: In function 'send_file_list': ftpd.c:2295:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:2276:1: note: declared here send_file_list(whichfiles) ^~~~~~~~~~~~~~ ftpd.c:2299:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:2276:1: note: declared here send_file_list(whichfiles) ^~~~~~~~~~~~~~ ftpd.c:2309:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:2276:1: note: declared here send_file_list(whichfiles) ^~~~~~~~~~~~~~ ftpd.c:2320:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:2276:1: note: declared here send_file_list(whichfiles) ^~~~~~~~~~~~~~ ftpd.c:2329:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:2276:1: note: declared here send_file_list(whichfiles) ^~~~~~~~~~~~~~ ftpd.c:2336:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:2276:1: note: declared here send_file_list(whichfiles) ^~~~~~~~~~~~~~ ftpd.c:2371:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpd.c:2276:1: note: declared here send_file_list(whichfiles) ^~~~~~~~~~~~~~ ftpd.c: In function 'main': ftpd.c:429:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] (void) freopen("/dev/null", "w", stderr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftpd.c: In function 'end_login': ftpd.c:741:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid((uid_t)0); ^~~~~~~~~~~~~~~~~~~~~~~~ ftpd.c: In function 'pass': ftpd.c:911:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] (void) setegid((gid_t)pw->pw_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftpd.c: In function 'getdatasock': ftpd.c:1128:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid((uid_t)0); ^~~~~~~~~~~~~~~~~~~~~~~~ ftpd.c:1146:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid((uid_t)pw->pw_uid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftpd.c:1156:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid((uid_t)pw->pw_uid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/srp.Tpo .deps/srp.Po ftpd.c: In function 'dologout': ftpd.c:1814:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid((uid_t)0); ^~~~~~~~~~~~~~~~~~~~~~~~ ftpd.c: In function 'passive': ftpd.c:1874:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid((uid_t)0); ^~~~~~~~~~~~~~~~~~~~~~~~ ftpd.c:1876:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid((uid_t)pw->pw_uid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftpd.c:1879:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid((uid_t)pw->pw_uid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../../libkrypto -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT ftpcmd.o -MD -MP -MF .deps/ftpcmd.Tpo -c -o ftpcmd.o ftpcmd.c ftpcmd.y:76:8: warning: type defaults to 'int' in declaration of 'reply' [-Wimplicit-int] extern reply(int, char *, ...); ^~~~~ ftpcmd.y:77:8: warning: type defaults to 'int' in declaration of 'lreply' [-Wimplicit-int] extern lreply(int, char *, ...); ^~~~~~ ftpcmd.c: In function 'yyparse': ftpcmd.c:1526:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] yychar = yylex (); ^~~~~ ftpcmd.y:209:4: warning: implicit declaration of function 'user' [-Wimplicit-function-declaration] user((char *) $3); ^~~~ ftpcmd.y:214:4: warning: implicit declaration of function 'pass'; did you mean 'labs'? [-Wimplicit-function-declaration] pass((char *) $3); ^~~~ labs ftpcmd.y:229:5: warning: implicit declaration of function 'passive'; did you mean 'pause'? [-Wimplicit-function-declaration] passive(); ^~~~~~~ pause ftpcmd.y:234:4: warning: implicit declaration of function 'setlevel'; did you mean 'setenv'? [-Wimplicit-function-declaration] setlevel ($3); ^~~~~~~~ setenv ftpcmd.y:261:9: warning: implicit declaration of function 'perror_reply'; did you mean 'perror'? [-Wimplicit-function-declaration] perror_reply(421, ^~~~~~~~~~~~ perror ftpcmd.y:263:9: warning: implicit declaration of function 'dologout' [-Wimplicit-function-declaration] dologout(1); ^~~~~~~~ ftpcmd.y:338:5: warning: implicit declaration of function 'retrieve'; did you mean 'getline'? [-Wimplicit-function-declaration] retrieve((char *) 0, (char *) $4); ^~~~~~~~ getline ftpcmd.y:345:5: warning: implicit declaration of function 'store_file'; did you mean 'flockfile'? [-Wimplicit-function-declaration] store_file((char *) $4, "w", 0); ^~~~~~~~~~ flockfile ftpcmd.y:359:5: warning: implicit declaration of function 'send_file_list' [-Wimplicit-function-declaration] send_file_list("."); ^~~~~~~~~~~~~~ ftpcmd.y:383:5: warning: implicit declaration of function 'statfilecmd' [-Wimplicit-function-declaration] statfilecmd((char *) $4); ^~~~~~~~~~~ ftpcmd.y:389:4: warning: implicit declaration of function 'statcmd'; did you mean 'strncmp'? [-Wimplicit-function-declaration] statcmd(); ^~~~~~~ strncmp ftpcmd.y:394:5: warning: implicit declaration of function 'delete_file' [-Wimplicit-function-declaration] delete_file((char *) $4); ^~~~~~~~~~~ ftpcmd.y:401:5: warning: implicit declaration of function 'renamecmd'; did you mean 'renameat'? [-Wimplicit-function-declaration] renamecmd(fromname, (char *) $3); ^~~~~~~~~ renameat ftpcmd.y:416:5: warning: implicit declaration of function 'cwd' [-Wimplicit-function-declaration] cwd(pw->pw_dir); ^~~ ftpcmd.y:427:4: warning: implicit declaration of function 'help' [-Wimplicit-function-declaration] help(cmdtab, (char *) 0); ^~~~ ftpcmd.y:451:5: warning: implicit declaration of function 'makedir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] makedir((char *) $4); ^~~~~~~ mkdir ftpcmd.y:458:5: warning: implicit declaration of function 'removedir'; did you mean 'remove'? [-Wimplicit-function-declaration] removedir((char *) $4); ^~~~~~~~~ remove ftpcmd.y:465:5: warning: implicit declaration of function 'pwd' [-Wimplicit-function-declaration] pwd(); ^~~ ftpcmd.y:573:5: warning: implicit declaration of function 'sizecmd' [-Wimplicit-function-declaration] sizecmd((char *) $4); ^~~~~~~ ftpcmd.y:611:4: warning: implicit declaration of function 'auth'; did you mean 'puts'? [-Wimplicit-function-declaration] auth((char *) $3); ^~~~ puts ftpcmd.y:615:4: warning: implicit declaration of function 'auth_data' [-Wimplicit-function-declaration] auth_data((char *) $3); ^~~~~~~~~ ftpcmd.y:792:5: warning: implicit declaration of function 'blkfree'; did you mean 'free'? [-Wimplicit-function-declaration] blkfree(globlist); ^~~~~~~ free ftpcmd.c:2563:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] yyerror (YY_("syntax error")); ^~~~~~~ yyerrok ftpcmd.y: In function 'getline_srp': ftpcmd.y:939:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] getline_srp(s, n, iop) ^~~~~~~~~~~ ftpcmd.y:943:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ ftpcmd.y:998:6: warning: implicit declaration of function 'upper'; did you mean 'toupper'? [-Wimplicit-function-declaration] upper(s); ^~~~~ toupper ftpcmd.y:1034:19: warning: implicit declaration of function 'radix_encode' [-Wimplicit-function-declaration] if (kerror = radix_encode(cs, out, &len, 1)) { ^~~~~~~~~~~~ ftpcmd.y:1036:30: warning: implicit declaration of function 'radix_error' [-Wimplicit-function-declaration] mic ? "MIC" : "ENC", radix_error(kerror)); ^~~~~~~~~~~ ftpcmd.y:1046:25: warning: implicit declaration of function 'srp_decode' [-Wimplicit-function-declaration] if ((outlen = srp_decode (!mic, (unsigned char *) out, ^~~~~~~~~~ ftpcmd.y: At top level: ftpcmd.y:1155:1: warning: return type defaults to 'int' [-Wimplicit-int] yylex() ^~~~~ ftpcmd.y: In function 'yylex': ftpcmd.y:1198:6: warning: implicit declaration of function 'nack'; did you mean 'nice'? [-Wimplicit-function-declaration] nack(p->name); ^~~~ nice ftpcmd.y:1369:4: warning: implicit declaration of function 'fatal'; did you mean 'atol'? [-Wimplicit-function-declaration] fatal("Unknown state in scanner."); ^~~~~ atol ftpcmd.y: At top level: ftpcmd.y:1377:1: warning: return type defaults to 'int' [-Wimplicit-int] upper(s) ^~~~~ ftpcmd.y:1400:1: warning: return type defaults to 'int' [-Wimplicit-int] help(ctab, s) ^~~~ ftpcmd.y: In function 'help': ftpcmd.y:1449:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpcmd.y:1400:1: note: declared here help(ctab, s) ^~~~ ftpcmd.y:1455:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpcmd.y:1400:1: note: declared here help(ctab, s) ^~~~ ftpcmd.y: At top level: ftpcmd.y:1464:1: warning: return type defaults to 'int' [-Wimplicit-int] sizecmd(filename) ^~~~~~~ ftpcmd.y: In function 'sizecmd': ftpcmd.y:1485:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpcmd.y:1464:1: note: declared here sizecmd(filename) ^~~~~~~ ftpcmd.y:1491:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ftpcmd.y:1464:1: note: declared here sizecmd(filename) ^~~~~~~ mv -f .deps/ftpd.Tpo .deps/ftpd.Po mv -f .deps/ftpcmd.Tpo .deps/ftpcmd.Po /bin/sh ../libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o ftpd ftpcmd.o ftpd.o logwtmp.o popen.o srp.o vers.o ../ftp/secure.o ../ftp/glob.o ../ftp/ftppath.o ../ftp/radix.o ../../libkrypto/libkrypto.la ../../libsrp/libsrp.la -lcrypto -lcrypt libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/ftpd ftpcmd.o ftpd.o logwtmp.o popen.o srp.o vers.o ../ftp/secure.o ../ftp/glob.o ../ftp/ftppath.o ../ftp/radix.o ../../libkrypto/.libs/libkrypto.so ../../libsrp/.libs/libsrp.so -lcrypto -lcrypt make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/ftpd' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp' make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp' make[1]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp' Making all in base make[1]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base' /usr/bin/make all-recursive make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base' Making all in lib make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/lib' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT commonio.o -MD -MP -MF .deps/commonio.Tpo -c -o commonio.o commonio.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT dialchk.o -MD -MP -MF .deps/dialchk.Tpo -c -o dialchk.o dialchk.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT dialup.o -MD -MP -MF .deps/dialup.Tpo -c -o dialup.o dialup.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT encrypt.o -MD -MP -MF .deps/encrypt.Tpo -c -o encrypt.o encrypt.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT fputsx.o -MD -MP -MF .deps/fputsx.Tpo -c -o fputsx.o fputsx.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT getdef.o -MD -MP -MF .deps/getdef.Tpo -c -o getdef.o getdef.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT getpass.o -MD -MP -MF .deps/getpass.Tpo -c -o getpass.o getpass.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT groupio.o -MD -MP -MF .deps/groupio.Tpo -c -o groupio.o groupio.c mv -f .deps/encrypt.Tpo .deps/encrypt.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT gshadow.o -MD -MP -MF .deps/gshadow.Tpo -c -o gshadow.o gshadow.c mv -f .deps/fputsx.Tpo .deps/fputsx.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT lockpw.o -MD -MP -MF .deps/lockpw.Tpo -c -o lockpw.o lockpw.c mv -f .deps/getpass.Tpo .deps/getpass.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT port.o -MD -MP -MF .deps/port.Tpo -c -o port.o port.c mv -f .deps/getdef.Tpo .deps/getdef.Po mv -f .deps/groupio.Tpo .deps/groupio.Po mv -f .deps/dialchk.Tpo .deps/dialchk.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT pwauth.o -MD -MP -MF .deps/pwauth.Tpo -c -o pwauth.o pwauth.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT pwio.o -MD -MP -MF .deps/pwio.Tpo -c -o pwio.o pwio.c lockpw.c: In function 'lckpwdf': lockpw.c:94:7: warning: implicit declaration of function 'tpw_lock'; did you mean 'spw_lock'? [-Wimplicit-function-declaration] if (tpw_lock ()) ^~~~~~~~ spw_lock lockpw.c: In function 'ulckpwdf': lockpw.c:124:43: warning: implicit declaration of function 'tpw_unlock'; did you mean 'spw_unlock'? [-Wimplicit-function-declaration] return (pw_unlock () && spw_unlock () && tpw_unlock ()) ? 0:-1; ^~~~~~~~~~ spw_unlock i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT rad64.o -MD -MP -MF .deps/rad64.Tpo -c -o rad64.o rad64.c commonio.c: In function 'commonio_lock.part.2': commonio.c:221:20: warning: '%ld' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(file, "%s.%ld", db->filename, (long) getpid()); ^~~ In file included from /usr/include/stdio.h:862:0, from gshadow_.h:50, from defines.h:85, from commonio.c:7: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 1036 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commonio.c:222:19: warning: '.lock' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(lock, "%s.lock", db->filename); ^~~~~ In file included from /usr/include/stdio.h:862:0, from gshadow_.h:50, from defines.h:85, from commonio.c:7: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 1029 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/lockpw.Tpo .deps/lockpw.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT sgroupio.o -MD -MP -MF .deps/sgroupio.Tpo -c -o sgroupio.o sgroupio.c mv -f .deps/rad64.Tpo .deps/rad64.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT shadow.o -MD -MP -MF .deps/shadow.Tpo -c -o shadow.o shadow.c mv -f .deps/dialup.Tpo .deps/dialup.Po commonio.c: In function 'commonio_close.part.3': commonio.c:532:20: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(buf, "%s-", db->filename); ^ In file included from /usr/include/stdio.h:862:0, from gshadow_.h:50, from defines.h:85, from commonio.c:7: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1025 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commonio.c:554:19: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(buf, "%s+", db->filename); ^ In file included from /usr/include/stdio.h:862:0, from gshadow_.h:50, from defines.h:85, from commonio.c:7: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1025 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pwauth.c: In function '_old_auth': mv -f .deps/shadow.Tpo .deps/shadow.Po pwauth.c:214:3: warning: implicit declaration of function 't_getpass'; did you mean 'getpass'? [-Wimplicit-function-declaration] t_getpass (clear, 128, prompt); ^~~~~~~~~ getpass i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT shadowio.o -MD -MP -MF .deps/shadowio.Tpo -c -o shadowio.o shadowio.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT utent.o -MD -MP -MF .deps/utent.Tpo -c -o utent.o utent.c mv -f .deps/gshadow.Tpo .deps/gshadow.Po mv -f .deps/utent.Tpo .deps/utent.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT md5crypt.o -MD -MP -MF .deps/md5crypt.Tpo -c -o md5crypt.o md5crypt.c mv -f .deps/pwauth.Tpo .deps/pwauth.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tpwio.o -MD -MP -MF .deps/tpwio.Tpo -c -o tpwio.o tpwio.c mv -f .deps/pwio.Tpo .deps/pwio.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT sgetgrent.o -MD -MP -MF .deps/sgetgrent.Tpo -c -o sgetgrent.o sgetgrent.c commonio.c: In function 'commonio_unlock': commonio.c:339:20: warning: '.lock' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(lock, "%s.lock", db->filename); ^~~~~ In file included from /usr/include/stdio.h:862:0, from gshadow_.h:50, from defines.h:85, from commonio.c:7: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 1029 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/shadowio.Tpo .deps/shadowio.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT sgetpwent.o -MD -MP -MF .deps/sgetpwent.Tpo -c -o sgetpwent.o sgetpwent.c mv -f .deps/sgroupio.Tpo .deps/sgroupio.Po mv -f .deps/tpwio.Tpo .deps/tpwio.Po mv -f .deps/port.Tpo .deps/port.Po mv -f .deps/commonio.Tpo .deps/commonio.Po mv -f .deps/md5crypt.Tpo .deps/md5crypt.Po mv -f .deps/sgetgrent.Tpo .deps/sgetgrent.Po mv -f .deps/md5.Tpo .deps/md5.Po mv -f .deps/sgetpwent.Tpo .deps/sgetpwent.Po rm -f libshadow.a ar cru libshadow.a commonio.o dialchk.o dialup.o encrypt.o fputsx.o getdef.o getpass.o groupio.o gshadow.o lockpw.o port.o pwauth.o pwio.o rad64.o sgroupio.o shadow.o shadowio.o utent.o md5.o md5crypt.o tpwio.o sgetgrent.o sgetpwent.o ranlib libshadow.a make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/lib' Making all in libmisc make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/libmisc' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT addgrps.o -MD -MP -MF .deps/addgrps.Tpo -c -o addgrps.o addgrps.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT age.o -MD -MP -MF .deps/age.Tpo -c -o age.o age.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT basename.o -MD -MP -MF .deps/basename.Tpo -c -o basename.o basename.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT chkname.o -MD -MP -MF .deps/chkname.Tpo -c -o chkname.o chkname.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT chowndir.o -MD -MP -MF .deps/chowndir.Tpo -c -o chowndir.o chowndir.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT chowntty.o -MD -MP -MF .deps/chowntty.Tpo -c -o chowntty.o chowntty.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT console.o -MD -MP -MF .deps/console.Tpo -c -o console.o console.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT copydir.o -MD -MP -MF .deps/copydir.Tpo -c -o copydir.o copydir.c chowndir.c: In function 'chown_tree': chowndir.c:120:4: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown (new_name, new_uid, ^~~~~~~~~~~~~~~~~~~~~~~~~ sb.st_gid == old_gid ? new_gid:sb.st_gid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chowndir.c:131:4: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown (root, new_uid, ^~~~~~~~~~~~~~~~~~~~~ sb.st_gid == old_gid ? new_gid:sb.st_gid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/basename.Tpo .deps/basename.Po copydir.c: In function 'copy_tree': copydir.c:225:4: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown (dst_name, uid == (uid_t) -1 ? sb.st_uid:uid, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gid == (gid_t) -1 ? sb.st_gid:gid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT entry.o -MD -MP -MF .deps/entry.Tpo -c -o entry.o entry.c mv -f .deps/addgrps.Tpo .deps/addgrps.Po mv -f .deps/console.Tpo .deps/console.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT env.o -MD -MP -MF .deps/env.Tpo -c -o env.o env.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT failure.o -MD -MP -MF .deps/failure.Tpo -c -o failure.o failure.c mv -f .deps/chowndir.Tpo .deps/chowndir.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT fields.o -MD -MP -MF .deps/fields.Tpo -c -o fields.o fields.c mv -f .deps/chkname.Tpo .deps/chkname.Po mv -f .deps/chowntty.Tpo .deps/chowntty.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT hushed.o -MD -MP -MF .deps/hushed.Tpo -c -o hushed.o hushed.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT isexpired.o -MD -MP -MF .deps/isexpired.Tpo -c -o isexpired.o isexpired.c mv -f .deps/entry.Tpo .deps/entry.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT limits.o -MD -MP -MF .deps/limits.Tpo -c -o limits.o limits.c failure.c: In function 'failure': failure.c:100:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, (char *) fl, sizeof *fl); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ failure.c: In function 'failcheck': failure.c:187:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, (char *) &fail, sizeof fail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ failure.c: In function 'failtmp': failure.c:291:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, (char *) failent, sizeof *failent); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/age.Tpo .deps/age.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c mv -f .deps/copydir.Tpo .deps/copydir.Po limits.c: In function 'setup_limits': i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c limits.c:334:6: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] (void) nice (i); ^~~~~~~~~~~~~~~ mv -f .deps/fields.Tpo .deps/fields.Po mv -f .deps/failure.Tpo .deps/failure.Po mv -f .deps/hushed.Tpo .deps/hushed.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT login_access.o -MD -MP -MF .deps/login_access.Tpo -c -o login_access.o login_access.c mv -f .deps/env.Tpo .deps/env.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT login_desrpc.o -MD -MP -MF .deps/login_desrpc.Tpo -c -o login_desrpc.o login_desrpc.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT login_krb.o -MD -MP -MF .deps/login_krb.Tpo -c -o login_krb.o login_krb.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT loginprompt.o -MD -MP -MF .deps/loginprompt.Tpo -c -o loginprompt.o loginprompt.c mv -f .deps/isexpired.Tpo .deps/isexpired.Po mv -f .deps/login_krb.Tpo .deps/login_krb.Po mv -f .deps/login_desrpc.Tpo .deps/login_desrpc.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT mail.o -MD -MP -MF .deps/mail.Tpo -c -o mail.o mail.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT motd.o -MD -MP -MF .deps/motd.Tpo -c -o motd.o motd.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT myname.o -MD -MP -MF .deps/myname.Tpo -c -o myname.o myname.c log.c: In function 'dolastlog': log.c:110:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, (char *) &newlog, sizeof newlog); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/log.Tpo .deps/log.Po login_access.c: In function 'netgroup_match': login_access.c:204:3: warning: ignoring return value of 'getdomainname', declared with attribute warn_unused_result [-Wunused-result] getdomainname(domain, MAXHOSTNAMELEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT obscure.o -MD -MP -MF .deps/obscure.Tpo -c -o obscure.o obscure.c mv -f .deps/limits.Tpo .deps/limits.Po mv -f .deps/list.Tpo .deps/list.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT pam_pass.o -MD -MP -MF .deps/pam_pass.Tpo -c -o pam_pass.o pam_pass.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT pwd2spwd.o -MD -MP -MF .deps/pwd2spwd.Tpo -c -o pwd2spwd.o pwd2spwd.c mv -f .deps/myname.Tpo .deps/myname.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT rlogin.o -MD -MP -MF .deps/rlogin.Tpo -c -o rlogin.o rlogin.c mv -f .deps/motd.Tpo .deps/motd.Po mv -f .deps/mail.Tpo .deps/mail.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT salt.o -MD -MP -MF .deps/salt.Tpo -c -o salt.o salt.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT setugid.o -MD -MP -MF .deps/setugid.Tpo -c -o setugid.o setugid.c mv -f .deps/loginprompt.Tpo .deps/loginprompt.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT setup.o -MD -MP -MF .deps/setup.Tpo -c -o setup.o setup.c mv -f .deps/pwd2spwd.Tpo .deps/pwd2spwd.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT setupenv.o -MD -MP -MF .deps/setupenv.Tpo -c -o setupenv.o setupenv.c mv -f .deps/login_access.Tpo .deps/login_access.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT shell.o -MD -MP -MF .deps/shell.Tpo -c -o shell.o shell.c mv -f .deps/salt.Tpo .deps/salt.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT strtoday.o -MD -MP -MF .deps/strtoday.Tpo -c -o strtoday.o strtoday.c mv -f .deps/rlogin.Tpo .deps/rlogin.Po mv -f .deps/setugid.Tpo .deps/setugid.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT suauth.o -MD -MP -MF .deps/suauth.Tpo -c -o suauth.o suauth.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT sub.o -MD -MP -MF .deps/sub.Tpo -c -o sub.o sub.c mv -f .deps/setup.Tpo .deps/setup.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT sulog.o -MD -MP -MF .deps/sulog.Tpo -c -o sulog.o sulog.c mv -f .deps/pam_pass.Tpo .deps/pam_pass.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT ttytype.o -MD -MP -MF .deps/ttytype.Tpo -c -o ttytype.o ttytype.c mv -f .deps/obscure.Tpo .deps/obscure.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT tz.o -MD -MP -MF .deps/tz.Tpo -c -o tz.o tz.c mv -f .deps/shell.Tpo .deps/shell.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT ulimit.o -MD -MP -MF .deps/ulimit.Tpo -c -o ulimit.o ulimit.c mv -f .deps/setupenv.Tpo .deps/setupenv.Po mv -f .deps/strtoday.Tpo .deps/strtoday.Po mv -f .deps/sub.Tpo .deps/sub.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT utmp.o -MD -MP -MF .deps/utmp.Tpo -c -o utmp.o utmp.c mv -f .deps/ulimit.Tpo .deps/ulimit.Po i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT valid.o -MD -MP -MF .deps/valid.Tpo -c -o valid.o valid.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT xmalloc.o -MD -MP -MF .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT login_fbtab.o -MD -MP -MF .deps/login_fbtab.Tpo -c -o login_fbtab.o login_fbtab.c mv -f .deps/sulog.Tpo .deps/sulog.Po mv -f .deps/tz.Tpo .deps/tz.Po login_fbtab.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] login_fbtab(tty, uid, gid) ^~~~~~~~~~~ login_fbtab.c: In function 'login_fbtab': login_fbtab.c:73:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ login_fbtab.c:59:1: note: declared here login_fbtab(tty, uid, gid) ^~~~~~~~~~~ mv -f .deps/ttytype.Tpo .deps/ttytype.Po login_fbtab.c:92:3: warning: implicit declaration of function 'login_protect'; did you mean 'login_fbtab'? [-Wimplicit-function-declaration] login_protect(table, cp, prot, uid, gid); ^~~~~~~~~~~~~ login_fbtab login_fbtab.c: At top level: login_fbtab.c:101:1: warning: return type defaults to 'int' [-Wimplicit-int] login_protect(table, path, mask, uid, gid) ^~~~~~~~~~~~~ login_fbtab.c: In function 'login_protect': login_fbtab.c:114:6: warning: implicit declaration of function 'chmod' [-Wimplicit-function-declaration] if (chmod(path, mask) && errno != ENOENT) ^~~~~ login_fbtab.c:116:6: warning: implicit declaration of function 'chown' [-Wimplicit-function-declaration] if (chown(path, uid, gid) && errno != ENOENT) ^~~~~ utmp.c: In function 'setutmp': utmp.c:276:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, (char *) &utent, sizeof utent); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po mv -f .deps/valid.Tpo .deps/valid.Po mv -f .deps/utmp.Tpo .deps/utmp.Po mv -f .deps/login_fbtab.Tpo .deps/login_fbtab.Po mv -f .deps/suauth.Tpo .deps/suauth.Po rm -f libmisc.a ar cru libmisc.a addgrps.o age.o basename.o chkname.o chowndir.o chowntty.o console.o copydir.o entry.o env.o failure.o fields.o hushed.o isexpired.o limits.o list.o log.o login_access.o login_desrpc.o login_krb.o loginprompt.o mail.o motd.o myname.o obscure.o pam_pass.o pwd2spwd.o rlogin.o salt.o setugid.o setup.o setupenv.o shell.o strtoday.o suauth.o sub.o sulog.o ttytype.o tz.o ulimit.o utmp.o valid.o xmalloc.o login_fbtab.o ranlib libmisc.a make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/libmisc' Making all in src make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/src' i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT login.o -MD -MP -MF .deps/login.Tpo -c -o login.o login.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT su.o -MD -MP -MF .deps/su.Tpo -c -o su.o su.c i686-tld-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../../libsrp -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -MT passwd.o -MD -MP -MF .deps/passwd.Tpo -c -o passwd.o passwd.c login.c: In function 'main': login.c:764:12: warning: passing argument 1 of 'failtmp' from incompatible pointer type [-Wincompatible-pointer-types] failtmp(&failent); ^ In file included from login.c:35:0: ../lib/prototypes.h:81:13: note: expected 'const struct utmp *' but argument is of type 'struct utmpx *' extern void failtmp P_((const struct utmp *)); ^~~~~~~ passwd.c: In function 'new_password': passwd.c:360:7: warning: implicit declaration of function 't_getpass'; did you mean 'getpass'? [-Wimplicit-function-declaration] if (t_getpass (clear, 128, OLDPASS) < 0) return -1; ^~~~~~~~~ getpass login.c:955:5: warning: implicit declaration of function 'run_passwd' [-Wimplicit-function-declaration] run_passwd (&pwent); ^~~~~~~~~~ passwd.c: In function 'fail_exit': passwd.c:740:2: warning: implicit declaration of function 'tpw_unlock'; did you mean 'pw_unlock'? [-Wimplicit-function-declaration] tpw_unlock(); ^~~~~~~~~~ pw_unlock passwd.c:741:2: warning: implicit declaration of function 'commonio_unlock_all' [-Wimplicit-function-declaration] commonio_unlock_all(); ^~~~~~~~~~~~~~~~~~~ passwd.c: In function 'main': passwd.c:1423:3: warning: implicit declaration of function 'do_pam_passwd' [-Wimplicit-function-declaration] do_pam_passwd(name, flags); ^~~~~~~~~~~~~ passwd.c:1439:7: warning: implicit declaration of function 'commonio_lock_all' [-Wimplicit-function-declaration] if (!commonio_lock_all()) { ^~~~~~~~~~~~~~~~~ passwd.c:1470:9: warning: implicit declaration of function 'tpw_lock'; did you mean 'pw_lock'? [-Wimplicit-function-declaration] if (!tpw_lock()) ^~~~~~~~ pw_lock passwd.c:1102:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid (getuid ()); ^~~~~~~~~~~~~~~~~~ mv -f .deps/su.Tpo .deps/su.Po /bin/sh ../libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o su su.o ../libmisc/libmisc.a ../lib/libshadow.a ../../libsrp/libsrp.la -lcrypt -lcrypto mv -f .deps/login.Tpo .deps/login.Po /bin/sh ../libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o login login.o ../libmisc/libmisc.a ../lib/libshadow.a ../../libsrp/libsrp.la -lcrypt -lcrypto mv -f .deps/passwd.Tpo .deps/passwd.Po /bin/sh ../libtool --tag=CC --mode=link i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o passwd passwd.o ../libmisc/libmisc.a ../lib/libshadow.a ../../libsrp/libsrp.la -lcrypt -lcrypto -lcrack -lpam -lpam_misc libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/su su.o ../libmisc/libmisc.a ../lib/libshadow.a ../../libsrp/.libs/libsrp.so -lcrypt -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/login login.o ../libmisc/libmisc.a ../lib/libshadow.a ../../libsrp/.libs/libsrp.so -lcrypt -lcrypto libtool: link: i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,relro -Wl,-z -Wl,combreloc -o .libs/passwd passwd.o ../libmisc/libmisc.a ../lib/libshadow.a ../../libsrp/.libs/libsrp.so -lcrypt -lcrypto /usr/lib/libcrack.so -lz /usr/lib/libpam_misc.so /usr/lib/libpam.so /usr/lib/libaudit.so /usr/lib/libcap-ng.so -ldl make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/src' Making all in etc make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/etc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/etc' Making all in pam_eps make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/pam_eps' mkdir -p ./dynamic i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -fPIC -I../../libsrp -DUSE_LCKPWDF -DCHKPWD_HELPER=\"/sbin/eps_chkpwd\" -c support.c -o dynamic/support.o i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -fPIC -I../../libsrp -DUSE_LCKPWDF -DCHKPWD_HELPER=\"/sbin/eps_chkpwd\" -c pam_eps_auth.c -o dynamic/pam_eps_auth.o i686-tld-linux-gcc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -fPIC -I../../libsrp -DUSE_LCKPWDF -DCHKPWD_HELPER=\"/sbin/eps_chkpwd\" -c pam_eps_passwd.c -o dynamic/pam_eps_passwd.o i686-tld-linux-gcc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -o eps_chkpwd eps_chkpwd.c -L../../libsrp/.libs -lsrp -lcrypto In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from pam_eps_passwd.c:57: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ eps_chkpwd.c: In function 'main': eps_chkpwd.c:157:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pass[npass]= (char)NULL; ^ eps_chkpwd.c:158:12: warning: implicit declaration of function 't_verifypw'; did you mean '__overflow'? [-Wimplicit-function-declaration] retval = t_verifypw(user, pass); ^~~~~~~~~~ __overflow pam_eps_auth.c: In function 't_run_helper_binary': pam_eps_auth.c:161:10: warning: implicit declaration of function 'waitpid'; did you mean 'getpid'? [-Wimplicit-function-declaration] (void) waitpid (child, &retval, 0); ^~~~~~~ getpid pam_eps_auth.c: In function '_pam_auth_eps': pam_eps_auth.c:215:12: warning: implicit declaration of function 't_verifypw'; did you mean '__overflow'? [-Wimplicit-function-declaration] retval = t_verifypw(name, p); ^~~~~~~~~~ __overflow pam_eps_passwd.c: In function '_do_setpass': pam_eps_passwd.c:549:3: warning: implicit declaration of function 'lckpwdf' [-Wimplicit-function-declaration] lckpwdf(); ^~~~~~~ pam_eps_auth.c: In function 't_run_helper_binary': pam_eps_auth.c:155:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fds[1], "1:", 2); ^~~~~~~~~~~~~~~~~~~~~~~ pam_eps_auth.c:156:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fds[1], pass, strlen(pass)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pam_eps_passwd.c:576:3: warning: implicit declaration of function 'ulckpwdf' [-Wimplicit-function-declaration] ulckpwdf(); ^~~~~~~~ pam_eps_passwd.c: In function '_do_getpass': pam_eps_passwd.c:589:10: warning: implicit declaration of function 'creat'; did you mean 'pread'? [-Wimplicit-function-declaration] if(creat(DEFAULT_PASSWD, 0400) < 0) ^~~~~ pread i686-tld-linux-gcc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc --shared -o pam_eps_auth.so dynamic/support.o dynamic/pam_eps_auth.o -L../../libsrp/.libs -lsrp -lcrypto i686-tld-linux-gcc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc --shared -o pam_eps_passwd.so dynamic/pam_eps_passwd.o -L../../libsrp/.libs -lsrp -lcrypto make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/pam_eps' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base' make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base' make[1]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base' make[1]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2' + exit 0 Executing(%install): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.v2X3qH/BUILD/tmp /bin/sh -e /tmp/B.v2X3qH/BUILD/tmp/rpm-tmp.18037 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.v2X3qH/BUILD/tmp + umask 022 + cd /tmp/B.v2X3qH/BUILD + /bin/rm '--interactive=never' -rf /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder + /bin/mkdir -p /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder + cd srp-2.1.2 + rm -rf /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder + install -d /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/etc/pam.d /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/etc/rc.d/init.d /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/etc/sysconfig /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/bin /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/sbin + touch /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/etc/tpasswd + /usr/bin/make -j8 install 'DESTDIR=/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder' 'SECUREDIR=/lib/security' 'FAKEROOT=/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder' 'suidbins=' 'suidubins=' Making install in libsrp make[1]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libsrp' make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libsrp' /bin/mkdir -p '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib' /bin/mkdir -p '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/include' /bin/sh ./libtool --mode=install /usr/bin/install -c libsrp.la '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib' /usr/bin/install -c -m 644 srp.h srp_aux.h t_client.h t_pwd.h t_server.h t_sha.h cstr.h '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/include' libtool: install: /usr/bin/install -c .libs/libsrp.so.0.0.0 /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib/libsrp.so.0.0.0 libtool: install: (cd /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib && { ln -s -f libsrp.so.0.0.0 libsrp.so.0 || { rm -f libsrp.so.0 && ln -s libsrp.so.0.0.0 libsrp.so.0; }; }) libtool: install: (cd /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib && { ln -s -f libsrp.so.0.0.0 libsrp.so || { rm -f libsrp.so && ln -s libsrp.so.0.0.0 libsrp.so; }; }) libtool: install: /usr/bin/install -c .libs/libsrp.lai /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib/libsrp.la libtool: install: /usr/bin/install -c .libs/libsrp.a /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib/libsrp.a libtool: install: chmod 644 /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib/libsrp.a libtool: install: ranlib /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib/libsrp.a libtool: warning: remember to run 'libtool --finish /usr/lib' /bin/mkdir -p '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -c tconf '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin' libtool: install: /usr/bin/install -c .libs/tconf /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/tconf make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libsrp' make[1]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libsrp' Making install in libkrypto make[1]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libkrypto' make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libkrypto' /bin/mkdir -p '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/include' /bin/mkdir -p '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c libkrypto.la '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib' /usr/bin/install -c -m 644 krypto.h '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/include' libtool: install: /usr/bin/install -c .libs/libkrypto.so.0.0.0 /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib/libkrypto.so.0.0.0 libtool: install: (cd /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib && { ln -s -f libkrypto.so.0.0.0 libkrypto.so.0 || { rm -f libkrypto.so.0 && ln -s libkrypto.so.0.0.0 libkrypto.so.0; }; }) libtool: install: (cd /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib && { ln -s -f libkrypto.so.0.0.0 libkrypto.so || { rm -f libkrypto.so && ln -s libkrypto.so.0.0.0 libkrypto.so; }; }) libtool: install: /usr/bin/install -c .libs/libkrypto.lai /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib/libkrypto.la libtool: install: /usr/bin/install -c .libs/libkrypto.a /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib/libkrypto.a libtool: install: chmod 644 /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib/libkrypto.a libtool: install: ranlib /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/lib/libkrypto.a libtool: warning: remember to run 'libtool --finish /usr/lib' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libkrypto' make[1]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/libkrypto' Making install in telnet make[1]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet' Making install in arpa make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/arpa' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/arpa' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/arpa' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/arpa' Making install in libtelnet make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/libtelnet' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/libtelnet' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/libtelnet' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/libtelnet' Making install in telnet make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/telnet' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/telnet' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c telnet '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin' libtool: install: /usr/bin/install -c .libs/telnet /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/telnet make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/telnet' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/telnet' Making install in telnetd make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/telnetd' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/telnetd' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c telnetd '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/sbin' libtool: install: /usr/bin/install -c .libs/telnetd /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/sbin/telnetd make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/telnetd' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet/telnetd' make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet' make[1]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/telnet' Making install in ftp make[1]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp' Making install in arpa make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/arpa' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/arpa' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/arpa' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/arpa' Making install in ftp make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/ftp' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/ftp' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c ftp '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin' libtool: install: /usr/bin/install -c .libs/ftp /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/ftp make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/ftp' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/ftp' Making install in ftpd make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/ftpd' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/ftpd' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c ftpd '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/sbin' libtool: install: /usr/bin/install -c .libs/ftpd /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/sbin/ftpd make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/ftpd' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp/ftpd' make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp' make[1]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/ftp' Making install in base make[1]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base' Making install in lib make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/lib' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/lib' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/lib' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/lib' Making install in libmisc make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/libmisc' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/libmisc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/libmisc' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/libmisc' Making install in src make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/src' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/src' /bin/sh /tmp/B.v2X3qH/BUILD/srp-2.1.2/base/install-sh -d /usr/bin /bin/mkdir -p '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin' for i in ; do \ /usr/bin/install -c -m 4755 $i /usr/bin; \ done /bin/sh /tmp/B.v2X3qH/BUILD/srp-2.1.2/base/install-sh -d /usr/bin /bin/sh ../libtool --mode=install /usr/bin/install -c login '/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin' for i in ; do \ /usr/bin/install -c -m 4755 $i /usr/bin; \ done libtool: install: /usr/bin/install -c .libs/login /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/login make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/src' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/src' Making install in etc make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/etc' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/etc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/etc' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/etc' Making install in pam_eps make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/pam_eps' mkdir -p ./dynamic mkdir -p /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/lib/security /usr/bin/install -c -m 644 pam_eps_auth.so pam_eps_passwd.so /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/lib/security /usr/bin/install -c eps_chkpwd /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/sbin make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base/pam_eps' make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base' make[3]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base' make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base' make[1]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2/base' make[1]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2' make[2]: Entering directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2' make[1]: Leaving directory '/tmp/B.v2X3qH/BUILD/srp-2.1.2' + install base/src/su /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/bin/su + install base/src/passwd /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/passwd + mv -f /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/bin/su /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/bin/su.srp + mv -f /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/login /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/bin/login.srp + mv -f /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/passwd /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/passwd.srp + mv -f /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/tconf /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/sbin/tconf + mv -f /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/ftp /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/ftp.srp + mv -f /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/telnet /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/bin/telnet.srp + mv -f /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/sbin/ftpd /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/sbin/ftpd.srp + mv -f /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/sbin/telnetd /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/sbin/telnetd.srp + __spec_install_post_strip + set +x Stripping 7 ELF executables...DONE Stripping 4 ELF shared libraries...DONE Stripping 2 ar archives...DONE + __spec_install_post_chrpath + set +x Remove RPATH/RUNPATH from 11 executable binaries and shared object files. + __spec_install_post_check_so + set +x Searching for shared objects with unresolved symbols... DONE + __spec_install_post_check_tmpfiles + set +x Checking /var/run <-> tmpfiles.d completeness... DONE + __spec_install_post_compress_docs + set +x + __spec_install_post_compress_modules + set +x + __spec_install_post_py_hardlink + set +x Processing files: srp-2.1.2-5 Executing(%doc): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.v2X3qH/BUILD/tmp /bin/sh -e /tmp/B.v2X3qH/BUILD/tmp/rpm-tmp.92830 + umask 022 + cd /tmp/B.v2X3qH/BUILD + cd srp-2.1.2 + DOCDIR=/tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/share/doc/srp-2.1.2 + export DOCDIR + rm -rf /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/share/doc/srp-2.1.2 + /bin/mkdir -p /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/share/doc/srp-2.1.2 + /usr/lib/rpm/compress-doc Compressing documentation in /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/share/doc/srp-2.1.2... Documentation compressed. + cp -pr docs/Acknowledgements docs/Copyrights docs/LICENSE docs/copyright.c docs/draft-altman-rfc2942bis-00.txt docs/draft-altman-rfc2944bis-01.txt docs/draft-altman-telnet-fwdx-02.txt docs/draft-ietf-tls-srp-13.txt docs/draft-ietf-tn3270e-telnet-tls-05.txt docs/rfc2941.txt docs/rfc2942.txt docs/rfc2944.txt docs/rfc2945.txt docs/rfc2946.txt docs/rfc2947.txt docs/rfc2948.txt docs/rfc2949.txt docs/rfc2950.txt docs/rfc2952.txt docs/rfc2953.txt docs/srp.ps inst/INSTALL.EPS inst/INSTALL.SRP /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/share/doc/srp-2.1.2 + /usr/lib/rpm/compress-doc Compressing documentation in /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder/usr/share/doc/srp-2.1.2... ./draft-ietf-tls-srp-13.txt ./LICENSE ./Copyrights ./rfc2946.txt ./INSTALL.EPS ./draft-ietf-tn3270e-telnet-tls-05.txt ./rfc2949.txt ./draft-altman-rfc2944bis-01.txt ./INSTALL.SRP ./copyright.c ./draft-altman-rfc2942bis-00.txt ./rfc2950.txt ./srp.ps ./rfc2941.txt ./draft-altman-telnet-fwdx-02.txt ./rfc2948.txt ./rfc2945.txt ./rfc2953.txt ./rfc2944.txt ./rfc2947.txt ./rfc2942.txt ./rfc2952.txt ./Acknowledgements Documentation compressed. + exit 0 Provides: config(srp) = 0:2.1.2-5 pam_eps_auth.so pam_eps_passwd.so Requires: /bin/sh libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypt.so.1 libcrypt.so.1(GLIBC_2.0) libsrp.so.0 rtld(GNU_HASH) Processing files: srp-libs-2.1.2-5 Provides: libkrypto.so.0 libsrp.so.0 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libcrypto.so.1.0.0 rtld(GNU_HASH) Processing files: srp-devel-2.1.2-5 Provides: libtool(/usr/lib/libkrypto.la) libtool(/usr/lib/libsrp.la) Processing files: srp-static-2.1.2-5 Processing files: srp-telnet-2.1.2-5 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypto.so.1.0.0 libncursesw.so.6 libsrp.so.0 libssl.so.1.0.0 rtld(GNU_HASH) Processing files: srp-telnetd-2.1.2-5 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libcrypto.so.1.0.0 libncursesw.so.6 libsrp.so.0 libssl.so.1.0.0 rtld(GNU_HASH) Processing files: srp-ftp-2.1.2-5 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libkrypto.so.0 libsrp.so.0 rtld(GNU_HASH) Processing files: srp-ftpd-2.1.2-5 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libcrypt.so.1 libcrypt.so.1(GLIBC_2.0) libkrypto.so.0 libsrp.so.0 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder Wrote: /tmp/B.v2X3qH/RPMS/srp-2.1.2-5.i686.rpm Wrote: /tmp/B.v2X3qH/RPMS/srp-libs-2.1.2-5.i686.rpm Wrote: /tmp/B.v2X3qH/RPMS/srp-devel-2.1.2-5.i686.rpm Wrote: /tmp/B.v2X3qH/RPMS/srp-static-2.1.2-5.i686.rpm Wrote: /tmp/B.v2X3qH/RPMS/srp-telnet-2.1.2-5.i686.rpm Wrote: /tmp/B.v2X3qH/RPMS/srp-telnetd-2.1.2-5.i686.rpm Wrote: /tmp/B.v2X3qH/RPMS/srp-ftp-2.1.2-5.i686.rpm Wrote: /tmp/B.v2X3qH/RPMS/srp-ftpd-2.1.2-5.i686.rpm Executing(%clean): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.v2X3qH/BUILD/tmp /bin/sh -e /tmp/B.v2X3qH/BUILD/tmp/rpm-tmp.71898 + umask 022 + cd /tmp/B.v2X3qH/BUILD + cd srp-2.1.2 + /bin/rm '--interactive=never' -rf /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder + rm -rf /tmp/B.v2X3qH/BUILD/tmp/srp-2.1.2-root-builder ended at: Mon Mar 12 16:13:09 2018, done in 0:00:40.711741 mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.v2X3qH/BUILD + rm -rf /tmp/B.v2X3qH/tmp /tmp/B.v2X3qH/BUILD copy rpm files to cache_dir: /spools/ready Creating pndir index of /spools/ready/ (type=dir)... Loading [pndir]previous /spools/ready/packages.ndir.gz... Loading [dir]/spools/ready/... 200..400..600..800..1000..1200..1201 Writing /spools/ready/packages.ndir.gz... Begin-TLD-Builder-Info upgrading packages Preparing... ################################################## srp-libs ################################################## srp-devel ################################################## End-TLD-Builder-Info mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.v2X3qH Begin-TLD-Builder-Info Build-Time: user:45.92s sys:4.83s real:43.59s (faults io:2 non-io:4093832) Files queued for ftp: 29734 srp-ftpd-2.1.2-5.i686.rpm 38317 srp-ftp-2.1.2-5.i686.rpm 55217 srp-telnetd-2.1.2-5.i686.rpm 69254 srp-telnet-2.1.2-5.i686.rpm 37256 srp-static-2.1.2-5.i686.rpm 15159 srp-devel-2.1.2-5.i686.rpm 39308 srp-libs-2.1.2-5.i686.rpm 242266 srp-2.1.2-5.i686.rpm 325 srp-2.1.2-5.src.rpm.uploadinfo End-TLD-Builder-Info