Make errors Open Suse 12.3

The place to discuss linux version of MakeMKV
Post Reply
Goobaroo
Posts: 4
Joined: Sun Feb 24, 2013 5:27 am

Make errors Open Suse 12.3

Post by Goobaroo » Sat Nov 16, 2013 3:29 pm

I get the following errors running the oss make. Never had a build problem before.

Code: Select all

libffabi/src/ffabi.c:95:23: error: return type is an incomplete type
libffabi/src/ffabi.c: In function ‘translate_codec_id’:
libffabi/src/ffabi.c:97:20: error: storage size of ‘r’ isn’t known
libffabi/src/ffabi.c:100:33: error: ‘AV_CODEC_ID_AC3’ undeclared (first use in this function)
libffabi/src/ffabi.c:100:33: note: each undeclared identifier is reported only once for each function it appears in
libffabi/src/ffabi.c:101:33: error: ‘AV_CODEC_ID_DTS’ undeclared (first use in this function)
libffabi/src/ffabi.c:102:34: error: ‘AV_CODEC_ID_FLAC’ undeclared (first use in this function)
libffabi/src/ffabi.c:103:33: error: ‘AV_CODEC_ID_MLP’ undeclared (first use in this function)
libffabi/src/ffabi.c:104:36: error: ‘AV_CODEC_ID_TRUEHD’ undeclared (first use in this function)
libffabi/src/ffabi.c:105:17: error: ‘AV_CODEC_ID_NONE’ undeclared (first use in this function)
libffabi/src/ffabi.c:107:5: warning: ‘return’ with a value, in function returning void [enabled by default]
libffabi/src/ffabi.c: In function ‘ffm_audio_decode_init’:
libffabi/src/ffabi.c:151:5: error: invalid use of void expression
libffabi/src/ffabi.c:166:15: error: ‘AVCodecContext’ has no member named ‘refcounted_frames’
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_init’:
libffabi/src/ffabi.c:309:5: error: invalid use of void expression
libffabi/src/ffabi.c:321:15: error: ‘AVCodecContext’ has no member named ‘refcounted_frames’
libffabi/src/ffabi.c: In function ‘ffm_audio_check_codec_format’:
libffabi/src/ffabi.c:442:9: error: invalid use of void expression
libffabi/src/ffabi.c:444:9: error: invalid use of void expression
libffabi/src/ffabi.c: In function ‘ffm_mlp_read_syncframe’:
libffabi/src/ffabi.c:478:34: error: ‘AV_CODEC_ID_MLP’ undeclared (first use in this function)
make: *** [out/libmakemkv.so.1.full] Error 1

gvfarns
Posts: 1
Joined: Mon Dec 02, 2013 10:57 pm

Re: Make errors Open Suse 12.3

Post by gvfarns » Mon Dec 02, 2013 11:03 pm

I'm having the same problem (at least, the ffm_audio_encode_init one) with Fedora 19. I tried installing libav by hand from sources in case Fedora's libffmpeg was out of date but had the same problem.

Code: Select all

libffabi/src/ffabi.c:166:15: error: ‘AVCodecContext’ has no member named ‘refcounted_frames’
     ctx->avctx->refcounted_frames = 1;
               ^
libffabi/src/ffabi.c: In function ‘ffm_audio_encode_init’:
libffabi/src/ffabi.c:300:9: warning: assignment makes pointer from integer without a cast [enabled by default]
     ctx = av_mallocz(sizeof(FFM_AudioEncodeContext));
         ^
libffabi/src/ffabi.c:321:15: error: ‘AVCodecContext’ has no member named ‘refcounted_frames’
     ctx->avctx->refcounted_frames = 1;
               ^
make: *** [out/libmakemkv.so.1.full] Error 1
Edit: Probably addressed by the solution in this thread: http://www.makemkv.com/forum2/viewtopic.php?f=3&t=7252

Woodstock
Posts: 10312
Joined: Sun Jul 24, 2011 11:21 pm

Re: Make errors Open Suse 12.3

Post by Woodstock » Tue Dec 03, 2013 5:39 am

Did you try the workaround posted as a "sticky" message here?

Post Reply