=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for userppp-001107nb2 --- all-libhack --- --- all-ppp --- --- all-pppctl --- --- all-libhack --- all ===> libhack --- all-pppctl --- all ===> pppctl --- all-ppp --- all ===> ppp --- all-libhack --- --- alias.o --- --- alias_cuseeme.o --- --- alias.o --- # compile libhack/alias.o --- alias_cuseeme.o --- # compile libhack/alias_cuseeme.o --- alias.o --- gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=gnu99 -Werror -fPIE -DNO_FW_PUNCH -c alias.c -o alias.o --- alias_cuseeme.o --- gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=gnu99 -Werror -fPIE -DNO_FW_PUNCH -c alias_cuseeme.c -o alias_cuseeme.o --- all-pppctl --- --- .gdbinit --- rm -f .gdbinit touch .gdbinit --- pppctl.o --- --- all-ppp --- --- .gdbinit --- --- all-pppctl --- # compile pppctl/pppctl.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -fPIE -std=gnu99 -Werror -c pppctl.c --- all-ppp --- rm -f .gdbinit touch .gdbinit --- acf.o --- # compile ppp/acf.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c acf.c --- all-libhack --- alias_cuseeme.c: In function 'AliasHandleCUSeeMeOut': alias_cuseeme.c:75:24: warning: variable 'cu_link' set but not used [-Wunused-but-set-variable] struct alias_link *cu_link; ^~~~~~~ --- all-ppp --- In file included from acf.c:50:0: acf.c: In function 'acf_LayerPull': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ acf.c:75:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(l); ^~~~~~~~~~~~~ --- all-libhack --- ctfconvert -g -L VERSION alias_cuseeme.o objcopy -x alias_cuseeme.o --- alias_db.o --- # compile libhack/alias_db.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=gnu99 -Werror -fPIE -DNO_FW_PUNCH -c alias_db.c -o alias_db.o --- all-ppp --- ctfconvert -g -L VERSION acf.o --- arp.o --- # compile ppp/arp.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c arp.c ctfconvert -g -L VERSION arp.o --- async.o --- # compile ppp/async.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c async.c --- all-pppctl --- ctfconvert -g -L VERSION pppctl.o --- pppctl --- # link pppctl/pppctl gcc -Wl,-R/usr/pkg/lib -pie -shared-libgcc -Wl,-z,relro -o pppctl pppctl.o -Wl,-rpath-link,/lib -L=/lib -ledit -ltermcap -lutil ctfmerge -t -g -L VERSION -o pppctl pppctl.o --- all-ppp --- In file included from async.c:43:0: async.c: In function 'async_LayerPush': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ async.c:90:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(l); ^~~~~~~~~~~~~ async.c: In function 'async_LayerPull': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ async.c:174:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(l); ^~~~~~~~~~~~~ --- all-libhack --- --- alias.o --- ctfconvert -g -L VERSION alias.o --- alias_ftp.o --- # compile libhack/alias_ftp.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=gnu99 -Werror -fPIE -DNO_FW_PUNCH -c alias_ftp.c -o alias_ftp.o --- alias.o --- objcopy -x alias.o --- alias_irc.o --- # compile libhack/alias_irc.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=gnu99 -Werror -fPIE -DNO_FW_PUNCH -c alias_irc.c -o alias_irc.o --- all-ppp --- ctfconvert -g -L VERSION async.o --- auth.o --- # compile ppp/auth.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c auth.c --- all-libhack --- --- alias_ftp.o --- alias_ftp.c: In function 'NewFtpMessage': alias_ftp.c:488:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = (char *) &alias_port; ^ --- alias_irc.o --- ctfconvert -g -L VERSION alias_irc.o objcopy -x alias_irc.o --- alias_nbt.o --- # compile libhack/alias_nbt.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=gnu99 -Werror -fPIE -DNO_FW_PUNCH -c alias_nbt.c -o alias_nbt.o --- alias_db.o --- ctfconvert -g -L VERSION alias_db.o objcopy -x alias_db.o --- all-ppp --- ctfconvert -g -L VERSION auth.o --- all-libhack --- --- alias_pptp.o --- --- all-ppp --- --- bundle.o --- --- all-libhack --- # compile libhack/alias_pptp.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=gnu99 -Werror -fPIE -DNO_FW_PUNCH -c alias_pptp.c -o alias_pptp.o --- all-ppp --- # compile ppp/bundle.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c bundle.c --- all-libhack --- --- alias_ftp.o --- ctfconvert -g -L VERSION alias_ftp.o objcopy -x alias_ftp.o --- alias_proxy.o --- # compile libhack/alias_proxy.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=gnu99 -Werror -fPIE -DNO_FW_PUNCH -c alias_proxy.c -o alias_proxy.o --- alias_nbt.o --- alias_nbt.c: In function 'AliasHandleName': alias_nbt.c:116:9: warning: variable 'c' set but not used [-Wunused-but-set-variable] u_char c; ^ --- alias_proxy.o --- alias_proxy.c: In function 'ProxyEncodeTcpStream': alias_proxy.c:309:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = (char *) pip; ^ --- all-ppp --- In file included from bundle.c:92:0: bundle.c: In function 'bundle_LayerUp': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ bundle.c:267:26: note: in expansion of macro 'link2physical' struct physical *p = link2physical(fp->link); ^~~~~~~~~~~~~ bundle.c: In function 'bundle_DescriptorRead': bundle.c:552:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] data = tun.data; ^ --- all-libhack --- --- alias_pptp.o --- ctfconvert -g -L VERSION alias_pptp.o objcopy -x alias_pptp.o --- alias_smedia.o --- # compile libhack/alias_smedia.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=gnu99 -Werror -fPIE -DNO_FW_PUNCH -c alias_smedia.c -o alias_smedia.o --- alias_nbt.o --- ctfconvert -g -L VERSION alias_nbt.o objcopy -x alias_nbt.o --- alias_util.o --- # compile libhack/alias_util.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=gnu99 -Werror -fPIE -DNO_FW_PUNCH -c alias_util.c -o alias_util.o --- alias_proxy.o --- ctfconvert -g -L VERSION alias_proxy.o --- alias_util.o --- ctfconvert -g -L VERSION alias_util.o --- alias_proxy.o --- objcopy -x alias_proxy.o --- alias_util.o --- objcopy -x alias_util.o --- alias_smedia.o --- ctfconvert -g -L VERSION alias_smedia.o objcopy -x alias_smedia.o --- libalias.a --- # build libhack/libalias.a ar crs libalias.a `NM=nm lorder alias.o alias_cuseeme.o alias_db.o alias_ftp.o alias_irc.o alias_nbt.o alias_pptp.o alias_proxy.o alias_smedia.o alias_util.o | tsort -q` --- all-ppp --- ctfconvert -g -L VERSION bundle.o --- cbcp.o --- --- ccp.o --- --- chap.o --- --- cbcp.o --- # compile ppp/cbcp.o --- ccp.o --- # compile ppp/ccp.o --- chap.o --- # compile ppp/chap.o --- cbcp.o --- gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c cbcp.c --- ccp.o --- gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c ccp.c --- chap.o --- gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c chap.c --- chat.o --- # compile ppp/chat.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c chat.c --- cbcp.o --- In file included from cbcp.c:50:0: cbcp.c: In function 'cbcp_Input': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ cbcp.c:617:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(l); ^~~~~~~~~~~~~ --- ccp.o --- In file included from ccp.c:63:0: ccp.c: In function 'ccp_Proto': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ ccp.c:683:11: note: in expansion of macro 'link2physical' return !link2physical(ccp->fsm.link) || !ccp->fsm.bundle->ncp.mp.active ? ^~~~~~~~~~~~~ --- chap.o --- chap.c: In function 'chap_BuildAnswer': chap.c:227:28: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&MD5context, key, klen); ^~~ In file included from chap.c:35:0: /usr/include/md5.h:50:6: note: expected 'const unsigned char *' but argument is of type 'char *' void MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~ chap.c:228:28: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&MD5context, challenge + 1, *challenge); ^~~~~~~~~ In file included from chap.c:35:0: /usr/include/md5.h:50:6: note: expected 'const unsigned char *' but argument is of type 'char *' void MD5Update(MD5_CTX *, const unsigned char *, unsigned int); ^~~~~~~~~ chap.c:229:14: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness [-Wpointer-sign] MD5Final(digest, &MD5context); ^~~~~~ In file included from chap.c:35:0: /usr/include/md5.h:51:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5Final(unsigned char[MD5_DIGEST_LENGTH], MD5_CTX *); ^~~~~~~~ chap.c: In function 'chap_Respond': chap.c:363:52: warning: pointer targets in passing argument 4 of 'chap_BuildAnswer' differ in signedness [-Wpointer-sign] ans = chap_BuildAnswer(name, key, chap->auth.id, chap->challenge.peer, type ^~~~ chap.c:113:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' chap_BuildAnswer(char *name, char *key, u_char id, char *challenge, u_char type ^~~~~~~~~~~~~~~~ chap.c:363:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ans = chap_BuildAnswer(name, key, chap->auth.id, chap->challenge.peer, type ^ chap.c:378:16: warning: pointer targets in passing argument 4 of 'ChapOutput' differ in signedness [-Wpointer-sign] "Out of memory!", 14, NULL); ^~~~~~~~~~~~~~~~ chap.c:88:1: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' ChapOutput(struct physical *physical, u_int code, u_int id, ^~~~~~~~~~ In file included from chap.c:59:0: chap.c: In function 'chap_ChallengeInit': chap.h:56:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct chap *)((char *)a - (int)&((struct chap *)0)->auth)) ^ chap.c:472:23: note: in expansion of macro 'auth2chap' struct chap *chap = auth2chap(authp); ^~~~~~~~~ chap.c:480:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = chap->challenge.local; ^ In file included from chap.c:59:0: chap.c: In function 'chap_Challenge': chap.h:56:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct chap *)((char *)a - (int)&((struct chap *)0)->auth)) ^ chap.c:509:23: note: in expansion of macro 'auth2chap' struct chap *chap = auth2chap(authp); ^~~~~~~~~ chap.c: In function 'chap_Success': chap.c:544:56: warning: pointer targets in passing argument 4 of 'ChapOutput' differ in signedness [-Wpointer-sign] ChapOutput(authp->physical, CHAP_SUCCESS, authp->id, msg, strlen(msg) + 1, ^~~ chap.c:88:1: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'const char *' ChapOutput(struct physical *physical, u_int code, u_int id, ^~~~~~~~~~ chap.c: In function 'chap_Failure': chap.c:583:56: warning: pointer targets in passing argument 4 of 'ChapOutput' differ in signedness [-Wpointer-sign] ChapOutput(authp->physical, CHAP_FAILURE, authp->id, msg, strlen(msg) + 1, ^~~ chap.c:88:1: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'const char *' ChapOutput(struct physical *physical, u_int code, u_int id, ^~~~~~~~~~ In file included from chap.c:66:0: chap.c: In function 'chap_Input': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ chap.c:653:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(l); ^~~~~~~~~~~~~ chap.c:819:31: warning: pointer targets in passing argument 5 of 'radius_Authenticate' differ in signedness [-Wpointer-sign] chap->challenge.local + 1); ^~~~ In file included from chap.c:69:0: radius.h:67:13: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern void radius_Authenticate(struct radius *, struct authinfo *, ^~~~~~~~~~~~~~~~~~~ chap.c:856:40: warning: pointer targets in passing argument 4 of 'chap_BuildAnswer' differ in signedness [-Wpointer-sign] chap->challenge.local, ^~~~ chap.c:113:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' chap_BuildAnswer(char *name, char *key, u_char id, char *challenge, u_char type ^~~~~~~~~~~~~~~~ --- cbcp.o --- ctfconvert -g -L VERSION cbcp.o --- command.o --- --- chap.o --- ctfconvert -g -L VERSION chap.o --- command.o --- # compile ppp/command.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c command.c --- datalink.o --- # compile ppp/datalink.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c datalink.c --- ccp.o --- ctfconvert -g -L VERSION ccp.o --- deflate.o --- # compile ppp/deflate.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c deflate.c ctfconvert -g -L VERSION deflate.o --- defs.o --- # compile ppp/defs.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c defs.c --- chat.o --- ctfconvert -g -L VERSION chat.o --- exec.o --- # compile ppp/exec.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c exec.c ctfconvert -g -L VERSION exec.o --- filter.o --- # compile ppp/filter.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c filter.c --- defs.o --- ctfconvert -g -L VERSION defs.o --- fsm.o --- # compile ppp/fsm.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c fsm.c In file included from fsm.c:58:0: fsm.c: In function 'FsmRecvProtoRej': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ fsm.c:840:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(fp->link); ^~~~~~~~~~~~~ fsm.c: In function 'FsmRecvIdent': fsm.c:959:44: warning: pointer targets in passing argument 2 of 'lcp_RecvIdentification' differ in signedness [-Wpointer-sign] lcp_RecvIdentification(&fp->link->lcp, cp + 4); ^~ In file included from fsm.c:49:0: lcp.h:141:13: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' extern void lcp_RecvIdentification(struct lcp *, char *); ^~~~~~~~~~~~~~~~~~~~~~ --- filter.o --- ctfconvert -g -L VERSION filter.o --- hdlc.o --- # compile ppp/hdlc.o --- datalink.o --- ctfconvert -g -L VERSION datalink.o --- hdlc.o --- gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c hdlc.c --- iface.o --- # compile ppp/iface.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c iface.c --- hdlc.o --- In file included from hdlc.c:48:0: hdlc.c: In function 'hdlc_LayerPull': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ hdlc.c:300:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(l); ^~~~~~~~~~~~~ hdlc.c: At top level: hdlc.c:344:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "\176\377\003\300\041", 5 }, ^~~~~~~~~~~~~~~~~~~~~~ hdlc.c:344:5: note: (near initialization for 'FrameHeaders[0].data') hdlc.c:345:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "\176\377\175\043\300\041", 6 }, ^~~~~~~~~~~~~~~~~~~~~~~~~~ hdlc.c:345:5: note: (near initialization for 'FrameHeaders[1].data') hdlc.c:346:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "\176\177\175\043\100\041", 6 }, ^~~~~~~~~~~~~~~~~~~~~~~~~~ hdlc.c:346:5: note: (near initialization for 'FrameHeaders[2].data') hdlc.c:347:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "\176\175\337\175\043\300\041", 7 }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hdlc.c:347:5: note: (near initialization for 'FrameHeaders[3].data') hdlc.c:348:5: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "\176\175\137\175\043\100\041", 7 }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hdlc.c:348:5: note: (near initialization for 'FrameHeaders[4].data') --- fsm.o --- ctfconvert -g -L VERSION fsm.o --- ip.o --- # compile ppp/ip.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c ip.c --- hdlc.o --- ctfconvert -g -L VERSION hdlc.o --- ipcp.o --- # compile ppp/ipcp.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c ipcp.c --- ip.o --- ip.c: In function 'ip_LogDNS': ip.c:455:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = (const char *)uh + sizeof *uh; ^ ip.c: In function 'ip_Input': ip.c:821:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] data = tun.data; ^ --- ipcp.o --- In file included from ipcp.c:76:0: ipcp.c: In function 'IpcpSendConfigReq': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ ipcp.c:845:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(fp->link); ^~~~~~~~~~~~~ --- iface.o --- ctfconvert -g -L VERSION iface.o --- iplist.o --- # compile ppp/iplist.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c iplist.c ctfconvert -g -L VERSION iplist.o --- lcp.o --- # compile ppp/lcp.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c lcp.c --- command.o --- ctfconvert -g -L VERSION command.o --- link.o --- # compile ppp/link.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c link.c --- lcp.o --- In file included from lcp.c:55:0: lcp.c: In function 'lcp_Setup': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lcp.c:282:26: note: in expansion of macro 'link2physical' struct physical *p = link2physical(lcp->fsm.link); ^~~~~~~~~~~~~ lcp.c: In function 'LcpSendConfigReq': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lcp.c:356:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(fp->link); ^~~~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from lcp.c:33: lcp.c: In function 'lcp_SendIdentification': lcp.c:480:11: warning: pointer targets in passing argument 1 of '__builtin___strncpy_chk' differ in signedness [-Wpointer-sign] strncpy(msg + 4, exp[0], sizeof msg - 5); ^ lcp.c:480:11: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' lcp.c:480:11: warning: pointer targets in passing argument 1 of '__strncpy_ichk' differ in signedness [-Wpointer-sign] strncpy(msg + 4, exp[0], sizeof msg - 5); ^ /usr/include/ssp/string.h:91:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck3_restrict(strncpy, char *, const char *) ^ lcp.c:485:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] fsm_Output(&lcp->fsm, CODE_IDENT, id++, msg, 4 + strlen(msg + 4), MB_LCPOUT); ^~~ In file included from lcp.c:33:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ In file included from lcp.c:55:0: lcp.c: In function 'LcpSendTerminateAck': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lcp.c:507:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(fp->link); ^~~~~~~~~~~~~ lcp.c: In function 'LcpLayerUp': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lcp.c:537:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(fp->link); ^~~~~~~~~~~~~ lcp.c: In function 'LcpLayerDown': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lcp.c:555:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(fp->link); ^~~~~~~~~~~~~ lcp.c: In function 'LcpDecodeConfig': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lcp.c:594:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(fp->link); ^~~~~~~~~~~~~ lcp.c:1040:43: warning: pointer targets in passing argument 2 of 'E164ok' differ in signedness [-Wpointer-sign] E164ok(&p->dl->cfg.callback, cp + 3, sz))) { ^~ lcp.c:564:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' E164ok(struct callback *cb, char *req, int sz) ^~~~~~ --- link.o --- In file included from link.c:56:0: link.c: In function 'Despatch': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ link.c:345:26: note: in expansion of macro 'link2physical' struct physical *p = link2physical(l); ^~~~~~~~~~~~~ --- lcp.o --- lcp.c:1128:35: warning: pointer targets in passing argument 2 of 'mp_Enddisc' differ in signedness [-Wpointer-sign] mp_Enddisc(cp[2], cp + 3, length - 3)); ^~ In file included from lcp.c:60:0: mp.h:139:20: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern const char *mp_Enddisc(u_char, const char *, int); ^~~~~~~~~~ --- ip.o --- ctfconvert -g -L VERSION ip.o --- log.o --- # compile ppp/log.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c log.c --- link.o --- ctfconvert -g -L VERSION link.o --- lqr.o --- # compile ppp/lqr.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c lqr.c In file included from lqr.c:51:0: lqr.c: In function 'SendEchoReq': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lqr.c:71:24: note: in expansion of macro 'link2physical' struct hdlc *hdlc = &link2physical(lcp->fsm.link)->hdlc; ^~~~~~~~~~~~~ lqr.c: In function 'lqr_RecvEcho': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lqr.c:84:24: note: in expansion of macro 'link2physical' struct hdlc *hdlc = &link2physical(fp->link)->hdlc; ^~~~~~~~~~~~~ lqr.c: In function 'SendLqrReport': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lqr.c:151:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(lcp->fsm.link); ^~~~~~~~~~~~~ lqr.c: In function 'lqr_Input': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lqr.c:189:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(l); ^~~~~~~~~~~~~ lqr.c: In function 'lqr_Setup': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lqr.c:254:31: note: in expansion of macro 'link2physical' struct physical *physical = link2physical(lcp->fsm.link); ^~~~~~~~~~~~~ lqr.c: In function 'lqr_Start': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lqr.c:293:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(lcp->fsm.link); ^~~~~~~~~~~~~ lqr.c: In function 'lqr_reStart': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lqr.c:303:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(lcp->fsm.link); ^~~~~~~~~~~~~ lqr.c: In function 'lqr_LayerPush': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ lqr.c:356:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(l); ^~~~~~~~~~~~~ ctfconvert -g -L VERSION lqr.o --- main.o --- # compile ppp/main.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c main.c --- log.o --- ctfconvert -g -L VERSION log.o --- mbuf.o --- # compile ppp/mbuf.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c mbuf.c --- ipcp.o --- ctfconvert -g -L VERSION ipcp.o --- mp.o --- # compile ppp/mp.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c mp.c In file included from mp.c:55:0: mp.c: In function 'mp_Assemble': mbuf.h:40:2: warning: pointer targets in passing argument 2 of 'link_PullPacket' differ in signedness [-Wpointer-sign] ((bp) ? (u_char *)((bp)+1) + (bp)->m_offset : NULL) ^ mp.c:571:36: note: in expansion of macro 'MBUF_CTOP' link_PullPacket(&mp->link, MBUF_CTOP(q), q->m_len, mp->bundle); ^~~~~~~~~ In file included from mp.c:69:0: link.h:72:13: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' extern void link_PullPacket(struct link *, char *, size_t, struct bundle *); ^~~~~~~~~~~~~~~ In file included from mp.c:71:0: mp.c: In function 'mp_Input': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ mp.c:606:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(l); ^~~~~~~~~~~~~ --- lcp.o --- ctfconvert -g -L VERSION lcp.o --- pap.o --- # compile ppp/pap.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c pap.c --- mbuf.o --- ctfconvert -g -L VERSION mbuf.o --- physical.o --- # compile ppp/physical.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c physical.c --- pap.o --- In file included from pap.c:52:0: pap.c: In function 'pap_Input': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:116:33: note: in expansion of macro 'field2phys' ((l)->type == PHYSICAL_LINK ? field2phys(l, link) : NULL) ^~~~~~~~~~ pap.c:165:24: note: in expansion of macro 'link2physical' struct physical *p = link2physical(l); ^~~~~~~~~~~~~ pap.c:216:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] txt = MBUF_CTOP(bp); ^ pap.c:252:29: warning: pointer targets in passing argument 4 of 'radius_Authenticate' differ in signedness [-Wpointer-sign] key, NULL); ^~~ In file included from pap.c:59:0: radius.h:67:13: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern void radius_Authenticate(struct radius *, struct authinfo *, ^~~~~~~~~~~~~~~~~~~ pap.c:255:49: warning: pointer targets in passing argument 3 of 'auth_Validate' differ in signedness [-Wpointer-sign] if (auth_Validate(bundle, authp->in.name, key, p)) ^~~ In file included from pap.c:41:0: auth.h:55:12: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern int auth_Validate(struct bundle *, const char *, const char *, ^~~~~~~~~~~~~ --- main.o --- ctfconvert -g -L VERSION main.o --- pred.o --- # compile ppp/pred.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c pred.c --- physical.o --- In file included from physical.c:77:0: physical.c: In function 'physical_DescriptorWrite': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:119:39: note: in expansion of macro 'field2phys' ((d)->type == PHYSICAL_DESCRIPTOR ? field2phys(d, desc) : NULL) ^~~~~~~~~~ physical.c:394:24: note: in expansion of macro 'descriptor2physical' struct physical *p = descriptor2physical(d); ^~~~~~~~~~~~~~~~~~~ physical.c: In function 'physical_DescriptorRead': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:119:39: note: in expansion of macro 'field2phys' ((d)->type == PHYSICAL_DESCRIPTOR ? field2phys(d, desc) : NULL) ^~~~~~~~~~ physical.c:517:24: note: in expansion of macro 'descriptor2physical' struct physical *p = descriptor2physical(d); ^~~~~~~~~~~~~~~~~~~ physical.c:555:35: warning: pointer targets in passing argument 2 of 'link_PullPacket' differ in signedness [-Wpointer-sign] link_PullPacket(&p->link, rbuff, p->input.sz, bundle); ^~~~~ In file included from physical.c:76:0: link.h:72:13: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' extern void link_PullPacket(struct link *, char *, size_t, struct bundle *); ^~~~~~~~~~~~~~~ physical.c:563:31: warning: pointer targets in passing argument 2 of 'link_PullPacket' differ in signedness [-Wpointer-sign] link_PullPacket(&p->link, rbuff, n, bundle); ^~~~~ In file included from physical.c:76:0: link.h:72:13: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' extern void link_PullPacket(struct link *, char *, size_t, struct bundle *); ^~~~~~~~~~~~~~~ physical.c: In function 'iov2physical': physical.c:613:39: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p->link.stats.total.in.SampleOctets = (long long *)iov[(*niov)++].iov_base; ^ physical.c:614:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p->link.stats.total.out.SampleOctets = (long long *)iov[(*niov)++].iov_base; ^ physical.c:571:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len, h, type; ^~~ In file included from physical.c:77:0: physical.c: In function 'physical_doUpdateSet': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:119:39: note: in expansion of macro 'field2phys' ((d)->type == PHYSICAL_DESCRIPTOR ? field2phys(d, desc) : NULL) ^~~~~~~~~~ physical.c:816:24: note: in expansion of macro 'descriptor2physical' struct physical *p = descriptor2physical(d); ^~~~~~~~~~~~~~~~~~~ physical.c: In function 'physical_IsSet': physical.h:113:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name))) ^ physical.h:119:39: note: in expansion of macro 'field2phys' ((d)->type == PHYSICAL_DESCRIPTOR ? field2phys(d, desc) : NULL) ^~~~~~~~~~ physical.c:877:24: note: in expansion of macro 'descriptor2physical' struct physical *p = descriptor2physical(d); ^~~~~~~~~~~~~~~~~~~ --- pap.o --- ctfconvert -g -L VERSION pap.o --- probe.o --- # compile ppp/probe.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c probe.c ctfconvert -g -L VERSION probe.o --- prompt.o --- # compile ppp/prompt.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c prompt.c --- pred.o --- ctfconvert -g -L VERSION pred.o --- proto.o --- # compile ppp/proto.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c proto.c --- mp.o --- ctfconvert -g -L VERSION mp.o --- route.o --- # compile ppp/route.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c route.c --- proto.o --- ctfconvert -g -L VERSION proto.o --- server.o --- # compile ppp/server.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOATM -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c server.c server.c: In function 'server_Read': server.c:101:29: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] wfd = accept(s->fd, sa, &ssize); ^ In file included from server.c:30:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ server.c: In function 'server_Close': server.c:279:58: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(server.fd, (struct sockaddr *)&un, &sz) == 0 && ^ In file included from server.c:30:0: /usr/include/sys/socket.h:625:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ --- route.o --- route.c:226:5: error: 'RTF_CLONING' undeclared here (not in a function); did you mean 'RTM_LOSING'? { RTF_CLONING, 'C' }, ^~~~~~~~~~~ RTM_LOSING route.c:227:5: error: 'RTF_XRESOLVE' undeclared here (not in a function); did you mean 'RTF_DONE'? { RTF_XRESOLVE, 'X' }, ^~~~~~~~~~~~ RTF_DONE route.c:228:5: error: 'RTF_LLINFO' undeclared here (not in a function); did you mean 'RTM_IFINFO'? { RTF_LLINFO, 'L' }, ^~~~~~~~~~ RTM_IFINFO --- prompt.o --- ctfconvert -g -L VERSION prompt.o --- route.o --- *** [route.o] Error code 1 make[1]: stopped in /tmp/net/userppp/work/ppp-001107/ppp --- server.o --- ctfconvert -g -L VERSION server.o --- physical.o --- ctfconvert -g -L VERSION physical.o 1 error make[1]: stopped in /tmp/net/userppp/work/ppp-001107/ppp *** [all-ppp] Error code 2 make: stopped in /tmp/net/userppp/work/ppp-001107 1 error make: stopped in /tmp/net/userppp/work/ppp-001107 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/userppp *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/userppp