1.17.7 build errors on Linux Mint 21.3

The place to discuss linux version of MakeMKV
Post Reply
MakOwner
Posts: 68
Joined: Sat Apr 02, 2011 5:26 am

1.17.7 build errors on Linux Mint 21.3

Post by MakOwner »

Apologies for the wall-o-text, but hopefully someone has seen this and it's just something dumb I'm missing.
As you can imagine I can't open BluRays after installling this version.


Code: Select all

configure: creating ./config.status
config.status: creating Makefile
config.status: creating libffabi/src/ffabicfg.h
config.status: executing libtool commands
mkdir -p out
g++ -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 \"Tue May 21 12:43:19 PM CDT 2024\"" >> 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/usr/include/x86_64-linux-gnu -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);
      |     ^~~~~~
In file included from libabi/src/ossl_aes.c:22:
/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);
      |     ^~~~~~~~~~~
In file included from libabi/src/ossl_aes.c:22:
/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);
      |     ^~~~~~~~~~~
In file included from libabi/src/ossl_aes.c:22:
/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);
      |     ^~~~~~~~~~~~~~~
In file included from libabi/src/ossl_aes.c:22:
/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/usr/include/x86_64-linux-gnu -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);
      |     ^~~~~~
In file included from libabi/src/ossl_sha.c:22:
/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);
      |     ^~~~~~
In file included from libabi/src/ossl_sha.c:22:
/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);
      |     ^~~~~~
In file included from libabi/src/ossl_sha.c:22:
/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);
      |     ^~~~~~
In file included from libabi/src/ossl_sha.c:22:
/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);
      |     ^~~~~~
In file included from libabi/src/ossl_sha.c:22:
/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/usr/include/x86_64-linux-gnu -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();
      |     ^~~~
In file included from libabi/src/ossl_ec.c:41:
/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);
      |     ^~~
In file included from libabi/src/ossl_ec.c:41:
/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))
      |     ^~
In file included from libabi/src/ossl_ec.c:41:
/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);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from libabi/src/ossl_ec.c:41:
/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,
      |     ^~~~~~
In file included from libabi/src/ossl_ec.c:41:
/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,
      |     ^~~~~~
In file included from libabi/src/ossl_ec.c:41:
/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();
      |     ^~~~~~
In file included from libabi/src/ossl_ec.c:41:
/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);
      |     ^~~~~~~~~~~
In file included from libabi/src/ossl_ec.c:41:
/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);
      |     ^~~~~~
In file included from libabi/src/ossl_ec.c:41:
/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);
      |     ^~~~~~
In file included from libabi/src/ossl_ec.c:41:
/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);
      |     ^~~~~~
In file included from libabi/src/ossl_ec.c:41:
/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);
      |     ^~~~~~
In file included from libabi/src/ossl_ec.c:41:
/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);
      |             ^
In file included from libabi/src/ossl_ec.c:41:
/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);
      |     ^~~~~~
In file included from libabi/src/ossl_ec.c:41:
/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);
      |     ^~~~~~
