new ffmpeg version 8.0 , causes errors when building makemkv

The place to discuss linux version of MakeMKV
Post Reply
brandonyoung
Posts: 2
Joined: Sun Dec 04, 2022 2:37 pm

new ffmpeg version 8.0 , causes errors when building makemkv

Post by brandonyoung »

I am building on Linux Mint 22.1
I previously built makemkv successfully with the previous ffmpeg version 7.1.1

So, a new version of ffmpeg was just released, and just thought I would try compiling makemkv with the new version. I followed the instructions to build makemkv with ffmpeg with aac support, and it looks like there were some big changes in this version that may need changes in the makemkv code to account for them.

After building ffmpeg with AAC support, I follow instructions and run these two commands

Code: Select all

PKG_CONFIG_PATH=/tmp/ffmpeg/lib/pkgconfig ./configure
make
I see a lot of errors about things being deprecated, and it eventually exits with an error.
Not sure how much needs to be shared here. For most of us, it is probably just enough to stick with the older version of ffmpeg until makemkv is updated, but for the developer, here is what I saw after my configure and make with the new ffmpeg.

Code: Select all

brandon@brandon-rp17:~/ffmpeg-8.0$ cd ~/makemkv-oss-1.18.1/
brandon@brandon-rp17:~/makemkv-oss-1.18.1$ PKG_CONFIG_PATH=/tmp/ffmpeg/lib/pkgconfig ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for -objcopy... no
checking for objcopy... objcopy
checking for -ld... /usr/bin/ld -m elf_x86_64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether g++ supports C++11 features with -std=c++11... yes
checking for zlib.h... yes
checking for compress2 in -lz... yes
checking for openssl/opensslconf.h... yes
checking for AES_encrypt in -lcrypto... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libavcodec libavutil... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether LIBAVCODEC_VERSION_MAJOR is declared... yes
checking LIBAVCODEC_VERSION_MAJOR... 62
checking whether avcodec_send_frame is declared... yes
checking for struct AVChannelLayout... yes
checking for av_log_format_line... yes
checking for AVCodecParserContext.duration... yes
checking for av_codec_iterate... yes
checking for Qt5Core Qt5Gui Qt5Widgets Qt5DBus... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libffabi/src/ffabicfg.h
config.status: executing libtool commands
brandon@brandon-rp17:~/makemkv-oss-1.18.1$ make
mkdir -p out
g++ -std=c++11 -g -O2 -g -O2 -D_linux_  -D_REENTRANT -shared -Wl,-z,defs -oout/libdriveio.so.0.full -I./libdriveio/inc libdriveio/src/infolist.cpp libdriveio/src/scsihlp.cpp libdriveio/src/srlist.cpp libdriveio/src/stdquery.cpp libdriveio/src/tipclient.cpp libdriveio/src/tipcommon.cpp libdriveio/src/tipserver.cpp \
-fPIC -Xlinker -dy -Xlinker --version-script=libdriveio/src/libdriveio.vers \
-Xlinker -soname=libdriveio.so.0 -lc -lstdc++
objcopy --strip-all --strip-debug --strip-unneeded --discard-all out/libdriveio.so.0.full out/libdriveio.so.0
mkdir -p tmp
echo "#define BUILDINFO_ARCH_NAME \"x86_64-linux-gnu\"" >> tmp/gen_buildinfo.h
echo "#define BUILDINFO_BUILD_DATE \"Fri Aug 22 10:19:17 PM PDT 2025\"" >> tmp/gen_buildinfo.h
mkdir -p tmp/libabi/src/
gcc -c -g -O2 -D_linux_  -D_GNU_SOURCE -D_REENTRANT -otmp/libabi/src/ossl_aes.c.o -I./libabi/inc -I./libffabi/inc \
-DHAVE_BUILDINFO_H -Itmp -I/tmp/ffmpeg/include  -fPIC libabi/src/ossl_aes.c
libabi/src/ossl_aes.c: In function ‘OSSL_AES_set_encrypt_key’:
libabi/src/ossl_aes.c:34:5: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   34 |     return AES_set_encrypt_key(userKey,bits,(AES_KEY*)key);
      |     ^~~~~~
In file included from libabi/src/ossl_aes.c:22:
/usr/include/openssl/aes.h:51:5: note: declared here
   51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
libabi/src/ossl_aes.c: In function ‘OSSL_AES_set_decrypt_key’:
libabi/src/ossl_aes.c:40:5: warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   40 |     return AES_set_decrypt_key(userKey,bits,(AES_KEY*)key);
      |     ^~~~~~
