Code: Select all
makemkv-oss-1.10.5]$ make
mkdir -p out
gcc -march=znver1 -O2 -pipe -fstack-protector-strong -D_linux_ -m64 -Wl,-O1,--sort-common,--as-needed,-z,relro -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 libdriveio/src/drives/pioneer.cpp libdriveio/src/drives/xboxhddvd.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-pc-linux-gnu\"" >> tmp/gen_buildinfo.h
echo "#define BUILDINFO_BUILD_DATE \"Sun Apr 23 13:09:04 EDT 2017\"" >> tmp/gen_buildinfo.h
mkdir -p out
gcc -march=znver1 -O2 -pipe -fstack-protector-strong -D_linux_ -m64 -Wl,-O1,--sort-common,--as-needed,-z,relro -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 -DDCA_LOG -DDCA_FFMALLOC 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 \
libabi/src/ossl_aes.c libabi/src/ossl_sha.c libabi/src/ossl_ec.c libabi/src/zlib.c libabi/src/xpat.c libabi/src/libm.c libabi/src/httplinux.cpp makemkvgui/src/api_linux.cpp libabi/src/sys_linux.c makemkvgui/src/spawn_posix.cpp libffabi/src/ffabi.c libffabi/src/mlp.c libffabi/src/log.c libffabi/src/audio_convert.c libffabi/src/audio_mix.c libffabi/src/audio_mix_matrix.c libffabi/src/dcadec/bitstream.cpp libffabi/src/dcadec/core_decoder.cpp libffabi/src/dcadec/dca_context.cpp libffabi/src/dcadec/dmix_tables.cpp libffabi/src/dcadec/exss_parser.cpp libffabi/src/dcadec/idct_fixed.cpp libffabi/src/dcadec/interpolator.cpp libffabi/src/dcadec/interpolator_fixed.cpp libffabi/src/dcadec/interpolator_float.cpp libffabi/src/dcadec/ta.cpp libffabi/src/dcadec/xll_decoder.cpp libffabi/src/dcadec/idct_float.cpp \
-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 -lvpx -lm -lvpx -lm -lvpx -lm -lvpx -lm -pthread -lm -lsnappy -lz -lfdk-aac -lgsm -lilbc -lmp3lame -lopenjpeg -lopus -lschroedinger-1.0 -lspeex -ltheoraenc -ltheoradec -logg -lvpx -lm -lwavpack -lwebp -lx264 -lx265 -lxvidcore -lopenh264 -lkvazaar -lavresample -lm -lavutil -lm -pthread -lvdpau -lX11 -lrt -lm -lrt
libabi/src/sys_linux.c: In function ‘SYS_readdir’:
libabi/src/sys_linux.c:80:5: warning: ‘readdir64_r’ is deprecated [-Wdeprecated-declarations]
err = readdir64_r(dirp,&data.ent,&pent);
^~~
In file included from libabi/src/sys_linux.c:25:0:
/usr/include/dirent.h:201:12: note: declared here
extern int readdir64_r (DIR *__restrict __dirp,
^~~~~~~~~~~
libffabi/src/ffabi.c: In function ‘ffm_audio_decode_init’:
libffabi/src/ffabi.c:175:5: warning: ‘refcounted_frames’ is deprecated [-Wdeprecated-declarations]
ctx->avctx->refcounted_frames = 1;
^~~
In file included from libffabi/src/ffabi.c:22:0:
/usr/include/libavcodec/avcodec.h:1997:30: note: declared here
attribute_deprecated int refcounted_frames;
^~~~~~~~~~~~~~~~~
libffabi/src/ffabi.c: In function ‘ffm_audio_decode_put_data’:
libffabi/src/ffabi.c:242:5: warning: ‘avcodec_decode_audio4’ is deprecated [-Wdeprecated-declarations]
r = avcodec_decode_audio4(ctx->avctx,ctx->frame,&ctx->have_frame,&avpkt);
^
In file included from libffabi/src/ffabi.c:22:0:
/usr/include/libavcodec/avcodec.h:3770:5: note: declared here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
^~~~~~~~~~~~~~~~~~~~~
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_init’:
libffabi/src/ffabi.c:333:5: warning: ‘refcounted_frames’ is deprecated [-Wdeprecated-declarations]
ctx->avctx->refcounted_frames = 1;
^~~
In file included from libffabi/src/ffabi.c:22:0:
/usr/include/libavcodec/avcodec.h:1997:30: note: declared here
attribute_deprecated int refcounted_frames;
^~~~~~~~~~~~~~~~~
libffabi/src/ffabi.c:348:30: error: ‘CODEC_FLAG_GLOBAL_HEADER’ undeclared (first use in this function)
ctx->avctx->flags |= CODEC_FLAG_GLOBAL_HEADER;
^~~~~~~~~~~~~~~~~~~~~~~~
libffabi/src/ffabi.c:348:30: note: each undeclared identifier is reported only once for each function it appears in
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_close’:
libffabi/src/ffabi.c:377:5: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
av_free_packet(&ctx->pck);
^~~~~~~~~~~~~~
In file included from libffabi/src/ffabi.c:22:0:
/usr/include/libavcodec/avcodec.h:3542:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_put_frame’:
libffabi/src/ffabi.c:398:5: warning: ‘av_free_packet’ is deprecated [-Wdeprecated-declarations]
av_free_packet(&ctx->pck);
^~~~~~~~~~~~~~
In file included from libffabi/src/ffabi.c:22:0:
/usr/include/libavcodec/avcodec.h:3542:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
libffabi/src/ffabi.c:429:46: error: ‘CODEC_CAP_DELAY’ undeclared (first use in this function)
if ((ctx->avctx->codec->capabilities&CODEC_CAP_DELAY)==0) {
^~~~~~~~~~~~~~~
libffabi/src/ffabi.c:434:5: warning: ‘avcodec_encode_audio2’ is deprecated [-Wdeprecated-declarations]
return avcodec_encode_audio2(ctx->avctx,&ctx->pck,frame,&ctx->have_packet);
^~~~~~
In file included from libffabi/src/ffabi.c:22:0:
/usr/include/libavcodec/avcodec.h:4282:5: note: declared here
int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
^~~~~~~~~~~~~~~~~~~~~
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_get_info’:
libffabi/src/ffabi.c:454:28: error: ‘CODEC_FLAG_GLOBAL_HEADER’ undeclared (first use in this function)
if ((ctx->avctx->flags&CODEC_FLAG_GLOBAL_HEADER)!=0)
^~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:75: out/libmakemkv.so.1.full] Error 1
Code: Select all
$ cat /lib/pkgconfig/libavcodec.pc
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include
Name: libavcodec
Description: Libav codec library
Version: 58.2.0
Requires: libavresample >= 4.0.0, libavutil >= 56.0.0
Requires.private:
Conflicts:
Libs: -L${libdir} -lavcodec -lvpx -lm -lvpx -lm -lvpx -lm -lvpx -lm -pthread -lm -lsnappy -lz -lfdk-aac -lgsm -lilbc -lmp3lame -lopenjpeg -lopus -lschroedinger-1.0 -lspeex -ltheoraenc -ltheoradec -logg -lvpx -lm -lwavpack -lwebp -lx264 -lx265 -lxvidcore -lopenh264 -lkvazaar
Libs.private:
Cflags: -I${includedir}