In file included from libabi/src/ossl_ec.c:41:
/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/usr/include/x86_64-linux-gnu -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/usr/include/x86_64-linux-gnu -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/usr/include/x86_64-linux-gnu -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/usr/include/x86_64-linux-gnu -fPIC libffabi/src/ffabi.c
mkdir -p tmp/libffabi/src/
gcc -c -g -O2 -D_linux_  -D_GNU_SOURCE -D_REENTRANT -otmp/libffabi/src/mlp.c.o -I./libabi/inc -I./libffabi/inc \
-DHAVE_BUILDINFO_H -Itmp -I/usr/include/x86_64-linux-gnu -fPIC libffabi/src/mlp.c
mkdir -p tmp/libffabi/src/
gcc -c -g -O2 -D_linux_  -D_GNU_SOURCE -D_REENTRANT -otmp/libffabi/src/log.c.o -I./libabi/inc -I./libffabi/inc \
-DHAVE_BUILDINFO_H -Itmp -I/usr/include/x86_64-linux-gnu -fPIC libffabi/src/log.c
mkdir -p tmp/libffabi/src/
gcc -c -g -O2 -D_linux_  -D_GNU_SOURCE -D_REENTRANT -otmp/libffabi/src/audio_convert.c.o -I./libabi/inc -I./libffabi/inc \
-DHAVE_BUILDINFO_H -Itmp -I/usr/include/x86_64-linux-gnu -fPIC libffabi/src/audio_convert.c
mkdir -p tmp/libffabi/src/
gcc -c -g -O2 -D_linux_  -D_GNU_SOURCE -D_REENTRANT -otmp/libffabi/src/audio_mix.c.o -I./libabi/inc -I./libffabi/inc \
-DHAVE_BUILDINFO_H -Itmp -I/usr/include/x86_64-linux-gnu -fPIC libffabi/src/audio_mix.c
mkdir -p tmp/libffabi/src/
gcc -c -g -O2 -D_linux_  -D_GNU_SOURCE -D_REENTRANT -otmp/libffabi/src/audio_mix_matrix.c.o -I./libabi/inc -I./libffabi/inc \
-DHAVE_BUILDINFO_H -Itmp -I/usr/include/x86_64-linux-gnu -fPIC libffabi/src/audio_mix_matrix.c
mkdir -p out
g++ -g -O2 -g -O2 -D_linux_   -D_GNU_SOURCE -D_REENTRANT -shared -Wl,-z,defs -oout/libmakemkv.so.1.full -I./libebml/inc -DEBML_NO_READ -DEBML_STRICT_API -DEBML_DEBUG \
-I./libmatroska/inc -I./libmakemkv/inc -I./sstring/inc -I./makemkvgui/inc -I./libabi/inc \
-I./libffabi/inc libebml/src/EbmlBinary.cpp libebml/src/EbmlContexts.cpp libebml/src/EbmlCrc32.cpp libebml/src/EbmlDate.cpp libebml/src/EbmlDummy.cpp libebml/src/EbmlElement.cpp libebml/src/EbmlFloat.cpp libebml/src/EbmlHead.cpp libebml/src/EbmlMaster.cpp libebml/src/EbmlSInteger.cpp libebml/src/EbmlString.cpp libebml/src/EbmlSubHead.cpp libebml/src/EbmlUInteger.cpp libebml/src/EbmlUnicodeString.cpp libebml/src/EbmlVersion.cpp libebml/src/EbmlVoid.cpp libebml/src/IOCallback.cpp libebml/src/MemIOCallback.cpp  libmatroska/src/FileKax.cpp libmatroska/src/KaxAttached.cpp libmatroska/src/KaxAttachments.cpp libmatroska/src/KaxBlock.cpp libmatroska/src/KaxBlockData.cpp libmatroska/src/KaxCluster.cpp libmatroska/src/KaxContexts.cpp libmatroska/src/KaxCues.cpp libmatroska/src/KaxCuesData.cpp libmatroska/src/KaxInfoData.cpp libmatroska/src/KaxSeekHead.cpp libmatroska/src/KaxSegment.cpp libmatroska/src/KaxTracks.cpp libmatroska/src/KaxVersion.cpp libmatroska/src/KaxSemantic.cpp libmakemkv/src/ebmlwrite.cpp libmakemkv/src/libmkv.cpp libmakemkv/src/version.cpp libmakemkv/src/world.cpp libmakemkv/src/stdstring.cpp sstring/src/sstring.cpp makemkvgui/src/api_linux.cpp libabi/src/sys_linux.cpp makemkvgui/src/spawn_posix.cpp \
tmp/libabi/src/ossl_aes.c.o tmp/libabi/src/ossl_sha.c.o tmp/libabi/src/ossl_ec.c.o tmp/libabi/src/zlib.c.o tmp/libabi/src/xpat.c.o tmp/libabi/src/libm.c.o tmp/libffabi/src/ffabi.c.o tmp/libffabi/src/mlp.c.o tmp/libffabi/src/log.c.o tmp/libffabi/src/audio_convert.c.o tmp/libffabi/src/audio_mix.c.o tmp/libffabi/src/audio_mix_matrix.c.o \
-DHAVE_BUILDINFO_H -Itmp \
-fPIC -Xlinker -dy -Xlinker --version-script=libmakemkv/src/libmakemkv.vers \
-Xlinker -soname=libmakemkv.so.1 -lc -lstdc++ -lcrypto -lz -lexpat -lavcodec -lavutil -lrt -lm -lrt
objcopy --strip-all --strip-debug --strip-unneeded --discard-all out/libmakemkv.so.1.full out/libmakemkv.so.1
mkdir -p tmp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o tmp/moc_mainwnd.cpp makemkvgui/src/mainwnd.h
mkdir -p tmp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o tmp/moc_logtext.cpp makemkvgui/src/logtext.h
mkdir -p tmp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o tmp/moc_dirselectbox.cpp makemkvgui/src/dirselectbox.h
mkdir -p tmp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o tmp/moc_aboutbox.cpp makemkvgui/src/aboutbox.h
mkdir -p tmp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o tmp/moc_settingdlg.cpp makemkvgui/src/settingdlg.h
mkdir -p tmp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o tmp/moc_backupdlg.cpp makemkvgui/src/backupdlg.h
mkdir -p tmp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o tmp/moc_lineeditk.cpp makemkvgui/src/lineeditk.h
mkdir -p tmp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o tmp/moc_dvdbox.cpp makemkvgui/src/dvdbox.h
mkdir -p tmp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o tmp/moc_drivebox.cpp makemkvgui/src/drivebox.h
mkdir -p tmp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o tmp/moc_toolbuttonp.cpp makemkvgui/src/toolbuttonp.h
mkdir -p tmp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -o tmp/moc_regbox.cpp makemkvgui/src/regbox.h
mkdir -p tmp
/usr/bin/ld -m elf_x86_64 -r -b binary -z noexecstack -o tmp/image_data.o makemkvgui/bin/image_data.bin
mkdir -p out
g++ -g -O2 -g -O2 -D_linux_ -fPIC  -oout/makemkv.full -I./makemkvgui/inc -I./libmakemkv/inc -I./sstring/inc \
-I./libdriveio/inc -I./libabi/inc makemkvgui/src/aboutbox.cpp makemkvgui/src/client.cpp makemkvgui/src/clt_pipe.cpp makemkvgui/src/clt_shm.cpp makemkvgui/src/clt_std.cpp makemkvgui/src/utf8.cpp makemkvgui/src/dirselectbox.cpp makemkvgui/src/regbox.cpp makemkvgui/src/logic.cpp makemkvgui/src/logtext.cpp makemkvgui/src/main.cpp makemkvgui/src/mainwnd.cpp makemkvgui/src/marshall.cpp makemkvgui/src/progress.cpp makemkvgui/src/scsiinfo.cpp makemkvgui/src/settingdlg.cpp makemkvgui/src/uisync.cpp makemkvgui/src/viteminfo.cpp makemkvgui/src/margui.cpp makemkvgui/src/backupdlg.cpp makemkvgui/src/lstring.cpp makemkvgui/src/notify.cpp makemkvgui/src/image.cpp makemkvgui/src/abutton.cpp makemkvgui/src/lineeditk.cpp makemkvgui/src/dvdbox.cpp makemkvgui/src/drivebox.cpp makemkvgui/src/toolbuttonp.cpp makemkvgui/src/api_posix.cpp makemkvgui/src/api_linux.cpp makemkvgui/src/sem_posix.cpp makemkvgui/src/spawn_posix.cpp makemkvgui/src/logic_posix.cpp libabi/src/sys_linux.cpp makemkvgui/src/api_posix_shm.cpp makemkvgui/src/notify_linux.cpp makemkvgui/src/image_linux.cpp tmp/image_data.o tmp/moc_mainwnd.cpp tmp/moc_logtext.cpp tmp/moc_dirselectbox.cpp tmp/moc_aboutbox.cpp tmp/moc_settingdlg.cpp tmp/moc_backupdlg.cpp tmp/moc_lineeditk.cpp tmp/moc_dvdbox.cpp tmp/moc_drivebox.cpp tmp/moc_toolbuttonp.cpp tmp/moc_regbox.cpp \
sstring/src/sstring.cpp libdriveio/src/srlist.cpp \
-DHAVE_BUILDINFO_H -Itmp \
-DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -lc -lstdc++ \
-lQt5Widgets -lQt5Gui -lQt5DBus -lQt5Core -lpthread -lz -lrt
makemkvgui/src/mainwnd.cpp:38:5: warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = Qt::WindowType; QFlags<T>::Zero = int QFlags<Qt::WindowType>::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
   38 |     0;
      |     ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299,
                 from makemkvgui/src/qtgui.h:18,
                 from makemkvgui/src/mainwnd.cpp:15:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here
  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
      |                                                                                ^~~~~~
