Cook: ppp 2.4.7 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libdb-6.2.32-i486 Installing (pkg/local): pam-1.3.0-i486 Installing (pkg/local): db-6.2.32-i486 Installing (pkg/local): libdb-cxx-6.2.32-i486 Installing (pkg/local): db-dev-6.2.32-i486 Installing (pkg/local): libtirpc-dev-1.1.4-any Installing (pkg/local): pam-dev-1.3.0-any Extracting source archive "ppp-2.4.7.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed 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 cd chat; make -j6 --jobserver-auth=4,5 all make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/chat' cc -c -O2 -g -pipe -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat.o chat.c 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)); ^~~~~~~~~~~~~~~~~~~~~~ cc -o chat chat.o make[1]: Leaving directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/chat' cd pppd/plugins; make -j6 --jobserver-auth=4,5 all make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/plugins' cc -o minconn.so -shared -O2 -g -I.. -I../../include -fPIC -DMPPE=1 minconn.c cc -o passprompt.so -shared -O2 -g -I.. -I../../include -fPIC -DMPPE=1 passprompt.c cc -o passwordfd.so -shared -O2 -g -I.. -I../../include -fPIC -DMPPE=1 passwordfd.c cc -o winbind.so -shared -O2 -g -I.. -I../../include -fPIC -DMPPE=1 winbind.c passprompt.c: In function 'promptpass': passprompt.c:57:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ^~~~~~~~~~~~~~~~~ passprompt.c:58:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(getgid()); ^~~~~~~~~~~~~~~~~ winbind.c: In function 'run_ntlm_auth': winbind.c:305:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ for d in rp-pppoe pppoatm pppol2tp radius; do make -w -j6 --jobserver-auth=6,7 -C $d all; done make[2]: Entering directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/plugins' make[2]: warning: -jN forced in submake: disabling jobserver mode. cc -O2 -g -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o plugin.o -fPIC plugin.c cc -O2 -g -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o discovery.o -fPIC discovery.c cc -O2 -g -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o if.o -fPIC if.c cc -O2 -g -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o common.o -fPIC common.c cc -O2 -g -I../../../include '-DRP_VERSION="3.8p"' -c -o pppoe-discovery.o pppoe-discovery.c cc -O2 -g -I../../../include '-DRP_VERSION="3.8p"' -c -o debug.o debug.c In file included from pppoe-discovery.c:18: pppoe-discovery.c: In function 'sendPADI': pppoe.h:299:2: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error("Would create too-long packet"); \ ^~~~~ pppoe-discovery.c:455:5: note: in expansion of macro 'CHECK_ROOM' CHECK_ROOM(cursor, packet.payload, plen); ^~~~~~~~~~ cc -o pppoe-discovery pppoe-discovery.o debug.o In file included from pppoe.h:87, from plugin.c:29: /usr/include/linux/in.h:29:3: error: redeclaration of enumerator 'IPPROTO_IP' IPPROTO_IP = 0, /* Dummy protocol for TCP */ ^~~~~~~~~~ /usr/include/netinet/in.h:42:5: note: previous definition of 'IPPROTO_IP' was here IPPROTO_IP = 0, /* Dummy protocol for TCP. */ ^~~~~~~~~~ /usr/include/linux/in.h:31:3: error: redeclaration of enumerator 'IPPROTO_ICMP' IPPROTO_ICMP = 1, /* Internet Control Message Protocol */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:44:5: note: previous definition of 'IPPROTO_ICMP' was here IPPROTO_ICMP = 1, /* Internet Control Message Protocol. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:33:3: error: redeclaration of enumerator 'IPPROTO_IGMP' IPPROTO_IGMP = 2, /* Internet Group Management Protocol */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:46:5: note: previous definition of 'IPPROTO_IGMP' was here IPPROTO_IGMP = 2, /* Internet Group Management Protocol. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:35:3: error: redeclaration of enumerator 'IPPROTO_IPIP' IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94) */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:48:5: note: previous definition of 'IPPROTO_IPIP' was here IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94). */ ^~~~~~~~~~~~ /usr/include/linux/in.h:37:3: error: redeclaration of enumerator 'IPPROTO_TCP' IPPROTO_TCP = 6, /* Transmission Control Protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:50:5: note: previous definition of 'IPPROTO_TCP' was here IPPROTO_TCP = 6, /* Transmission Control Protocol. */ ^~~~~~~~~~~ /usr/include/linux/in.h:39:3: error: redeclaration of enumerator 'IPPROTO_EGP' IPPROTO_EGP = 8, /* Exterior Gateway Protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:52:5: note: previous definition of 'IPPROTO_EGP' was here IPPROTO_EGP = 8, /* Exterior Gateway Protocol. */ ^~~~~~~~~~~ /usr/include/linux/in.h:41:3: error: redeclaration of enumerator 'IPPROTO_PUP' IPPROTO_PUP = 12, /* PUP protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:54:5: note: previous definition of 'IPPROTO_PUP' was here IPPROTO_PUP = 12, /* PUP protocol. */ ^~~~~~~~~~~ /usr/include/linux/in.h:43:3: error: redeclaration of enumerator 'IPPROTO_UDP' IPPROTO_UDP = 17, /* User Datagram Protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:56:5: note: previous definition of 'IPPROTO_UDP' was here IPPROTO_UDP = 17, /* User Datagram Protocol. */ ^~~~~~~~~~~ /usr/include/linux/in.h:45:3: error: redeclaration of enumerator 'IPPROTO_IDP' IPPROTO_IDP = 22, /* XNS IDP protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:58:5: note: previous definition of 'IPPROTO_IDP' was here IPPROTO_IDP = 22, /* XNS IDP protocol. */ ^~~~~~~~~~~ /usr/include/linux/in.h:47:3: error: redeclaration of enumerator 'IPPROTO_TP' IPPROTO_TP = 29, /* SO Transport Protocol Class 4 */ ^~~~~~~~~~ /usr/include/netinet/in.h:60:5: note: previous definition of 'IPPROTO_TP' was here IPPROTO_TP = 29, /* SO Transport Protocol Class 4. */ ^~~~~~~~~~ /usr/include/linux/in.h:49:3: error: redeclaration of enumerator 'IPPROTO_DCCP' IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:62:5: note: previous definition of 'IPPROTO_DCCP' was here IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:51:3: error: redeclaration of enumerator 'IPPROTO_IPV6' IPPROTO_IPV6 = 41, /* IPv6-in-IPv4 tunnelling */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:64:5: note: previous definition of 'IPPROTO_IPV6' was here IPPROTO_IPV6 = 41, /* IPv6 header. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:53:3: error: redeclaration of enumerator 'IPPROTO_RSVP' IPPROTO_RSVP = 46, /* RSVP Protocol */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:66:5: note: previous definition of 'IPPROTO_RSVP' was here IPPROTO_RSVP = 46, /* Reservation Protocol. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:55:3: error: redeclaration of enumerator 'IPPROTO_GRE' IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ ^~~~~~~~~~~ /usr/include/netinet/in.h:68:5: note: previous definition of 'IPPROTO_GRE' was here IPPROTO_GRE = 47, /* General Routing Encapsulation. */ ^~~~~~~~~~~ /usr/include/linux/in.h:57:3: error: redeclaration of enumerator 'IPPROTO_ESP' IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:70:5: note: previous definition of 'IPPROTO_ESP' was here IPPROTO_ESP = 50, /* encapsulating security payload. */ ^~~~~~~~~~~ /usr/include/linux/in.h:59:3: error: redeclaration of enumerator 'IPPROTO_AH' IPPROTO_AH = 51, /* Authentication Header protocol */ ^~~~~~~~~~ /usr/include/netinet/in.h:72:5: note: previous definition of 'IPPROTO_AH' was here IPPROTO_AH = 51, /* authentication header. */ ^~~~~~~~~~ /usr/include/linux/in.h:61:3: error: redeclaration of enumerator 'IPPROTO_MTP' IPPROTO_MTP = 92, /* Multicast Transport Protocol */ ^~~~~~~~~~~ /usr/include/netinet/in.h:74:5: note: previous definition of 'IPPROTO_MTP' was here IPPROTO_MTP = 92, /* Multicast Transport Protocol. */ ^~~~~~~~~~~ /usr/include/linux/in.h:63:3: error: redeclaration of enumerator 'IPPROTO_BEETPH' IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET */ ^~~~~~~~~~~~~~ /usr/include/netinet/in.h:76:5: note: previous definition of 'IPPROTO_BEETPH' was here IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET. */ ^~~~~~~~~~~~~~ /usr/include/linux/in.h:65:3: error: redeclaration of enumerator 'IPPROTO_ENCAP' IPPROTO_ENCAP = 98, /* Encapsulation Header */ ^~~~~~~~~~~~~ /usr/include/netinet/in.h:78:5: note: previous definition of 'IPPROTO_ENCAP' was here IPPROTO_ENCAP = 98, /* Encapsulation Header. */ ^~~~~~~~~~~~~ /usr/include/linux/in.h:67:3: error: redeclaration of enumerator 'IPPROTO_PIM' IPPROTO_PIM = 103, /* Protocol Independent Multicast */ ^~~~~~~~~~~ /usr/include/netinet/in.h:80:5: note: previous definition of 'IPPROTO_PIM' was here IPPROTO_PIM = 103, /* Protocol Independent Multicast. */ ^~~~~~~~~~~ /usr/include/linux/in.h:69:3: error: redeclaration of enumerator 'IPPROTO_COMP' IPPROTO_COMP = 108, /* Compression Header Protocol */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:82:5: note: previous definition of 'IPPROTO_COMP' was here IPPROTO_COMP = 108, /* Compression Header Protocol. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:71:3: error: redeclaration of enumerator 'IPPROTO_SCTP' IPPROTO_SCTP = 132, /* Stream Control Transport Protocol */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:84:5: note: previous definition of 'IPPROTO_SCTP' was here IPPROTO_SCTP = 132, /* Stream Control Transmission Protocol. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:73:3: error: redeclaration of enumerator 'IPPROTO_UDPLITE' IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828) */ ^~~~~~~~~~~~~~~ /usr/include/netinet/in.h:86:5: note: previous definition of 'IPPROTO_UDPLITE' was here IPPROTO_UDPLITE = 136, /* UDP-Lite protocol. */ ^~~~~~~~~~~~~~~ /usr/include/linux/in.h:75:3: error: redeclaration of enumerator 'IPPROTO_MPLS' IPPROTO_MPLS = 137, /* MPLS in IP (RFC 4023) */ ^~~~~~~~~~~~ /usr/include/netinet/in.h:88:5: note: previous definition of 'IPPROTO_MPLS' was here IPPROTO_MPLS = 137, /* MPLS in IP. */ ^~~~~~~~~~~~ /usr/include/linux/in.h:77:3: error: redeclaration of enumerator 'IPPROTO_RAW' IPPROTO_RAW = 255, /* Raw IP packets */ ^~~~~~~~~~~ /usr/include/netinet/in.h:90:5: note: previous definition of 'IPPROTO_RAW' was here IPPROTO_RAW = 255, /* Raw IP packets. */ ^~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:79:3: error: redeclaration of enumerator 'IPPROTO_MAX' IPPROTO_MAX ^~~~~~~~~~~ In file included from pppoe.h:87, from plugin.c:29: /usr/include/netinet/in.h:92:5: note: previous definition of 'IPPROTO_MAX' was here IPPROTO_MAX ^~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:85:8: error: redefinition of 'struct in_addr' struct in_addr { ^~~~~~~ In file included from pppoe.h:87, from plugin.c:29: /usr/include/netinet/in.h:31:8: note: originally defined here struct in_addr ^~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:168:8: error: redefinition of 'struct ip_mreq' struct ip_mreq { ^~~~~~~ In file included from pppoe.h:87, from plugin.c:29: /usr/include/netinet/in.h:264:8: note: originally defined here struct ip_mreq ^~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:173:8: error: redefinition of 'struct ip_mreqn' struct ip_mreqn { ^~~~~~~~ In file included from /usr/include/netinet/in.h:37, from pppoe.h:87, from plugin.c:29: /usr/include/bits/in.h:149:8: note: originally defined here struct ip_mreqn ^~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:179:8: error: redefinition of 'struct ip_mreq_source' struct ip_mreq_source { ^~~~~~~~~~~~~~ In file included from pppoe.h:87, from plugin.c:29: /usr/include/netinet/in.h:273:8: note: originally defined here struct ip_mreq_source ^~~~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:185:8: error: redefinition of 'struct ip_msfilter' struct ip_msfilter { ^~~~~~~~~~~ In file included from pppoe.h:87, from plugin.c:29: /usr/include/netinet/in.h:323:8: note: originally defined here struct ip_msfilter ^~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:197:8: error: redefinition of 'struct group_req' struct group_req { ^~~~~~~~~ In file included from pppoe.h:87, from plugin.c:29: /usr/include/netinet/in.h:300:8: note: originally defined here struct group_req ^~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:202:8: error: redefinition of 'struct group_source_req' struct group_source_req { ^~~~~~~~~~~~~~~~ In file included from pppoe.h:87, from plugin.c:29: /usr/include/netinet/in.h:309:8: note: originally defined here struct group_source_req ^~~~~~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:208:8: error: redefinition of 'struct group_filter' struct group_filter { ^~~~~~~~~~~~ In file included from pppoe.h:87, from plugin.c:29: /usr/include/netinet/in.h:344:8: note: originally defined here struct group_filter ^~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:222:8: error: redefinition of 'struct in_pktinfo' struct in_pktinfo { ^~~~~~~~~~ In file included from /usr/include/netinet/in.h:37, from pppoe.h:87, from plugin.c:29: /usr/include/bits/in.h:157:8: note: originally defined here struct in_pktinfo ^~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:20, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in.h:232:8: error: redefinition of 'struct sockaddr_in' struct sockaddr_in { ^~~~~~~~~~~ In file included from pppoe.h:87, from plugin.c:29: /usr/include/netinet/in.h:237:8: note: originally defined here struct sockaddr_in ^~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:21, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in6.h:33:8: error: redefinition of 'struct in6_addr' struct in6_addr { ^~~~~~~~ In file included from pppoe.h:87, from plugin.c:29: /usr/include/netinet/in.h:211:8: note: originally defined here struct in6_addr ^~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:21, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in6.h:50:8: error: redefinition of 'struct sockaddr_in6' struct sockaddr_in6 { ^~~~~~~~~~~~ In file included from pppoe.h:87, from plugin.c:29: /usr/include/netinet/in.h:252:8: note: originally defined here struct sockaddr_in6 ^~~~~~~~~~~~ In file included from /usr/include/linux/if_pppol2tp.h:21, from /usr/include/linux/if_pppox.h:27, from plugin.c:52: /usr/include/linux/in6.h:60:8: error: redefinition of 'struct ipv6_mreq' struct ipv6_mreq { ^~~~~~~~~ In file included from pppoe.h:87, from plugin.c:29: /usr/include/netinet/in.h:288:8: note: originally defined here struct ipv6_mreq ^~~~~~~~~ make[2]: *** [Makefile:54: plugin.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/plugins/rp-pppoe' make[2]: Entering directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/plugins' make[2]: warning: -jN forced in submake: disabling jobserver mode. cc -O2 -g -I../.. -I../../../include -fPIC -I. -c -o pppoatm.o pppoatm.c cc -O2 -g -I../.. -I../../../include -fPIC -I. -c -o text2qos.o text2qos.c cc -O2 -g -I../.. -I../../../include -fPIC -I. -c -o text2atm.o text2atm.c cc -O2 -g -I../.. -I../../../include -fPIC -I. -c -o misc.o misc.c cc -O2 -g -I../.. -I../../../include -fPIC -I. -c -o ans.o ans.c cc -O2 -g -I../.. -I../../../include -fPIC -I. -o pppoatm.so -shared pppoatm.o text2qos.o text2atm.o misc.o ans.o -lresolv make[2]: Leaving directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/plugins/pppoatm' make[2]: Entering directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/plugins' make[2]: warning: -jN forced in submake: disabling jobserver mode. cc -O2 -g -I. -I../.. -I../../../include -fPIC -c -o pppol2tp.o pppol2tp.c cc -O2 -g -I. -I../.. -I../../../include -fPIC -c -o openl2tp.o openl2tp.c cc -O2 -g -I. -I../.. -I../../../include -fPIC -o openl2tp.so -shared openl2tp.o cc -O2 -g -I. -I../.. -I../../../include -fPIC -o pppol2tp.so -shared pppol2tp.o rm openl2tp.o pppol2tp.o make[2]: Leaving directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/plugins/pppol2tp' make[2]: Entering directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/plugins' make[2]: warning: -jN forced in submake: disabling jobserver mode. cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o radius.o radius.c cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o avpair.o avpair.c cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o buildreq.o buildreq.c cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o config.o config.c cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o dict.o dict.c cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o ip_util.o ip_util.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); ^~~~~~~~~~~~~~~~~~~~~~~ avpair.c: In function 'rc_avpair_tostr': avpair.c:740:24: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'UINT4' {aka 'unsigned int'} [-Wformat=] sprintf (buffer, "%ld", pair->lvalue); ~~^ ~~~~~~~~~~~~ %d cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o clientid.o clientid.c cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o sendserver.o sendserver.c cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o lock.o lock.c cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o util.o util.c In file included from /usr/include/string.h:494, from ./includes.h:26, from clientid.c:12: In function 'strncat', inlined from 'rc_map2id' at clientid.c:113:2: cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o md5.o md5.c /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 4096 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o radattr.o radattr.c cc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -D_GLIBCXX_USE_C99_MATH=1 -c -o radrealms.o radrealms.c cc -o radattr.so -shared radattr.o In file included from /usr/include/netdb.h:27, from ./includes.h:22, from sendserver.c:17: sendserver.c: In function 'rc_send_server': sendserver.c:247:31: warning: implicit declaration of function 'rc_own_bind_ipaddress'; did you mean 'rc_own_ipaddress'? [-Wimplicit-function-declaration] sin->sin_addr.s_addr = htonl(rc_own_bind_ipaddress()); ^~~~~~~~~~~~~~~~~~~~~ cc -o radrealms.so -shared radrealms.o ar rv libradiusclient.a avpair.o buildreq.o config.o dict.o ip_util.o clientid.o sendserver.o lock.o util.o md5.o ar: creating libradiusclient.a a - avpair.o a - buildreq.o a - config.o a - dict.o a - ip_util.o a - clientid.o a - sendserver.o a - lock.o a - util.o a - md5.o cc -o radius.so -shared radius.o libradiusclient.a make[2]: Leaving directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/plugins/radius' make[1]: Leaving directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/plugins' cd pppd; make -j6 --jobserver-auth=4,5 all make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd' cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o main.o main.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o magic.o magic.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o fsm.o fsm.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o lcp.o lcp.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o ipcp.o ipcp.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o upap.o upap.c upap.c:55:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ fsm.c:58:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ magic.c:54:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o chap-new.o chap-new.c lcp.c:59:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ ipcp.c:64:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ main.c: In function 'detach': main.c:778:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ main.c: In function 'device_script': main.c:1713:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ main.c:1714:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^~~~~~~~~~~ main.c: In function 'run_program': main.c:1824:12: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir ("/"); /* no current directory. */ ^~~~~~~~~~~ main.c:1825:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(0); /* set real UID = root */ ^~~~~~~~~ main.c:1826:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getegid()); ^~~~~~~~~~~~~~~~~ At top level: main.c:124:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o md5.o md5.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o ccp.o ccp.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o ecp.o ecp.c ccp.c:46:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ ecp.c:62:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o auth.o auth.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o options.o options.c options.c: In function 'user_unsetenv': options.c:1738:13: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (arg == '\0') { ^~ options.c:1738:9: note: did you mean to dereference the pointer? if (arg == '\0') { ^ At top level: options.c:82:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ auth.c:118:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o demand.o demand.c demand.c:55:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o utils.o utils.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o sys-linux.o sys-linux.c utils.c: In function 'lock': utils.c:974:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, lock_buffer, 11); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c: In function 'relock': utils.c:1016:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, lock_buffer, 11); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: utils.c:62:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o ipxcp.o ipxcp.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o tty.o tty.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o eap.o eap.c ipxcp.c:65:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ tty.c: In function 'start_charshunt': tty.c:943:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ tty.c:944:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^~~~~~~~~~~ eap.c:145:21: warning: 'wkmodulus' defined but not used [-Wunused-const-variable=] static const u_char wkmodulus[] = { ^~~~~~~~~ eap.c:79:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o chap-md5.o chap-md5.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o session.o session.c session.c: In function 'session_start': session.c:389:23: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(fd, (char *)&ll, sizeof(ll)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o md4.o md4.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o chap_ms.o chap_ms.c sys-linux.c: In function 'get_pty': sys-linux.c:2646:7: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] fchown(sfd, uid, -1); ^~~~~~~~~~~~~~~~~~~~ cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o sha1.o sha1.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o pppcrypt.o pppcrypt.c chap_ms.c:97:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ pppcrypt.c: In function 'DesSetkey': pppcrypt.c:122:2: warning: implicit declaration of function 'setkey'; did you mean 'DesSetkey'? [-Wimplicit-function-declaration] setkey((const char *)crypt_key); ^~~~~~ DesSetkey pppcrypt.c: In function 'DesEncrypt': pppcrypt.c:137:2: warning: implicit declaration of function 'encrypt'; did you mean 'crypt'? [-Wimplicit-function-declaration] encrypt((char *)des_input, 0); ^~~~~~~ crypt cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o multilink.o multilink.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o tdb.o tdb.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o spinlock.o spinlock.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o ipv6cp.o ipv6cp.c cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -D_GLIBCXX_USE_C99_MATH=1 -c -o eui64.o eui64.c ipv6cp.c:171:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ eui64.c:42:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DMAXOCTETS -Wl,-Os,--as-needed -Wl,-E -o pppd main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o md5.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 md4.o chap_ms.o sha1.o pppcrypt.o multilink.o tdb.o spinlock.o ipv6cp.o eui64.o -lcrypt -lutil -ldl /usr/bin/ld: pppcrypt.o: in function `DesSetkey': /home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/pppcrypt.c:122: undefined reference to `setkey' /usr/bin/ld: pppcrypt.o: in function `DesEncrypt': /home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/pppcrypt.c:137: undefined reference to `encrypt' /usr/bin/ld: pppcrypt.o: in function `DesDecrypt': /home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/pppcrypt.c:153: undefined reference to `encrypt' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:217: pppd] Error 1 make[1]: Leaving directory '/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd' make: *** [Makefile:15: all] Error 2 Build dependencies to remove: 7 Removing: db db-dev libdb libdb-cxx libtirpc-dev pam pam-dev Debug information ret1. ================================================================================ Cook date: 2020-09-13 01:12 Wasted time : 17s 88:/usr/include/linux/in.h:29:3: error: redeclaration of enumerator 'IPPROTO_IP' 94:/usr/include/linux/in.h:31:3: error: redeclaration of enumerator 'IPPROTO_ICMP' 100:/usr/include/linux/in.h:33:3: error: redeclaration of enumerator 'IPPROTO_IGMP' 106:/usr/include/linux/in.h:35:3: error: redeclaration of enumerator 'IPPROTO_IPIP' 112:/usr/include/linux/in.h:37:3: error: redeclaration of enumerator 'IPPROTO_TCP' 118:/usr/include/linux/in.h:39:3: error: redeclaration of enumerator 'IPPROTO_EGP' 124:/usr/include/linux/in.h:41:3: error: redeclaration of enumerator 'IPPROTO_PUP' 130:/usr/include/linux/in.h:43:3: error: redeclaration of enumerator 'IPPROTO_UDP' 136:/usr/include/linux/in.h:45:3: error: redeclaration of enumerator 'IPPROTO_IDP' 142:/usr/include/linux/in.h:47:3: error: redeclaration of enumerator 'IPPROTO_TP' 148:/usr/include/linux/in.h:49:3: error: redeclaration of enumerator 'IPPROTO_DCCP' 154:/usr/include/linux/in.h:51:3: error: redeclaration of enumerator 'IPPROTO_IPV6' 160:/usr/include/linux/in.h:53:3: error: redeclaration of enumerator 'IPPROTO_RSVP' 166:/usr/include/linux/in.h:55:3: error: redeclaration of enumerator 'IPPROTO_GRE' 172:/usr/include/linux/in.h:57:3: error: redeclaration of enumerator 'IPPROTO_ESP' 178:/usr/include/linux/in.h:59:3: error: redeclaration of enumerator 'IPPROTO_AH' 184:/usr/include/linux/in.h:61:3: error: redeclaration of enumerator 'IPPROTO_MTP' 190:/usr/include/linux/in.h:63:3: error: redeclaration of enumerator 'IPPROTO_BEETPH' 196:/usr/include/linux/in.h:65:3: error: redeclaration of enumerator 'IPPROTO_ENCAP' 202:/usr/include/linux/in.h:67:3: error: redeclaration of enumerator 'IPPROTO_PIM' 208:/usr/include/linux/in.h:69:3: error: redeclaration of enumerator 'IPPROTO_COMP' 214:/usr/include/linux/in.h:71:3: error: redeclaration of enumerator 'IPPROTO_SCTP' 220:/usr/include/linux/in.h:73:3: error: redeclaration of enumerator 'IPPROTO_UDPLITE' 226:/usr/include/linux/in.h:75:3: error: redeclaration of enumerator 'IPPROTO_MPLS' 232:/usr/include/linux/in.h:77:3: error: redeclaration of enumerator 'IPPROTO_RAW' 241:/usr/include/linux/in.h:79:3: error: redeclaration of enumerator 'IPPROTO_MAX' 252:/usr/include/linux/in.h:85:8: error: redefinition of 'struct in_addr' 263:/usr/include/linux/in.h:168:8: error: redefinition of 'struct ip_mreq' 274:/usr/include/linux/in.h:173:8: error: redefinition of 'struct ip_mreqn' 286:/usr/include/linux/in.h:179:8: error: redefinition of 'struct ip_mreq_source' 297:/usr/include/linux/in.h:185:8: error: redefinition of 'struct ip_msfilter' 308:/usr/include/linux/in.h:197:8: error: redefinition of 'struct group_req' 319:/usr/include/linux/in.h:202:8: error: redefinition of 'struct group_source_req' 330:/usr/include/linux/in.h:208:8: error: redefinition of 'struct group_filter' 341:/usr/include/linux/in.h:222:8: error: redefinition of 'struct in_pktinfo' 353:/usr/include/linux/in.h:232:8: error: redefinition of 'struct sockaddr_in' 364:/usr/include/linux/in6.h:33:8: error: redefinition of 'struct in6_addr' 375:/usr/include/linux/in6.h:50:8: error: redefinition of 'struct sockaddr_in6' 386:/usr/include/linux/in6.h:60:8: error: redefinition of 'struct ipv6_mreq' 622:/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/pppcrypt.c:122: undefined reference to `setkey' 624:/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/pppcrypt.c:137: undefined reference to `encrypt' 626:/home/slitaz/wok/ppp/source/ppp-2.4.7/pppd/pppcrypt.c:153: undefined reference to `encrypt' 627:collect2: error: ld returned 1 exit status ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================