=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for rtmpdump-2.6.0.0.20240301nb2 --- librtmp/librtmp.la --- --- rtmpdump.o --- --- rtmpgw.o --- --- thread.o --- --- rtmpsrv.o --- --- rtmpsuck.o --- --- rtmpdump.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -Dz_off_t=long -c rtmpdump.c --- rtmpgw.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -Dz_off_t=long -c rtmpgw.c --- thread.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -Dz_off_t=long -c thread.c --- rtmpsrv.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -Dz_off_t=long -c rtmpsrv.c --- rtmpsuck.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -Dz_off_t=long -c rtmpsuck.c --- librtmp/librtmp.la --- --- rtmp.o --- --- log.o --- --- amf.o --- --- rtmp.o --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c rtmp.c --- log.o --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c log.c --- amf.o --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c amf.c --- log.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c log.c -fPIC -DPIC -o .libs/log.o --- rtmp.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c rtmp.c -fPIC -DPIC -o .libs/rtmp.o --- amf.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c amf.c -fPIC -DPIC -o .libs/amf.o --- hashswf.o --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c hashswf.c --- rtmpsrv.o --- rtmpsrv.c:147:35: warning: 'av_secureToken' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsrv.c:170:1: note: in expansion of macro 'SAVC' SAVC(secureToken); ^~~~ rtmpsrv.c:147:35: warning: 'av_videoFunction' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsrv.c:159:1: note: in expansion of macro 'SAVC' SAVC(videoFunction); ^~~~ rtmpsrv.c:147:35: warning: 'av_fpad' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsrv.c:155:1: note: in expansion of macro 'SAVC' SAVC(fpad); ^~~~ --- rtmpsuck.o --- rtmpsuck.c:119:35: warning: 'av_secureToken' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:141:1: note: in expansion of macro 'SAVC' SAVC(secureToken); ^~~~ rtmpsuck.c:119:35: warning: 'av_mode' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:138:1: note: in expansion of macro 'SAVC' SAVC(mode); ^~~~ rtmpsuck.c:119:35: warning: 'av_fmsVer' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:137:1: note: in expansion of macro 'SAVC' SAVC(fmsVer); ^~~~ rtmpsuck.c:119:35: warning: 'av_createStream' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:134:1: note: in expansion of macro 'SAVC' SAVC(createStream); ^~~~ rtmpsuck.c:119:35: warning: 'av__result' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:133:1: note: in expansion of macro 'SAVC' SAVC(_result); ^~~~ rtmpsuck.c:119:35: warning: 'av_videoFunction' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:131:1: note: in expansion of macro 'SAVC' SAVC(videoFunction); ^~~~ rtmpsuck.c:119:35: warning: 'av_capabilities' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:128:1: note: in expansion of macro 'SAVC' SAVC(capabilities); ^~~~ rtmpsuck.c:119:35: warning: 'av_fpad' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:127:1: note: in expansion of macro 'SAVC' SAVC(fpad); ^~~~ --- librtmp/librtmp.la --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c hashswf.c -fPIC -DPIC -o .libs/hashswf.o --- amf.o --- In file included from amf.c:33:0: bytes.h:74:2: warning: #warning "Float word order not defined, assuming the same as byte order!" [-Wcpp] #warning "Float word order not defined, assuming the same as byte order!" ^~~~~~~ --- rtmp.o --- In file included from rtmp.c:153:0: handshake.h: In function 'InitRC4Encryption': handshake.h:49:30: warning: passing argument 2 of 'nettle_hmac_sha256_digest' makes pointer from integer without a cast [-Wint-conversion] #define SHA256_DIGEST_LENGTH 32 ^ handshake.h:55:91: note: in expansion of macro 'SHA256_DIGEST_LENGTH' #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) ^~~~~~~~~~~~~~~~~~~~ handshake.h:134:3: note: in expansion of macro 'HMAC_finish' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ In file included from handshake.h:46:0, from rtmp.c:153: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ handshake.h:55:66: note: in expansion of macro 'hmac_sha256_digest' #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) ^~~~~~~~~~~~~~~~~~ handshake.h:134:3: note: in expansion of macro 'HMAC_finish' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ In file included from rtmp.c:153:0: handshake.h:49:30: warning: passing argument 2 of 'nettle_hmac_sha256_digest' makes pointer from integer without a cast [-Wint-conversion] #define SHA256_DIGEST_LENGTH 32 ^ handshake.h:55:91: note: in expansion of macro 'SHA256_DIGEST_LENGTH' #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) ^~~~~~~~~~~~~~~~~~~~ handshake.h:143:3: note: in expansion of macro 'HMAC_finish' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ In file included from handshake.h:46:0, from rtmp.c:153: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ handshake.h:55:66: note: in expansion of macro 'hmac_sha256_digest' #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) ^~~~~~~~~~~~~~~~~~ handshake.h:143:3: note: in expansion of macro 'HMAC_finish' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ In file included from rtmp.c:153:0: handshake.h:126:16: warning: variable 'digestLen' set but not used [-Wunused-but-set-variable] unsigned int digestLen = 0; ^~~~~~~~~ In file included from rtmp.c:153:0: handshake.h: In function 'HMACsha256': handshake.h:49:30: warning: passing argument 2 of 'nettle_hmac_sha256_digest' makes pointer from integer without a cast [-Wint-conversion] #define SHA256_DIGEST_LENGTH 32 ^ handshake.h:55:91: note: in expansion of macro 'SHA256_DIGEST_LENGTH' #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) ^~~~~~~~~~~~~~~~~~~~ handshake.h:280:3: note: in expansion of macro 'HMAC_finish' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ In file included from handshake.h:46:0, from rtmp.c:153: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ handshake.h:55:66: note: in expansion of macro 'hmac_sha256_digest' #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) ^~~~~~~~~~~~~~~~~~ handshake.h:280:3: note: in expansion of macro 'HMAC_finish' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ rtmp.c: In function 'RTMP_TLS_AllocServerContext': rtmp.c:281:3: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations] gnutls_certificate_allocate_credentials((gnutls_certificate_credentials*) &ctx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- hashswf.o --- hashswf.c: In function 'RTMP_HashSWF': hashswf.c:604:22: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_set_key' differ in signedness [-Wpointer-sign] HMAC_setup(in.ctx, "Genuine Adobe Flash Player 001", 30); ^ hashswf.c:52:66: note: in definition of macro 'HMAC_setup' #define HMAC_setup(ctx, key, len) hmac_sha256_set_key(&ctx, len, key) ^~~ In file included from hashswf.c:46:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:65:29: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define hmac_sha256_set_key nettle_hmac_sha256_set_key ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:145:1: note: in expansion of macro 'hmac_sha256_set_key' hmac_sha256_set_key(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~~ hashswf.c:48:30: warning: passing argument 2 of 'nettle_hmac_sha256_digest' makes pointer from integer without a cast [-Wint-conversion] #define SHA256_DIGEST_LENGTH 32 ^ hashswf.c:54:91: note: in expansion of macro 'SHA256_DIGEST_LENGTH' #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) ^~~~~~~~~~~~~~~~~~~~ hashswf.c:659:4: note: in expansion of macro 'HMAC_finish' HMAC_finish(in.ctx, hash, hlen); ^~~~~~~~~~~ In file included from hashswf.c:46:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ hashswf.c:54:66: note: in expansion of macro 'hmac_sha256_digest' #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) ^~~~~~~~~~~~~~~~~~ hashswf.c:659:4: note: in expansion of macro 'HMAC_finish' HMAC_finish(in.ctx, hash, hlen); ^~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ *** [hashswf.o] Error code 1 make[1]: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump/librtmp --- rtmp.o --- rtmp.c: In function 'b64enc': rtmp.c:2456:23: warning: pointer targets in passing argument 1 of 'nettle_base64_encode_raw' differ in signedness [-Wpointer-sign] base64_encode_raw((uint8_t*) output, length, input); ^ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/base64.h:49:27: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' #define base64_encode_raw nettle_base64_encode_raw ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/base64.h:116:1: note: in expansion of macro 'base64_encode_raw' base64_encode_raw(char *dst, size_t length, const uint8_t *src); ^~~~~~~~~~~~~~~~~ rtmp.c: In function 'PublisherAuth': rtmp.c:2603:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, user.av_val, user.av_len); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2604:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, salt.av_val, salt.av_len); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2605:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] #define MD5_DIGEST_LENGTH 16 ^ rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~~~~~~~~ rtmp.c:2606:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define md5_digest nettle_md5_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~ rtmp.c:2606:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here #define md5_digest nettle_md5_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2620:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, salted2, B64DIGEST_LEN); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2623:26: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, opaque.av_val, opaque.av_len); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2625:26: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, challenge.av_val, challenge.av_len); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2626:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, challenge2, B64INT_LEN); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] #define MD5_DIGEST_LENGTH 16 ^ rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~~~~~~~~ rtmp.c:2627:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define md5_digest nettle_md5_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~ rtmp.c:2627:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here #define md5_digest nettle_md5_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2769:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, user.av_val, user.av_len); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2770:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2771:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, realm, sizeof(realm)-1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'const char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2772:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2773:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] #define MD5_DIGEST_LENGTH 16 ^ rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~~~~~~~~ rtmp.c:2774:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define md5_digest nettle_md5_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~ rtmp.c:2774:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here #define md5_digest nettle_md5_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2788:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, method, sizeof(method)-1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'const char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2789:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":/", 2); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2790:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, apptmp.av_val, apptmp.av_len); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2792:26: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, "/_definst_", sizeof("/_definst_") - 1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] #define MD5_DIGEST_LENGTH 16 ^ rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~~~~~~~~ rtmp.c:2793:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define md5_digest nettle_md5_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~ rtmp.c:2793:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here #define md5_digest nettle_md5_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2801:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, hash1, HEXHASH_LEN); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2802:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2803:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, nonce.av_val, nonce.av_len); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2804:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2805:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, nchex, sizeof(nchex)-1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2806:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2807:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, cnonce, sizeof(cnonce)-1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2808:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2809:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, qop, sizeof(qop)-1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'const char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2810:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2811:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, hash2, HEXHASH_LEN); ^ rtmp.c:2494:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] #define MD5_DIGEST_LENGTH 16 ^ rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~~~~~~~~ rtmp.c:2812:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ In file included from rtmp.c:59:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define md5_digest nettle_md5_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~ rtmp.c:2812:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here #define md5_digest nettle_md5_digest ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ --- log.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c log.c -o log.o >/dev/null 2>&1 --- rtmp.o --- At top level: rtmp.c:2908:19: warning: 'av_NetConnection_Connect_Rejected' defined but not used [-Wunused-const-variable=] static const AVal av_NetConnection_Connect_Rejected = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c:1560:35: warning: 'av_record' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmp.c:1906:1: note: in expansion of macro 'SAVC' SAVC(record); ^~~~ *** [rtmp.o] Error code 1 make[1]: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump/librtmp --- amf.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c amf.c -o amf.o >/dev/null 2>&1 2 errors make[1]: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump/librtmp *** [librtmp/librtmp.la] Error code 2 make: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump 1 error make: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/rtmpdump *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/rtmpdump