objcopy --strip-all --strip-debug --strip-unneeded --discard-all out/makemkv.full out/makemkv
mkdir -p out
g++ -g -O2 -g -O2 -D_linux_  -D_REENTRANT -shared -Wl,-z,defs -oout/libmmbd.so.0.full -I./makemkvgui/inc -I./libmmbd/inc -I./libdriveio/inc \
-I./libmakemkv/inc -I./sstring/inc -I./libabi/inc makemkvgui/src/client.cpp makemkvgui/src/clt_pipe.cpp makemkvgui/src/clt_std.cpp makemkvgui/src/utf8.cpp makemkvgui/src/marshall.cpp libmmbd/src/marmmbd.cpp libmmbd/src/nstring.cpp libmmbd/src/mmbd.cpp libmmbd/src/mmconn.cpp libmmbd/src/mmbdipc.cpp libmmbd/src/aacs.cpp libmmbd/src/bdplus.cpp libmmbd/src/crypto_ossl.cpp libmmbd/src/aacslog.cpp makemkvgui/src/api_posix.cpp makemkvgui/src/api_linux.cpp makemkvgui/src/sem_posix.cpp makemkvgui/src/spawn_posix.cpp sstring/src/sstring.cpp \
libdriveio/src/srlist.cpp \
-fPIC -Xlinker -dy -Xlinker --version-script=libmmbd/src/libmmbd.vers \
-Xlinker -soname=libmmbd.so.0 -lc -lstdc++ -lrt -lpthread -lcrypto -ldl
libmmbd/src/crypto_ossl.cpp: In function ‘void aes_cbcd_ossl(const uint8_t*, const uint8_t*, uint8_t*, unsigned int)’:
libmmbd/src/crypto_ossl.cpp:31:24: warning: ‘int AES_set_decrypt_key(const unsigned char*, int, AES_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   31 |     AES_set_decrypt_key(key,128,&akey);
      |     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from libmmbd/src/crypto_ossl.cpp:22:
/usr/include/openssl/aes.h:54:5: note: declared here
   54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
libmmbd/src/crypto_ossl.cpp:33:20: warning: ‘void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   33 |     AES_cbc_encrypt(data,data,size,&akey,ivec,0);
      |     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libmmbd/src/crypto_ossl.cpp:22:
/usr/include/openssl/aes.h:66:6: note: declared here
   66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~~~~~
objcopy --strip-all --strip-debug --strip-unneeded --discard-all out/libmmbd.so.0.full out/libmmbd.so.0
mkdir -p out
gcc -g -O2 -D_linux_  -DMMCCXTR=1  -DHAVE_BUILDINFO_H -Itmp -D_GNU_SOURCE -oout/mmccextr.full mmccextr/ccextractor.c mmccextr/lib_ccx/activity.c mmccextr/lib_ccx/ccx_common_char_encoding.c mmccextr/lib_ccx/ccx_common_common.c mmccextr/lib_ccx/ccx_common_constants.c mmccextr/lib_ccx/ccx_common_option.c mmccextr/lib_ccx/ccx_common_timing.c mmccextr/lib_ccx/ccx_decoders_608.c mmccextr/lib_ccx/ccx_decoders_common.c mmccextr/lib_ccx/ccx_demuxer.c mmccextr/lib_ccx/ccx_encoders_common.c mmccextr/lib_ccx/ccx_encoders_helpers.c mmccextr/lib_ccx/ccx_encoders_srt.c mmccextr/lib_ccx/file_functions.c mmccextr/lib_ccx/general_loop.c mmccextr/lib_ccx/lib_ccx.c mmccextr/lib_ccx/output.c mmccextr/lib_ccx/params.c mmccextr/lib_ccx/params_dump.c mmccextr/lib_ccx/sequencing.c mmccextr/lib_ccx/utility.c -lc \
-ffunction-sections -Wl,--gc-sections -Wl,-z,defs
objcopy --strip-all --strip-debug --strip-unneeded --discard-all out/mmccextr.full out/mmccextr
mkdir -p out
gcc -g -O2 -D_linux_  -I./mmgpl -I./mmgpl/dvdnav -I./mmgpl/dvdread -I./makemkvgui/inc -I./libmakemkv/inc \
-I./libdriveio/inc -I./libabi/inc -DLOG_DEBUG=1 -DTRACE=1 -DDVDNAV_NO_CACHE=1 -DDVDNAV_NO_LOCKING=1 -DDVDNAV_NO_TXTDT=1 -DDVDNAV_NO_ERRSTR=1 -D_GNU_SOURCE -Dstl=std -oout/mmgplsrv.full mmgpl/mmgpl.cpp mmgpl/dvdnavsrv.cpp mmgpl/dvdread.cpp mmgpl/navapi.cpp makemkvgui/src/clt_pipe.cpp mmgpl/dvdread/bitreader.c mmgpl/dvdread/ifo_read.c mmgpl/dvdread/logger.c mmgpl/dvdread/nav_read.c mmgpl/dvdnav/dvdnav.c mmgpl/dvdnav/highlight.c mmgpl/dvdnav/logger.c mmgpl/dvdnav/navigation.c mmgpl/dvdnav/settings.c mmgpl/dvdnav/vm/decoder.c mmgpl/dvdnav/vm/getset.c mmgpl/dvdnav/vm/play.c mmgpl/dvdnav/vm/rand.cpp mmgpl/dvdnav/vm/vm.c mmgpl/dvdnav/vm/vmcmd.c mmgpl/dvdnav/vm/vmget.c  makemkvgui/src/api_posix.cpp makemkvgui/src/api_linux.cpp -lc -lstdc++ \
-ffunction-sections -Wl,--gc-sections -Wl,-z,defs
mmgpl/dvdread/ifo_read.c: In function ‘ifoRead_PGCIT_internal’:
mmgpl/dvdread/ifo_read.c:1943:21: warning: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Waddress-of-packed-member]
 1943 |         ifoFree_PGC(&pgcit->pgci_srp[j].pgc);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~