/usr/include/openssl/aes.h:54:5: note: declared here
   54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
libabi/src/ossl_aes.c: In function ‘OSSL_AES_encrypt’:
libabi/src/ossl_aes.c:46:5: warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   46 |     AES_encrypt(in,out,(AES_KEY*)key);
      |     ^~~~~~~~~~~
/usr/include/openssl/aes.h:57:6: note: declared here
   57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
libabi/src/ossl_aes.c: In function ‘OSSL_AES_decrypt’:
libabi/src/ossl_aes.c:52:5: warning: ‘AES_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   52 |     AES_decrypt(in,out,(AES_KEY*)key);
      |     ^~~~~~~~~~~
/usr/include/openssl/aes.h:60:6: note: declared here
   60 | void AES_decrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
libabi/src/ossl_aes.c: In function ‘OSSL_AES_cbc_decrypt’:
libabi/src/ossl_aes.c:59:5: warning: ‘AES_cbc_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   59 |     AES_cbc_encrypt(in,out,length,(AES_KEY*)key,ivec,AES_DECRYPT);
      |     ^~~~~~~~~~~~~~~
/usr/include/openssl/aes.h:66:6: note: declared here
   66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~~~~~
mkdir -p tmp/libabi/src/
gcc -c -g -O2 -D_linux_  -D_GNU_SOURCE -D_REENTRANT -otmp/libabi/src/ossl_sha.c.o -I./libabi/inc -I./libffabi/inc \
-DHAVE_BUILDINFO_H -Itmp -I/tmp/ffmpeg/include  -fPIC libabi/src/ossl_sha.c
libabi/src/ossl_sha.c: In function ‘OSSL_SHA1_Init’:
libabi/src/ossl_sha.c:33:5: warning: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   33 |     return SHA1_Init((SHA_CTX*)c);
      |     ^~~~~~
In file included from libabi/src/ossl_sha.c:22:
/usr/include/openssl/sha.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
libabi/src/ossl_sha.c: In function ‘OSSL_SHA1_Update’:
libabi/src/ossl_sha.c:38:5: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   38 |     return SHA1_Update((SHA_CTX*)c,data,len);
      |     ^~~~~~
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
libabi/src/ossl_sha.c: In function ‘OSSL_SHA1_Final’:
libabi/src/ossl_sha.c:43:5: warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   43 |     return SHA1_Final(md,(SHA_CTX*)c);
      |     ^~~~~~
/usr/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
libabi/src/ossl_sha.c: In function ‘OSSL_SHA256_Init’:
libabi/src/ossl_sha.c:53:5: warning: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   53 |     return SHA256_Init((SHA256_CTX*)c);
      |     ^~~~~~
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
libabi/src/ossl_sha.c: In function ‘OSSL_SHA256_Update’:
libabi/src/ossl_sha.c:58:5: warning: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   58 |     return SHA256_Update((SHA256_CTX*)c, data, len);
      |     ^~~~~~
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
libabi/src/ossl_sha.c: In function ‘OSSL_SHA256_Final’:
libabi/src/ossl_sha.c:63:5: warning: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   63 |     return SHA256_Final(md, (SHA256_CTX*)c);
      |     ^~~~~~
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
mkdir -p tmp/libabi/src/
gcc -c -g -O2 -D_linux_  -D_GNU_SOURCE -D_REENTRANT -otmp/libabi/src/ossl_ec.c.o -I./libabi/inc -I./libffabi/inc \
-DHAVE_BUILDINFO_H -Itmp -I/tmp/ffmpeg/include  -fPIC libabi/src/ossl_ec.c
libabi/src/ossl_ec.c: In function ‘OSSL_EC_GROUP_set_generator’:
libabi/src/ossl_ec.c:125:9: warning: ‘EC_GROUP_precompute_mult’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  125 |         EC_GROUP_precompute_mult((EC_GROUP *)grp,NULL);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from libabi/src/ossl_ec.c:41:
/usr/include/openssl/ec.h:883:27: note: declared here
  883 | OSSL_DEPRECATEDIN_3_0 int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~
libabi/src/ossl_ec.c: In function ‘OSSL_EC_GROUP_new_curve_GFp’:
libabi/src/ossl_ec.c:140:5: warning: ‘EC_GFp_mont_method’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  140 |     meth = EC_GFp_mont_method();
      |     ^~~~
