Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2018 00:02:36 +0700
From:      "Alex V. Petrov" <alexvpetrov@gmail.com>
To:        hrs@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: librtmp-2.4.20151223_2
Message-ID:  <de95aa8d-dc45-8784-673f-8e0f7644a0f6@gmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?de95aa8d-dc45-8784-673f-8e0f7644a0f6>