Package Details: crtmpserver-git b866fff-1

Git Clone URL: https://aur.archlinux.org/crtmpserver-git.git (read-only)
Package Base: crtmpserver-git
Description: High performance rtmp streaming server
Upstream URL: http://www.rtmpd.com/
Licenses: GPL
Conflicts: crtmpserver, crtmpserver-svn
Provides: crtmpserver
Submitter: jgmdev
Maintainer: jgmdev
Last Packager: jgmdev
Votes: 2
Popularity: 0.000000
First Submitted: 2015-11-22 05:47
Last Updated: 2016-12-07 13:53

Latest Comments

gillecaluim commented on 2018-02-17 22:23

package won't build with openssl 1.1 [code] [ 19%] Building CXX object common/CMakeFiles/common.dir/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp.o /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In member function ‘bool DHWrapper::Initialize()’: /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:49:6: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ _pDH->p = BN_new(); ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:49:8: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ _pDH->p = BN_new(); ^ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:50:10: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ if (_pDH->p == NULL) { ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:50:12: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ if (_pDH->p == NULL) { ^ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:55:6: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ _pDH->g = BN_new(); ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:55:8: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ _pDH->g = BN_new(); ^ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:56:10: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ if (_pDH->g == NULL) { ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:56:12: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ if (_pDH->g == NULL) { ^ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:63:21: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ if (BN_hex2bn(&_pDH->p, P1024) == 0) { ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:63:23: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ if (BN_hex2bn(&_pDH->p, P1024) == 0) { ^ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:68:22: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ if (BN_set_word(_pDH->g, 2) != 1) { ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:68:24: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ if (BN_set_word(_pDH->g, 2) != 1) { ^ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:75:6: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ _pDH->length = _bitsCount; ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:75:8: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ _pDH->length = _bitsCount; ^~~~~~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In member function ‘bool DHWrapper::CopyPublicKey(uint8_t, int32_t)’: /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:93:21: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ return CopyKey(_pDH->pub_key, pDst, dstLength); ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:93:23: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ return CopyKey(_pDH->pub_key, pDst, dstLength); ^~~~~~~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In member function ‘bool DHWrapper::CopyPrivateKey(uint8_t, int32_t)’: /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:102:21: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ return CopyKey(_pDH->priv_key, pDst, dstLength); ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:102:23: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ return CopyKey(_pDH->priv_key, pDst, dstLength); ^~~~~~~~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In member function ‘void DHWrapper::Cleanup()’: /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:156:11: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ if (_pDH->p != NULL) { ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:156:13: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ if (_pDH->p != NULL) { ^ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:157:16: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ BN_free(_pDH->p); ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:157:18: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ BN_free(_pDH->p); ^ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:158:8: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ _pDH->p = NULL; ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:158:10: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ _pDH->p = NULL; ^ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:160:11: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ if (_pDH->g != NULL) { ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:160:13: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ if (_pDH->g != NULL) { ^ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:161:16: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ BN_free(_pDH->g); ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:161:18: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ BN_free(_pDH->g); ^ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:162:8: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ _pDH->g = NULL; ^~ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:162:10: error: invalid use of incomplete type ‘DH {aka struct dh_st}’ _pDH->g = NULL; ^ In file included from /usr/include/openssl/bn.h:32:0, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:25, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’ typedef struct dh_st DH; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In function ‘void InitRC4Encryption(uint8_t, uint8_t, uint8_t, RC4_KEY, RC4_KEY)’: /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:200:11: error: aggregate ‘HMAC_CTX ctx’ has incomplete type and cannot be defined HMAC_CTX ctx; ^~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:201:2: error: ‘HMAC_CTX_init’ was not declared in this scope HMAC_CTX_init(&ctx); ^~~~~~~~~~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:201:2: note: suggested alternative: ‘HMAC_CTX_new’ HMAC_CTX_init(&ctx); ^~~~~~~~~~~~~ HMAC_CTX_new /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:205:2: error: ‘HMAC_CTX_cleanup’ was not declared in this scope HMAC_CTX_cleanup(&ctx); ^~~~~~~~~~~~~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:205:2: note: suggested alternative: ‘HMAC_CTX_get_md’ HMAC_CTX_cleanup(&ctx); ^~~~~~~~~~~~~~~~ HMAC_CTX_get_md /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In function ‘std::__cxx11::string md5(uint8_t, uint32_t, bool)’: /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:223:13: error: aggregate ‘EVP_MD_CTX mdctx’ has incomplete type and cannot be defined EVP_MD_CTX mdctx; ^~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:230:2: error: ‘EVP_MD_CTX_cleanup’ was not declared in this scope EVP_MD_CTX_cleanup(&mdctx); ^~~~~~~~~~~~~~~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:230:2: note: suggested alternative: ‘EVP_MD_CTX_create’ EVP_MD_CTX_cleanup(&mdctx); ^~~~~~~~~~~~~~~~~~ EVP_MD_CTX_create /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In function ‘void HMACsha256(const void, uint32_t, const void, uint32_t, void)’: /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:262:11: error: aggregate ‘HMAC_CTX ctx’ has incomplete type and cannot be defined HMAC_CTX ctx; ^~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:263:2: error: ‘HMAC_CTX_init’ was not declared in this scope HMAC_CTX_init(&ctx); ^~~~~~~~~~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:263:2: note: suggested alternative: ‘HMAC_CTX_new’ HMAC_CTX_init(&ctx); ^~~~~~~~~~~~~ HMAC_CTX_new /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:267:2: error: ‘HMAC_CTX_cleanup’ was not declared in this scope HMAC_CTX_cleanup(&ctx); ^~~~~~~~~~~~~~~~ /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:267:2: note: suggested alternative: ‘HMAC_CTX_get_md’ HMAC_CTX_cleanup(&ctx); ^~~~~~~~~~~~~~~~ HMAC_CTX_get_md /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp: In function ‘void CleanupSSL()’: /build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp:401:20: error: ‘void ERR_remove_state(long unsigned int)’ is deprecated [-Werror=deprecated-declarations] ERR_remove_state(0); ^ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/misc/crypto.h:28, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/iobuffer.h:27, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/buffering/buffering.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/utils/utils.h:23, from /build/crtmpserver/src/crtmpserver/sources/common/include/common.h:25: /usr/include/openssl/err.h:248:1: note: declared here DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid)) ^ cc1plus: all warnings being treated as errors make[2]: [common/CMakeFiles/common.dir/build.make:591: common/CMakeFiles/common.dir/build/crtmpserver/src/crtmpserver/sources/common/src/utils/misc/crypto.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:231: common/CMakeFiles/common.dir/all] Error 2 make: ** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). [/code]

