<86>Jan 26 08:05:53 userdel[30697]: delete user 'rooter' <86>Jan 26 08:05:53 userdel[30697]: removed group 'rooter' owned by 'rooter' <86>Jan 26 08:05:53 userdel[30697]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 26 08:05:53 groupadd[30731]: group added to /etc/group: name=rooter, GID=594 <86>Jan 26 08:05:53 groupadd[30731]: group added to /etc/gshadow: name=rooter <86>Jan 26 08:05:53 groupadd[30731]: new group: name=rooter, GID=594 <86>Jan 26 08:05:53 useradd[30748]: new user: name=rooter, UID=594, GID=594, home=/root, shell=/bin/bash <86>Jan 26 08:05:53 userdel[30772]: delete user 'builder' <86>Jan 26 08:05:53 userdel[30772]: removed group 'builder' owned by 'builder' <86>Jan 26 08:05:53 groupadd[30797]: group added to /etc/group: name=builder, GID=595 <86>Jan 26 08:05:53 groupadd[30797]: group added to /etc/gshadow: name=builder <86>Jan 26 08:05:53 groupadd[30797]: new group: name=builder, GID=595 <86>Jan 26 08:05:53 useradd[30812]: new user: name=builder, UID=595, GID=595, home=/usr/src, shell=/bin/bash <13>Jan 26 08:05:57 rpmi: libcom_err-1.42.13-alt2 1449075923 installed <13>Jan 26 08:05:57 rpmi: libverto-0.2.6-alt1_6 1455633232 installed <13>Jan 26 08:05:57 rpmi: libverto-devel-0.2.6-alt1_6 1455633232 installed <13>Jan 26 08:05:57 rpmi: libcom_err-devel-1.42.13-alt2 1449075923 installed <13>Jan 26 08:05:57 rpmi: perl-IPC-Signal-1.00-alt3.1.1 1290501013 installed <13>Jan 26 08:05:57 rpmi: libpcap0.8-2:1.1.1-alt3 1298589613 installed <13>Jan 26 08:05:57 rpmi: libkeyutils-1.5.9-alt2 1464351238 installed <13>Jan 26 08:05:57 rpmi: libatm-2.5.1-alt4 1349943444 installed <13>Jan 26 08:05:57 rpmi: ca-certificates-2016.09.28-alt1 1475233825 installed <13>Jan 26 08:05:58 rpmi: libcrypto10-1.0.2j-alt1 1474898021 installed <13>Jan 26 08:05:58 rpmi: libssl10-1.0.2j-alt1 1474898021 installed <13>Jan 26 08:05:58 rpmi: libkrb5-1.14.2-alt2 1465464128 installed <86>Jan 26 08:05:58 groupadd[4939]: group added to /etc/group: name=sasl, GID=499 <86>Jan 26 08:05:58 groupadd[4939]: group added to /etc/gshadow: name=sasl <86>Jan 26 08:05:58 groupadd[4939]: new group: name=sasl, GID=499 <13>Jan 26 08:05:58 rpmi: libsasl2-3-2.1.26-alt7 1479477448 installed <13>Jan 26 08:05:58 rpmi: libldap-2.4.42-alt4 1471466295 installed <13>Jan 26 08:05:58 rpmi: libkrb5-ldap-1.14.2-alt2 1465464128 installed <13>Jan 26 08:05:58 rpmi: libkrb5-devel-1.14.2-alt2 1465464128 installed <13>Jan 26 08:05:58 rpmi: rpm-macros-pam0-1.3.0-alt1 1465951470 installed <13>Jan 26 08:05:58 rpmi: libpam0-devel-1.3.0-alt1 1465951470 installed <13>Jan 26 08:05:58 rpmi: libssl-devel-1.0.2j-alt1 1474898021 installed <13>Jan 26 08:05:58 rpmi: libatm-devel-2.5.1-alt4 1349943444 installed <13>Jan 26 08:05:58 rpmi: libpcap-devel-2:1.1.1-alt3 1298589613 installed <13>Jan 26 08:05:58 rpmi: perl-Proc-WaitStat-1.00-alt4.1.1 1290595156 installed <13>Jan 26 08:05:58 rpmi: perl-Proc-Daemon-0.23-alt1 1451923889 installed <13>Jan 26 08:05:58 rpmi: libudev-devel-1:232-alt1 1485301381 installed Installing ppp-2.4.7-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.21527 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ppp-2.4.7 + echo 'Source #0 (ppp-2.4.7.tar):' Source #0 (ppp-2.4.7.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ppp-2.4.7.tar + cd ppp-2.4.7 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (ppp-2.4.7-alt2.patch):' Patch #1 (ppp-2.4.7-alt2.patch): + /usr/bin/patch -p1 patching file README.eap-tls patching file chat/Makefile.linux patching file chat/chat.8 patching file configure patching file etc.ppp/eaptls-client patching file etc.ppp/eaptls-server patching file etc.ppp/openssl.cnf patching file etc.ppp/options patching file linux/Makefile.top patching file pppd/Makefile.linux patching file pppd/auth.c patching file pppd/cbcp.c patching file pppd/cbcp.h patching file pppd/ccp.c patching file pppd/chap-md5.c patching file pppd/chap-new.c patching file pppd/chap_ms.c patching file pppd/demand.c patching file pppd/eap-tls.c patching file pppd/eap-tls.h patching file pppd/eap.c patching file pppd/eap.h patching file pppd/ipcp.c patching file pppd/ipcp.h patching file pppd/ipv6cp.c patching file pppd/ipv6cp.h patching file pppd/ipxcp.c patching file pppd/lcp.c patching file pppd/main.c patching file pppd/md4.c patching file pppd/md4.h patching file pppd/md5.c patching file pppd/md5.h patching file pppd/multilink.c patching file pppd/options.c patching file pppd/pathnames.h patching file pppd/plugins/Makefile.linux patching file pppd/plugins/dhcp/AUTHORS patching file pppd/plugins/dhcp/COPYING patching file pppd/plugins/dhcp/Makefile.linux patching file pppd/plugins/dhcp/README patching file pppd/plugins/dhcp/clientpacket.c patching file pppd/plugins/dhcp/clientpacket.h patching file pppd/plugins/dhcp/debug.h patching file pppd/plugins/dhcp/dhcpc.c patching file pppd/plugins/dhcp/dhcpc.h patching file pppd/plugins/dhcp/dhcpd.h patching file pppd/plugins/dhcp/files.h patching file pppd/plugins/dhcp/leases.h patching file pppd/plugins/dhcp/options.c patching file pppd/plugins/dhcp/options.h patching file pppd/plugins/dhcp/packet.c patching file pppd/plugins/dhcp/packet.h patching file pppd/plugins/dhcp/socket.c patching file pppd/plugins/dhcp/socket.h patching file pppd/plugins/passprompt.c patching file pppd/plugins/passwordfd.c patching file pppd/plugins/pppoatm/Makefile.linux patching file pppd/plugins/pppoatm/pppoatm.c patching file pppd/plugins/pppol2tp/Makefile.linux patching file pppd/plugins/pppol2tp/l2tp_event.h patching file pppd/plugins/pppol2tp/openl2tp.c patching file pppd/plugins/pppol2tp/pppol2tp.c patching file pppd/plugins/radius/Makefile.linux patching file pppd/plugins/radius/clientid.c patching file pppd/plugins/radius/md5.c patching file pppd/plugins/radius/radius.c patching file pppd/plugins/rp-pppoe/Makefile.linux patching file pppd/plugins/rp-pppoe/if.c patching file pppd/plugins/rp-pppoe/plugin.c patching file pppd/plugins/rp-pppoe/pppoe-discovery.8 patching file pppd/plugins/rp-pppoe/pppoe-discovery.c patching file pppd/plugins/winbind.c patching file pppd/pppd.8 patching file pppd/pppd.h patching file pppd/sha1.c patching file pppd/sha1.h patching file pppd/sys-linux.c patching file pppd/sys-solaris.c patching file pppd/tdb.c patching file pppd/tty.c patching file pppd/utils.c patching file pppdump/Makefile.linux patching file pppstats/Makefile.linux patching file sample/auth-down patching file sample/auth-up patching file sample/callback-client patching file sample/callback-server patching file sample/callback-users patching file sample/ip-down patching file sample/ip-up patching file sample/options patching file sample/options.ttyXX patching file sample/pap-secrets + sed -i -e 's|/usr/local/etc|/etc|' -e 's|/usr/local/sbin|/usr/sbin|' pppd/plugins/radius/etc/radiusclient.conf + sed -i -e 's|/etc/radiusclient|/etc/ppp/radius|g' pppd/plugins/radius/pppd-radattr.8 pppd/plugins/radius/pppd-radius.8 pppd/plugins/radius/avpair.c pppd/plugins/radius/buildreq.c pppd/plugins/radius/clientid.c pppd/plugins/radius/config.c pppd/plugins/radius/dict.c pppd/plugins/radius/ip_util.c pppd/plugins/radius/lock.c pppd/plugins/radius/md5.c pppd/plugins/radius/radattr.c pppd/plugins/radius/radius.c pppd/plugins/radius/radrealms.c pppd/plugins/radius/sendserver.c pppd/plugins/radius/util.c pppd/plugins/radius/includes.h pppd/plugins/radius/options.h pppd/plugins/radius/pathnames.h pppd/plugins/radius/radiusclient.h pppd/plugins/radius/etc/dictionary pppd/plugins/radius/etc/dictionary.ascend pppd/plugins/radius/etc/dictionary.compat pppd/plugins/radius/etc/dictionary.merit pppd/plugins/radius/etc/dictionary.microsoft pppd/plugins/radius/etc/issue pppd/plugins/radius/etc/port-id-map pppd/plugins/radius/etc/radiusclient.conf pppd/plugins/radius/etc/radiusclient.conf.in pppd/plugins/radius/etc/realms pppd/plugins/radius/etc/servers + find -type f -name '*.orig' -print -delete + rm -f include/linux/if_pppol2tp.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.21527 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ppp-2.4.7 + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_prog_cc_static_works=no + lt_cv_prog_cc_static_works=no + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext 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 pppd/plugins/dhcp/Makefile <= pppd/plugins/dhcp/Makefile.linux + '[' -n '' ']' + NPROCS=1 + make -j1 USE_PAM=y CBCP=y CHAPMS=y USE_CRYPT=y MPPE=y HAVE_LIBATM=y HAVE_INET6=y 'COPTS=-pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing' CC=gcc libdir=/usr/lib make: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7' cd chat; make -w all make[1]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/chat' gcc -c -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -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 $"; ^~~~~ gcc -pie -o chat chat.o make[1]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/chat' cd pppd/plugins; make -w all make[1]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins' gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -shared -o minconn.so minconn.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -shared -o passprompt.so passprompt.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()); ^~~~~~~~~~~~~~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -shared -o passwordfd.so passwordfd.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -shared -o winbind.so winbind.c winbind.c: In function 'run_ntlm_auth': winbind.c:421: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:636: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 dhcp; do make -w -C $d all; done make[2]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/rp-pppoe' gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../../../include -fPIC '-DRP_VERSION="3.8p"' -I../../.. -c -o plugin.o plugin.c In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/linux/in.h:28: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:30: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:32: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:34: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:36: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:38: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:40: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:42: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:44: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:46: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:48: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:50: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:52: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:54: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:56: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:58: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:60: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:62: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:64: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:66: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:68: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:70: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:72: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:74: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:76: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:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:78: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:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:84: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:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:166: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:266:8: note: originally defined here struct ip_mreq ^~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:171: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:148:8: note: originally defined here struct ip_mreqn ^~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:177: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:275:8: note: originally defined here struct ip_mreq_source ^~~~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:183: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:325:8: note: originally defined here struct ip_msfilter ^~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:195: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:302:8: note: originally defined here struct group_req ^~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:200: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:311:8: note: originally defined here struct group_source_req ^~~~~~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:206: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:346:8: note: originally defined here struct group_filter ^~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:220: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:156:8: note: originally defined here struct in_pktinfo ^~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:230: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:90:17: note: originally defined here typedef union { __SOCKADDR_ALLTYPES ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in6.h:32: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:20:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in6.h:49: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:90:17: note: originally defined here typedef union { __SOCKADDR_ALLTYPES ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in6.h:59: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:290:8: note: originally defined here struct ipv6_mreq ^~~~~~~~~ plugin.c:55:2: warning: #warning ugly hack: aligned_u64 must be defined in linux/types.h [-Wcpp] #warning ugly hack: aligned_u64 must be defined in linux/types.h ^~~~~~~ plugin.c:25:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ make[2]: *** [plugin.o] Error 1 make[2]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/rp-pppoe' make[2]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/pppoatm' gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../.. -I../../../include -fPIC -c -o pppoatm.o pppoatm.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../.. -I../../../include -fPIC -shared -o pppoatm.so pppoatm.o -latm make[2]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/pppoatm' make[2]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/pppol2tp' gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -c -o pppol2tp.o pppol2tp.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:127: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:219: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) ^~~~~~~~~~~~~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -shared -o pppol2tp.so pppol2tp.o gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -c -o openl2tp.o openl2tp.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -shared -o openl2tp.so openl2tp.o rm openl2tp.o pppol2tp.o make[2]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/pppol2tp' make[2]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/radius' gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o radius.o radius.c radius.c:209:34: warning: "/*" within comment [-Wcomment] * worry about looking in /etc/ppp/*-secrets radius.c: In function 'radius_setparams': radius.c:600: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:541: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:604: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:541: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 */ ^~~~~~~~~~~~~ In file included from /usr/include/string.h:643:0, from radius.c:47: radius.c:665:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { ^ In file included from radius.c:47:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from radius.c:47: radius.c:665:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { ^ In file included from radius.c:47:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from radius.c:47: radius.c:665:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { ^ radius.c:665:37: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' radius.c:665:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { ^ In file included from radius.c:47:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from radius.c:47: radius.c:665:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { ^ radius.c:665:37: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' radius.c:665:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { ^ radius.c:665:37: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' radius.c:665:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { ^ radius.c:665:37: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' radius.c:665: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:47:0: /usr/include/string.h:143: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:670: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 /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ../../pppd.h:52, from radius.c:29: /usr/include/bits/string3.h:173:1: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, ^ At top level: radius.c:26:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o avpair.o avpair.c 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:368:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string3.h:125: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:368: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:368:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string3.h:148: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:368:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string3.h:110: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:368:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string3.h:155: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); ^ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o buildreq.o buildreq.c 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); ^~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o config.o config.c 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 is 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)); ^ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o dict.o dict.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o ip_util.o ip_util.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o clientid.o clientid.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o sendserver.o sendserver.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; ^ 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' [-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:127: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:280: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:368:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from sendserver.c:17: /usr/include/bits/string3.h:148: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)); ^~~~~~~~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o lock.o lock.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o util.o util.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o md5.o md5.c 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 gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -shared -o radius.so radius.o libradiusclient.a -lcrypto gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o radattr.o radattr.c radattr.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -shared -o radattr.so radattr.o gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o radrealms.o radrealms.c radrealms.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -shared -o radrealms.so radrealms.o make[2]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/radius' make[2]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/dhcp' libtool --mode=compile --tag=CC gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c dhcpc.c libtool-default: compile: gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c dhcpc.c -fPIC -DPIC -o .libs/dhcpc.o dhcpc.c: In function 'change_mode': dhcpc.c:127:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (new_mode == LISTEN_RAW && client_config.giaddr) ^ dhcpc.c: In function 'dhcp_rx': dhcpc.c:191:10: warning: unused variable 'now' [-Wunused-variable] time_t now; ^~~ dhcpc.c:190:7: warning: unused variable 'pid_fd' [-Wunused-variable] int pid_fd; ^~~~~~ dhcpc.c:189:18: warning: unused variable 'temp_addr' [-Wunused-variable] struct in_addr temp_addr; ^~~~~~~~~ dhcpc.c:187:7: warning: unused variable 'c' [-Wunused-variable] int c, len; ^ dhcpc.c:185:7: warning: unused variable 'retval' [-Wunused-variable] int retval; ^~~~~~ dhcpc.c:183:17: warning: unused variable 't2' [-Wunused-variable] unsigned long t2 = 0; ^~ dhcpc.c:182:18: warning: unused variable 'temp' [-Wunused-variable] unsigned char *temp, *message; ^~~~ dhcpc.c: In function 'dhcp_request_new': dhcpc.c:312:7: warning: unused variable 'c' [-Wunused-variable] int c, len; ^ dhcpc.c:308:25: warning: unused variable 't2' [-Wunused-variable] unsigned long t1 = 0, t2 = 0; ^~ dhcpc.c:308:17: warning: unused variable 't1' [-Wunused-variable] unsigned long t1 = 0, t2 = 0; ^~ dhcpc.c: In function 'dhcp_read_options': dhcpc.c:514:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (dhcp_subnet_selection) ^ libtool-default: compile: gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c dhcpc.c -o dhcpc.o >/dev/null 2>&1 libtool --mode=compile --tag=CC gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c clientpacket.c libtool-default: compile: gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c clientpacket.c -fPIC -DPIC -o .libs/clientpacket.o In file included from clientpacket.c:44:0: clientpacket.c: In function 'send_discover': debug.h:16:34: warning: implicit declaration of function 'info' [-Wimplicit-function-declaration] #define LOG(level, str, args...) info("DHCPC: " str, ## args) ^ clientpacket.c:109:2: note: in expansion of macro 'LOG' LOG(LOG_DEBUG, "Sending discover..."); ^~~ clientpacket.c: In function 'get_raw_packet': debug.h:9:37: warning: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) ^ clientpacket.c:188:3: note: in expansion of macro 'DEBUG' DEBUG(LOG_INFO, "couldn't read on raw listening socket -- ignoring"); ^~~~~ libtool-default: compile: gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c clientpacket.c -o clientpacket.o >/dev/null 2>&1 libtool --mode=compile --tag=CC gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c packet.c libtool-default: compile: gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c packet.c -fPIC -DPIC -o .libs/packet.o In file included from packet.c:18:0: packet.c: In function 'get_packet': debug.h:9:37: warning: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) ^ packet.c:60:3: note: in expansion of macro 'DEBUG' DEBUG(LOG_INFO, "couldn't read on listening socket, ignoring"); ^~~~~ debug.h:16:34: warning: implicit declaration of function 'info' [-Wimplicit-function-declaration] #define LOG(level, str, args...) info("DHCPC: " str, ## args) ^ packet.c:65:3: note: in expansion of macro 'LOG' LOG(LOG_ERR, "received bogus message, ignoring"); ^~~ In file included from /usr/include/string.h:643:0, from packet.c:2: packet.c:73:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { ^ In file included from packet.c:2:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from packet.c:2: packet.c:73:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { ^ In file included from packet.c:2:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from packet.c:2: packet.c:73:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { ^ packet.c:73:17: note: expected 'const char *' but argument is of type 'unsigned char *' packet.c:73:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { ^ In file included from packet.c:2:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:643:0, from packet.c:2: packet.c:73:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { ^ packet.c:73:17: note: expected 'const char *' but argument is of type 'unsigned char *' packet.c:73:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { ^ packet.c:73:17: note: expected 'const char *' but argument is of type 'unsigned char *' packet.c:73:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { ^ packet.c:73:17: note: expected 'const char *' but argument is of type 'unsigned char *' packet.c:73:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { ^ In file included from packet.c:2:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ packet.c: In function 'raw_packet': packet.c:121:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (payload->giaddr && source_port==CLIENT_PORT) ^ libtool-default: compile: gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c packet.c -o packet.o >/dev/null 2>&1 libtool --mode=compile --tag=CC gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c socket.c libtool-default: compile: gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c socket.c -fPIC -DPIC -o .libs/socket.o In file included from socket.c:44:0: socket.c: In function 'read_interface': debug.h:9:37: warning: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) ^ socket.c:61:5: note: in expansion of macro 'DEBUG' DEBUG(LOG_INFO, "%s (our ip) = %s", ifr.ifr_name, inet_ntoa(sin->sin_addr)); ^~~~~ debug.h:16:34: warning: implicit declaration of function 'info' [-Wimplicit-function-declaration] #define LOG(level, str, args...) info("DHCPC: " str, ## args) ^ socket.c:63:5: note: in expansion of macro 'LOG' LOG(LOG_ERR, "SIOCGIFADDR failed!: %s", sys_errlist[errno]); ^~~ libtool-default: compile: gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c socket.c -o socket.o >/dev/null 2>&1 libtool --mode=compile --tag=CC gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c options.c libtool-default: compile: gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c options.c -fPIC -DPIC -o .libs/options.o In file included from options.c:10:0: options.c: In function 'get_option': debug.h:16:34: warning: implicit declaration of function 'info' [-Wimplicit-function-declaration] #define LOG(level, str, args...) info("DHCPC: " str, ## args) ^ options.c:76:4: note: in expansion of macro 'LOG' LOG(LOG_WARNING, "bogus packet, option fields too long."); ^~~ options.c: In function 'add_option_string': debug.h:9:37: warning: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) ^ options.c:143:2: note: in expansion of macro 'DEBUG' DEBUG(LOG_INFO, "adding option 0x%02x", string[OPT_CODE]); ^~~~~ libtool-default: compile: gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c options.c -o options.o >/dev/null 2>&1 libtool --mode=link --tag=CC gcc -I../.. -I../../../include -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -o libdhcpc.la dhcpc.lo clientpacket.lo packet.lo socket.lo options.lo -shared -Wl,-soname,dhcpc.so libtool-default: link: ar cru .libs/libdhcpc.a .libs/dhcpc.o .libs/clientpacket.o .libs/packet.o .libs/socket.o .libs/options.o libtool-default: link: ranlib .libs/libdhcpc.a libtool-default: link: ( cd ".libs" && rm -f "libdhcpc.la" && ln -s "../libdhcpc.la" "libdhcpc.la" ) gcc -o dhcpc.so .libs/dhcpc.o .libs/clientpacket.o .libs/packet.o .libs/socket.o .libs/options.o -shared -Wl,-soname,dhcpc.so .libs/dhcpc.o: In function `change_mode': /usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/dhcp/dhcpc.c:147: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead make[2]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/dhcp' make[1]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins' cd pppd; make -w all make[1]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd' gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 main.c: In function 'main': main.c:587:3: warning: implicit declaration of function 'tty_close_fds' [-Wimplicit-function-declaration] tty_close_fds(); ^~~~~~~~~~~~~ main.c:439:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ main.c: In function 'device_script': main.c:1812:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ main.c:1813: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:1923:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir ("/"); /* no current directory. */ ^~~~~~~~~~~~~~~~~~ main.c:1924:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(0); /* set real UID = root */ ^~~~~~~~~ main.c:1925: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 -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 magic.c:54:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 fsm.c:58:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 lcp.c:59:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 ipcp.c:69:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 upap.c:55:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 ccp.c:46:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 ecp.c:62:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 auth.c:121:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 options.c:88:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 demand.c:60:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 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 -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 sys-linux.c: In function 'get_pty': sys-linux.c:2753:7: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] fchown(sfd, uid, -1); ^~~~~~~~~~~~~~~~~~~~ sys-linux.c: In function 'make_ppp_unit': sys-linux.c:657:5: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((x < 0) || (req_minunit == -1)) { ^ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 ipxcp.c:70:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 tty.c: In function 'setup_serial': tty.c:1242:12: warning: 'return' with a value, in function returning void return -1; ^ tty.c:1206:6: note: declared here void setup_serial(char *connector) ^~~~~~~~~~~~ tty.c: In function 'start_charshunt': tty.c:881:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ tty.c:882:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^~~~~~~~~~~ tty.c: In function 'setup_serial': tty.c:1229:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(uid); ^~~~~~~~~~~~ tty.c:1233:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 eap.c:157:21: warning: 'wkmodulus' defined but not used [-Wunused-const-variable=] static const u_char wkmodulus[] = { ^~~~~~~~~ eap.c:91:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 chap_ms.c:107:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 spinlock.o spinlock.c gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 ipv6cp.o ipv6cp.c ipv6cp.c:176:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 eui64.o eui64.c eui64.c:42:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 cbcp.o cbcp.c cbcp.c: In function 'cbcp_input': cbcp.c:207:20: warning: pointer targets in passing argument 2 of 'cbcp_recvresp' differ in signedness [-Wpointer-sign] cbcp_recvresp(us, inp, len); ^~~ cbcp.c:105:13: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' static void cbcp_recvresp __P((cbcp_state *us, char *pckt, int len)); ^~~~~~~~~~~~~ cbcp.c: In function 'cbcp_printpkt': cbcp.c:298:14: warning: variable 'addrt' set but not used [-Wunused-but-set-variable] int addrt; ^~~~~ cbcp.c: In function 'cbcp_recvreq': cbcp.c:329:27: warning: variable 'addr_type' set but not used [-Wunused-but-set-variable] u_char type, opt_len, addr_type; ^~~~~~~~~ cbcp.c: In function 'cbcp_recvack': cbcp.c:474:18: warning: variable 'addr_type' set but not used [-Wunused-but-set-variable] u_char type, addr_type; ^~~~~~~~~ cbcp.c: In function 'cbcp_recvresp': cbcp.c:663:18: warning: variable 'addr_type' set but not used [-Wunused-but-set-variable] u_char type, addr_type; ^~~~~~~~~ At top level: cbcp.c:51:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' '-DLIBDIR="/usr/lib"' -DCHAPMS=1 -DMPPE=1 -DUSE_OPENSSL -DUSE_EAPTLS=1 -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 -pie -Wl,-E -o pppd main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-linux.o ipxcp.o tty.o eap.o chap-md5.o session.o chap_ms.o eap-tls.o pppcrypt.o multilink.o tdb.o spinlock.o ipv6cp.o eui64.o cbcp.o -ludev -lcrypto -lssl -lcrypto -lcrypt -lutil -lpam -ldl -ldl -lpcap make[1]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd' cd pppstats; make -w all make[1]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppstats' gcc -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../include -o pppstats pppstats.c pppstats.c:39:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: pppstats.c,v 1.29 2002/10/27 12:56:26 fcusack Exp $"; ^~~~~ make[1]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppstats' cd pppdump; make -w all make[1]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppdump' gcc -I../include/net -fPIC -c -o pppdump.o pppdump.c gcc -I../include/net -fPIC -c -o bsd-comp.o bsd-comp.c gcc -I../include/net -fPIC -c -o deflate.o deflate.c gcc -I../include/net -fPIC -c -o zlib.o zlib.c gcc -I../include/net -fPIC -o pppdump pppdump.o bsd-comp.o deflate.o zlib.o make[1]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppdump' make: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.22980 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ppp-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ppp-buildroot + cd ppp-2.4.7 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/ppp-buildroot BINDIR=/usr/src/tmp/ppp-buildroot/usr/sbin INCDIR=/usr/src/tmp/ppp-buildroot/usr/include libdir=/usr/lib MANDIR=/usr/src/tmp/ppp-buildroot/usr/share/man/man8 RUNDIR=/usr/src/tmp/ppp-buildroot/var/run/ppp LOGDIR=/usr/src/tmp/ppp-buildroot/var/log/ppp make: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7' /bin/install -p -d -m 755 /usr/src/tmp/ppp-buildroot/usr/sbin /bin/install -p -d -m 755 /usr/src/tmp/ppp-buildroot/var/run/ppp /bin/install -p -d -m 755 /usr/src/tmp/ppp-buildroot/var/log/ppp /bin/install -p -d -m 755 /usr/src/tmp/ppp-buildroot/usr/share/man/man8/man8 cd chat; make -w install make[1]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/chat' mkdir -p /usr/src/tmp/ppp-buildroot/usr/sbin /usr/src/tmp/ppp-buildroot/usr/share/man/man8 /bin/install -p -m 755 chat /usr/src/tmp/ppp-buildroot/usr/sbin /bin/install -p -m 644 chat.8 /usr/src/tmp/ppp-buildroot/usr/share/man/man8 make[1]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/chat' cd pppd/plugins; make -w install make[1]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins' mkdir -p /usr/src/tmp/ppp-buildroot//usr/lib/pppd/2.4.7 /bin/install -p minconn.so passprompt.so passwordfd.so winbind.so /usr/src/tmp/ppp-buildroot//usr/lib/pppd/2.4.7 for d in rp-pppoe pppoatm pppol2tp radius dhcp; do make -w -C $d install; done make[2]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/rp-pppoe' cc -I../../../include -fPIC '-DRP_VERSION="3.8p"' -I../../.. -c -o plugin.o plugin.c In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/linux/in.h:28: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:30: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:32: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:34: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:36: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:38: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:40: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:42: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:44: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:46: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:48: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:50: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:52: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:54: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:56: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:58: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:60: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:62: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:64: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:66: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:68: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:70: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:72: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:74: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:76: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:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:78: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:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:84: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:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:166: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:266:8: note: originally defined here struct ip_mreq ^~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:171: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:148:8: note: originally defined here struct ip_mreqn ^~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:177: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:275:8: note: originally defined here struct ip_mreq_source ^~~~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:183: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:325:8: note: originally defined here struct ip_msfilter ^~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:195: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:302:8: note: originally defined here struct group_req ^~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:200: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:311:8: note: originally defined here struct group_source_req ^~~~~~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:206: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:346:8: note: originally defined here struct group_filter ^~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:220: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:156:8: note: originally defined here struct in_pktinfo ^~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in.h:230: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:90:17: note: originally defined here typedef union { __SOCKADDR_ALLTYPES ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in6.h:32: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:20:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in6.h:49: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:90:17: note: originally defined here typedef union { __SOCKADDR_ALLTYPES ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:52: /usr/include/linux/in6.h:59: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:290:8: note: originally defined here struct ipv6_mreq ^~~~~~~~~ plugin.c:55:2: warning: #warning ugly hack: aligned_u64 must be defined in linux/types.h [-Wcpp] #warning ugly hack: aligned_u64 must be defined in linux/types.h ^~~~~~~ make[2]: *** [plugin.o] Error 1 make[2]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/rp-pppoe' make[2]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/pppoatm' cc -I../.. -I../../../include -fPIC -I. -c -o text2qos.o text2qos.c cc -I../.. -I../../../include -fPIC -I. -c -o text2atm.o text2atm.c cc -I../.. -I../../../include -fPIC -I. -c -o misc.o misc.c cc -I../.. -I../../../include -fPIC -I. -c -o ans.o ans.c cc -I../.. -I../../../include -fPIC -I. -shared -o pppoatm.so pppoatm.o text2qos.o text2atm.o misc.o ans.o -lresolv mkdir -p /usr/src/tmp/ppp-buildroot//usr/lib/pppd/2.4.7 /bin/install -p -m 755 pppoatm.so /usr/src/tmp/ppp-buildroot//usr/lib/pppd/2.4.7 make[2]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/pppoatm' make[2]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/pppol2tp' /bin/install -p -d -m 755 /usr/src/tmp/ppp-buildroot//usr/lib/pppd/2.4.7 /bin/install -p -c -m 755 pppol2tp.so openl2tp.so /usr/src/tmp/ppp-buildroot//usr/lib/pppd/2.4.7 make[2]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/pppol2tp' make[2]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/radius' mkdir -p /usr/src/tmp/ppp-buildroot//usr/lib/pppd/2.4.7 /bin/install -p -m 755 radius.so /usr/src/tmp/ppp-buildroot//usr/lib/pppd/2.4.7 /bin/install -p -m 755 radattr.so /usr/src/tmp/ppp-buildroot//usr/lib/pppd/2.4.7 /bin/install -p -m 755 radrealms.so /usr/src/tmp/ppp-buildroot//usr/lib/pppd/2.4.7 /bin/install -p -m 644 pppd-radius.8 /usr/src/tmp/ppp-buildroot/usr/share/man/man8 /bin/install -p -m 644 pppd-radattr.8 /usr/src/tmp/ppp-buildroot/usr/share/man/man8 make[2]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/radius' make[2]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/dhcp' mkdir -p /usr/src/tmp/ppp-buildroot//usr/lib/pppd/2.4.7 /bin/install -p -m 755 dhcpc.so /usr/src/tmp/ppp-buildroot//usr/lib/pppd/2.4.7 make[2]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins/dhcp' make[1]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd/plugins' cd pppd; make -w install make[1]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd' mkdir -p /usr/src/tmp/ppp-buildroot/usr/sbin /usr/src/tmp/ppp-buildroot/usr/share/man/man8 /bin/install -p -m 755 pppd /usr/src/tmp/ppp-buildroot/usr/sbin/pppd /bin/install -p -m 644 pppd.8 /usr/src/tmp/ppp-buildroot/usr/share/man/man8 make[1]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd' cd pppstats; make -w install make[1]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppstats' mkdir -p /usr/src/tmp/ppp-buildroot/usr/share/man/man8 /bin/install -p -m 755 pppstats /usr/src/tmp/ppp-buildroot/usr/sbin /bin/install -p -m 644 pppstats.8 /usr/src/tmp/ppp-buildroot/usr/share/man/man8 make[1]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppstats' cd pppdump; make -w install make[1]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppdump' mkdir -p /usr/src/tmp/ppp-buildroot/usr/sbin /usr/src/tmp/ppp-buildroot/usr/share/man/man8 /bin/install -p -m 755 pppdump /usr/src/tmp/ppp-buildroot/usr/sbin /bin/install -p -m 644 pppdump.8 /usr/src/tmp/ppp-buildroot/usr/share/man/man8 make[1]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppdump' cd pppd; make -w install-devel make[1]: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd' mkdir -p /usr/src/tmp/ppp-buildroot/usr/include/pppd /bin/install -p -m 644 ccp.h session.h chap-new.h ecp.h fsm.h ipcp.h ipxcp.h lcp.h magic.h md5.h patchlevel.h pathnames.h pppd.h upap.h eap.h cbcp.h chap_ms.h eap-tls.h pppcrypt.h tdb.h spinlock.h ipv6cp.h eui64.h /usr/src/tmp/ppp-buildroot/usr/include/pppd make[1]: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7/pppd' make: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7' + make 'INSTALL=/bin/install -p' install-etcppp INSTROOT=/usr/src/tmp/ppp-buildroot ETCDIR=/usr/src/tmp/ppp-buildroot/etc/ppp make: Entering directory `/usr/src/RPM/BUILD/ppp-2.4.7' /bin/install -p -d -m 755 /usr/src/tmp/ppp-buildroot/etc/ppp /bin/install -p -c -m 644 etc.ppp/options /usr/src/tmp/ppp-buildroot/etc/ppp/options /bin/install -p -c -m 600 etc.ppp/pap-secrets /usr/src/tmp/ppp-buildroot/etc/ppp/pap-secrets /bin/install -p -c -m 600 etc.ppp/chap-secrets /usr/src/tmp/ppp-buildroot/etc/ppp/chap-secrets /bin/install -p -c -m 600 etc.ppp/eaptls-server /usr/src/tmp/ppp-buildroot/etc/ppp/eaptls-server /bin/install -p -c -m 600 etc.ppp/eaptls-client /usr/src/tmp/ppp-buildroot/etc/ppp/eaptls-client make: Leaving directory `/usr/src/RPM/BUILD/ppp-2.4.7' ++ find scripts/ sample/ -type f + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/secure-card + fgrep -qs /usr/local/bin/ scripts/secure-card + subst -p 's|/usr/local/bin|/usr/bin|g' scripts/secure-card + file -b scripts/secure-card + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/redialer + fgrep -qs /usr/local/bin/ scripts/redialer + file -b scripts/redialer + fgrep -qs 'shell script' + chmod a+x scripts/redialer + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/ppp-on-ssh + fgrep -qs /usr/local/bin/ scripts/ppp-on-ssh + subst -p 's|/usr/local/bin|/usr/bin|g' scripts/ppp-on-ssh + file -b scripts/ppp-on-ssh + fgrep -qs 'shell script' + chmod a+x scripts/ppp-on-ssh + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/ppp-on-rsh + fgrep -qs /usr/local/bin/ scripts/ppp-on-rsh + subst -p 's|/usr/local/bin|/usr/bin|g' scripts/ppp-on-rsh + file -b scripts/ppp-on-rsh + fgrep -qs 'shell script' + chmod a+x scripts/ppp-on-rsh + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/ppp-on-dialer + fgrep -qs /usr/local/bin/ scripts/ppp-on-dialer + file -b scripts/ppp-on-dialer + fgrep -qs 'shell script' + chmod a+x scripts/ppp-on-dialer + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/ppp-on + fgrep -qs /usr/local/bin/ scripts/ppp-on + file -b scripts/ppp-on + fgrep -qs 'shell script' + chmod a+x scripts/ppp-on + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/ppp-off + fgrep -qs /usr/local/bin/ scripts/ppp-off + file -b scripts/ppp-off + fgrep -qs 'shell script' + chmod a+x scripts/ppp-off + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/pon.1 + fgrep -qs /usr/local/bin/ scripts/pon.1 + file -b scripts/pon.1 + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/pon + fgrep -qs /usr/local/bin/ scripts/pon + file -b scripts/pon + fgrep -qs 'shell script' + chmod a+x scripts/pon + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/poff + fgrep -qs /usr/local/bin/ scripts/poff + file -b scripts/poff + fgrep -qs 'shell script' + chmod a+x scripts/poff + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/plog + fgrep -qs /usr/local/bin/ scripts/plog + file -b scripts/plog + fgrep -qs 'shell script' + chmod a+x scripts/plog + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/options-ssh-rem + fgrep -qs /usr/local/bin/ scripts/options-ssh-rem + file -b scripts/options-ssh-rem + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/options-ssh-loc + fgrep -qs /usr/local/bin/ scripts/options-ssh-loc + file -b scripts/options-ssh-loc + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/options-rsh-rem + fgrep -qs /usr/local/bin/ scripts/options-rsh-rem + file -b scripts/options-rsh-rem + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/options-rsh-loc + fgrep -qs /usr/local/bin/ scripts/options-rsh-loc + file -b scripts/options-rsh-loc + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/ipv6-up.sample + fgrep -qs /usr/local/bin/ scripts/ipv6-up.sample + file -b scripts/ipv6-up.sample + fgrep -qs 'shell script' + chmod a+x scripts/ipv6-up.sample + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/ipv6-down.sample + fgrep -qs /usr/local/bin/ scripts/ipv6-down.sample + file -b scripts/ipv6-down.sample + fgrep -qs 'shell script' + chmod a+x scripts/ipv6-down.sample + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/ip-up.local.add + fgrep -qs /usr/local/bin/ scripts/ip-up.local.add + file -b scripts/ip-up.local.add + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/ip-down.local.add + fgrep -qs /usr/local/bin/ scripts/ip-down.local.add + file -b scripts/ip-down.local.add + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/chatchat/chatchat.c + fgrep -qs /usr/local/bin/ scripts/chatchat/chatchat.c + file -b scripts/chatchat/chatchat.c + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/chatchat/README + fgrep -qs /usr/local/bin/ scripts/chatchat/README + file -b scripts/chatchat/README + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/chat-callback + fgrep -qs /usr/local/bin/ scripts/chat-callback + file -b scripts/chat-callback + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/callback + fgrep -qs /usr/local/bin/ scripts/callback + file -b scripts/callback + fgrep -qs 'shell script' + chmod a+x scripts/callback + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/autopppd + fgrep -qs /usr/local/bin/ scripts/autopppd + file -b scripts/autopppd + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 scripts/README + fgrep -qs /usr/local/bin/ scripts/README + file -b scripts/README + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 sample/pap-secrets + fgrep -qs /usr/local/bin/ sample/pap-secrets + file -b sample/pap-secrets + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 sample/options.ttyXX + fgrep -qs /usr/local/bin/ sample/options.ttyXX + file -b sample/options.ttyXX + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 sample/options + fgrep -qs /usr/local/bin/ sample/options + file -b sample/options + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 sample/ip-up + fgrep -qs /usr/local/bin/ sample/ip-up + file -b sample/ip-up + fgrep -qs 'shell script' + chmod a+x sample/ip-up + for f in '`find scripts/ sample/ -type f`' + chmod 644 sample/ip-down + fgrep -qs /usr/local/bin/ sample/ip-down + file -b sample/ip-down + fgrep -qs 'shell script' + chmod a+x sample/ip-down + for f in '`find scripts/ sample/ -type f`' + chmod 644 sample/callback-users + fgrep -qs /usr/local/bin/ sample/callback-users + file -b sample/callback-users + fgrep -qs 'shell script' + for f in '`find scripts/ sample/ -type f`' + chmod 644 sample/callback-server + fgrep -qs /usr/local/bin/ sample/callback-server + file -b sample/callback-server + fgrep -qs 'shell script' + chmod a+x sample/callback-server + for f in '`find scripts/ sample/ -type f`' + chmod 644 sample/callback-client + fgrep -qs /usr/local/bin/ sample/callback-client + file -b sample/callback-client + fgrep -qs 'shell script' + chmod a+x sample/callback-client + for f in '`find scripts/ sample/ -type f`' + chmod 644 sample/auth-up + fgrep -qs /usr/local/bin/ sample/auth-up + file -b sample/auth-up + fgrep -qs 'shell script' + chmod a+x sample/auth-up + for f in '`find scripts/ sample/ -type f`' + chmod 644 sample/auth-down + fgrep -qs /usr/local/bin/ sample/auth-down + file -b sample/auth-down + fgrep -qs 'shell script' + chmod a+x sample/auth-down + install -pDm640 /usr/src/RPM/SOURCES/ppp.pamd /usr/src/tmp/ppp-buildroot/etc/pam.d/ppp + mkdir -p /usr/src/tmp/ppp-buildroot/etc/ppp/peers + install -pm600 sample/callback-client sample/callback-server sample/callback-users /usr/src/tmp/ppp-buildroot/etc/ppp/ + mkdir -p /usr/src/tmp/ppp-buildroot/etc/ppp/radius + cp -a pppd/plugins/radius/etc/dictionary pppd/plugins/radius/etc/dictionary.ascend pppd/plugins/radius/etc/dictionary.compat pppd/plugins/radius/etc/dictionary.merit pppd/plugins/radius/etc/dictionary.microsoft pppd/plugins/radius/etc/issue pppd/plugins/radius/etc/port-id-map pppd/plugins/radius/etc/radiusclient.conf pppd/plugins/radius/etc/radiusclient.conf.in pppd/plugins/radius/etc/realms pppd/plugins/radius/etc/servers /usr/src/tmp/ppp-buildroot/etc/ppp/radius/ + install -pDm755 /usr/src/RPM/SOURCES/ppp.control /usr/src/tmp/ppp-buildroot/etc/control.d/facilities/ppp + mkdir -p /usr/src/tmp/ppp-buildroot/var/log/ppp /usr/src/tmp/ppp-buildroot/var/run/ppp + touch /usr/src/tmp/ppp-buildroot/var/log/ppp/connect-errors + touch /usr/src/tmp/ppp-buildroot/var/run/ppp/resolv.conf + ln -s ../../var/log/ppp/connect-errors /usr/src/tmp/ppp-buildroot/etc/ppp/connect-errors + ln -s ../../var/run/ppp/resolv.conf /usr/src/tmp/ppp-buildroot/etc/ppp/resolv.conf + install -Dpm 644 /usr/src/RPM/SOURCES/ppp.tmpfiles /usr/src/tmp/ppp-buildroot//lib/tmpfiles.d/ppp.conf + install -Dpm 644 /usr/src/RPM/SOURCES/95-ppp.rules /usr/src/tmp/ppp-buildroot//lib/udev/rules.d/95-ppp.rules + install -pDm644 /usr/src/RPM/SOURCES/ppp.logrotate /usr/src/tmp/ppp-buildroot/etc/logrotate.d/ppp + install -pm600 etc.ppp/openssl.cnf /usr/src/tmp/ppp-buildroot/etc/ppp/openssl.cnf + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ppp-buildroot (auto) mode of './usr/lib/pppd/2.4.7/dhcpc.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/pppd/2.4.7/radrealms.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/pppd/2.4.7/radattr.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/pppd/2.4.7/radius.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/pppd/2.4.7/openl2tp.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/pppd/2.4.7/pppol2tp.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/pppd/2.4.7/pppoatm.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/pppd/2.4.7/winbind.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/pppd/2.4.7/passwordfd.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/pppd/2.4.7/passprompt.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/pppd/2.4.7/minconn.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/ppp-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/ppp-buildroot (auto) Adjusting library links in /usr/src/tmp/ppp-buildroot ./lib: ./usr/lib: Verifying ELF objects in /usr/src/tmp/ppp-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/pppd/2.4.7/dhcpc.so: undefined symbol: peer_authname verify-elf: WARNING: ./usr/lib/pppd/2.4.7/dhcpc.so: undefined symbol: ip_choose_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/dhcpc.so: undefined symbol: exitnotify verify-elf: WARNING: ./usr/lib/pppd/2.4.7/dhcpc.so: undefined symbol: untimeout verify-elf: WARNING: ./usr/lib/pppd/2.4.7/dhcpc.so: undefined symbol: add_options verify-elf: WARNING: ./usr/lib/pppd/2.4.7/dhcpc.so: undefined symbol: timeout verify-elf: WARNING: ./usr/lib/pppd/2.4.7/dhcpc.so: undefined symbol: dbglog verify-elf: WARNING: ./usr/lib/pppd/2.4.7/dhcpc.so: undefined symbol: add_notifier verify-elf: WARNING: ./usr/lib/pppd/2.4.7/dhcpc.so: undefined symbol: fatal verify-elf: WARNING: ./usr/lib/pppd/2.4.7/dhcpc.so: undefined symbol: info verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radrealms.so: undefined symbol: radius_pre_auth_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radrealms.so: undefined symbol: option_error verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radrealms.so: undefined symbol: add_options verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radrealms.so: undefined symbol: info verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radrealms.so: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radattr.so: undefined symbol: ifname verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radattr.so: undefined symbol: exitnotify verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radattr.so: undefined symbol: radius_attributes_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radattr.so: undefined symbol: slprintf verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radattr.so: undefined symbol: dbglog verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radattr.so: undefined symbol: add_notifier verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radattr.so: undefined symbol: rc_avpair_tostr verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radattr.so: undefined symbol: info verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radattr.so: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: maxoctets verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: idle_time_limit verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: ip_up_notifier verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: ifname verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: ip_down_notifier verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: mppe_send_key verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: pap_check_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: chap_check_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: maxoctets_dir verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: mppe_keys_set verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: ipparam verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: ipcp_allowoptions verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: link_stats verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: sync_serial verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: link_connect_time verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: ip_choose_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: using_pty verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: chap_verify_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: status verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: ipcp_hisoptions verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: link_stats_valid verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: maxconnect verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: allowed_address_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: ipcp_wantoptions verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: devnam verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: hostname verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: remote_number verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: pap_auth_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: mppe_recv_key verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: untimeout verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: magic verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: bad_ip_adrs verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: script_setenv verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: slprintf verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: add_options verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: timeout verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: set_mppe_enc_types verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: update_link_stats verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: add_notifier verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: mppe_set_keys verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: novm verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: fatal verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: undefined symbol: info verify-elf: WARNING: ./usr/lib/pppd/2.4.7/radius.so: uses non-LFS functions: fopen ftruncate open verify-elf: WARNING: ./usr/lib/pppd/2.4.7/openl2tp.so: undefined symbol: multilink_join_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/openl2tp.so: undefined symbol: ifname verify-elf: WARNING: ./usr/lib/pppd/2.4.7/openl2tp.so: undefined symbol: ifunit verify-elf: WARNING: ./usr/lib/pppd/2.4.7/openl2tp.so: undefined symbol: peer_authname verify-elf: WARNING: ./usr/lib/pppd/2.4.7/openl2tp.so: undefined symbol: pppol2tp_ip_updown_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/openl2tp.so: undefined symbol: pppol2tp_send_accm_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/openl2tp.so: undefined symbol: dbglog verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: ip_up_notifier verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: ifname verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: ip_down_notifier verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: ifunit verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: the_channel verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: snoop_send_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: ipcp_allowoptions verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: lcp_allowoptions verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: snoop_recv_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: ccp_allowoptions verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: ccp_wantoptions verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: ipcp_wantoptions verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: ipv6_up_notifier verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: modem verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: lcp_wantoptions verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: new_style_driver verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: ipv6_down_notifier verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: generic_establish_ppp verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: generic_disestablish_ppp verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: int_option verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: add_options verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: ppp_available verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: dbglog verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: add_notifier verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: fatal verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppol2tp.so: undefined symbol: netif_set_mtu verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: the_channel verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: lcp_allowoptions verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: devstat verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: devnam verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: devnam verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: ppp_devnam verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: lcp_wantoptions verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: new_style_driver verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: generic_establish_ppp verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: generic_disestablish_ppp verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: add_options verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: ppp_available verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: fatal verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: undefined symbol: info verify-elf: WARNING: ./usr/lib/pppd/2.4.7/pppoatm.so: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: pap_check_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: chap_check_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: chap_verify_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: allowed_address_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: ipcp_wantoptions verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: pap_auth_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: chap_mdtype_all verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: option_error verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: slprintf verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: add_options verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: GenerateAuthenticatorResponse verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: mppe_set_keys2 verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: safe_fork verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: mppe_set_keys verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: ChallengeHash verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: novm verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: fatal verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: info verify-elf: WARNING: ./usr/lib/pppd/2.4.7/winbind.so: undefined symbol: notice verify-elf: WARNING: ./usr/lib/pppd/2.4.7/passwordfd.so: undefined symbol: eaptls_passwd_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/passwordfd.so: undefined symbol: pap_check_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/passwordfd.so: undefined symbol: chap_check_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/passwordfd.so: undefined symbol: pap_passwd_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/passwordfd.so: undefined symbol: chap_passwd_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/passwordfd.so: undefined symbol: add_options verify-elf: WARNING: ./usr/lib/pppd/2.4.7/passprompt.so: undefined symbol: eaptls_passwd_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/passprompt.so: undefined symbol: pap_passwd_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/passprompt.so: undefined symbol: status verify-elf: WARNING: ./usr/lib/pppd/2.4.7/passprompt.so: undefined symbol: remote_name verify-elf: WARNING: ./usr/lib/pppd/2.4.7/passprompt.so: undefined symbol: add_options verify-elf: WARNING: ./usr/lib/pppd/2.4.7/passprompt.so: undefined symbol: sys_close verify-elf: WARNING: ./usr/lib/pppd/2.4.7/minconn.so: undefined symbol: idle_time_limit verify-elf: WARNING: ./usr/lib/pppd/2.4.7/minconn.so: undefined symbol: idle_time_hook verify-elf: WARNING: ./usr/lib/pppd/2.4.7/minconn.so: undefined symbol: info verify-elf: WARNING: ./usr/lib/pppd/2.4.7/minconn.so: undefined symbol: add_options verify-elf: WARNING: ./usr/sbin/pppdump: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/sbin/pppd: uses non-LFS functions: __fxstat __lxstat __xstat fopen ftruncate lseek mmap open readdir verify-elf: WARNING: ./usr/sbin/chat: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: ppp-2.4.7-alt2 error: File not found: /usr/src/tmp/ppp-buildroot/usr/sbin/pppoe-discovery error: File not found: /usr/src/tmp/ppp-buildroot/usr/lib/pppd/2.4.7/rp-pppoe.so error: File not found by glob: /usr/src/tmp/ppp-buildroot/usr/share/man/man8/pppoe-discovery* Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.34703 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ppp-2.4.7 + DOCDIR=/usr/src/tmp/ppp-buildroot/usr/share/doc/ppp-2.4.7 + export DOCDIR + rm -rf /usr/src/tmp/ppp-buildroot/usr/share/doc/ppp-2.4.7 + /bin/mkdir -p /usr/src/tmp/ppp-buildroot/usr/share/doc/ppp-2.4.7 + cp -prL PLUGINS SETUP FAQ README README.MPPE README.MSCHAP80 README.MSCHAP81 README.cbcp README.eap-srp README.eap-tls README.linux README.pppoe README.pppol2tp README.pwfd README.sol2 scripts sample /usr/src/tmp/ppp-buildroot/usr/share/doc/ppp-2.4.7 + chmod -R go-w /usr/src/tmp/ppp-buildroot/usr/share/doc/ppp-2.4.7 + chmod -R a+rX /usr/src/tmp/ppp-buildroot/usr/share/doc/ppp-2.4.7 + exit 0 RPM build errors: File not found: /usr/src/tmp/ppp-buildroot/usr/sbin/pppoe-discovery File not found: /usr/src/tmp/ppp-buildroot/usr/lib/pppd/2.4.7/rp-pppoe.so File not found by glob: /usr/src/tmp/ppp-buildroot/usr/share/man/man8/pppoe-discovery* Command exited with non-zero status 1 23.65user 3.98system 0:26.14elapsed 105%CPU (0avgtext+0avgdata 39696maxresident)k 0inputs+0outputs (0major+630992minor)pagefaults 0swaps hsh-rebuild: rebuild of `ppp-2.4.7-alt2.src.rpm' failed. Command exited with non-zero status 1 41.97user 8.64system 0:48.42elapsed 104%CPU (0avgtext+0avgdata 134024maxresident)k 64inputs+0outputs (0major+909526minor)pagefaults 0swaps