Hello,
I'm trying to compile and install Mplayer with the --enable-jpeg flag like so:
Code:
./configure --enable-jpeg
The above command succeeds, but for some reason, when I run 'make' to compile it, it's failing. Here's what I get just before it fails:
Code:
vd_ijpg.c:8:21: error: jpeglib.h: No such file or directory
vd_ijpg.c:51: error: field 'pub' has incomplete type
vd_ijpg.c: In function 'METHODDEF':
vd_ijpg.c:58: error: expected declaration specifiers before 'init_source'
vd_ijpg.c:62: error: expected declaration specifiers before 'METHODDEF'
vd_ijpg.c:70: error: expected declaration specifiers before 'METHODDEF'
vd_ijpg.c:86: error: expected declaration specifiers before 'METHODDEF'
vd_ijpg.c:88: error: expected declaration specifiers before 'GLOBAL'
vd_ijpg.c:106: error: field 'pub' has incomplete type
vd_ijpg.c:108: warning: empty declaration
vd_ijpg.c:110: error: storage class specified for parameter 'my_error_ptr'
vd_ijpg.c:112: error: expected declaration specifiers before 'METHODDEF'
vd_ijpg.c:119: error: storage class specified for parameter 'cinfo'
vd_ijpg.c:120: error: storage class specified for parameter 'jerr'
vd_ijpg.c:121: error: storage class specified for parameter 'row_stride'
vd_ijpg.c:122: error: storage class specified for parameter 'temp_row'
vd_ijpg.c:122: error: parameter 'temp_row' is initialized
vd_ijpg.c:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
vd_ijpg.c:211: error: old-style parameter declarations in prototyped function definition
vd_ijpg.c:211: error: expected '{' at end of input
make[1]: *** [vd_ijpg.o] Error 1
make[1]: Leaving directory `/root/MPlayer-1.0rc1/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2
Distro is debian etch. Can anyone tell me why it might be failing? I think it's because "jpeglib.h" is not being found. If this is the problem, what is the solution?
Thanks in advance for any replies!