Cook: l2tpd 0.69 ================================================================================ QA: checking package receipt... QA: unable to reach "https://sourceforge.net/projects/l2tpd/" Extracting source archive "l2tpd-0.69.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DLINUX -I/usr/include -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o l2tpd.o l2tpd.c cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DLINUX -I/usr/include -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o pty.o pty.c cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DLINUX -I/usr/include -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o misc.o misc.c cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DLINUX -I/usr/include -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o control.o control.c cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DLINUX -I/usr/include -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o avp.o avp.c cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DLINUX -I/usr/include -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o call.o call.c In file included from l2tp.h:28, from pty.c:17: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ In file included from l2tp.h:28, from avp.c:19: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DLINUX -I/usr/include -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o network.o network.c misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ In file included from l2tp.h:28, from misc.c:30: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ In file included from l2tp.h:28, from control.c:23: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ misc.c: In function 'bufferDump': misc.c:97:22: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (c, "%02x ", (buf[i * bufferDumpWIDTH + j]) & 0xff); ^ In file included from /usr/include/features.h:428, from /usr/include/unistd.h:25, from misc.c:16: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ misc.c:109:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (c, "%02x ", ^ In file included from l2tp.h:28, from l2tpd.c:42: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ In file included from /usr/include/features.h:428, from /usr/include/unistd.h:25, from misc.c:16: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ control.c: In function 'control_finish': control.c:220:43: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:33, from control.c:23: aaa.h:55:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^~~~~~~~~~~~ control.c:221:52: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:31, from control.c:23: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^~~~~~~~~~~~~~~~ control.c:236:43: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.challenge, MD_SIG_SIZE); ~~~~~~~~~~~~^~~~~~~~~~ In file included from l2tp.h:33, from control.c:23: aaa.h:55:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^~~~~~~~~~~~ control.c:237:53: warning: pointer targets in passing argument 2 of 'add_challenge_avp' differ in signedness [-Wpointer-sign] add_challenge_avp (buf, t->chal_them.challenge, MD_SIG_SIZE); ~~~~~~~~~~~~^~~~~~~~~~ In file included from l2tp.h:31, from control.c:23: avp.h:115:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_challenge_avp (struct buffer *, char *, int); ^~~~~~~~~~~~~~~~~ control.c:273:47: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:33, from control.c:23: aaa.h:55:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^~~~~~~~~~~~ control.c:274:56: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:31, from control.c:23: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^~~~~~~~~~~~~~~~ In file included from l2tp.h:28, from call.c:27: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ control.c:421:39: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:33, from control.c:23: aaa.h:55:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^~~~~~~~~~~~ control.c:422:48: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:31, from control.c:23: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^~~~~~~~~~~~~~~~ l2tpd.c: In function 'start_pppd': l2tpd.c:275:11: warning: variable 'str' set but not used [-Wunused-but-set-variable] char *str; ^~~ control.c:437:46: warning: pointer targets in passing argument 2 of 'add_chalresp_avp' differ in signedness [-Wpointer-sign] add_chalresp_avp (buf, t->chal_us.response, MD_SIG_SIZE); ~~~~~~~~~~^~~~~~~~~ In file included from l2tp.h:31, from control.c:23: avp.h:138:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_chalresp_avp (struct buffer *, char *, int); ^~~~~~~~~~~~~~~~ control.c:449:39: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.challenge, MD_SIG_SIZE); ~~~~~~~~~~~~^~~~~~~~~~ In file included from l2tp.h:33, from control.c:23: aaa.h:55:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^~~~~~~~~~~~ control.c:460:49: warning: pointer targets in passing argument 2 of 'add_challenge_avp' differ in signedness [-Wpointer-sign] add_challenge_avp (buf, t->chal_them.challenge, MD_SIG_SIZE); ~~~~~~~~~~~~^~~~~~~~~~ In file included from l2tp.h:31, from control.c:23: avp.h:115:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_challenge_avp (struct buffer *, char *, int); ^~~~~~~~~~~~~~~~~ control.c:566:39: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:33, from control.c:23: aaa.h:55:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^~~~~~~~~~~~ control.c:567:48: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:31, from control.c:23: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^~~~~~~~~~~~~~~~ control.c:570:46: warning: pointer targets in passing argument 2 of 'add_chalresp_avp' differ in signedness [-Wpointer-sign] add_chalresp_avp (buf, t->chal_us.response, MD_SIG_SIZE); ~~~~~~~~~~^~~~~~~~~ In file included from l2tp.h:31, from control.c:23: avp.h:138:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_chalresp_avp (struct buffer *, char *, int); ^~~~~~~~~~~~~~~~ l2tpd.c: In function 'daemonize': l2tpd.c:984:11: warning: variable 'l' set but not used [-Wunused-but-set-variable] int i,l; ^ control.c:739:39: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:33, from control.c:23: aaa.h:55:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^~~~~~~~~~~~ control.c:740:48: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:31, from control.c:23: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^~~~~~~~~~~~~~~~ In file included from l2tp.h:28, from l2tpd.c:42: l2tpd.c: At top level: misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ call.c: In function 'call_close': call.c:284:50: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (c->container->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:33, from call.c:27: aaa.h:55:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^~~~~~~~~~~~ control.c:782:39: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:33, from control.c:23: aaa.h:55:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^~~~~~~~~~~~ call.c:285:59: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, c->container->chal_them.vector, ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:31, from call.c:27: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^~~~~~~~~~~~~~~~ control.c:783:48: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:31, from control.c:23: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^~~~~~~~~~~~~~~~ call.c:357:50: warning: pointer targets in passing argument 1 of 'mk_challenge' differ in signedness [-Wpointer-sign] mk_challenge (c->container->chal_them.vector, VECTOR_SIZE); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:33, from call.c:27: aaa.h:55:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mk_challenge (char *, int); ^~~~~~~~~~~~ call.c:358:59: warning: pointer targets in passing argument 2 of 'add_randvect_avp' differ in signedness [-Wpointer-sign] add_randvect_avp (buf, c->container->chal_them.vector, ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from l2tp.h:31, from call.c:27: avp.h:139:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int add_randvect_avp (struct buffer *, char *, int); ^~~~~~~~~~~~~~~~ In file included from l2tp.h:28, from call.c:27: call.c: At top level: misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ l2tpd.c: In function 'daemonize': l2tpd.c:1019:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (i, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ l2tpd.c:1039:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (i, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ control.c: In function 'handle_special': control.c:1625:20: warning: variable 'outgoing' set but not used [-Wunused-but-set-variable] struct buffer *outgoing; ^~~~~~~~ control.c: In function 'handle_packet': control.c:1664:20: warning: unused variable 'tv' [-Wunused-variable] struct timeval tv; ^~ control.c: At top level: control.c:1511:26: warning: 'wbuf' is static but declared in inline function 'write_packet' which is not static static unsigned char wbuf[MAX_RECV_SIZE]; ^~~~ In file included from l2tp.h:28, from control.c:23: misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ In file included from l2tp.h:28, from network.c:25: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ network.c: In function 'init_network': network.c:67:66: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname (server_socket, (struct sockaddr *) &server, &length)) ^~~~~~~ In file included from network.c:17: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ network.c: In function 'network_thread': network.c:344:54: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *) &from, &fromlen); ^~~~~~~~ In file included from /usr/include/sys/socket.h:269, from network.c:17: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ network.c:264:20: warning: variable 'tv' set but not used [-Wunused-but-set-variable] struct timeval tv; /* Timeout for select */ ^~ In file included from l2tp.h:28, from network.c:25: network.c: At top level: misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DLINUX -I/usr/include -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o avpsend.o avpsend.c In file included from l2tp.h:28, from avpsend.c:18: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DLINUX -I/usr/include -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o scheduler.o scheduler.c cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DLINUX -I/usr/include -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o file.o file.c In file included from l2tp.h:28, from scheduler.c:19: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DLINUX -I/usr/include -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o aaa.o aaa.c In file included from l2tp.h:28, from file.c:26: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ In file included from l2tp.h:28, from aaa.c:22: misc.h:67:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log (int level, const char *fmt, ...); ^~~ aaa.c: In function 'handle_challenge': aaa.c:252:36: warning: pointer targets in passing argument 3 of 'get_secret' differ in signedness [-Wpointer-sign] if (!get_secret (us, them, chal->secret, sizeof (chal->secret))) ~~~~^~~~~~~~ aaa.c:136:5: note: expected 'char *' but argument is of type 'unsigned char *' int get_secret (char *us, char *them, char *secret, int size) ^~~~~~~~~~ aaa.c:273:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] MD5Update (&chal->md5, chal->secret, strlen (chal->secret)); ~~~~^~~~~~~~ In file included from aaa.c:20: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ aaa.c:274:56: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] MD5Update (&chal->md5, chal->challenge, strlen(chal->challenge)); ~~~~^~~~~~~~~~~ In file included from aaa.c:20: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ aaa.c: In function 'encrypt_avp': aaa.c:393:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (t->chal_them.secret)); ~~~~~~~~~~~~^~~~~~~ In file included from aaa.c:20: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ aaa.c:400:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] previous_segment = ptr; ^ aaa.c:421:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (t->chal_them.secret)); ~~~~~~~~~~~~^~~~~~~ In file included from aaa.c:20: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ aaa.c:425:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] previous_segment = ptr; ^ aaa.c: In function 'decrypt_avp': aaa.c:459:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (t->chal_us.secret)); ~~~~~~~~~~^~~~~~~ In file included from aaa.c:20: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ aaa.c:461:15: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness [-Wpointer-sign] MD5Final (digest, &t->chal_us.md5); ^~~~~~ In file included from aaa.h:18, from l2tp.h:33, from aaa.c:22: md5.h:20:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5Final (unsigned char digest[16], struct MD5Context *context); ^~~~~~~~ aaa.c:474:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (t->chal_us.secret)); ~~~~~~~~~~^~~~~~~ In file included from aaa.c:20: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ aaa.c:475:41: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update (&t->chal_us.md5, saved_segment, MD_SIG_SIZE); ^~~~~~~~~~~~~ In file included from aaa.h:18, from l2tp.h:33, from aaa.c:22: md5.h:18:6: note: expected 'const unsigned char *' but argument is of type 'char *' void MD5Update (struct MD5Context *context, unsigned char const *buf, ^~~~~~~~~ aaa.c:476:23: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness [-Wpointer-sign] MD5Final (digest, &t->chal_us.md5); ^~~~~~ In file included from aaa.h:18, from l2tp.h:33, from aaa.c:22: md5.h:20:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5Final (unsigned char digest[16], struct MD5Context *context); ^~~~~~~~ In file included from l2tp.h:28, from aaa.c:22: aaa.c: At top level: misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ aaa.c: In function 'get_secret': aaa.c:152:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (buf, sizeof (buf), f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.h:71:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ file.c: In function 'parse_config': file.c:1002:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (buf, sizeof (buf), f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DLINUX -I/usr/include -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o md5.o md5.c md5.c: In function 'MD5Final': md5.c:167:28: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset (ctx, 0, sizeof (ctx)); /* In case it's sensitive */ ^ avp.c: In function 'handle_avps': avp.c:1741:12: warning: 'hidlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (hidlen) ^ file.c: In function 'set_papchap': file.c:624:29: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] n->chap_require = result; ~~~~~~~~~~~~~~~~^~~~~~~~ cc -o l2tpd -g -O2 -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY l2tpd.o pty.o misc.o control.o avp.o call.o network.o avpsend.o scheduler.o file.o aaa.o md5.o ================================================================================ Executing strip on all files... Done Time: 0.15s. Size: 356980 B -> 109524 B. Save: 242 KB. ================================================================================ Pack: l2tpd 0.69 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "l2tpd-0.69-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "l2tpd-0.69-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/l2tpd-0.69... Done Checking site script in source/l2tpd-0.69... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: l2tpd 0.69 ================================================================================ Src file : l2tpd-0.69.tar.gz Src size : 128.0K Source dir : 1.3M Produced : 120.0K Cook time : 18s Cook date : 2020-07-07 12:24 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 136.0K : 39.7K : 1 : l2tpd-0.69-i486.tazpkg ================================================================================