[MPlayer-users] Compile error

Alexander Strasser eclipse7 at gmx.net
Sun Nov 5 13:13:12 EET 2017


Hi!

On 2017-11-04 15:09 +0900, Masaru Nomiya wrote:
> Sorry, I've forgotten to write that I can compile ffmpeg flawlessly
> almost every day.

Do you have 2 or more versions of OpenJPEG installed?

That would partially explain the behaviour, because MPlayer could only
detect the old version before SVN r38004 which I just committed.

Could you please try again with current MPlayer SVN without
(--disable-libopenjpeg) and report if it works or not?

If it still doesn't work please send the following information:

* config.log
* the output of a repeated execution of make
  - after the build fails initially, please execute make
    (only make without any options) again and take its output

Sorry, I am not yet sure why your build isn't working as expected.

Best regards,
  Alexander

 
> In the Message; 
> 
>   Subject    : Re: [MPlayer-users] Compile error
>   Message-ID : <87bmkkrnog.wl-nomiya at galaxy.dti.ne.jp>
>   Date & Time: Fri, 03 Nov 2017 13:28:15 +0900
> 
> Masaru Nomiya <nomiya at galaxy.dti.ne.jp> has written:
> 
> > Hello,
> 
> > In the Message; 
> 
> >   Subject    : Re: [MPlayer-users] Compile error
> >   Message-ID : <20171103005159.GB9336 at xklotz.local>
> >   Date & Time: Fri, 3 Nov 2017 01:51:59 +0100
> 
> > Alexander Strasser <eclipse7 at gmx.net> has written:
> > > On 2017-11-01 13:03 +0100, Alexander Strasser wrote:
> > > > On 2017-10-29 09:53 +0900, Masaru Nomiya wrote:
> > > > [...]
> > > > > 
> > > > > > Please try again with SVN r37999
> > > > > 
> > > > > I tried, but I got another error;
> > > > 
> > > > I had problems with libopenjpeg too.
> > > > 
> > > > Didn't find time to look into it. If it is acceptable for your
> > > > use cases, you could consider to temporarily build without
> > > > openjpeg by passing --disable-libopenjpeg to configure.
> > > > 
> > > > I will look into the problem as time permits.
> 
> > > Since FFmpeg commit 279dc40716 a higher version of libopenjpeg is
> > > required for the FFmpeg decoder. It needs at least OpenJPEG 2.1 .
> 
> > > Could this be your problem too?
> 
> > No.
> > I've alredy installed OpenJPEG 2.3.
> 
> > And, with --disable-libopenjpeg switch, I got the error;
> 
> > [...]
> > libavfilter/buffersrc.c:322:5: warning: missing initializer for field 'unit' of 'AVOption' [-Wmissing-field-initializers]
> >      { "channels",       NULL, OFFSET(channels),            AV_OPT_TYPE_INT,      { .i64 = 0 }, 0, INT_MAX, A },
> >      ^
> > In file included from libavfilter/buffersrc.c:34:0:
> > ./libavutil/opt.h:298:17: note: 'unit' declared here
> >      const char *unit;
> >                  ^
> > make[1]: *** [ffbuild/common.mak:60: libavutil/buffer.o] Error 1
> > make[1]: Leaving directory '/tmp/tes/mplayer/ffmpeg'
> > make: *** [Makefile:739: ffmpeg/libavutil/libavutil.a] Error 2
> 
> > Myabe, another problem cause the compilation error.


More information about the MPlayer-users mailing list