www.makemkv.com

MakeMKV support forum
It is currently Sun Jul 15, 2018 7:17 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: compile issue
PostPosted: Wed Jul 11, 2018 3:44 pm 
Offline

Joined: Fri Jan 28, 2011 4:53 pm
Posts: 3
ibabi/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:
/usr/include/dirent.h:201:12: note: declared here
extern int readdir64_r (DIR *__restrict __dirp,
^~~~~~~~~~~
libffabi/src/ffabi.c: In function ‘ffm_init’:
libffabi/src/ffabi.c:152:5: warning: ‘avcodec_register_all’ is deprecated [-Wdeprecated-declarations]
avcodec_register_all();
^~~~~~~~~~~~~~~~~~~~
In file included from libffabi/src/ffabi.c:22:
/usr/include/ffmpeg/libavcodec/avcodec.h:4086:6: note: declared here
void avcodec_register_all(void);
^~~~~~~~~~~~~~~~~~~~
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_init’:
libffabi/src/ffabi.c:520:30: error: ‘CODEC_FLAG_GLOBAL_HEADER’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_GLOBAL_HEADER’?
ctx->avctx->flags |= CODEC_FLAG_GLOBAL_HEADER;
^~~~~~~~~~~~~~~~~~~~~~~~
AV_CODEC_FLAG_GLOBAL_HEADER
libffabi/src/ffabi.c:520:30: note: each undeclared identifier is reported only once for each function it appears in
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_get_info’:
libffabi/src/ffabi.c:721:28: error: ‘CODEC_FLAG_GLOBAL_HEADER’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_GLOBAL_HEADER’?
if ((ctx->avctx->flags&CODEC_FLAG_GLOBAL_HEADER)!=0)
^~~~~~~~~~~~~~~~~~~~~~~~
AV_CODEC_FLAG_GLOBAL_HEADER
make: *** [Makefile:75: out/libmakemkv.so.1.full] Error 1

[root@neo makemkv-bin-1.12.2]# more /etc/redhat-release
Fedora release 28 (Twenty Eight)
[root@neo makemkv-bin-1.12.2]# rpm -qa |grep ffmpeg
ffmpeg-devel-4.0-1.fc28.x86_64
ffmpeg-4.0-1.fc28.x86_64
compat-ffmpeg28-2.8.14-2.fc28.x86_64
ffmpeg-libs-4.0-1.fc28.x86_64

Let me know what info you need or what i should try.


Top
 Profile  
Reply with quote  
 Post subject: Re: compile issue
PostPosted: Thu Jul 12, 2018 5:23 pm 
Offline

Joined: Wed Jun 20, 2018 9:52 pm
Posts: 3
Your version of ffmpeg is too new. Current MakeMKV requires ffmpeg v3.x. ffmpeg 4 can be made to work with the attached patch. But I can't guarantee that there are not other less obvious incompatibilities. I've not done much testing.


Attachments:
File comment: ffmpeg CODEC_FLAG_GLOBAL_HEADER patch
codec-flag.txt [830 Bytes]
Downloaded 8 times
Top
 Profile  
Reply with quote  
 Post subject: Re: compile issue
PostPosted: Fri Jul 13, 2018 9:44 pm 
Offline

Joined: Fri Jan 28, 2011 4:53 pm
Posts: 3
yeah I made those changes to get it to compile but still get these

/usr/bin/makemkvcon: /lib64/libavutil.so.55: version `LIBAVUTIL_55' not found (required by /lib/libmakemkv.so.1)
/usr/bin/makemkvcon: /lib64/libavcodec.so.57: version `LIBAVCODEC_57' not found (required by /lib/libmakemkv.so.1)

I tried linking to new versions but no go.

I guess Ill just wait till everyone catches up.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group