/usr/include/openssl/ec.h:126:40: note: declared here
  126 | OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GFp_mont_method(void);
      |                                        ^~~~~~~~~~~~~~~~~~
libabi/src/ossl_ec.c:143:5: warning: ‘EC_GROUP_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  143 |     grp = EC_GROUP_new(meth);
      |     ^~~
/usr/include/openssl/ec.h:171:33: note: declared here
  171 | OSSL_DEPRECATEDIN_3_0 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth);
      |                                 ^~~~~~~~~~~~
libabi/src/ossl_ec.c:146:5: warning: ‘EC_GROUP_set_curve_GFp’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  146 |     if (!EC_GROUP_set_curve_GFp(grp, (const BIGNUM *)p, (const BIGNUM *)a, (const BIGNUM *)b, (BN_CTX *)ctx))
      |     ^~
/usr/include/openssl/ec.h:339:27: note: declared here
  339 | OSSL_DEPRECATEDIN_3_0 int EC_GROUP_set_curve_GFp(EC_GROUP *group,
      |                           ^~~~~~~~~~~~~~~~~~~~~~
libabi/src/ossl_ec.c:148:9: warning: ‘EC_GROUP_clear_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  148 |         EC_GROUP_clear_free(grp);
      |         ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:176:28: note: declared here
  176 | OSSL_DEPRECATEDIN_3_0 void EC_GROUP_clear_free(EC_GROUP *group);
      |                            ^~~~~~~~~~~~~~~~~~~
libabi/src/ossl_ec.c: In function ‘OSSL_EC_POINT_set_affine_coordinates_GFp’:
libabi/src/ossl_ec.c:183:5: warning: ‘EC_POINT_set_affine_coordinates_GFp’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  183 |     return EC_POINT_set_affine_coordinates_GFp((const EC_GROUP *)grp, (EC_POINT *)point,
      |     ^~~~~~
/usr/include/openssl/ec.h:646:27: note: declared here
  646 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libabi/src/ossl_ec.c: In function ‘OSSL_EC_POINT_get_affine_coordinates_GFp’:
libabi/src/ossl_ec.c:190:5: warning: ‘EC_POINT_get_affine_coordinates_GFp’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  190 |     return EC_POINT_get_affine_coordinates_GFp((const EC_GROUP *)grp, (const EC_POINT *)point,
      |     ^~~~~~
/usr/include/openssl/ec.h:659:27: note: declared here
  659 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libabi/src/ossl_ec.c: In function ‘OSSL_EC_KEY_new’:
libabi/src/ossl_ec.c:196:5: warning: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  196 |     return (OSSL_EC_KEY *)EC_KEY_new();
      |     ^~~~~~
/usr/include/openssl/ec.h:968:31: note: declared here
  968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
      |                               ^~~~~~~~~~
libabi/src/ossl_ec.c: In function ‘OSSL_EC_KEY_free’:
libabi/src/ossl_ec.c:201:5: warning: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  201 |     EC_KEY_free((EC_KEY *)key);
      |     ^~~~~~~~~~~
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
libabi/src/ossl_ec.c: In function ‘OSSL_EC_KEY_get0_group’:
libabi/src/ossl_ec.c:206:5: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  206 |     return (const OSSL_EC_GROUP *)EC_KEY_get0_group((const EC_KEY *)key);
      |     ^~~~~~
/usr/include/openssl/ec.h:1034:39: note: declared here
 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
libabi/src/ossl_ec.c: In function ‘OSSL_EC_KEY_set_group’:
libabi/src/ossl_ec.c:211:5: warning: ‘EC_KEY_set_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  211 |     return EC_KEY_set_group((EC_KEY *)key, (const EC_GROUP *)grp);
      |     ^~~~~~
/usr/include/openssl/ec.h:1042:27: note: declared here
 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
      |                           ^~~~~~~~~~~~~~~~
libabi/src/ossl_ec.c: In function ‘OSSL_EC_KEY_set_public_key’:
libabi/src/ossl_ec.c:216:5: warning: ‘EC_KEY_set_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  216 |     return EC_KEY_set_public_key((EC_KEY *)key, (const EC_POINT *)point);
      |     ^~~~~~
/usr/include/openssl/ec.h:1070:27: note: declared here
 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      |                           ^~~~~~~~~~~~~~~~~~~~~
libabi/src/ossl_ec.c: In function ‘OSSL_EC_KEY_set_private_key’:
libabi/src/ossl_ec.c:221:5: warning: ‘EC_KEY_set_private_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  221 |     return EC_KEY_set_private_key((EC_KEY *)key, (const BIGNUM *)a);
      |     ^~~~~~
/usr/include/openssl/ec.h:1056:27: note: declared here
 1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
      |                           ^~~~~~~~~~~~~~~~~~~~~~
libabi/src/ossl_ec.c: In function ‘OSSL_ECDSA_do_verify_rs’:
libabi/src/ossl_ec.c:246:13: warning: ‘ECDSA_do_verify’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  246 |             r = ECDSA_do_verify(dgst,dgst_len,sig,(EC_KEY*) eckey);
      |             ^
/usr/include/openssl/ec.h:1391:27: note: declared here
 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
      |                           ^~~~~~~~~~~~~~~
libabi/src/ossl_ec.c: In function ‘OSSL_ECDSA_sign_setup’:
libabi/src/ossl_ec.c:290:5: warning: ‘ECDSA_sign_setup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  290 |     return ECDSA_sign_setup( (EC_KEY *)eckey , NULL, (BIGNUM**) kinv, (BIGNUM**) rp);
      |     ^~~~~~
/usr/include/openssl/ec.h:1401:27: note: declared here
 1401 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx,
      |                           ^~~~~~~~~~~~~~~~
libabi/src/ossl_ec.c: In function ‘OSSL_ECDSA_do_sign_ex’:
libabi/src/ossl_ec.c:295:5: warning: ‘ECDSA_do_sign_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  295 |     return (OSSL_ECDSA_SIG *)ECDSA_do_sign_ex(dgst,dgstlen,(const BIGNUM *)kinv, (const BIGNUM *)rp, (EC_KEY *)eckey);
      |     ^~~~~~
/usr/include/openssl/ec.h:1378:34: note: declared here
 1378 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst,
      |                                  ^~~~~~~~~~~~~~~~
mkdir -p tmp/libabi/src/
gcc -c -g -O2 -D_linux_  -D_GNU_SOURCE -D_REENTRANT -otmp/libabi/src/zlib.c.o -I./libabi/inc -I./libffabi/inc \
-DHAVE_BUILDINFO_H -Itmp -I/tmp/ffmpeg/include  -fPIC libabi/src/zlib.c
mkdir -p tmp/libabi/src/
gcc -c -g -O2 -D_linux_  -D_GNU_SOURCE -D_REENTRANT -otmp/libabi/src/xpat.c.o -I./libabi/inc -I./libffabi/inc \
-DHAVE_BUILDINFO_H -Itmp -I/tmp/ffmpeg/include  -fPIC libabi/src/xpat.c
mkdir -p tmp/libabi/src/
gcc -c -g -O2 -D_linux_  -D_GNU_SOURCE -D_REENTRANT -otmp/libabi/src/libm.c.o -I./libabi/inc -I./libffabi/inc \
-DHAVE_BUILDINFO_H -Itmp -I/tmp/ffmpeg/include  -fPIC libabi/src/libm.c
mkdir -p tmp/libffabi/src/
gcc -c -g -O2 -D_linux_  -D_GNU_SOURCE -D_REENTRANT -otmp/libffabi/src/ffabi.c.o -I./libabi/inc -I./libffabi/inc \
-DHAVE_BUILDINFO_H -Itmp -I/tmp/ffmpeg/include  -fPIC libffabi/src/ffabi.c
libffabi/src/ffabi.c: In function ‘ffm_audio_decode_close’:
libffabi/src/ffabi.c:214:9: warning: implicit declaration of function ‘avcodec_close’; did you mean ‘avcodec_license’? [-Wimplicit-function-declaration]
  214 |         avcodec_close(ctx->avctx);
      |         ^~~~~~~~~~~~~
      |         avcodec_license
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_init’:
libffabi/src/ffabi.c:377:25: error: ‘FF_PROFILE_UNKNOWN’ undeclared (first use in this function); did you mean ‘FFM_PROFILE_UNKNOWN’?
  377 |         info->profile : FF_PROFILE_UNKNOWN;
      |                         ^~~~~~~~~~~~~~~~~~
      |                         FFM_PROFILE_UNKNOWN
libffabi/src/ffabi.c:377:25: note: each undeclared identifier is reported only once for each function it appears in
libffabi/src/ffabi.c: In function ‘set_codec_info_extended’:
libffabi/src/ffabi.c:544:5: warning: ‘ch_layouts’ is deprecated [-Wdeprecated-declarations]
  544 |     if (NULL != codec->ch_layouts) {
      |     ^~
In file included from /tmp/ffmpeg/include/libavcodec/avcodec.h:41,
                 from libffabi/src/ffabi.c:22:
/tmp/ffmpeg/include/libavcodec/codec.h:226:28: note: declared here
  226 |     const AVChannelLayout *ch_layouts;
      |                            ^~~~~~~~~~
libffabi/src/ffabi.c:545:9: warning: ‘ch_layouts’ is deprecated [-Wdeprecated-declarations]
  545 |         while (0 != codec->ch_layouts[count_ch_layouts_in].nb_channels)
      |         ^~~~~
/tmp/ffmpeg/include/libavcodec/codec.h:226:28: note: declared here
  226 |     const AVChannelLayout *ch_layouts;
      |                            ^~~~~~~~~~
libffabi/src/ffabi.c:563:9: warning: ‘ch_layouts’ is deprecated [-Wdeprecated-declarations]
  563 |         if (AV_CHANNEL_ORDER_NATIVE != codec->ch_layouts[i].order) continue;
      |         ^~
/tmp/ffmpeg/include/libavcodec/codec.h:226:28: note: declared here
  226 |     const AVChannelLayout *ch_layouts;
      |                            ^~~~~~~~~~
libffabi/src/ffabi.c:564:9: warning: ‘ch_layouts’ is deprecated [-Wdeprecated-declarations]
  564 |         channel_layouts[count_ch_layouts_out++] = codec->ch_layouts[i].u.mask;
      |         ^~~~~~~~~~~~~~~
/tmp/ffmpeg/include/libavcodec/codec.h:226:28: note: declared here
  226 |     const AVChannelLayout *ch_layouts;
      |                            ^~~~~~~~~~
libffabi/src/ffabi.c: In function ‘ffm_audio_get_codec_information’:
libffabi/src/ffabi.c:591:5: warning: ‘supported_samplerates’ is deprecated [-Wdeprecated-declarations]
  591 |     info->sample_rates = codec->supported_samplerates;
      |     ^~~~
/tmp/ffmpeg/include/libavcodec/codec.h:202:16: note: declared here
  202 |     const int *supported_samplerates;       ///< @deprecated use avcodec_get_supported_config()
      |                ^~~~~~~~~~~~~~~~~~~~~
libffabi/src/ffabi.c:595:5: warning: ‘ch_layouts’ is deprecated [-Wdeprecated-declarations]
  595 |     if (NULL == codec->ch_layouts) {
      |     ^~
/tmp/ffmpeg/include/libavcodec/codec.h:226:28: note: declared here
  226 |     const AVChannelLayout *ch_layouts;
      |                            ^~~~~~~~~~
libffabi/src/ffabi.c:607:45: error: ‘FF_PROFILE_UNKNOWN’ undeclared (first use in this function); did you mean ‘FFM_PROFILE_UNKNOWN’?
  607 |             if (codec->profiles[i].profile==FF_PROFILE_UNKNOWN)
      |                                             ^~~~~~~~~~~~~~~~~~
      |                                             FFM_PROFILE_UNKNOWN
libffabi/src/ffabi.c:614:5: warning: ‘sample_fmts’ is deprecated [-Wdeprecated-declarations]
  614 |     if (codec->sample_fmts) {
      |     ^~
/tmp/ffmpeg/include/libavcodec/codec.h:204:32: note: declared here
  204 |     const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
      |                                ^~~~~~~~~~~
libffabi/src/ffabi.c:616:13: warning: ‘sample_fmts’ is deprecated [-Wdeprecated-declarations]
  616 |             if (codec->sample_fmts[i]==AV_SAMPLE_FMT_NONE)
      |             ^~
/tmp/ffmpeg/include/libavcodec/codec.h:204:32: note: declared here
  204 |     const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
      |                                ^~~~~~~~~~~
libffabi/src/ffabi.c:618:13: warning: ‘sample_fmts’ is deprecated [-Wdeprecated-declarations]
  618 |             info->sample_formats[i]=(uint8_t)back_translate_sample_fmt(codec->sample_fmts[i]);
      |             ^~~~
/tmp/ffmpeg/include/libavcodec/codec.h:204:32: note: declared here
  204 |     const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
      |                                ^~~~~~~~~~~
make: *** [Makefile:84: tmp/libffabi/src/ffabi.c.o] Error 1
brandon@brandon-rp17:~/makemkv-oss-1.18.1$
Post Reply