The answer came from BLFS
, according to
this page, libmng-2.0.2 does not link properly with libjpeg-turbo. You have to add a missing header file. BLFS does this with a sed command.
This is why MPlayer in current does not detect libmng and if you add "--enable-mng" to force MPlayer to link with, the build fails like this:
Code:
In file included from /usr/include/libmng_types.h:207:0,
from /usr/include/libmng.h:386,
from libvo/vo_mng.c:38:
/usr/include/jpeglib.h:914:53: error: unknown type name 'FILE'
EXTERN(void) jpeg_stdio_dest (j_compress_ptr cinfo, FILE * outfile);
^
/usr/include/jpeglib.h:915:54: error: unknown type name 'FILE'
EXTERN(void) jpeg_stdio_src (j_decompress_ptr cinfo, FILE * infile);
^
make: *** [libvo/vo_mng.o] Erreur 1
I requested help because I was not sure that the problem came from me or from Slackware-current. I usually install MPlayer that I link to ffmpeg as a shared library and my current ffmpeg install includes quite a few of external libraries as well.
The problem will solve by Itself when libmng will be upgraded to libmng-2.0.3, I guess...
Case solved, thanks everyone for reading.