FreeBSD Port: librtmp-2.4.20151223_2
Alex V. Petrov
alexvpetrov at gmail.com
Wed Oct 24 17:02:43 UTC 2018
multiple errors
incomplete definition of type 'struct dh_st'
FreeBSD 12-stable
OpenSSL 1.1.1-freebsd 11 Sep 2018
===> Building for librtmp-2.4.20151223_2
cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing
-DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c rtmp.c -o rtmp.o
In file included from rtmp.c:152:
In file included from ./handshake.h:86:
./dh.h:256:12: error: incomplete definition of type 'struct dh_st'
MP_new(dh->g);
~~^
./dh.h:171:19: note: expanded from macro 'MP_new'
#define MP_new(m) m = BN_new()
^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
^
In file included from rtmp.c:152:
In file included from ./handshake.h:86:
./dh.h:258:10: error: incomplete definition of type 'struct dh_st'
if (!dh->g)
~~^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
^
In file included from rtmp.c:152:
In file included from ./handshake.h:86:
./dh.h:261:15: error: incomplete definition of type 'struct dh_st'
MP_gethex(dh->p, P1024, res); /* prime P1024, see dhgroups.h */
~~^
./dh.h:179:49: note: expanded from macro 'MP_gethex'
#define MP_gethex(u, hex, res) res = BN_hex2bn(&u, hex)
^
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of
'struct dh_st'
typedef struct dh_st DH;
*************** SKIP **********************
5 warnings and 17 errors generated.
*** Error code 1
Stop.
make[1]: stopped in
/usr/ports/multimedia/librtmp/work/rtmpdump-2.4.fa8646da/librtmp
*** Error code 1
Stop.
make: stopped in /usr/ports/multimedia/librtmp
===>>> make build failed for multimedia/librtmp
===>>> Aborting update
--
-----
Alex.
More information about the freebsd-ports
mailing list