mmgpl/dvdread/ifo_read.c: In function ‘ifoFree_PGCIT_internal’:
mmgpl/dvdread/ifo_read.c:1969:19: warning: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Waddress-of-packed-member]
 1969 |       ifoFree_PGC(&(*pgcit)->pgci_srp[i].pgc);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
mmgpl/dvdread/ifo_read.c: In function ‘ifoRead_PGCI_UT’:
mmgpl/dvdread/ifo_read.c:2101:32: warning: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Waddress-of-packed-member]
 2101 |         ifoFree_PGCIT_internal(&pgci_ut->lu[j].pgcit);
      |                                ^~~~~~~~~~~~~~~~~~~~~
mmgpl/dvdread/ifo_read.c:2114:32: warning: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Waddress-of-packed-member]
 2114 |         ifoFree_PGCIT_internal(&pgci_ut->lu[j].pgcit);
      |                                ^~~~~~~~~~~~~~~~~~~~~
mmgpl/dvdread/ifo_read.c: In function ‘ifoFree_PGCI_UT’:
mmgpl/dvdread/ifo_read.c:2137:30: warning: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Waddress-of-packed-member]
 2137 |       ifoFree_PGCIT_internal(&ifofile->pgci_ut->lu[i].pgcit);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objcopy --strip-all --strip-debug --strip-unneeded --discard-all out/mmgplsrv.full out/mmgplsrv
