[MPlayer-users] mencoder compile error

Ramsey, Mike Mike_Ramsey at NAI.com
Wed Nov 21 20:21:06 CET 2001


I believe it is in DIVX4 

> -----Original Message-----
> From: Rajesh Fowkar [mailto:hsejar at gmx.co.uk]
> Sent: Wednesday, November 21, 2001 6:37 PM
> To: Mplayer Mailing List
> Subject: [MPlayer-users] mencoder compile error
> 
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html &
>  http://gcc.gnu.org/gcc-2.96.html if you still have questions or problems]
> 
> 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
> --------------------------------------------------------------------------
> 
> 
> From the error it looks as if some encore2.h is missing. Which package
> contains this file ? What else I need to compile mencoder ?
> 
> I have went through the docs. You guys have done a commendable job as far
> as docs are concerned. Kudos.....
> 
> Thanks in advance.
> 
> Peace
> 
> --
> Rajesh
> http://www.symonds.net/~rajesh/    *****  Powered By: Debian GNU/Linux
> 					              Kernel 2.4.14(ext3)
> :
> [Linux One Stanza Tip]	From : <rfowkar at yahoo.com>
> LOST #077	 -**< Sub : Fetchmail FAQ >**-
> Here is a nice fetchmail FAQ :
> http://www.tuxedo.org/~esr/fetchmail/fetchmail-faq.html
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users



More information about the MPlayer-users mailing list