=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for userppp-001107nb2 --- all-libhack --- --- all-ppp --- --- all-libhack --- all ===> libhack --- all-ppp --- all ===> ppp --- all-libhack --- --- alias.o --- # compile libhack/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 --- all-ppp --- --- .gdbinit --- rm -f .gdbinit touch .gdbinit --- acf.o --- # compile ppp/acf.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c acf.c 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); ^ --- arp.o --- # compile ppp/arp.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c arp.c --- async.o --- # compile ppp/async.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c async.c 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:120:3: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(MBUF_CTOP(bp), p->async.xbuff, cnt); ^ In file included from async.c:43:0: 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); ^ --- auth.o --- # compile ppp/auth.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c auth.c --- all-libhack --- objcopy -x alias.o --- alias_cuseeme.o --- --- all-ppp --- --- bundle.o --- --- all-libhack --- # compile libhack/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-ppp --- # compile ppp/bundle.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c bundle.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 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 --- 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 objcopy -x alias_db.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_ftp.c: In function 'NewFtpMessage': alias_ftp.c:488:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = (char *) &alias_port; ^ --- all-ppp --- --- cbcp.o --- # compile ppp/cbcp.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c cbcp.c 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); ^ --- all-libhack --- objcopy -x alias_ftp.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 objcopy -x alias_irc.o --- all-ppp --- --- ccp.o --- # compile ppp/ccp.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c ccp.c --- all-libhack --- --- 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_nbt.c: In function 'AliasHandleName': alias_nbt.c:116:9: warning: variable 'c' set but not used [-Wunused-but-set-variable] u_char c; ^ --- all-ppp --- 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 ? ^ --- all-libhack --- objcopy -x alias_nbt.o --- alias_pptp.o --- # 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 objcopy -x alias_pptp.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 --- all-ppp --- --- chap.o --- # compile ppp/chap.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c chap.c --- all-libhack --- 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 /usr/include/string.h:127:0, from chap.c:40: chap.c: In function 'ChapOutput': chap.c:100:44: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); ^ 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 ^ --- all-libhack --- objcopy -x alias_proxy.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 --- all-ppp --- --- chat.o --- # compile ppp/chat.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c chat.c --- all-libhack --- objcopy -x alias_smedia.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 objcopy -x alias_util.o --- libalias.a --- # build libhack/libalias.a rm -f 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 --- --- command.o --- # compile ppp/command.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -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 -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c datalink.c --- deflate.o --- # compile ppp/deflate.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c deflate.c --- defs.o --- # compile ppp/defs.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c defs.c --- exec.o --- # compile ppp/exec.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c exec.c --- all-pppctl --- all ===> pppctl --- .gdbinit --- rm -f .gdbinit touch .gdbinit --- pppctl.o --- # compile pppctl/pppctl.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -fPIE -std=gnu99 -Werror -c pppctl.c --- all-ppp --- --- filter.o --- # compile ppp/filter.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c filter.c --- all-pppctl --- --- pppctl --- # link pppctl/pppctl gcc -Wl,-R/usr/pkg/lib -pie -shared-libgcc -o pppctl pppctl.o -Wl,-rpath-link,/lib -L=/lib -ledit -ltermcap -lutil --- all-ppp --- --- fsm.o --- --- hdlc.o --- --- fsm.o --- # compile ppp/fsm.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c fsm.c --- hdlc.o --- # compile ppp/hdlc.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c hdlc.c --- fsm.o --- In file included from /usr/include/string.h:127:0, from fsm.c:31: fsm.c: In function 'fsm_Output': fsm.c:205:44: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); ^ --- 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 --- 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 *); ^ --- iface.o --- # compile ppp/iface.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c iface.c --- ip.o --- # compile ppp/ip.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c ip.c --- ipcp.o --- # compile ppp/ipcp.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -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; ^ ip.c: In function 'ip_Enqueue': ip.c:852:5: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(MBUF_CTOP(bp), ptr, count); ^ --- 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); ^ --- iplist.o --- # compile ppp/iplist.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c iplist.c --- lcp.o --- # compile ppp/lcp.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c lcp.c 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) ^ 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); ^ --- link.o --- # compile ppp/link.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c link.c link.c: In function 'link_PullPacket': link.c:265:3: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(MBUF_CTOP(lbp[0]), buf, len); ^ 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); ^ --- log.o --- # compile ppp/log.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c log.c --- lqr.o --- # compile ppp/lqr.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -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); ^ --- main.o --- # compile ppp/main.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c main.c --- mbuf.o --- # compile ppp/mbuf.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c mbuf.c mbuf.c: In function 'mbuf_Read': mbuf.c:197:7: warning: null argument where non-null required (argument 2) [-Wnonnull] memcpy(ptr, MBUF_CTOP(bp), nb); ^ mbuf.c: In function 'mbuf_View': mbuf.c:224:5: warning: null argument where non-null required (argument 2) [-Wnonnull] memcpy(ptr, MBUF_CTOP(bp), nb); ^ mbuf.c: In function 'm_prepend': mbuf.c:242:7: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(MBUF_CTOP(bp), ptr, len); ^ mbuf.c:255:5: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(MBUF_CTOP(head), ptr, len); ^ mbuf.c: In function 'mbuf_Write': mbuf.c:303:5: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(MBUF_CTOP(bp), ptr, nb); ^ mbuf.c: In function 'm_pullup': mbuf.c:382:9: warning: null argument where non-null required (argument 2) [-Wnonnull] memcpy(cp, MBUF_CTOP(bp), bp->m_len); ^ mbuf.c:389:7: warning: null argument where non-null required (argument 2) [-Wnonnull] bcopy(MBUF_CTOP(bp), bp + 1, bp->m_len); ^ --- mp.o --- # compile ppp/mp.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -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); ^ --- pap.o --- # compile ppp/pap.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c pap.c In file included from /usr/include/string.h:127:0, from pap.c:32: pap.c: In function 'pap_Req': pap.c:92:44: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); ^ pap.c: In function 'SendPapCode': pap.c:117:44: warning: null argument where non-null required (argument 1) [-Wnonnull] memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader)); ^ 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 *, ^ --- physical.o --- # compile ppp/physical.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c physical.c 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); ^ --- pred.o --- # compile ppp/pred.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c pred.c --- probe.o --- # compile ppp/probe.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c probe.c --- prompt.o --- # compile ppp/prompt.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c prompt.c --- proto.o --- # compile ppp/proto.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c proto.c --- route.o --- # compile ppp/route.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c route.c --- server.o --- # compile ppp/server.o gcc -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Wall -DNOI4B -DNONETGRAPH -D_PATH_PPP=\"/usr/pkg/etc/ppp\" -I. -I../libhack -fPIE -std=gnu99 -Werror -c server.c --- route.o --- route.c:226:5: error: 'RTF_CLONING' undeclared here (not in a function) { RTF_CLONING, 'C' }, ^ route.c:227:5: error: 'RTF_XRESOLVE' undeclared here (not in a function) { RTF_XRESOLVE, 'X' }, ^ route.c:228:5: error: 'RTF_LLINFO' undeclared here (not in a function) { RTF_LLINFO, 'L' }, ^ *** [route.o] Error code 1 make[1]: stopped in /tmp/pkgbuild/net/userppp/work/ppp-001107/ppp --- server.o --- 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:649: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:654: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); ^ 1 error make[1]: stopped in /tmp/pkgbuild/net/userppp/work/ppp-001107/ppp *** [all-ppp] Error code 2 make: stopped in /tmp/pkgbuild/net/userppp/work/ppp-001107 1 error make: stopped in /tmp/pkgbuild/net/userppp/work/ppp-001107 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/userppp *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/userppp