[MPlayer-users] mencoder compile error

Rajesh Fowkar hsejar at gmx.co.uk
Thu Nov 22 01:37:29 CET 2001


Hi,

I just compiled the latest cvs of mplayer after copying libavcodec. (from
cvs of ffmpeg ). Everything went on smoothly.

However when I try to compile mencoder I get the following error :

--------------------------------------------------------------------------
<SNIP>
mencoder.c:38: encore2.h: No such file or directory
In file included from mencoder.c:41:
/usr/local/include/lame/lame.h:37: warning: `CDECL' redefined
loader/wine/windef.h:134: warning: this is the location of the previous
definition
mencoder.c:105: parse error before `divx4_param'
mencoder.c:105: warning: data definition has no type or storage class
In file included from mencoder.c:128:
cfg-mencoder.h:15: request for member `bitrate' in something not a
structure or union
cfg-mencoder.h:15: initializer element is not constant
cfg-mencoder.h:15: (near initialization for `divx4opts_conf[0].p')
cfg-mencoder.h:15: initializer element is not constant
cfg-mencoder.h:15: (near initialization for `divx4opts_conf[0]')
cfg-mencoder.h:16: request for member `rc_period' in something not a
structure or union
cfg-mencoder.h:16: initializer element is not constant
cfg-mencoder.h:16: (near initialization for `divx4opts_conf[1].p')
<SNIP>

<SNIP>
mencoder.c: In function `main':
mencoder.c:246: `ENC_FRAME' undeclared (first use in this function)
mencoder.c:246: (Each undeclared identifier is reported only once
mencoder.c:246: for each function it appears in.)
mencoder.c:246: parse error before `enc_frame'
mencoder.c:247: `ENC_RESULT' undeclared (first use in this function)
mencoder.c:276: request for member `min_quantizer' in something not a
structure or union
mencoder.c:277: request for member `max_quantizer' in something not a
structure or union
mencoder.c:278: request for member `rc_period' in something not a structure
or union
mencoder.c:279: request for member `rc_reaction_period' in something not a
structure or union
mencoder.c:280: request for member `rc_reaction_ratio' in something not a
structure or union
mencoder.c:528: request for member `x_dim' in something not a structure or
union
mencoder.c:529: request for member `y_dim' in something not a structure or
union
mencoder.c:530: request for member `framerate' in something not a structure
or union
mencoder.c:531: request for member `bitrate' in something not a structure
or union
mencoder.c:531: request for member `bitrate' in something not a structure
or union
mencoder.c:532: request for member `bitrate' in something not a structure
or union
mencoder.c:532: request for member `bitrate' in something not a structure
or union
mencoder.c:533: request for member `quality' in something not a structure
or union
mencoder.c:533: request for member `quality' in something not a structure
or union
mencoder.c:534: request for member `handle' in something not a structure or
union
mencoder.c:535: `ENC_OPT_INIT' undeclared (first use in this function)
mencoder.c:536: request for member `handle' in something not a structure or
union
mencoder.c:538: `enc_frame' undeclared (first use in this function)
mencoder.c:538: `ENC_CSP_YV12' undeclared (first use in this function)
mencoder.c:540: `ENC_CSP_I420' undeclared (first use in this function)
mencoder.c:541: `ENC_CSP_YUY2' undeclared (first use in this function)
mencoder.c:542: `ENC_CSP_UYVY' undeclared (first use in this function)
mencoder.c:545: `ENC_CSP_RGB24' undeclared (first use in this function)
mencoder.c:551: request for member `quality' in something not a structure
or union
mencoder.c:555: request for member `bitrate' in something not a structure
or union
mencoder.c:556: request for member `framerate' in something not a structure
or union
mencoder.c:558: request for member `quality' in something not a structure
or union
mencoder.c:643: warning: passing arg 2 of `lame_encode_buffer_interleaved'
from incompatible pointer type
mencoder.c:657: warning: passing arg 2 of `lame_encode_buffer_interleaved'
from incompatible pointer type
mencoder.c:728: `ENC_OPT_ENCODE_VBR' undeclared (first use in this
function)
mencoder.c:728: `enc_result' undeclared (first use in this function)
mencoder.c:733: `ENC_OPT_ENCODE' undeclared (first use in this function)
make: *** [mencoder.o] Error 1
<SNIP>
--------------------------------------------------------------------------

I have compiled both lame and avifile(from CVS).

--------------------------------------------------------------------------
rajesh at debian:~$ dpkg -l |grep lame
ii  lame           3.89-1         lame - mp3 encoder & libraries runtime
rajesh at debian:~$ dpkg -l |grep avifile
ii  avifile        0.6-1          avifile - player & runtime libraries
--------------------------------------------------------------------------




More information about the MPlayer-users mailing list