type "sudo make install" to install
[sudo] password for dale:     
/usr/bin/install -c -D -m 644 out/libdriveio.so.0 /usr/lib/libdriveio.so.0
/usr/bin/install -c -D -m 644 out/libmakemkv.so.1 /usr/lib/libmakemkv.so.1
/usr/bin/install -c -D -m 644 out/libmmbd.so.0 /usr/lib/libmmbd.so.0
ldconfig
/usr/bin/install -c -D -m 755 out/makemkv /usr/bin/makemkv
/usr/bin/install -c -D -m 644 makemkvgui/share/makemkv.desktop /usr/share/applications/makemkv.desktop
/usr/bin/install -c -D -m 644 makemkvgui/share/icons/16x16/makemkv.png /usr/share/icons/hicolor/16x16/apps/makemkv.png
/usr/bin/install -c -D -m 644 makemkvgui/share/icons/22x22/makemkv.png /usr/share/icons/hicolor/22x22/apps/makemkv.png
/usr/bin/install -c -D -m 644 makemkvgui/share/icons/32x32/makemkv.png /usr/share/icons/hicolor/32x32/apps/makemkv.png
/usr/bin/install -c -D -m 644 makemkvgui/share/icons/64x64/makemkv.png /usr/share/icons/hicolor/64x64/apps/makemkv.png
/usr/bin/install -c -D -m 644 makemkvgui/share/icons/128x128/makemkv.png /usr/share/icons/hicolor/128x128/apps/makemkv.png
/usr/bin/install -c -D -m 644 makemkvgui/share/icons/256x256/makemkv.png /usr/share/icons/hicolor/256x256/apps/makemkv.png
/usr/bin/install -c -D -m 755 out/mmccextr /usr/bin/mmccextr
/usr/bin/install -c -D -m 755 out/mmgplsrv /usr/bin/mmgplsrv
dale@T5820:~/makemv_install/makemkv-oss-1.17.7$ cd ../makemkv-bin-1.17.7/
dale@T5820:~/makemv_install/makemkv-bin-1.17.7$ ../2_bin.sh 
Please type "yes" if you accept the terms of the license
yes
type "sudo make install" to install
rm -f /usr/bin/makemkvcon
rm -f /usr/bin/mmdtsdec
rm -f /usr/share/MakeMKV/*
install -d /usr/share/MakeMKV
install -d /usr/bin
install -t /usr/bin bin/amd64/makemkvcon
install -m 644 -t /usr/share/MakeMKV src/share/appdata.tar
install -m 644 -t /usr/share/MakeMKV src/share/blues.jar
install -m 644 -t /usr/share/MakeMKV src/share/blues.policy
cd /usr/bin && ln -s -f makemkvcon sdftool

MrPenguin
Posts: 473
Joined: Thu Oct 19, 2023 11:31 pm

Re: 1.17.7 build errors on Linux Mint 21.3

Post by MrPenguin »

Perhaps your installation of OpenSSL is too old? Fedora 40 uses OpenSSL 3.2.1, which works fine with MakeMKV.
MakOwner
Posts: 68
Joined: Sat Apr 02, 2011 5:26 am

Re: 1.17.7 build errors on Linux Mint 21.3

Post by MakOwner »

I'm on :
openssl 3.0.2-0ubuntu1.15
MrPenguin
Posts: 473
Joined: Thu Oct 19, 2023 11:31 pm

Re: 1.17.7 build errors on Linux Mint 21.3

Post by MrPenguin »

Has the build actually failed? Or are you just seeing warnings?

I have tried rebuilding my MakeMKV 1.17.7 installation and am also seeing these warnings, but MakeMKV still works when I install it.

Note that MakeMKV 1.17.7 is exactly the same as MakeMKV 1.17.6, so there's no reason for 1.17.7 not to work if 1.17.6 does.
Last edited by MrPenguin on Tue May 21, 2024 8:37 pm, edited 1 time in total.
MakOwner
Posts: 68
Joined: Sat Apr 02, 2011 5:26 am

Re: 1.17.7 build errors on Linux Mint 21.3

Post by MakOwner »

It appeared to create the necessary binaries ...

Went all the way back to 1.17.3 and the same errors do not appear, but other errors do:
Are these of concern?

Code: Select all

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/usr/include/x86_64-linux-gnu -fPIC libffabi/src/ffabi.c
libffabi/src/ffabi.c: In function ‘ffm_audio_decode_put_data’:
libffabi/src/ffabi.c:334:9: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
  334 |         av_init_packet(&avpkt);
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/bsf.h:30,
                 from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:44,
                 from libffabi/src/ffabi.c:22:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:488:6: note: declared here
  488 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_init’:
libffabi/src/ffabi.c:427:5: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
  427 |     av_init_packet(&ctx->pck);
      |     ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/bsf.h:30,
                 from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:44,
                 from libffabi/src/ffabi.c:22:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:488:6: note: declared here
  488 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
mkdir -p tmp/libffabi/src/

MrPenguin
Posts: 473
Joined: Thu Oct 19, 2023 11:31 pm

Re: 1.17.7 build errors on Linux Mint 21.3

Post by MrPenguin »

These are different warnings that relate for FFMpeg. Fedora 40 is using FFMpeg 6.1.1, which works with MakeMKV.

I wouldn't bother with MakeMKV 1.17.3 - it is over a year old and has obviously been superseded.
MrPenguin
Posts: 473
Joined: Thu Oct 19, 2023 11:31 pm

Re: 1.17.7 build errors on Linux Mint 21.3

Post by MrPenguin »

MakOwner wrote:
Tue May 21, 2024 5:59 pm
As you can imagine I can't open BluRays after installling this version.
What exactly is the problem you are seeing, because I cannot see an actual build error?

Are you aware that MakeMKV on Linux needs read/write access to "SCSI generic" device nodes?

Code: Select all

$ ls -als /dev/sg1
0 crw-rw----+ 1 root cdrom 21, 1 May 21 22:11 /dev/sg1
My user account belongs to the cdrom group, and this node is associated with optical drive device node /dev/sr0.
flojo
Posts: 82
Joined: Thu Jun 22, 2023 4:27 am
Location: El Paso

Re: 1.17.7 build errors on Linux Mint 21.3

Post by flojo »

MakOwner wrote:
Tue May 21, 2024 8:30 pm
Are these of concern?
No. Deprecation warnings almost never interfere with anything. Notice that the word "error" is no where in that text. Reading these type of logs is something you'll have to get used to when you build your own.
Post Reply