From owner-freebsd-pkg-fallout@FreeBSD.ORG Thu Oct 10 18:18:22 2013 Return-Path: Delivered-To: pkg-fallout@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C41F4E7E; Thu, 10 Oct 2013 18:18:22 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy1.isc.freebsd.org (beefy1.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:4072:0:16:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9FBD52180; Thu, 10 Oct 2013 18:18:22 +0000 (UTC) Received: from beefy1.isc.freebsd.org (localhost [127.0.0.1]) by beefy1.isc.freebsd.org (8.14.7/8.14.7) with ESMTP id r9AIIMAu049389; Thu, 10 Oct 2013 18:18:22 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy1.isc.freebsd.org (8.14.7/8.14.7/Submit) id r9AIIM7e049351; Thu, 10 Oct 2013 18:18:22 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Thu, 10 Oct 2013 18:18:22 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201310101818.r9AIIM7e049351@beefy1.isc.freebsd.org> To: sobomax@FreeBSD.org Subject: [REL - head-i386-default][net/l2tpd] Failed for l2tpd-0.69_3 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2013 18:18:22 -0000 You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: sobomax@FreeBSD.org Last committer: bapt@FreeBSD.org Ident: $FreeBSD: head/net/l2tpd/Makefile 327755 2013-09-20 22:10:23Z bapt $ Log URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-10-10_05h56m46s/logs/l2tpd-0.69_3.log Build URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-10-10_05h56m46s Log: ====>> Building net/l2tpd build started at Thu Oct 10 18:18:17 UTC 2013 port directory: /usr/ports/net/l2tpd building for: FreeBSD head-i386-default-job-04 10.0-ALPHA5 FreeBSD 10.0-ALPHA5 r256139 i386 maintained by: sobomax@FreeBSD.org Makefile ident: $FreeBSD: head/net/l2tpd/Makefile 327755 2013-09-20 22:10:23Z bapt $ Poudriere version: 3.1-pre ---Begin Environment--- UNAME_m=i386 UNAME_p=i386 OSVERSION=1000055 UNAME_v=FreeBSD 10.0-ALPHA5 r256139 UNAME_r=10.0-ALPHA5 BLOCKSIZE=K MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref PKG_EXT=txz tpid=46006 POUDRIERE_BUILD_TYPE=bulk NBPARALLEL=24 PKGNG=1 PKGNAME=l2tpd-0.69_3 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=head-i386-default USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/poudriere/pkg-static version ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/l2tpd DOCSDIR=/usr/local/share/doc/l2tpd EXAMPLESDIR=/usr/local/share/examples/l2tpd WWWDIR=/usr/local/www/l2tpd ETCDIR=/usr/local/etc/l2tpd --End SUB_LIST-- ---Begin make.conf--- ARCH=i386 MACHINE=i386 MACHINE_ARCH=i386 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### WITH_PKGNG=yes NO_RESTRICTED=yes DISABLE_MAKE_JOBS=yes ---End make.conf--- ===> Cleaning for l2tpd-0.69_3 =================================================== =========================================================================== =================================================== ===> l2tpd-0.69_3 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.1.4_7.txz Installing pkg-1.1.4_7... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of l2tpd-0.69_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by l2tpd-0.69_3 for building =========================================================================== =================================================== ===> Fetching all distfiles required by l2tpd-0.69_3 for building => SHA256 Checksum OK for l2tpd-0.69.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by l2tpd-0.69_3 for building ===> Extracting for l2tpd-0.69_3 => SHA256 Checksum OK for l2tpd-0.69.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for l2tpd-0.69_3 ===> Applying FreeBSD patches for l2tpd-0.69_3 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for l2tpd-0.69_3 /usr/bin/sed -i.bak -e 's|%%PREFIX%%|/usr/local|g' /wrkdirs/usr/ports/net/l2tpd/work/l2tpd-0.69/doc/l2tpd.8 /wrkdirs/usr/ports/net/l2tpd/work/l2tpd-0.69/doc/l2tpd.conf.sample /wrkdirs/usr/ports/net/l2tpd/work/l2tpd-0.69/doc/l2tp-secrets.5 /wrkdirs/usr/ports/net/l2tpd/work/l2tpd-0.69/doc/l2tpd.conf.5 =========================================================================== =================================================== ===> Building for l2tpd-0.69_3 cc -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c l2tpd.c In file included from l2tpd.c:40: In file included from ./l2tp.h:31: ./misc.h:67:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log (int level, const char *fmt, ...); ^ ./misc.h:67:13: note: 'log' is a builtin with type 'double (double)' l2tpd.c:651:17: warning: implicit declaration of function 'kill' is invalid in C99 [-Wimplicit-function-declaration] kill (tmp->pppd, SIGTERM); ^ 2 warnings generated. cc -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c pty.c In file included from pty.c:17: In file included from ./l2tp.h:31: ./misc.h:67:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log (int level, const char *fmt, ...); ^ ./misc.h:67:13: note: 'log' is a builtin with type 'double (double)' 1 warning generated. cc -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c misc.c In file included from misc.c:29: In file included from ./l2tp.h:31: ./misc.h:67:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log (int level, const char *fmt, ...); ^ ./misc.h:67:13: note: 'log' is a builtin with type 'double (double)' misc.c:96:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (c, "%02x ", (buf[i * bufferDumpWIDTH + j]) & 0xff); ^ /usr/include/stdio.h:267:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ misc.c:108:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf (c, "%02x ", ^ /usr/include/stdio.h:267:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ 3 warnings generated. cc -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c control.c In file included from control.c:21: In file included from ./l2tp.h:31: ./misc.h:67:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log (int level, const char *fmt, ...); ^ ./misc.h:67:13: note: 'log' is a builtin with type 'double (double)' control.c:218:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ^~~~~~~~~~~~~~~~~~~ ./aaa.h:54:33: note: passing argument to parameter here extern void mk_challenge (char *, int); ^ control.c:219:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ^~~~~~~~~~~~~~~~~~~ ./avp.h:139:53: note: passing argument to parameter here extern int add_randvect_avp (struct buffer *, char *, int); ^ control.c:234:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mk_challenge (t->chal_them.challenge, MD_SIG_SIZE); ^~~~~~~~~~~~~~~~~~~~~~ ./aaa.h:54:33: note: passing argument to parameter here extern void mk_challenge (char *, int); ^ control.c:235:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_challenge_avp (buf, t->chal_them.challenge, MD_SIG_SIZE); ^~~~~~~~~~~~~~~~~~~~~~ ./avp.h:115:54: note: passing argument to parameter here extern int add_challenge_avp (struct buffer *, char *, int); ^ control.c:271:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mk_challenge (t->chal_them.vector, VECTOR_SIZE); ^~~~~~~~~~~~~~~~~~~ ./aaa.h:54:33: note: passing argument to parameter here extern void mk_challenge (char *, int); ^ control.c:272:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_randvect_avp (buf, t->chal_them.vector, VECTOR_SIZE); ^ 21 warnings generated. cc -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c avp.c In file included from avp.c:18: In file included from ./l2tp.h:31: ./misc.h:67:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log (int level, const char *fmt, ...); ^ ./misc.h:67:13: note: 'log' is a builtin with type 'double (double)' ./misc.h:71:20: warning: inline function 'swaps' is not defined [-Wundefined-inline] extern inline void swaps (void *, int); ^ avp.c:1604:9: note: used here swaps (avp, sizeof (struct avp_hdr)); ^ 2 warnings generated. cc -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c call.c In file included from call.c:24: In file included from ./l2tp.h:31: ./misc.h:67:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log (int level, const char *fmt, ...); ^ ./misc.h:67:13: note: 'log' is a builtin with type 'double (double)' call.c:281:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mk_challenge (c->container->chal_them.vector, VECTOR_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./aaa.h:54:33: note: passing argument to parameter here extern void mk_challenge (char *, int); ^ call.c:282:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_randvect_avp (buf, c->container->chal_them.vector, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./avp.h:139:53: note: passing argument to parameter here extern int add_randvect_avp (struct buffer *, char *, int); ^ call.c:354:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mk_challenge (c->container->chal_them.vector, VECTOR_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./aaa.h:54:33: note: passing argument to parameter here extern void mk_challenge (char *, int); ^ call.c:355:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] add_randvect_avp (buf, c->container->chal_them.vector, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./avp.h:139:53: note: passing argument to parameter here extern int add_randvect_avp (struct buffer *, char *, int); ^ 5 warnings generated. cc -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c network.c In file included from network.c:22: In file included from ./l2tp.h:31: ./misc.h:67:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log (int level, const char *fmt, ...); ^ ./misc.h:67:13: note: 'log' is a builtin with type 'double (double)' network.c:63:66: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname (server_socket, (struct sockaddr *) &server, &length)) ^~~~~~~ /usr/include/sys/socket.h:605:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ network.c:340:54: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *) &from, &fromlen); ^~~~~~~~ /usr/include/sys/socket.h:609:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ In file included from network.c:22: In file included from ./l2tp.h:31: ./misc.h:71:20: warning: inline function 'swaps' is not defined [-Wundefined-inline] extern inline void swaps (void *, int); ^ network.c:132:9: note: used here swaps (buf, 12); ^ 4 warnings generated. cc -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c avpsend.c In file included from avpsend.c:17: In file included from ./l2tp.h:31: ./misc.h:67:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log (int level, const char *fmt, ...); ^ ./misc.h:67:13: note: 'log' is a builtin with type 'double (double)' 1 warning generated. cc -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c scheduler.c In file included from scheduler.c:19: In file included from ./l2tp.h:31: ./misc.h:67:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log (int level, const char *fmt, ...); ^ ./misc.h:67:13: note: 'log' is a builtin with type 'double (double)' 1 warning generated. cc -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c file.c In file included from file.c:23: In file included from ./l2tp.h:31: ./misc.h:67:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log (int level, const char *fmt, ...); ^ ./misc.h:67:13: note: 'log' is a builtin with type 'double (double)' 1 warning generated. cc -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c aaa.c In file included from aaa.c:20: In file included from ./l2tp.h:31: ./misc.h:67:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log (int level, const char *fmt, ...); ^ ./misc.h:67:13: note: 'log' is a builtin with type 'double (double)' aaa.c:250:32: warning: passing 'unsigned char [120]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!get_secret (us, them, chal->secret, sizeof (chal->secret))) ^~~~~~~~~~~~ aaa.c:134:45: note: passing argument to parameter 'secret' here int get_secret (char *us, char *them, char *secret, int size) ^ aaa.c:271:50: warning: passing 'unsigned char [120]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update (&chal->md5, chal->secret, strlen (chal->secret)); ^~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ aaa.c:272:52: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update (&chal->md5, chal->challenge, strlen(chal->challenge)); ^~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ aaa.c:391:24: warning: passing 'unsigned char [120]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlen (t->chal_them.secret)); ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ aaa.c:398:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] previous_segment = ptr; ^ ~~~ aaa.c:419:32: warning: passing 'unsigned char [120]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlen (t->chal_them.secret)); ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ aaa.c:423:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] previous_segment = ptr; ^ ~~~ aaa.c:457:24: warning: passing 'unsigned char [120]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlen (t->chal_us.secret)); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ aaa.c:459:15: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Final (digest, &t->chal_us.md5); ^~~~~~ ./md5.h:20:30: note: passing argument to parameter 'digest' here void MD5Final (unsigned char digest[16], struct MD5Context *context); ^ aaa.c:472:32: warning: passing 'unsigned char [120]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlen (t->chal_us.secret)); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ aaa.c:473:41: warning: passing 'char [16]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update (&t->chal_us.md5, saved_segment, MD_SIG_SIZE); ^~~~~~~~~~~~~ ./md5.h:18:66: note: passing argument to parameter 'buf' here void MD5Update (struct MD5Context *context, unsigned char const *buf, ^ aaa.c:474:23: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Final (digest, &t->chal_us.md5); ^~~~~~ ./md5.h:20:30: note: passing argument to parameter 'digest' here void MD5Final (unsigned char digest[16], struct MD5Context *context); ^ 13 warnings generated. cc -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -c md5.c md5.c:167:29: warning: 'memset' call operates on objects of type 'struct MD5Context' while the size is based on a different type 'struct MD5Context *' [-Wsizeof-pointer-memaccess] memset (ctx, 0, sizeof (ctx)); /* In case it's sensitive */ ~~~ ^~~ md5.c:167:29: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset (ctx, 0, sizeof (ctx)); /* In case it's sensitive */ ^~~ 1 warning generated. cc -o l2tpd -O2 -pipe -fno-strict-aliasing -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY -Wall -DSANITY -DFREEBSD -DPREFIX=\"/usr/local\" -O -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 control.o: In function `handle_special': control.c:(.text+0x21ce): undefined reference to `check_control' control.o: In function `handle_packet': control.c:(.text+0x2377): undefined reference to `check_payload' control.c:(.text+0x239d): undefined reference to `check_control' control.c:(.text+0x23d8): undefined reference to `expand_payload' control.c:(.text+0x2476): undefined reference to `write_packet' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/net/l2tpd/work/l2tpd-0.69 *** Error code 1 Stop. make: stopped in /usr/ports/net/l2tpd ===> Cleaning for l2tpd-0.69_3