* Package: net-dialup/ppp-2.4.9-r5 * Repository: gentoo * Maintainer: polynomial-c@gentoo.org base-system@gentoo.org * USE: abi_x86_64 activefilter amd64 dhcp elibc_musl kernel_linux pam radius userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.15.8-gentoo-dist >>> Unpacking source... >>> Unpacking ppp-2.4.9.tar.gz to /var/tmp/portage/net-dialup/ppp-2.4.9-r5/work >>> Unpacking ppp-2.4.9-patches-03.tar.xz to /var/tmp/portage/net-dialup/ppp-2.4.9-r5/work >>> Unpacking ppp-dhcpc.tgz to /var/tmp/portage/net-dialup/ppp-2.4.9-r5/work >>> Source unpacked in /var/tmp/portage/net-dialup/ppp-2.4.9-r5/work >>> Preparing source in /var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9 ... * Applying patches from /var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/patches ... * 0001-Change-Make-vars-to-work-in-Gentoo-builds.patch ... [ ok ] * 0002-Use-internal-implementation-of-logwtmp-function.patch ... [ ok ] * 0003-Add-MPLSCP-support.patch ... [ ok ] * 0004-smarter-killaddr.patch ... [ ok ] * 0005-Improve-waiting-for-children-on-exit.patch ... [ ok ] * 0006-Remove-one-of-the-2-pidfiles-pidfilename-or-linkpidf.patch ... [ ok ] * 0007-Run-etc-ppp-auth-fail-script-if-exists-and-authentic.patch ... [ ok ] * 0008-Try-to-create-dev-ppp-if-not-available.patch ... [ ok ] * 0009-passwordfd-read-early.patch ... [ ok ] * 0010-Add-option-to-ask-peer-for-WINS-address.patch ... [ ok ] * 0011-Log-connect-errors-to-var-log-ppp-connect-errors.patch ... [ ok ] * 0012-Don-t-hang-when-starting-pppoe-connection-without-se.patch ... [ ok ] * 0013-Add-defaultmetric-as-compatibility-option-name.patch ... [ ok ] * 0014-Warn-user-of-deprecated-option-defaultmetric.patch ... [ ok ] * 0015-plugins-radius-Use-snprintf-in-rc_mksid.patch ... [ ok ] * 85_all_dhcp-make-vars.patch ... [ ok ] * 86_all_dhcp-sys_error_to_strerror.patch ... [ ok ] * Enabling PAM * Disabling IPv6 * Enabling CBCP * Adding ppp-dhcp plugin files * Disabling EAP-TLS pppd auth support * Disabling EAP-TLS plugin support >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9 ... ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --enable-option-checking=warn ./configure: line 10: CC: command not found ./configure: line 23: CFLAGS: command not found 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/pppoe/Makefile <= pppd/plugins/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 >>> Source configured. >>> Compiling source in /var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9 ... make -j4 CC=x86_64-gentoo-linux-musl-gcc 'COPTS=-pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE' cd chat; make -j4 --jobserver-auth=3,4 all make[1]: warning: -j4 forced in submake: resetting jobserver mode. make[1]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9/chat' x86_64-gentoo-linux-musl-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat.o chat.c x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat chat.o make[1]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9/chat' cd pppd/plugins; make -j4 --jobserver-auth=3,4 all make[1]: warning: -j4 forced in submake: resetting jobserver mode. make[1]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9/pppd/plugins' x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,--allow-shlib-undefined -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I.. -I../../include -fPIC -DMPPE=1 -o minconn.so minconn.c x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,--allow-shlib-undefined -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I.. -I../../include -fPIC -DMPPE=1 -o passprompt.so passprompt.c x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,--allow-shlib-undefined -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I.. -I../../include -fPIC -DMPPE=1 -o passwordfd.so passwordfd.c x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,--allow-shlib-undefined -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I.. -I../../include -fPIC -DMPPE=1 -o winbind.so winbind.c for d in pppoe pppoatm pppol2tp dhcp radius; do make -w -j4 --jobserver-auth=5,6 -C $d all || exit $?; done make[2]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9/pppd/plugins' make[2]: warning: -j4 forced in submake: resetting jobserver mode. x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../../../include -I../../.. -c -o plugin.o -fPIC plugin.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../../../include -I../../.. -c -o discovery.o -fPIC discovery.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../../../include -I../../.. -c -o if.o -fPIC if.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../../../include -I../../.. -c -o common.o -fPIC common.c plugin.c: In function 'PPPOEConnectDevice': plugin.c:257:31: warning: converting a packed 'struct sockaddr_pppox' pointer (alignment 1) to a 'const struct sockaddr' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 257 | sizeof(struct sockaddr_pppox)) < 0) { | ^~~~~~~~~~~~~~ In file included from plugin.c:51: /usr/include/linux/if_pppox.h:65:8: note: defined here 65 | struct sockaddr_pppox { | ^~~~~~~~~~~~~~ plugin.c: In function 'PPPOEDisconnectDevice': plugin.c:306:31: warning: converting a packed 'struct sockaddr_pppox' pointer (alignment 1) to a 'const struct sockaddr' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 306 | sizeof(struct sockaddr_pppox)) < 0 && errno != EALREADY) | ^~~~~~~~~~~~~~ In file included from plugin.c:51: /usr/include/linux/if_pppox.h:65:8: note: defined here 65 | struct sockaddr_pppox { | ^~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../../../include -I../../.. -c -o pppoe-discovery.o pppoe-discovery.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../../../include -I../../.. -c -o debug.o debug.c x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,--allow-shlib-undefined -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../../../include -o pppoe.so -shared plugin.o discovery.o if.o common.o x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../../../include -o pppoe-discovery pppoe-discovery.o debug.o make[2]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9/pppd/plugins/pppoe' make[2]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9/pppd/plugins' make[2]: warning: -j4 forced in submake: resetting jobserver mode. x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o pppoatm.o pppoatm.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o text2qos.o text2qos.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o text2atm.o text2atm.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o misc.o misc.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o ans.o ans.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,--allow-shlib-undefined -o pppoatm.so pppoatm.o text2qos.o text2atm.o misc.o ans.o -lresolv make[2]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9/pppd/plugins/pppoatm' make[2]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9/pppd/plugins' make[2]: warning: -j4 forced in submake: resetting jobserver mode. x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I. -I../.. -I../../../include -fPIC -c -o pppol2tp.o pppol2tp.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I. -I../.. -I../../../include -fPIC -c -o openl2tp.o openl2tp.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I. -I../.. -I../../../include -fPIC -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,--allow-shlib-undefined -o openl2tp.so openl2tp.o x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I. -I../.. -I../../../include -fPIC -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,--allow-shlib-undefined -o pppol2tp.so pppol2tp.o rm pppol2tp.o openl2tp.o make[2]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9/pppd/plugins/pppol2tp' make[2]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9/pppd/plugins' make[2]: warning: -j4 forced in submake: resetting jobserver mode. x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../.. -I../../../include -fPIC -c -o dhcpc.o dhcpc.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../.. -I../../../include -fPIC -c -o clientpacket.o clientpacket.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../.. -I../../../include -fPIC -c -o packet.o packet.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../.. -I../../../include -fPIC -c -o socket.o socket.c In file included from packet.c:18: packet.c: In function 'get_packet': In file included from dhcpd.h:8, from clientpacket.c:40: leases.h:7:9: error: unknown type name 'u_int8_t' 7 | u_int8_t chaddr[16]; | ^~~~~~~~ leases.h:8:9: error: unknown type name 'u_int32_t' 8 | u_int32_t yiaddr; /* network order */ | ^~~~~~~~~ leases.h:9:9: error: unknown type name 'u_int32_t' 9 | u_int32_t expires; /* host order */ | ^~~~~~~~~ debug.h:9:37: warning: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~~~ packet.c:60:17: note: in expansion of macro 'DEBUG' 60 | DEBUG(LOG_INFO, "couldn't read on listening socket, ignoring"); | ^~~~~ leases.h:13:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 13 | void clear_lease(u_int8_t *chaddr, u_int32_t yiaddr); | ^~~~~~~~ | uint8_t debug.h:16:34: warning: implicit declaration of function 'info' [-Wimplicit-function-declaration] 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ packet.c:65:17: note: in expansion of macro 'LOG' 65 | LOG(LOG_ERR, "received bogus message, ignoring"); | ^~~ leases.h:13:36: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 13 | void clear_lease(u_int8_t *chaddr, u_int32_t yiaddr); | ^~~~~~~~~ | uint32_t leases.h:14:35: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 14 | struct dhcpOfferedAddr *add_lease(u_int8_t *chaddr, u_int32_t yiaddr, unsigned long lease); | ^~~~~~~~ | uint8_t leases.h:14:53: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 14 | struct dhcpOfferedAddr *add_lease(u_int8_t *chaddr, u_int32_t yiaddr, unsigned long lease); | ^~~~~~~~~ | uint32_t leases.h:17:46: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 17 | struct dhcpOfferedAddr *find_lease_by_chaddr(u_int8_t *chaddr); | ^~~~~~~~ | uint8_t leases.h:18:46: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 18 | struct dhcpOfferedAddr *find_lease_by_yiaddr(u_int32_t yiaddr); | ^~~~~~~~~ | uint32_t leases.h:19:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 19 | u_int32_t find_address(int check_expired); | ^~~~~~~~~ | uint32_t leases.h:20:14: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 20 | int check_ip(u_int32_t addr); | ^~~~~~~~~ | uint32_t In file included from clientpacket.c:40: dhcpd.h:104:9: error: unknown type name 'u_int32_t' 104 | u_int32_t server; /* Our IP, in network order */ | ^~~~~~~~~ dhcpd.h:105:9: error: unknown type name 'u_int32_t' 105 | u_int32_t start; /* Start address of leases, network order */ | ^~~~~~~~~ dhcpd.h:106:9: error: unknown type name 'u_int32_t' 106 | u_int32_t end; /* End of leases, network order */ | ^~~~~~~~~ dhcpd.h:125:9: error: unknown type name 'u_int32_t' 125 | u_int32_t siaddr; /* next server bootp option */ | ^~~~~~~~~ In file included from clientpacket.c:41: packet.h:8:9: error: unknown type name 'u_int8_t' 8 | u_int8_t op; | ^~~~~~~~ packet.h:9:9: error: unknown type name 'u_int8_t' 9 | u_int8_t htype; | ^~~~~~~~ packet.h:10:9: error: unknown type name 'u_int8_t' 10 | u_int8_t hlen; | ^~~~~~~~ packet.h:11:9: error: unknown type name 'u_int8_t' 11 | u_int8_t hops; | ^~~~~~~~ packet.h:12:9: error: unknown type name 'u_int32_t' 12 | u_int32_t xid; | ^~~~~~~~~ packet.h:13:9: error: unknown type name 'u_int16_t' 13 | u_int16_t secs; | ^~~~~~~~~ packet.h:14:9: error: unknown type name 'u_int16_t' 14 | u_int16_t flags; | ^~~~~~~~~ packet.h:15:9: error: unknown type name 'u_int32_t' 15 | u_int32_t ciaddr; | ^~~~~~~~~ packet.h:16:9: error: unknown type name 'u_int32_t' 16 | u_int32_t yiaddr; | ^~~~~~~~~ packet.h:17:9: error: unknown type name 'u_int32_t' 17 | u_int32_t siaddr; | ^~~~~~~~~ packet.h:18:9: error: unknown type name 'u_int32_t' 18 | u_int32_t giaddr; | ^~~~~~~~~ packet.h:19:9: error: unknown type name 'u_int8_t' 19 | u_int8_t chaddr[16]; | ^~~~~~~~ packet.h:20:9: error: unknown type name 'u_int8_t' 20 | u_int8_t sname[64]; | ^~~~~~~~ packet.h:21:9: error: unknown type name 'u_int8_t' 21 | u_int8_t file[128]; | ^~~~~~~~ packet.h:22:9: error: unknown type name 'u_int32_t' 22 | u_int32_t cookie; | ^~~~~~~~~ packet.h:23:9: error: unknown type name 'u_int8_t' 23 | u_int8_t options[308]; /* 312 - cookie */ | ^~~~~~~~ In file included from socket.c:44: socket.c: In function 'read_interface': debug.h:9:37: warning: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~~~ socket.c:61:33: note: in expansion of macro 'DEBUG' 61 | DEBUG(LOG_INFO, "%s (our ip) = %s", ifr.ifr_name, inet_ntoa(sin->sin_addr)); | ^~~~~ packet.h:34:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 34 | u_int16_t checksum(void *addr, int count); | ^~~~~~~~~ | uint16_t packet.h:35:45: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 35 | int raw_packet(struct dhcpMessage *payload, u_int32_t source_ip, int source_port, | ^~~~~~~~~ | uint32_t debug.h:16:34: warning: implicit declaration of function 'info' [-Wimplicit-function-declaration] 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ socket.c:63:33: note: in expansion of macro 'LOG' 63 | LOG(LOG_ERR, "SIOCGIFADDR failed!: %s", strerror(errno)); | ^~~ packet.h:36:20: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 36 | u_int32_t dest_ip, int dest_port, unsigned char *dest_arp, int ifindex); | ^~~~~~~~~ | uint32_t packet.h:37:48: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 37 | int kernel_packet(struct dhcpMessage *payload, u_int32_t source_ip, int source_port, | ^~~~~~~~~ | uint32_t packet.h:38:20: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 38 | u_int32_t dest_ip, int dest_port); | ^~~~~~~~~ | uint32_t In file included from clientpacket.c:42: options.h:36:69: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 36 | simple_option(unsigned char *optionptr, unsigned char code, u_int32_t data); | ^~~~~~~~~ | uint32_t In file included from clientpacket.c:43: dhcpc.h:27:9: error: unknown type name 'u_int32_t' 27 | u_int32_t giaddr; /* Fill in this value on all packets we generate */ | ^~~~~~~~~ dhcpc.h:28:9: error: unknown type name 'u_int32_t' 28 | u_int32_t siaddr; /* If defined, only talk to this server (never broadcast) */ | ^~~~~~~~~ dhcpc.h:29:3: error: unknown type name 'u_int32_t' 29 | u_int32_t subnet_selection; /* If non zero, send and require SS option */ | ^~~~~~~~~ clientpacket.c: In function 'init_packet': clientpacket.c:69:33: warning: passing argument 1 of 'add_option_string' from incompatible pointer type [-Wincompatible-pointer-types] 69 | add_option_string(packet->options, client_config.clientid); | ~~~~~~^~~~~~~~~ | | | int * In file included from clientpacket.c:42: options.h:35:38: note: expected 'unsigned char *' but argument is of type 'int *' 35 | int add_option_string(unsigned char *optionptr, unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~~~~ clientpacket.c:71:35: warning: passing argument 1 of 'add_option_string' from incompatible pointer type [-Wincompatible-pointer-types] 71 | add_option_string(packet->options, client_config.hostname); | ~~~~~~^~~~~~~~~ | | | int * In file included from clientpacket.c:42: options.h:35:38: note: expected 'unsigned char *' but argument is of type 'int *' 35 | int add_option_string(unsigned char *optionptr, unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~~~~ clientpacket.c:73:11: warning: implicit declaration of function 'add_simple_option' [-Wimplicit-function-declaration] 73 | add_simple_option(packet->options, DHCP_SUBNET_SELECTION, | ^~~~~~~~~~~~~~~~~ clientpacket.c:75:33: warning: passing argument 1 of 'add_option_string' from incompatible pointer type [-Wincompatible-pointer-types] 75 | add_option_string(packet->options, (unsigned char *) &vendor_id); | ~~~~~~^~~~~~~~~ | | | int * In file included from clientpacket.c:42: options.h:35:38: note: expected 'unsigned char *' but argument is of type 'int *' 35 | int add_option_string(unsigned char *optionptr, unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~~~~ clientpacket.c: In function 'add_requests': clientpacket.c:85:36: warning: passing argument 1 of 'end_option' from incompatible pointer type [-Wincompatible-pointer-types] 85 | int end = end_option(packet->options); | ~~~~~~^~~~~~~~~ | | | int * In file included from clientpacket.c:42: options.h:34:31: note: expected 'unsigned char *' but argument is of type 'int *' 34 | int end_option(unsigned char *optionptr); | ~~~~~~~~~~~~~~~^~~~~~~~~ In file included from clientpacket.c:44: clientpacket.c: In function 'send_discover': debug.h:16:34: warning: implicit declaration of function 'info' [-Wimplicit-function-declaration] 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ clientpacket.c:109:9: note: in expansion of macro 'LOG' 109 | LOG(LOG_DEBUG, "Sending discover..."); | ^~~ clientpacket.c:111:18: warning: implicit declaration of function 'kernel_packet'; did you mean 'init_packet'? [-Wimplicit-function-declaration] 111 | return kernel_packet(&packet, INADDR_ANY, CLIENT_PORT, client_config.siaddr, SERVER_PORT); | ^~~~~~~~~~~~~ | init_packet clientpacket.c:113:18: warning: implicit declaration of function 'raw_packet'; did you mean 'get_packet'? [-Wimplicit-function-declaration] 113 | return raw_packet(&packet, INADDR_ANY, CLIENT_PORT, INADDR_BROADCAST, | ^~~~~~~~~~ | get_packet clientpacket.c: In function 'get_raw_packet': clientpacket.c:182:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 182 | u_int32_t source, dest; | ^~~~~~~~~ | uint32_t clientpacket.c:183:9: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 183 | u_int16_t check; | ^~~~~~~~~ | uint16_t In file included from clientpacket.c:44: debug.h:9:37: warning: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~~~ clientpacket.c:188:17: note: in expansion of macro 'DEBUG' 188 | DEBUG(LOG_INFO, "couldn't read on raw listening socket -- ignoring"); | ^~~~~ make[2]: *** [: clientpacket.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9/pppd/plugins/dhcp' make[1]: *** [Makefile:39: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9/pppd/plugins' make: *** [Makefile:14: all] Error 2 * ERROR: net-dialup/ppp-2.4.9-r5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-dialup/ppp-2.4.9-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-dialup/ppp-2.4.9-r5::gentoo'`. * The complete build log is located at '/var/log/portage/net-dialup:ppp-2.4.9-r5:20211215-085230.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/temp/environment'. * Working directory: '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9' * S: '/var/tmp/portage/net-dialup/ppp-2.4.9-r5/work/ppp-ppp-2.4.9'