=> Bootstrap dependency digest>=20010302: found digest-20121220 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 freeradius-1.1.8nb10 gmake[1]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8' Making all in src... gmake[2]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src' gmake[3]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src' Making all in include... gmake[4]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/include' gmake[4]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/include' Making all in lib... gmake[4]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/lib' /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c crypt.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c crypt.c -fPIC -DPIC -o .libs/crypt.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c crypt.c -o crypt.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c dict.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c dict.c -fPIC -DPIC -o .libs/dict.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c dict.c -o dict.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c filters.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c filters.c -fPIC -DPIC -o .libs/filters.o filters.c: In function 'ascend_parse_filter': filters.c:1066:2: warning: pointer targets in passing argument 1 of 'str2argv' differ in signedness [-Wpointer-sign] argc = str2argv(pair->strvalue, argv, 32); ^ filters.c:353:12: note: expected 'char *' but argument is of type '__uint8_t *' static int str2argv(char *str, char **argv, int max_argc) ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c filters.c -o filters.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c hash.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c hash.c -fPIC -DPIC -o .libs/hash.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c hash.c -o hash.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c hmac.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c hmac.c -fPIC -DPIC -o .libs/hmac.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c hmac.c -o hmac.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c hmacsha1.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c hmacsha1.c -fPIC -DPIC -o .libs/hmacsha1.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c hmacsha1.c -o hmacsha1.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c isaac.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c isaac.c -fPIC -DPIC -o .libs/isaac.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c isaac.c -o isaac.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c log.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c log.c -fPIC -DPIC -o .libs/log.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c log.c -o log.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c misc.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c misc.c -fPIC -DPIC -o .libs/misc.o misc.c: In function 'ip_hostname': misc.c:76:2: warning: implicit declaration of function 'gethostbyaddr_r' [-Wimplicit-function-declaration] if (gethostbyaddr_r((char *)&ipaddr, sizeof(struct in_addr), ^ misc.c: In function 'ip_getaddr': misc.c:121:2: warning: implicit declaration of function 'gethostbyname_r' [-Wimplicit-function-declaration] if (gethostbyname_r(host, &result, buffer, sizeof(buffer), ^ misc.c: In function 'ifid_aton': misc.c:336:3: warning: array subscript has type 'char' [-Wchar-subscripts] } else if ((pch = strchr(xdigits, tolower(*p))) != NULL) { ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c misc.c -o misc.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c missing.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c missing.c -fPIC -DPIC -o .libs/missing.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c missing.c -o missing.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c md4.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c md4.c -fPIC -DPIC -o .libs/md4.o md4.c: In function 'librad_MD4Final': md4.c:228:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((uint32_t *)ctx->buffer)[14] = ctx->count[0]; ^ md4.c:229:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((uint32_t *)ctx->buffer)[15] = ctx->count[1]; ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c md4.c -o md4.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c md5.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c md5.c -fPIC -DPIC -o .libs/md5.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c md5.c -o md5.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c print.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c print.c -fPIC -DPIC -o .libs/print.o print.c: In function 'vp_prints_value': print.c:198:6: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] a = ipv6_ntoa(buf, sizeof(buf), vp->strvalue); ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c print.c -o print.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c radius.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c radius.c -fPIC -DPIC -o .libs/radius.o radius.c: In function 'make_secret': radius.c:167:2: warning: pointer targets in passing argument 2 of 'librad_MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&context, secret, strlen(secret)); ^ In file included from radius.c:26:0: ../include/md5.h:33:19: note: expected 'const __uint8_t *' but argument is of type 'const char *' #define MD5Update librad_MD5Update ^ ../include/md5.h:69:7: note: in expansion of macro 'MD5Update' void MD5Update(MD5_CTX *, const uint8_t *, size_t) ^ radius.c: In function 'make_passwd': radius.c:205:2: warning: pointer targets in passing argument 2 of 'librad_MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&context, secret, strlen(secret)); ^ In file included from radius.c:26:0: ../include/md5.h:33:19: note: expected 'const __uint8_t *' but argument is of type 'const char *' #define MD5Update librad_MD5Update ^ ../include/md5.h:69:7: note: in expansion of macro 'MD5Update' void MD5Update(MD5_CTX *, const uint8_t *, size_t) ^ radius.c: In function 'make_tunnel_passwd': radius.c:294:2: warning: pointer targets in passing argument 2 of 'librad_MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&context, secret, strlen(secret)); ^ In file included from radius.c:26:0: ../include/md5.h:33:19: note: expected 'const __uint8_t *' but argument is of type 'const char *' #define MD5Update librad_MD5Update ^ ../include/md5.h:69:7: note: in expansion of macro 'MD5Update' void MD5Update(MD5_CTX *, const uint8_t *, size_t) ^ radius.c: In function 'rad_sign': radius.c:788:10: warning: pointer targets in passing argument 3 of 'lrad_hmac_md5' differ in signedness [-Wpointer-sign] calc_auth_vector); ^ In file included from radius.c:38:0: ../include/libradius.h:230:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void lrad_hmac_md5(const unsigned char *text, int text_len, ^ radius.c:823:4: warning: pointer targets in passing argument 2 of 'librad_MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&context, secret, strlen(secret)); ^ In file included from radius.c:26:0: ../include/md5.h:33:19: note: expected 'const __uint8_t *' but argument is of type 'const char *' #define MD5Update librad_MD5Update ^ ../include/md5.h:69:7: note: in expansion of macro 'MD5Update' void MD5Update(MD5_CTX *, const uint8_t *, size_t) ^ radius.c: In function 'calc_acctdigest': radius.c:958:2: warning: pointer targets in passing argument 2 of 'librad_MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&context, secret, strlen(secret)); ^ In file included from radius.c:26:0: ../include/md5.h:33:19: note: expected 'const __uint8_t *' but argument is of type 'const char *' #define MD5Update librad_MD5Update ^ ../include/md5.h:69:7: note: in expansion of macro 'MD5Update' void MD5Update(MD5_CTX *, const uint8_t *, size_t) ^ radius.c: In function 'calc_replydigest': radius.c:997:2: warning: pointer targets in passing argument 2 of 'librad_MD5Update' differ in signedness [-Wpointer-sign] MD5Update(&context, secret, strlen(secret)); ^ In file included from radius.c:26:0: ../include/md5.h:33:19: note: expected 'const __uint8_t *' but argument is of type 'const char *' #define MD5Update librad_MD5Update ^ ../include/md5.h:69:7: note: in expansion of macro 'MD5Update' void MD5Update(MD5_CTX *, const uint8_t *, size_t) ^ radius.c: In function 'rad_verify': radius.c:1432:11: warning: pointer targets in passing argument 3 of 'lrad_hmac_md5' differ in signedness [-Wpointer-sign] secret, strlen(secret), calc_auth_vector); ^ In file included from radius.c:38:0: ../include/libradius.h:230:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void lrad_hmac_md5(const unsigned char *text, int text_len, ^ radius.c: In function 'rad_attr2vp': radius.c:1560:10: warning: pointer targets in passing argument 4 of 'rad_pwdecode' differ in signedness [-Wpointer-sign] original->vector); ^ In file included from radius.c:38:0: ../include/libradius.h:248:6: note: expected 'const char *' but argument is of type 'const __uint8_t *' int rad_pwdecode(char *encpw, int len, const char *secret, const char *vector); ^ radius.c:1564:10: warning: pointer targets in passing argument 4 of 'rad_pwdecode' differ in signedness [-Wpointer-sign] packet->vector); ^ In file included from radius.c:38:0: ../include/libradius.h:248:6: note: expected 'const char *' but argument is of type 'const __uint8_t *' int rad_pwdecode(char *encpw, int len, const char *secret, const char *vector); ^ radius.c:1567:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] vp->length = strlen(vp->strvalue); ^ In file included from ../include/md5.h:26:0, from radius.c:26: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type '__uint8_t *' size_t strlen(const char *); ^ radius.c:1579:6: warning: pointer targets in passing argument 4 of 'rad_tunnel_pwdecode' differ in signedness [-Wpointer-sign] secret, original->vector) < 0) { ^ In file included from radius.c:38:0: ../include/libradius.h:250:6: note: expected 'const char *' but argument is of type 'const __uint8_t *' int rad_tunnel_pwdecode(uint8_t *encpw, int *len, const char *secret, const char *vector); ^ radius.c:1599:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] vp->length = strlen(vp->strvalue); ^ In file included from ../include/md5.h:26:0, from radius.c:26: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type '__uint8_t *' size_t strlen(const char *); ^ radius.c:1633:6: warning: pointer targets in passing argument 1 of 'strNcpy' differ in signedness [-Wpointer-sign] sizeof(vp->strvalue)); ^ In file included from radius.c:38:0: ../include/libradius.h:309:8: note: expected 'char *' but argument is of type '__uint8_t *' char *strNcpy(char *dest, const char *src, int n); ^ radius.c:1654:3: warning: pointer targets in passing argument 1 of 'ip_ntoa' differ in signedness [-Wpointer-sign] ip_ntoa(vp->strvalue, vp->lvalue); ^ In file included from radius.c:38:0: ../include/libradius.h:303:9: note: expected 'char *' but argument is of type '__uint8_t *' char * ip_ntoa(char *, uint32_t); ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c radius.c -o radius.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c rbtree.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c rbtree.c -fPIC -DPIC -o .libs/rbtree.o rbtree.c:45:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] static const rbnode_t Sentinel = { NIL, NIL, NULL, Black, NULL}; ^ rbtree.c:45:1: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] rbtree.c: In function 'rbtree_create': rbtree.c:106:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] tree->Root = NIL; ^ rbtree.c: In function 'rbtree_insert': rbtree.c:281:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] X->Left = NIL; ^ rbtree.c:282:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] X->Right = NIL; ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c rbtree.c -o rbtree.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c sha1.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c sha1.c -fPIC -DPIC -o .libs/sha1.o sha1.c: In function 'librad_SHA1Final': sha1.c:146:5: warning: pointer targets in passing argument 2 of 'librad_SHA1Update' differ in signedness [-Wpointer-sign] SHA1Update(context, "\200", 1); ^ In file included from sha1.c:25:0: ../include/sha1.h:11:21: note: expected 'const __uint8_t *' but argument is of type 'char *' #define SHA1Update librad_SHA1Update ^ sha1.c:115:6: note: in expansion of macro 'SHA1Update' void SHA1Update(SHA1_CTX* context, const uint8_t* data, unsigned int len) ^ sha1.c:148:9: warning: pointer targets in passing argument 2 of 'librad_SHA1Update' differ in signedness [-Wpointer-sign] SHA1Update(context, "\0", 1); ^ In file included from sha1.c:25:0: ../include/sha1.h:11:21: note: expected 'const __uint8_t *' but argument is of type 'char *' #define SHA1Update librad_SHA1Update ^ sha1.c:115:6: note: in expansion of macro 'SHA1Update' void SHA1Update(SHA1_CTX* context, const uint8_t* data, unsigned int len) ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c sha1.c -o sha1.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c snprintf.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c snprintf.c -fPIC -DPIC -o .libs/snprintf.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c snprintf.c -o snprintf.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c token.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c token.c -fPIC -DPIC -o .libs/token.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c token.c -o token.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c udpfromto.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c udpfromto.c -fPIC -DPIC -o .libs/udpfromto.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c udpfromto.c -o udpfromto.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c valuepair.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c valuepair.c -fPIC -DPIC -o .libs/valuepair.o valuepair.c: In function 'pairparsevalue': valuepair.c:674:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] vp->length = strlen(vp->strvalue); ^ In file included from valuepair.c:31:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type '__uint8_t *' size_t strlen(const char *); ^ valuepair.c:745:4: warning: pointer targets in passing argument 1 of 'strNcpy' differ in signedness [-Wpointer-sign] strNcpy(vp->strvalue, value, sizeof(vp->strvalue)); ^ In file included from valuepair.c:34:0: ../include/libradius.h:309:8: note: expected 'char *' but argument is of type '__uint8_t *' char *strNcpy(char *dest, const char *src, int n); ^ valuepair.c: In function 'pairread': valuepair.c:1240:4: warning: pointer targets in passing argument 1 of 'strNcpy' differ in signedness [-Wpointer-sign] strNcpy(vp->strvalue, value, sizeof(vp->strvalue)); ^ In file included from valuepair.c:34:0: ../include/libradius.h:309:8: note: expected 'char *' but argument is of type '__uint8_t *' char *strNcpy(char *dest, const char *src, int n); ^ valuepair.c:1260:3: warning: pointer targets in passing argument 1 of 'strNcpy' differ in signedness [-Wpointer-sign] strNcpy(vp->strvalue, value, sizeof(vp->strvalue)); ^ In file included from valuepair.c:34:0: ../include/libradius.h:309:8: note: expected 'char *' but argument is of type '__uint8_t *' char *strNcpy(char *dest, const char *src, int n); ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c valuepair.c -o valuepair.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=link gcc -release 1.1.8 \ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -export-dynamic -o libradius.la -rpath /usr/pkg/lib crypt.lo dict.lo filters.lo hash.lo hmac.lo hmacsha1.lo isaac.lo log.lo misc.lo missing.lo md4.lo md5.lo print.lo radius.lo rbtree.lo sha1.lo snprintf.lo token.lo udpfromto.lo valuepair.lo -lcrypt libtool: link: gcc -shared -fPIC -DPIC .libs/crypt.o .libs/dict.o .libs/filters.o .libs/hash.o .libs/hmac.o .libs/hmacsha1.o .libs/isaac.o .libs/log.o .libs/misc.o .libs/missing.o .libs/md4.o .libs/md5.o .libs/print.o .libs/radius.o .libs/rbtree.o .libs/sha1.o .libs/snprintf.o .libs/token.o .libs/udpfromto.o .libs/valuepair.o -L/scratch/net/freeradius/work/.buildlink/lib -L/usr/lib -lcrypt -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/lib -Wl,-soname -Wl,libradius-1.1.8.so -o .libs/libradius-1.1.8.so libtool: link: (cd ".libs" && rm -f "libradius.so" && ln -s "libradius-1.1.8.so" "libradius.so") libtool: link: ar cru .libs/libradius.a crypt.o dict.o filters.o hash.o hmac.o hmacsha1.o isaac.o log.o misc.o missing.o md4.o md5.o print.o radius.o rbtree.o sha1.o snprintf.o token.o udpfromto.o valuepair.o libtool: link: ranlib .libs/libradius.a libtool: link: ( cd ".libs" && rm -f "libradius.la" && ln -s "../libradius.la" "libradius.la" ) gmake[4]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/lib' Making all in modules... gmake[4]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules' gmake[5]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules' Making all in rlm_acct_unique... gmake[6]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_acct_unique' /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_acct_unique.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_acct_unique.c -fPIC -DPIC -o .libs/rlm_acct_unique.o rlm_acct_unique.c: In function 'unique_parse_key': rlm_acct_unique.c:75:21: warning: variable 'keyptr' set but not used [-Wunused-but-set-variable] char *ptr, *prev, *keyptr; ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_acct_unique.c -o rlm_acct_unique.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=link gcc -release 1.1.8 \ -module -export-dynamic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o rlm_acct_unique.la \ -rpath /usr/pkg/lib rlm_acct_unique.lo rlm_acct_unique.c /scratch/net/freeradius/work/freeradius-1.1.8/src/lib/libradius.la \ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lresolv -pthread libtool: link: gcc -shared -fPIC -DPIC .libs/rlm_acct_unique.o -Wl,-rpath,/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -Wl,-rpath,/usr/pkg/lib -L/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -L/scratch/net/freeradius/work/.buildlink/lib -L/usr/lib -lradius -lcrypt -lresolv -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/usr/pkg/lib -pthread -pthread -Wl,-soname -Wl,rlm_acct_unique-1.1.8.so -o .libs/rlm_acct_unique-1.1.8.so libtool: link: (cd ".libs" && rm -f "rlm_acct_unique.so" && ln -s "rlm_acct_unique-1.1.8.so" "rlm_acct_unique.so") libtool: link: ar cru .libs/rlm_acct_unique.a rlm_acct_unique.o libtool: link: ranlib .libs/rlm_acct_unique.a libtool: link: ( cd ".libs" && rm -f "rlm_acct_unique.la" && ln -s "../rlm_acct_unique.la" "rlm_acct_unique.la" ) gmake[6]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_acct_unique' Making all in rlm_always... gmake[6]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_always' /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_always.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_always.c -fPIC -DPIC -o .libs/rlm_always.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_always.c -o rlm_always.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=link gcc -release 1.1.8 \ -module -export-dynamic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o rlm_always.la \ -rpath /usr/pkg/lib rlm_always.lo rlm_always.c /scratch/net/freeradius/work/freeradius-1.1.8/src/lib/libradius.la \ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lresolv -pthread libtool: link: gcc -shared -fPIC -DPIC .libs/rlm_always.o -Wl,-rpath,/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -Wl,-rpath,/usr/pkg/lib -L/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -L/scratch/net/freeradius/work/.buildlink/lib -L/usr/lib -lradius -lcrypt -lresolv -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/usr/pkg/lib -pthread -pthread -Wl,-soname -Wl,rlm_always-1.1.8.so -o .libs/rlm_always-1.1.8.so libtool: link: (cd ".libs" && rm -f "rlm_always.so" && ln -s "rlm_always-1.1.8.so" "rlm_always.so") libtool: link: ar cru .libs/rlm_always.a rlm_always.o libtool: link: ranlib .libs/rlm_always.a libtool: link: ( cd ".libs" && rm -f "rlm_always.la" && ln -s "../rlm_always.la" "rlm_always.la" ) gmake[6]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_always' Making all in rlm_attr_filter... gmake[6]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_attr_filter' /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_attr_filter.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_attr_filter.c -fPIC -DPIC -o .libs/rlm_attr_filter.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_attr_filter.c -o rlm_attr_filter.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=link gcc -release 1.1.8 \ -module -export-dynamic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o rlm_attr_filter.la \ -rpath /usr/pkg/lib rlm_attr_filter.lo rlm_attr_filter.c /scratch/net/freeradius/work/freeradius-1.1.8/src/lib/libradius.la \ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lresolv -pthread libtool: link: gcc -shared -fPIC -DPIC .libs/rlm_attr_filter.o -Wl,-rpath,/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -Wl,-rpath,/usr/pkg/lib -L/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -L/scratch/net/freeradius/work/.buildlink/lib -L/usr/lib -lradius -lcrypt -lresolv -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/usr/pkg/lib -pthread -pthread -Wl,-soname -Wl,rlm_attr_filter-1.1.8.so -o .libs/rlm_attr_filter-1.1.8.so libtool: link: (cd ".libs" && rm -f "rlm_attr_filter.so" && ln -s "rlm_attr_filter-1.1.8.so" "rlm_attr_filter.so") libtool: link: ar cru .libs/rlm_attr_filter.a rlm_attr_filter.o libtool: link: ranlib .libs/rlm_attr_filter.a libtool: link: ( cd ".libs" && rm -f "rlm_attr_filter.la" && ln -s "../rlm_attr_filter.la" "rlm_attr_filter.la" ) gmake[6]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_attr_filter' Making all in rlm_attr_rewrite... gmake[6]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_attr_rewrite' /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_attr_rewrite.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_attr_rewrite.c -fPIC -DPIC -o .libs/rlm_attr_rewrite.o rlm_attr_rewrite.c: In function 'do_attr_rewrite': rlm_attr_rewrite.c:185:3: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (data->name == NULL || strcmp(data->name,attr_vp->strvalue)) ^ In file included from rlm_attr_rewrite.c:28:0: /usr/include/string.h:56:6: note: expected 'const char *' but argument is of type '__uint8_t *' int strcmp(const char *, const char *); ^ rlm_attr_rewrite.c:293:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr2 = attr_vp->strvalue; ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_attr_rewrite.c -o rlm_attr_rewrite.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=link gcc -release 1.1.8 \ -module -export-dynamic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o rlm_attr_rewrite.la \ -rpath /usr/pkg/lib rlm_attr_rewrite.lo rlm_attr_rewrite.c /scratch/net/freeradius/work/freeradius-1.1.8/src/lib/libradius.la \ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lresolv -pthread libtool: link: gcc -shared -fPIC -DPIC .libs/rlm_attr_rewrite.o -Wl,-rpath,/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -Wl,-rpath,/usr/pkg/lib -L/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -L/scratch/net/freeradius/work/.buildlink/lib -L/usr/lib -lradius -lcrypt -lresolv -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/usr/pkg/lib -pthread -pthread -Wl,-soname -Wl,rlm_attr_rewrite-1.1.8.so -o .libs/rlm_attr_rewrite-1.1.8.so libtool: link: (cd ".libs" && rm -f "rlm_attr_rewrite.so" && ln -s "rlm_attr_rewrite-1.1.8.so" "rlm_attr_rewrite.so") libtool: link: ar cru .libs/rlm_attr_rewrite.a rlm_attr_rewrite.o libtool: link: ranlib .libs/rlm_attr_rewrite.a libtool: link: ( cd ".libs" && rm -f "rlm_attr_rewrite.la" && ln -s "../rlm_attr_rewrite.la" "rlm_attr_rewrite.la" ) gmake[6]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_attr_rewrite' Making all in rlm_chap... gmake[6]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_chap' /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_chap.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_chap.c -fPIC -DPIC -o .libs/rlm_chap.o libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_chap.c -o rlm_chap.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=link gcc -release 1.1.8 \ -module -export-dynamic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o rlm_chap.la \ -rpath /usr/pkg/lib rlm_chap.lo rlm_chap.c /scratch/net/freeradius/work/freeradius-1.1.8/src/lib/libradius.la \ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lresolv -pthread libtool: link: gcc -shared -fPIC -DPIC .libs/rlm_chap.o -Wl,-rpath,/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -Wl,-rpath,/usr/pkg/lib -L/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -L/scratch/net/freeradius/work/.buildlink/lib -L/usr/lib -lradius -lcrypt -lresolv -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/usr/pkg/lib -pthread -pthread -Wl,-soname -Wl,rlm_chap-1.1.8.so -o .libs/rlm_chap-1.1.8.so libtool: link: (cd ".libs" && rm -f "rlm_chap.so" && ln -s "rlm_chap-1.1.8.so" "rlm_chap.so") libtool: link: ar cru .libs/rlm_chap.a rlm_chap.o libtool: link: ranlib .libs/rlm_chap.a libtool: link: ( cd ".libs" && rm -f "rlm_chap.la" && ln -s "../rlm_chap.la" "rlm_chap.la" ) gmake[6]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_chap' Making all in rlm_counter... gmake[6]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_counter' /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_counter.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_counter.c -fPIC -DPIC -o .libs/rlm_counter.o rlm_counter.c: In function 'counter_cmp': rlm_counter.c:156:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] key_datum.dptr = key_vp->strvalue; ^ rlm_counter.c: In function 'counter_accounting': rlm_counter.c:632:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] key_datum.dptr = key_vp->strvalue; ^ rlm_counter.c:643:4: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(counter.uniqueid,uniqueid_vp->strvalue,UNIQUEID_MAX_LEN - 1); ^ In file included from /scratch/net/freeradius/work/freeradius-1.1.8/src/include/md4.h:27:0, from /scratch/net/freeradius/work/freeradius-1.1.8/src/include/libradius.h:60, from rlm_counter.c:27: /usr/include/string.h:64:7: note: expected 'const char * __restrict__' but argument is of type '__uint8_t *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ rlm_counter.c:655:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] strncmp(uniqueid_vp->strvalue,counter.uniqueid, UNIQUEID_MAX_LEN - 1) == 0){ ^ In file included from /scratch/net/freeradius/work/freeradius-1.1.8/src/include/md4.h:27:0, from /scratch/net/freeradius/work/freeradius-1.1.8/src/include/libradius.h:60, from rlm_counter.c:27: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type '__uint8_t *' int strncmp(const char *, const char *, size_t); ^ rlm_counter.c:659:4: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(counter.uniqueid,uniqueid_vp->strvalue,UNIQUEID_MAX_LEN - 1); ^ In file included from /scratch/net/freeradius/work/freeradius-1.1.8/src/include/md4.h:27:0, from /scratch/net/freeradius/work/freeradius-1.1.8/src/include/libradius.h:60, from rlm_counter.c:27: /usr/include/string.h:64:7: note: expected 'const char * __restrict__' but argument is of type '__uint8_t *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ rlm_counter.c: In function 'counter_authorize': rlm_counter.c:769:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] key_datum.dptr = key_vp->strvalue; ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -c rlm_counter.c -o rlm_counter.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=link gcc -release 1.1.8 \ -module -export-dynamic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o rlm_counter.la \ -rpath /usr/pkg/lib rlm_counter.lo rlm_counter.c /scratch/net/freeradius/work/freeradius-1.1.8/src/lib/libradius.la \ -lgdbm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lresolv -pthread libtool: link: gcc -shared -fPIC -DPIC .libs/rlm_counter.o -Wl,-rpath,/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -Wl,-rpath,/scratch/net/freeradius/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/scratch/net/freeradius/work/.buildlink/lib -L/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -L/scratch/net/freeradius/work/.buildlink/lib -L/usr/lib -lradius -lcrypt -lgdbm -lintl -lresolv -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/usr/pkg/lib -pthread -pthread -Wl,-soname -Wl,rlm_counter-1.1.8.so -o .libs/rlm_counter-1.1.8.so libtool: link: (cd ".libs" && rm -f "rlm_counter.so" && ln -s "rlm_counter-1.1.8.so" "rlm_counter.so") libtool: link: ar cru .libs/rlm_counter.a rlm_counter.o libtool: link: ranlib .libs/rlm_counter.a libtool: link: ( cd ".libs" && rm -f "rlm_counter.la" && ln -s "../rlm_counter.la" "rlm_counter.la" ) gmake[6]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_counter' Making all in rlm_dbm... gmake[6]: Entering directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_dbm' /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -DHAVE_NDBM_H -c rlm_dbm.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -DHAVE_NDBM_H -c rlm_dbm.c -fPIC -DPIC -o .libs/rlm_dbm.o rlm_dbm.c: In function 'sm_parse_user': rlm_dbm.c:176:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] k.dptr = username; ^ rlm_dbm.c:210:7: warning: passing argument 2 of 'paircmp' discards 'const' qualifier from pointer target type [enabled by default] if ( paircmp(NULL, request, vp, reply ) == 0 ) { ^ In file included from rlm_dbm.c:41:0: /scratch/net/freeradius/work/freeradius-1.1.8/src/include/radiusd.h:390:6: note: expected 'struct VALUE_PAIR *' but argument is of type 'const struct VALUE_PAIR *' int paircmp(REQUEST *req, VALUE_PAIR *request, VALUE_PAIR *check, ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -DHAVE_NDBM_H -c rlm_dbm.c -o rlm_dbm.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=link gcc -release 1.1.8 \ -module -export-dynamic -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o rlm_dbm.la \ -rpath /usr/pkg/lib rlm_dbm.lo rlm_dbm.c /scratch/net/freeradius/work/freeradius-1.1.8/src/lib/libradius.la \ -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lresolv -pthread libtool: link: gcc -shared -fPIC -DPIC .libs/rlm_dbm.o -Wl,-rpath,/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -Wl,-rpath,/usr/pkg/lib -L/scratch/net/freeradius/work/freeradius-1.1.8/src/lib/.libs -L/scratch/net/freeradius/work/.buildlink/lib -L/usr/lib -lradius -lcrypt -lresolv -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/usr/pkg/lib -pthread -pthread -Wl,-soname -Wl,rlm_dbm-1.1.8.so -o .libs/rlm_dbm-1.1.8.so libtool: link: (cd ".libs" && rm -f "rlm_dbm.so" && ln -s "rlm_dbm-1.1.8.so" "rlm_dbm.so") libtool: link: ar cru .libs/rlm_dbm.a rlm_dbm.o libtool: link: ranlib .libs/rlm_dbm.a libtool: link: ( cd ".libs" && rm -f "rlm_dbm.la" && ln -s "../rlm_dbm.la" "rlm_dbm.la" ) /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=compile gcc -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -DHAVE_NDBM_H -c rlm_dbm_parser.c libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -DHAVE_NDBM_H -c rlm_dbm_parser.c -fPIC -DPIC -o .libs/rlm_dbm_parser.o rlm_dbm_parser.c: In function 'storecontent': rlm_dbm_parser.c:165:9: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] k.dptr = username; ^ libtool: compile: gcc -O2 -I/scratch/net/freeradius/work/.buildlink/include -I/usr/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/scratch/net/freeradius/work/freeradius-1.1.8/src/include -DHAVE_NDBM_H -c rlm_dbm_parser.c -o rlm_dbm_parser.o >/dev/null 2>&1 /scratch/net/freeradius/work/freeradius-1.1.8/libtool --mode=link gcc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib \ -o rlm_dbm_parser rlm_dbm_parser.lo ../../lib/libradius.la -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lresolv -pthread libtool: link: gcc -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/lib -o .libs/rlm_dbm_parser .libs/rlm_dbm_parser.o -Wl,-rpath -Wl,/usr/pkg/lib -pthread -L/scratch/net/freeradius/work/.buildlink/lib -L/usr/lib -L../../lib/.libs -lradius -lcrypt -lresolv -pthread -Wl,-rpath,/usr/pkg/lib .libs/rlm_dbm_parser.o: In function `storecontent': rlm_dbm_parser.c:(.text+0x3c): undefined reference to `librad_debug' .libs/rlm_dbm_parser.o: In function `sm_parse_file': rlm_dbm_parser.c:(.text+0x1cc): undefined reference to `librad_debug' rlm_dbm_parser.c:(.text+0x2ba): undefined reference to `userparse' rlm_dbm_parser.c:(.text+0x308): undefined reference to `librad_perror' rlm_dbm_parser.c:(.text+0x3d3): undefined reference to `librad_debug' rlm_dbm_parser.c:(.text+0x436): undefined reference to `pairfree' rlm_dbm_parser.c:(.text+0x542): undefined reference to `vp_prints' rlm_dbm_parser.c:(.text+0x58b): undefined reference to `pairfree' rlm_dbm_parser.c:(.text+0x5eb): undefined reference to `pairfree' .libs/rlm_dbm_parser.o: In function `main': rlm_dbm_parser.c:(.text.startup+0x24): undefined reference to `librad_debug' rlm_dbm_parser.c:(.text.startup+0x75): undefined reference to `librad_debug' rlm_dbm_parser.c:(.text.startup+0x1aa): undefined reference to `librad_debug' rlm_dbm_parser.c:(.text.startup+0x1cf): undefined reference to `dict_init' rlm_dbm_parser.c:(.text.startup+0x30b): undefined reference to `librad_perror' Makefile:16: recipe for target 'rlm_dbm_parser' failed gmake[6]: *** [rlm_dbm_parser] Error 1 gmake[6]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules/rlm_dbm' Makefile:45: recipe for target 'common' failed gmake[5]: *** [common] Error 2 gmake[5]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules' Makefile:12: recipe for target 'all' failed gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src/modules' Makefile:23: recipe for target 'common' failed gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src' Makefile:13: recipe for target 'all' failed gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8/src' Makefile:65: recipe for target 'common' failed gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory '/scratch/net/freeradius/work/freeradius-1.1.8' Makefile:18: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. make[1]: stopped in /bulk-data/pkgsrc/net/freeradius *** Error code 1 Stop. make: stopped in /bulk-data/pkgsrc/net/freeradius