+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ppp.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3TYwAw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ppp-2.4.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/ppp-2.4.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ppp-2.4.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-build-sys-use-gcc-as-our-compiler-of-choice.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-build-sys-enable-PAM-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-build-sys-utilize-compiler-flags-handed-to-us-by-rpm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-doc-add-configuration-samples.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-build-sys-don-t-hardcode-LIBDIR-but-set-it-according.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0006-scritps-use-change_resolv_conf-function.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0007-build-sys-don-t-strip-binaries-during-installation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0008-build-sys-use-prefix-usr-instead-of-usr-local.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0009-pppd-introduce-ipv6-accept-remote.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0010-build-sys-enable-CBCP.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0011-build-sys-don-t-put-connect-errors-log-to-etc-ppp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0012-pppd-we-don-t-want-to-accidentally-leak-fds.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0013-everywhere-O_CLOEXEC-harder.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0014-everywhere-use-SOCK_CLOEXEC-when-creating-socket.patch + /usr/bin/cat /builddir/build/SOURCES/0015-pppd-move-pppd-database-to-var-run-ppp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0016-rp-pppoe-add-manpage-for-pppoe-discovery.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0017-pppd-rebase-EAP-TLS-patch-v0.994.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0018-scritps-fix-ip-up.local-sample.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0019-sys-linux-rework-get_first_ethernet.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0020-pppd-put-lock-files-in-var-lock-ppp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0021-build-sys-compile-pppol2tp-plugin-with-RPM_OPT_FLAGS.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0022-build-sys-compile-pppol2tp-with-multilink-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0023-build-sys-install-rp-pppoe-plugin-files-with-standar.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0024-build-sys-install-pppoatm-plugin-files-with-standard.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0025-pppd-install-pppd-binary-using-standard-perms-755.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0026-Revert-pppd-rebase-EAP-TLS-patch-v0.994.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0027-pppd-EAP-TLS-patch-v0.997.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0028-Fix-logical-expression-in-eap_client_active-macro.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + tar -xJf /builddir/build/SOURCES/ppp-watch.tar.xz + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.D4rqWA + umask 022 + cd /builddir/build/BUILD + cd ppp-2.4.7 + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing' + RPM_OPT_FLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info Configuring for Linux Creating Makefiles. Makefile <= linux/Makefile.top pppd/Makefile <= pppd/Makefile.linux pppstats/Makefile <= pppstats/Makefile.linux chat/Makefile <= chat/Makefile.linux pppdump/Makefile <= pppdump/Makefile.linux pppd/plugins/Makefile <= pppd/plugins/Makefile.linux pppd/plugins/rp-pppoe/Makefile <= pppd/plugins/rp-pppoe/Makefile.linux pppd/plugins/radius/Makefile <= pppd/plugins/radius/Makefile.linux pppd/plugins/pppoatm/Makefile <= pppd/plugins/pppoatm/Makefile.linux pppd/plugins/pppol2tp/Makefile <= pppd/plugins/pppol2tp/Makefile.linux + make -j4 cd chat; make -j4 --jobserver-auth=3,4 all make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/chat' cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat.o chat.c chat.c: In function 'main': chat.c:151:59: warning: value computed is not used [-Wunused-value] #define OPTION(c,v) (_O&2&&**v?*(*v)++:!c||_O&4?0:(!(_O&1)&& \ ^ chat.c:297:22: note: in expansion of macro 'OPTION' while ((option = OPTION(argc, argv)) != 0) { ^~~~~~ chat.c: In function 'chat_send': chat.c:1045:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, s, strlen(s)); ^~~~~~~~~~~~~~~~~~~~~~ chat.c: In function 'echo_stderr': chat.c:1368:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, "\n", 1); ^~~~~~~~~~~~~~~~~ chat.c:1373:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, s, strlen(s)); ^~~~~~~~~~~~~~~~~~~~~~ At top level: chat.c:90:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: chat.c,v 1.30 2004/01/17 05:47:55 carlsonj Exp $"; ^~~~~ cc -o chat chat.o make[1]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/chat' cd pppd/plugins; make -j4 --jobserver-auth=3,4 all make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins' cc -o minconn.so -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 minconn.c cc -o passprompt.so -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 passprompt.c cc -o passwordfd.so -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 passwordfd.c cc -o winbind.so -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 winbind.c passprompt.c: In function 'promptpass': passprompt.c:57:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ^~~~~~~~~~~~~~~~~ passprompt.c:58:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(getgid()); ^~~~~~~~~~~~~~~~~ winbind.c: In function 'run_ntlm_auth': winbind.c:414:23: warning: pointer targets in passing argument 1 of 'strhex_to_str' differ in signedness [-Wpointer-sign] if (strhex_to_str(nt_key, 32, parameter) == 16) { ^~~~~~ winbind.c:168:8: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strhex_to_str(char *p, size_t len, const char *strhex) ^~~~~~~~~~~~~ winbind.c: In function 'winbind_chap_verify': winbind.c:629:22: warning: pointer targets in passing argument 6 of 'GenerateAuthenticatorResponse' differ in signedness [-Wpointer-sign] challenge, user, saresponse); ^~~~~~~~~~ In file included from winbind.c:39:0: ../chap_ms.h:101:6: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' void GenerateAuthenticatorResponse(u_char PasswordHashHash[MD4_SIGNATURE_SIZE], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ winbind.c: In function 'run_ntlm_auth': winbind.c:305:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ for d in rp-pppoe pppoatm pppol2tp radius; do make -w -j4 --jobserver-auth=5,6 -C $d all; done make[2]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins' make[2]: warning: -jN forced in submake: disabling jobserver mode. cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o plugin.o -fPIC plugin.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o discovery.o -fPIC discovery.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o if.o -fPIC if.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o common.o -fPIC common.c if.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ common.c: In function 'sendPADT': common.c:139:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(err.payload, msg); ^~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from pppoe.h:22, from common.c:20: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ At top level: common.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/linux/in.h:29:3: error: redeclaration of enumerator 'IPPROTO_IP' IPPROTO_IP = 0, /* Dummy protocol for TCP */ ^ /usr/include/netinet/in.h:42:5: note: previous definition of 'IPPROTO_IP' was here IPPROTO_IP = 0, /* Dummy protocol for TCP. */ ^~~~~~~~~~ /usr/include/linux/in.h:31:3: error: redeclaration of enumerator 'IPPROTO_ICMP' IPPROTO_ICMP = 1, /* Internet Control Message Protocol */ ^ /usr/include/netinet/in.h:44:5: note: previous definition of 'IPPROTO_ICMP' was here IPPROTO_ICMP = 1, /* Internet Control Message Protocol. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:33:3: error: redeclaration of enumerator 'IPPROTO_IGMP' IPPROTO_IGMP = 2, /* Internet Group Management Protocol */ ^ /usr/include/netinet/in.h:46:5: note: previous definition of 'IPPROTO_IGMP' was here IPPROTO_IGMP = 2, /* Internet Group Management Protocol. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:35:3: error: redeclaration of enumerator 'IPPROTO_IPIP' IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94) */ ^ /usr/include/netinet/in.h:48:5: note: previous definition of 'IPPROTO_IPIP' was here IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94). */ ^~~~~~~~~~~~ /usr/include/linux/in.h:37:3: error: redeclaration of enumerator 'IPPROTO_TCP' IPPROTO_TCP = 6, /* Transmission Control Protocol */ ^ /usr/include/netinet/in.h:50:5: note: previous definition of 'IPPROTO_TCP' was here IPPROTO_TCP = 6, /* Transmission Control Protocol. */ ^~~~~~~~~~~ /usr/include/linux/in.h:39:3: error: redeclaration of enumerator 'IPPROTO_EGP' IPPROTO_EGP = 8, /* Exterior Gateway Protocol */ ^ /usr/include/netinet/in.h:52:5: note: previous definition of 'IPPROTO_EGP' was here IPPROTO_EGP = 8, /* Exterior Gateway Protocol. */ ^~~~~~~~~~~ /usr/include/linux/in.h:41:3: error: redeclaration of enumerator 'IPPROTO_PUP' IPPROTO_PUP = 12, /* PUP protocol */ ^ /usr/include/netinet/in.h:54:5: note: previous definition of 'IPPROTO_PUP' was here IPPROTO_PUP = 12, /* PUP protocol. */ ^~~~~~~~~~~ /usr/include/linux/in.h:43:3: error: redeclaration of enumerator 'IPPROTO_UDP' IPPROTO_UDP = 17, /* User Datagram Protocol */ ^ /usr/include/netinet/in.h:56:5: note: previous definition of 'IPPROTO_UDP' was here IPPROTO_UDP = 17, /* User Datagram Protocol. */ ^~~~~~~~~~~ /usr/include/linux/in.h:45:3: error: redeclaration of enumerator 'IPPROTO_IDP' IPPROTO_IDP = 22, /* XNS IDP protocol */ ^ /usr/include/netinet/in.h:58:5: note: previous definition of 'IPPROTO_IDP' was here IPPROTO_IDP = 22, /* XNS IDP protocol. */ ^~~~~~~~~~~ /usr/include/linux/in.h:47:3: error: redeclaration of enumerator 'IPPROTO_TP' IPPROTO_TP = 29, /* SO Transport Protocol Class 4 */ ^ /usr/include/netinet/in.h:60:5: note: previous definition of 'IPPROTO_TP' was here IPPROTO_TP = 29, /* SO Transport Protocol Class 4. */ ^~~~~~~~~~ /usr/include/linux/in.h:49:3: error: redeclaration of enumerator 'IPPROTO_DCCP' IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol */ ^ /usr/include/netinet/in.h:62:5: note: previous definition of 'IPPROTO_DCCP' was here IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:51:3: error: redeclaration of enumerator 'IPPROTO_IPV6' IPPROTO_IPV6 = 41, /* IPv6-in-IPv4 tunnelling */ ^ /usr/include/netinet/in.h:64:5: note: previous definition of 'IPPROTO_IPV6' was here IPPROTO_IPV6 = 41, /* IPv6 header. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:53:3: error: redeclaration of enumerator 'IPPROTO_RSVP' IPPROTO_RSVP = 46, /* RSVP Protocol */ ^ /usr/include/netinet/in.h:66:5: note: previous definition of 'IPPROTO_RSVP' was here IPPROTO_RSVP = 46, /* Reservation Protocol. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:55:3: error: redeclaration of enumerator 'IPPROTO_GRE' IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ ^ /usr/include/netinet/in.h:68:5: note: previous definition of 'IPPROTO_GRE' was here IPPROTO_GRE = 47, /* General Routing Encapsulation. */ ^~~~~~~~~~~ /usr/include/linux/in.h:57:3: error: redeclaration of enumerator 'IPPROTO_ESP' IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ ^ /usr/include/netinet/in.h:70:5: note: previous definition of 'IPPROTO_ESP' was here IPPROTO_ESP = 50, /* encapsulating security payload. */ ^~~~~~~~~~~ /usr/include/linux/in.h:59:3: error: redeclaration of enumerator 'IPPROTO_AH' IPPROTO_AH = 51, /* Authentication Header protocol */ ^ /usr/include/netinet/in.h:72:5: note: previous definition of 'IPPROTO_AH' was here IPPROTO_AH = 51, /* authentication header. */ ^~~~~~~~~~ /usr/include/linux/in.h:61:3: error: redeclaration of enumerator 'IPPROTO_MTP' IPPROTO_MTP = 92, /* Multicast Transport Protocol */ ^ /usr/include/netinet/in.h:74:5: note: previous definition of 'IPPROTO_MTP' was here IPPROTO_MTP = 92, /* Multicast Transport Protocol. */ ^~~~~~~~~~~ /usr/include/linux/in.h:63:3: error: redeclaration of enumerator 'IPPROTO_BEETPH' IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET */ ^ /usr/include/netinet/in.h:76:5: note: previous definition of 'IPPROTO_BEETPH' was here IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET. */ ^~~~~~~~~~~~~~ /usr/include/linux/in.h:65:3: error: redeclaration of enumerator 'IPPROTO_ENCAP' IPPROTO_ENCAP = 98, /* Encapsulation Header */ ^ /usr/include/netinet/in.h:78:5: note: previous definition of 'IPPROTO_ENCAP' was here IPPROTO_ENCAP = 98, /* Encapsulation Header. */ ^~~~~~~~~~~~~ /usr/include/linux/in.h:67:3: error: redeclaration of enumerator 'IPPROTO_PIM' IPPROTO_PIM = 103, /* Protocol Independent Multicast */ ^ /usr/include/netinet/in.h:80:5: note: previous definition of 'IPPROTO_PIM' was here IPPROTO_PIM = 103, /* Protocol Independent Multicast. */ ^~~~~~~~~~~ /usr/include/linux/in.h:69:3: error: redeclaration of enumerator 'IPPROTO_COMP' IPPROTO_COMP = 108, /* Compression Header Protocol */ ^ /usr/include/netinet/in.h:82:5: note: previous definition of 'IPPROTO_COMP' was here IPPROTO_COMP = 108, /* Compression Header Protocol. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:71:3: error: redeclaration of enumerator 'IPPROTO_SCTP' IPPROTO_SCTP = 132, /* Stream Control Transport Protocol */ ^ /usr/include/netinet/in.h:84:5: note: previous definition of 'IPPROTO_SCTP' was here IPPROTO_SCTP = 132, /* Stream Control Transmission Protocol. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:73:3: error: redeclaration of enumerator 'IPPROTO_UDPLITE' IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828) */ ^ /usr/include/netinet/in.h:86:5: note: previous definition of 'IPPROTO_UDPLITE' was here IPPROTO_UDPLITE = 136, /* UDP-Lite protocol. */ ^~~~~~~~~~~~~~~ /usr/include/linux/in.h:75:3: error: redeclaration of enumerator 'IPPROTO_MPLS' IPPROTO_MPLS = 137, /* MPLS in IP (RFC 4023) */ ^ /usr/include/netinet/in.h:88:5: note: previous definition of 'IPPROTO_MPLS' was here IPPROTO_MPLS = 137, /* MPLS in IP. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:77:3: error: redeclaration of enumerator 'IPPROTO_RAW' IPPROTO_RAW = 255, /* Raw IP packets */ ^ /usr/include/netinet/in.h:90:5: note: previous definition of 'IPPROTO_RAW' was here IPPROTO_RAW = 255, /* Raw IP packets. */ ^~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:79:3: error: redeclaration of enumerator 'IPPROTO_MAX' IPPROTO_MAX ^~~~~~~~~~~ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:92:5: note: previous definition of 'IPPROTO_MAX' was here IPPROTO_MAX ^~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:85:8: error: redefinition of 'struct in_addr' struct in_addr { ^~~~~~~ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:31:8: note: originally defined here struct in_addr ^~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:168:8: error: redefinition of 'struct ip_mreq' struct ip_mreq { ^~~~~~~ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:264:8: note: originally defined here struct ip_mreq ^~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:173:8: error: redefinition of 'struct ip_mreqn' struct ip_mreqn { ^~~~~~~~ In file included from /usr/include/netinet/in.h:37:0, from pppoe.h:87, from plugin.c:29: /usr/include/bits/in.h:149:8: note: originally defined here struct ip_mreqn ^~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:179:8: error: redefinition of 'struct ip_mreq_source' struct ip_mreq_source { ^~~~~~~~~~~~~~ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:273:8: note: originally defined here struct ip_mreq_source ^~~~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:185:8: error: redefinition of 'struct ip_msfilter' struct ip_msfilter { ^~~~~~~~~~~ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:323:8: note: originally defined here struct ip_msfilter ^~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:197:8: error: redefinition of 'struct group_req' struct group_req { ^~~~~~~~~ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:300:8: note: originally defined here struct group_req ^~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:202:8: error: redefinition of 'struct group_source_req' struct group_source_req { ^~~~~~~~~~~~~~~~ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:309:8: note: originally defined here struct group_source_req ^~~~~~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:208:8: error: redefinition of 'struct group_filter' struct group_filter { ^~~~~~~~~~~~ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:344:8: note: originally defined here struct group_filter ^~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:222:8: error: redefinition of 'struct in_pktinfo' struct in_pktinfo { ^~~~~~~~~~ In file included from /usr/include/netinet/in.h:37:0, from pppoe.h:87, from plugin.c:29: /usr/include/bits/in.h:157:8: note: originally defined here struct in_pktinfo ^~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:232:8: error: redefinition of 'struct sockaddr_in' struct sockaddr_in { ^~~~~~~~~~~ In file included from pppoe.h:47:0, from plugin.c:29: /usr/include/sys/socket.h:79:17: note: originally defined here typedef union { __SOCKADDR_ALLTYPES ^ In file included from /usr/include/linux/if_pppol2tp.h:21:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in6.h:33:8: error: redefinition of 'struct in6_addr' struct in6_addr { ^~~~~~~~ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:211:8: note: originally defined here struct in6_addr ^~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:21:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in6.h:50:8: error: redefinition of 'struct sockaddr_in6' struct sockaddr_in6 { ^~~~~~~~~~~~ In file included from pppoe.h:47:0, from plugin.c:29: /usr/include/sys/socket.h:79:17: note: originally defined here typedef union { __SOCKADDR_ALLTYPES ^ In file included from /usr/include/linux/if_pppol2tp.h:21:0, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in6.h:60:8: error: redefinition of 'struct ipv6_mreq' struct ipv6_mreq { ^~~~~~~~~ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:288:8: note: originally defined here struct ipv6_mreq ^~~~~~~~~ discovery.c: In function 'parsePADOTags': discovery.c:140:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ plugin.c:25:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ make[2]: *** [Makefile:56: plugin.o] Error 1 make[2]: *** Waiting for unfinished jobs.... At top level: discovery.c:11:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins/rp-pppoe' make[2]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins' make[2]: warning: -jN forced in submake: disabling jobserver mode. cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../.. -I../../../include -fPIC -I. -c -o pppoatm.o pppoatm.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../.. -I../../../include -fPIC -I. -c -o text2qos.o text2qos.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../.. -I../../../include -fPIC -I. -c -o text2atm.o text2atm.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../.. -I../../../include -fPIC -I. -c -o misc.o misc.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../.. -I../../../include -fPIC -I. -c -o ans.o ans.c ans.c: In function 'ans': ans.c:65:60: warning: pointer targets in passing argument 4 of '__dn_expand' differ in signedness [-Wpointer-sign] if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) < 0) ^~~~ In file included from ans.c:25:0: /usr/include/resolv.h:273:6: note: expected 'char *' but argument is of type 'unsigned char *' int dn_expand (const unsigned char *, const unsigned char *, ^ ans.c:80:57: warning: pointer targets in passing argument 4 of '__dn_expand' differ in signedness [-Wpointer-sign] if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) ^~~~ In file included from ans.c:25:0: /usr/include/resolv.h:273:6: note: expected 'char *' but argument is of type 'unsigned char *' int dn_expand (const unsigned char *, const unsigned char *, ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../.. -I../../../include -fPIC -I. -o pppoatm.so -shared pppoatm.o text2qos.o text2atm.o misc.o ans.o -lresolv make[2]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins/pppoatm' make[2]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins' make[2]: warning: -jN forced in submake: disabling jobserver mode. cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DHAVE_MULTILINK -I. -I../.. -I../../../include -fPIC -c -o pppol2tp.o pppol2tp.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DHAVE_MULTILINK -I. -I../.. -I../../../include -fPIC -c -o openl2tp.o openl2tp.c pppol2tp.c: In function 'setdevname_pppol2tp': pppol2tp.c:135:53: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if(getsockname(pppol2tp_fd, (struct sockaddr *)&s, &len) < 0) { ^ In file included from /usr/include/net/if.h:26:0, from pppol2tp.c:34: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ pppol2tp.c:147:16: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] &tmp, &tmp_len) < 0) { ^ In file included from /usr/include/net/if.h:26:0, from pppol2tp.c:34: /usr/include/sys/socket.h:208:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ pppol2tp.c:125:9: warning: unused variable 'a' [-Wunused-variable] char **a; ^ pppol2tp.c: In function 'send_config_pppol2tp': pppol2tp.c:200:6: warning: unused variable 'fd' [-Wunused-variable] int fd; ^~ pppol2tp.c:198:15: warning: unused variable 'ifr' [-Wunused-variable] struct ifreq ifr; ^~~ pppol2tp.c: In function 'pppol2tp_lcp_snoop': pppol2tp.c:300:14: warning: variable 'snooping' set but not used [-Wunused-but-set-variable] static bool snooping = 1; ^~~~~~~~ At top level: pppol2tp.c:479:13: warning: 'pppol2tp_cleanup' defined but not used [-Wunused-function] static void pppol2tp_cleanup(void) ^~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DHAVE_MULTILINK -I. -I../.. -I../../../include -fPIC -o openl2tp.so -shared openl2tp.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DHAVE_MULTILINK -I. -I../.. -I../../../include -fPIC -o pppol2tp.so -shared pppol2tp.o rm openl2tp.o pppol2tp.o make[2]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins/pppol2tp' make[2]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins' make[2]: warning: -jN forced in submake: disabling jobserver mode. cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radius.o radius.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o avpair.o avpair.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o buildreq.o buildreq.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o config.o config.c radius.c:205:34: warning: "/*" within comment [-Wcomment] * worry about looking in /etc/ppp/*-secrets radius.c: In function 'radius_setparams': radius.c:596:50: warning: pointer targets in passing argument 2 of 'script_setenv' differ in signedness [-Wpointer-sign] script_setenv("RADIUS_FILTER_ID", vp->strvalue, 1); ^~ In file included from radius.c:29:0: ../../pppd.h:512:6: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' void script_setenv __P((char *, char *, int)); /* set script env var */ ^~~~~~~~~~~~~ radius.c:600:53: warning: pointer targets in passing argument 2 of 'script_setenv' differ in signedness [-Wpointer-sign] script_setenv("RADIUS_FRAMED_ROUTE", vp->strvalue, 1); ^~ In file included from radius.c:29:0: ../../pppd.h:512:6: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' void script_setenv __P((char *, char *, int)); /* set script env var */ ^~~~~~~~~~~~~ radius.c:661:37: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { ^~ In file included from radius.c:43:0: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ radius.c:666:24: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(message, vp->strvalue + 1, message_space); ^~ In file included from radius.c:29:0: ../../pppd.h:535:8: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlcpy __P((char *, const char *, size_t)); /* safe strcpy */ ^~~~~~~ radius.c: In function 'radius_setmppekeys': radius.c:783:26: warning: pointer targets in passing argument 2 of 'MD5_Update' differ in signedness [-Wpointer-sign] MD5_Update(&Context, req_info->secret, strlen(req_info->secret)); ^~~~~~~~ In file included from radius.c:34:0: ../../md5.h:62:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5_Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen); ^~~~~~~~~~ radius.c:791:26: warning: pointer targets in passing argument 2 of 'MD5_Update' differ in signedness [-Wpointer-sign] MD5_Update(&Context, req_info->secret, strlen(req_info->secret)); ^~~~~~~~ In file included from radius.c:34:0: ../../md5.h:62:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5_Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen); ^~~~~~~~~~ radius.c: In function 'radius_setmppekeys2': radius.c:847:26: warning: pointer targets in passing argument 2 of 'MD5_Update' differ in signedness [-Wpointer-sign] MD5_Update(&Context, req_info->secret, strlen(req_info->secret)); ^~~~~~~~ In file included from radius.c:34:0: ../../md5.h:62:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5_Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen); ^~~~~~~~~~ radius.c:862:26: warning: pointer targets in passing argument 2 of 'MD5_Update' differ in signedness [-Wpointer-sign] MD5_Update(&Context, req_info->secret, strlen(req_info->secret)); ^~~~~~~~ In file included from radius.c:34:0: ../../md5.h:62:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5_Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen); ^~~~~~~~~~ At top level: radius.c:26:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ buildreq.c: In function 'rc_get_seqnbr': buildreq.c:138:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(sf),0); ^~~~~~~~~~~~~~~~~~~~~~~ config.c: In function 'rc_conf_str': config.c:273:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (option == NULL) ^~ config.c:275:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return (char *)option->val; ^~~~~~ config.c: In function 'rc_find_server': config.c:538:32: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset (secret, '\0', sizeof (secret)); ^ avpair.c: In function 'rc_avpair_assign': avpair.c:79:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (vp->strvalue, (char *) pval, AUTH_STRING_LEN); ^~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ avpair.c: In function 'rc_avpair_gen': avpair.c:199:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (hex, "%2.2X", *x_ptr); ^~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ avpair.c:200:21: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat (buffer, hex); ^~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ avpair.c: In function 'rc_avpair_parse': avpair.c:600:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (pair->strvalue, valstr); ^~~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ avpair.c: In function 'rc_avpair_tostr': avpair.c:724:20: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] strncat(value, ptr, 1); ^~~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string_fortified.h:133:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ avpair.c:740:24: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'UINT4 {aka unsigned int}' [-Wformat=] sprintf (buffer, "%ld", pair->lvalue); ~~^ ~~~~~~~~~~~~ %d cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o dict.o dict.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o ip_util.o ip_util.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o clientid.o clientid.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o sendserver.o sendserver.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o lock.o lock.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o util.o util.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o md5.o md5.c sendserver.c: In function 'rc_pack_list': sendserver.c:107:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] vector = (char *)auth->vector; ^ cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radattr.o radattr.c In file included from /usr/include/netdb.h:27:0, from ./includes.h:22, from sendserver.c:17: sendserver.c: In function 'rc_send_server': sendserver.c:247:31: warning: implicit declaration of function 'rc_own_bind_ipaddress'; did you mean 'rc_own_ipaddress'? [-Wimplicit-function-declaration] sin->sin_addr.s_addr = htonl(rc_own_bind_ipaddress()); ^ sendserver.c:250:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] getsockname (sockfd, (struct sockaddr *) sin, &length) < 0) ^ In file included from /usr/include/netinet/in.h:23:0, from /usr/include/netdb.h:27, from ./includes.h:22, from sendserver.c:17: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ sendserver.c:275:24: warning: pointer targets in passing argument 2 of 'rc_md5_calc' differ in signedness [-Wpointer-sign] rc_md5_calc (vector, (char *) auth, total_length + secretlen); ^ In file included from sendserver.c:18:0: ./radiusclient.h:457:6: note: expected 'unsigned char *' but argument is of type 'char *' void rc_md5_calc __P((unsigned char *, unsigned char *, unsigned int)); ^~~~~~~~~~~ sendserver.c:331:27: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (int) 0, &saremote, &salen); ^ In file included from /usr/include/sys/socket.h:269:0, from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from ./includes.h:22, from sendserver.c:17: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ sendserver.c:365:16: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(msg, vp->strvalue); ^~ In file included from /usr/include/features.h:428:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from sendserver.c:17: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ sendserver.c: In function 'rc_check_reply': sendserver.c:431:28: warning: pointer targets in passing argument 2 of 'rc_md5_calc' differ in signedness [-Wpointer-sign] rc_md5_calc (calc_digest, (char *) auth, totallen + secretlen); ^ In file included from sendserver.c:18:0: ./radiusclient.h:457:6: note: expected 'unsigned char *' but argument is of type 'char *' void rc_md5_calc __P((unsigned char *, unsigned char *, unsigned int)); ^~~~~~~~~~~ cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radrealms.o radrealms.c radattr.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ cc -o radattr.so -shared radattr.o ar rv libradiusclient.a avpair.o buildreq.o config.o dict.o ip_util.o clientid.o sendserver.o lock.o util.o md5.o ar: creating libradiusclient.a a - avpair.o a - buildreq.o a - config.o a - dict.o a - ip_util.o a - clientid.o a - sendserver.o a - lock.o a - util.o a - md5.o cc -o radius.so -shared radius.o libradiusclient.a radrealms.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ cc -o radrealms.so -shared radrealms.o make[2]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins/radius' make[1]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins' cd pppd; make -j4 --jobserver-auth=3,4 all make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/pppd' gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o main.o main.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o magic.o magic.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o fsm.o fsm.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o lcp.o lcp.c magic.c:54:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ fsm.c:58:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ipcp.o ipcp.c lcp.c:59:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ main.c: In function 'detach': main.c:778:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ main.c: In function 'device_script': main.c:1713:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ main.c:1714:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^~~~~~~~~~~ main.c: In function 'run_program': main.c:1824:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir ("/"); /* no current directory. */ ^~~~~~~~~~~~~~~~~~ main.c:1825:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(0); /* set real UID = root */ ^~~~~~~~~ main.c:1826:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getegid()); ^~~~~~~~~~~~~~~~~ At top level: main.c:124:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o upap.o upap.c ipcp.c:64:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ upap.c:55:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o chap-new.o chap-new.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o md5.o md5.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ccp.o ccp.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ecp.o ecp.c ccp.c:46:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ ecp.c:62:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o auth.o auth.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o options.o options.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o demand.o demand.c options.c: In function 'user_unsetenv': options.c:1738:13: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (arg == '\0') { ^~ options.c:1738:9: note: did you mean to dereference the pointer? if (arg == '\0') { ^ At top level: options.c:82:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ auth.c:121:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ demand.c:55:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o utils.o utils.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o sys-linux.o sys-linux.c utils.c: In function 'lock': utils.c:974:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, lock_buffer, 11); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c: In function 'relock': utils.c:1016:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, lock_buffer, 11); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: utils.c:62:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ipxcp.o ipxcp.c sys-linux.c: In function 'get_pty': sys-linux.c:2740:7: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] fchown(sfd, uid, -1); ^~~~~~~~~~~~~~~~~~~~ ipxcp.c:65:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o tty.o tty.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o eap.o eap.c tty.c: In function 'start_charshunt': tty.c:943:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ tty.c:944:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^~~~~~~~~~~ eap.c:154:21: warning: 'wkmodulus' defined but not used [-Wunused-const-variable=] static const u_char wkmodulus[] = { ^~~~~~~~~ eap.c:88:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o chap-md5.o chap-md5.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o session.o session.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o md4.o md4.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o chap_ms.o chap_ms.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o sha1.o sha1.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o eap-tls.o eap-tls.c chap_ms.c:97:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o pppcrypt.o pppcrypt.c pppcrypt.c: In function 'DesSetkey': pppcrypt.c:122:2: warning: implicit declaration of function 'setkey'; did you mean 'DesSetkey'? [-Wimplicit-function-declaration] setkey((const char *)crypt_key); ^~~~~~ DesSetkey pppcrypt.c: In function 'DesEncrypt': pppcrypt.c:137:2: warning: implicit declaration of function 'encrypt'; did you mean 'crypt'? [-Wimplicit-function-declaration] encrypt((char *)des_input, 0); ^~~~~~~ crypt gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o multilink.o multilink.c gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o tdb.o tdb.c eap-tls.c: In function 'P_hash': eap-tls.c:66:11: error: storage size of 'ctx_a' isn't known HMAC_CTX ctx_a, ctx_out; ^~~~~ eap-tls.c:66:18: error: storage size of 'ctx_out' isn't known HMAC_CTX ctx_a, ctx_out; ^~~~~~~ eap-tls.c:70:2: warning: implicit declaration of function 'HMAC_CTX_init'; did you mean 'HMAC_CTX_new'? [-Wimplicit-function-declaration] HMAC_CTX_init(&ctx_a); ^~~~~~~~~~~~~ HMAC_CTX_new eap-tls.c:105:2: warning: implicit declaration of function 'HMAC_CTX_cleanup'; did you mean 'HMAC_CTX_get_md'? [-Wimplicit-function-declaration] HMAC_CTX_cleanup(&ctx_a); ^~~~~~~~~~~~~~~~ HMAC_CTX_get_md eap-tls.c:66:18: warning: unused variable 'ctx_out' [-Wunused-variable] HMAC_CTX ctx_a, ctx_out; ^~~~~~~ eap-tls.c:66:11: warning: unused variable 'ctx_a' [-Wunused-variable] HMAC_CTX ctx_a, ctx_out; ^~~~~ eap-tls.c: In function 'eaptls_gen_mppe_keys': eap-tls.c:146:16: error: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}' memcpy(p, s->s3->client_random, SSL3_RANDOM_SIZE); ^~ eap-tls.c: In function 'eaptls_init_ssl': eap-tls.c:322:2: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] ctx = SSL_CTX_new(TLSv1_method()); ^~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from eap-tls.h:37, from eap-tls.c:46: /usr/include/openssl/ssl.h:1629:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^ make[1]: *** [: eap-tls.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/pppd' make: *** [Makefile:17: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.D4rqWA (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.D4rqWA (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff