[FFmpeg-devel] ffmpeg with openssl 1.1.0: error: dereferencing pointer to incomplete type ‘FF_DH {aka struct dh_st}’

Dâniel Fraga fragabr at gmail.com
Sat Sep 3 02:36:15 EEST 2016


	Compiling ffmpeg 3.1.3 with OpenSSL 1.1.0 returns this:

CC      libavformat/rtpdec_ac3.o
src/libavformat/rtmpdh.c: In function ‘ff_dh_init’:
src/libavformat/rtmpdh.c:277:14: error: dereferencing pointer to incomplete type ‘FF_DH {aka struct dh_st}’
     bn_new(dh->g);
              ^
src/libavformat/rtmpdh.c:188:37: note: in definition of macro ‘bn_new’
 #define bn_new(bn)                  bn = BN_new()
                                     ^~
make: *** [/home/fraga/git/ffmpeg/common.mak:60: libavformat/rtmpdh.o] Error 1
make: *** Waiting for unfinished jobs....

	Maybe it's related to some changes over OpenSSL 1.1.0 which
broke several projects? Example:

OpenSSL 1.1.x makes RSA, DSA and DH structs opaque
https://github.com/curl/curl/issues/763

	Any hints?

-- 
https://exchangewar.info




More information about the ffmpeg-devel mailing list