Cook: rtmpdump 2.4 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): openssl-dev-1.1.1d-i486 Installing (pkg/local): zlib-dev-1.2.11-any Extracting source archive "rtmpdump-2.4.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -D_GLIBCXX_USE_C99_MATH=1 -c -o rtmpdump.o rtmpdump.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -D_GLIBCXX_USE_C99_MATH=1 -c -o rtmpgw.o rtmpgw.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -D_GLIBCXX_USE_C99_MATH=1 -c -o thread.o thread.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -D_GLIBCXX_USE_C99_MATH=1 -c -o rtmpsrv.o rtmpsrv.c make[1]: Entering directory '/home/slitaz/wok/rtmpdump/source/rtmpdump-2.4/librtmp' gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o rtmp.o rtmp.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -D_GLIBCXX_USE_C99_MATH=1 -c -o rtmpsuck.o rtmpsuck.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o log.o log.c In file included from handshake.h:83, from rtmp.c:126: dh.h: In function 'DHInit': dh.h:214:12: error: dereferencing pointer to incomplete type 'DH' {aka 'struct dh_st'} MP_new(dh->g); ^~ dh.h:129:19: note: in definition of macro 'MP_new' #define MP_new(m) m = BN_new() ^ In file included from rtmp.c:126: handshake.h: In function 'InitRC4Encryption': handshake.h:117:12: error: storage size of 'ctx' isn't known HMAC_CTX ctx; ^~~ In file included from rtmp.c:126: handshake.h:69:35: warning: implicit declaration of function 'HMAC_CTX_init'; did you mean 'HMAC_CTX_new'? [-Wimplicit-function-declaration] #define HMAC_setup(ctx, key, len) HMAC_CTX_init(&ctx); HMAC_Init_ex(&ctx, key, len, EVP_sha256(), 0) ^~~~~~~~~~~~~ handshake.h:122:3: note: in expansion of macro 'HMAC_setup' HMAC_setup(ctx, secretKey, 128); ^~~~~~~~~~ handshake.h:71:67: warning: implicit declaration of function 'HMAC_CTX_cleanup'; did you mean 'HMAC_CTX_get_md'? [-Wimplicit-function-declaration] #define HMAC_finish(ctx, dig, dlen) HMAC_Final(&ctx, dig, &dlen); HMAC_CTX_cleanup(&ctx) ^~~~~~~~~~~~~~~~ handshake.h:124:3: note: in expansion of macro 'HMAC_finish' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ In file included from rtmp.c:126: handshake.h:117:12: warning: unused variable 'ctx' [-Wunused-variable] HMAC_CTX ctx; ^~~ handshake.h: In function 'HMACsha256': handshake.h:266:12: error: storage size of 'ctx' isn't known HMAC_CTX ctx; ^~~ handshake.h:266:12: warning: unused variable 'ctx' [-Wunused-variable] gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o amf.o amf.c rtmpsrv.c: In function 'dumpAMF': rtmpsrv.c:404:10: warning: variable 'len' set but not used [-Wunused-but-set-variable] int i, len, ac = *argc; ^~~ 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); ^~~~ At top level: rtmpsrv.c:142:35: warning: 'av_secureToken' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^~~ rtmpsrv.c:165:1: note: in expansion of macro 'SAVC' SAVC(secureToken); ^~~~ rtmpsrv.c:142:35: warning: 'av_videoFunction' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^~~ rtmpsrv.c:154:1: note: in expansion of macro 'SAVC' SAVC(videoFunction); ^~~~ rtmpsrv.c:142:35: warning: 'av_fpad' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^~~ rtmpsrv.c:150:1: note: in expansion of macro 'SAVC' SAVC(fpad); ^~~~ rtmp.c: In function 'RTMP_ReadPacket': rtmp.c:2888:7: warning: variable 'didAlloc' set but not used [-Wunused-but-set-variable] int didAlloc = FALSE; ^~~~~~~~ At top level: rtmp.c:1423:35: warning: 'av_record' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^~~ rtmp.c:1736:1: note: in expansion of macro 'SAVC' SAVC(record); ^~~~ make[1]: *** [: rtmp.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/slitaz/wok/rtmpdump/source/rtmpdump-2.4/librtmp' make: *** [Makefile:76: librtmp/librtmp.a] Error 2 Build dependencies to remove: 2 Removing: openssl-dev zlib-dev Debug information ret1. ================================================================================ Cook date: 2020-09-13 03:22 Wasted time : 4s 27:dh.h:214:12: error: dereferencing pointer to incomplete type 'DH' {aka 'struct dh_st'} 35:handshake.h:117:12: error: storage size of 'ctx' isn't known 56:handshake.h:266:12: error: storage size of 'ctx' isn't known ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================