jgmdev commented on 2016-12-07 13:54

thanks @sippeangelo, that should fix the building issue.

sippeangelo commented on 2016-12-02 19:37

To make this build, change row 54 of PKGBUILD to

cmake -DCMAKE_CXX_FLAGS="-std=c++03 -Wno-c++11-compat" -DCRTMPSERVER_INSTALL_PREFIX=/usr

sl1pkn07 commented on 2016-10-25 13:42

[ 2%] Building CXX object common/CMakeFiles/common.dir/tmp/makepkg/crtmpserver-git/src/crtmpserver/sources/common/src/platform/linux/linuxplatform.cpp.o
/tmp/makepkg/crtmpserver-git/src/crtmpserver/sources/common/src/platform/linux/linuxplatform.cpp:271:8: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
WARN("Unable to set IP_TTL: %"PRIu8"; error was (%d) %s", ttl, err, strerror(err));
^
/tmp/makepkg/crtmpserver-git/src/crtmpserver/sources/common/src/platform/linux/linuxplatform.cpp:280:8: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
WARN("Unable to set IP_MULTICAST_TTL: %"PRIu8"; error was (%d) %s", ttl, err, strerror(err));
^
/tmp/makepkg/crtmpserver-git/src/crtmpserver/sources/common/src/platform/linux/linuxplatform.cpp:289:8: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
WARN("Unable to set IP_TOS: %"PRIu8"; error was (%d) %s", tos, err, strerror(err));
^
cc1plus: todos los avisos se tratan como errores

dseg commented on 2015-11-23 17:57

@jgmdev Thank you for the information.
OK, this package is (crtmpserver-svn) no longer valid because the svn repository is no longer accessible so I'll request a merge to your crtmpserver-git soon.

jgmdev commented on 2015-11-23 06:19

The svn repository of crtmpserver is offline but main developer created a git repository at github which was updated 2 months ago with some improvements I created another pkgbuild named crtmpserver-git with better configuration structure that works on the fly and systemd service to start the rtmp server https://aur.archlinux.org/packages/crtmpserver-git/

dseg commented on 2015-07-17 15:24

@Tohru
Thank you very much, updated the pkgbuild.

Tohru commented on 2015-06-30 00:07

While installing, '/usr/sbin' in the package conflicts with that in my system.
By adding 'mv $pkgdir/usr/{sbin,bin}' to package(), It works correctly.
(In ArchLinux, /usr/sbin is a symlink to /usr/bin)

7kry commented on 2014-03-27 14:40

`makedepends' must contain 'cmake'.