[MEncoder-users] error compile mplayer

Will lazylionsby at gmail.com
Mon Jun 18 02:27:10 CEST 2007


Try this:

sudo apt-get build-dep mplayer mencoder

That command would install all of the dependency packages required to
compile mplayer & mencoder on a debian system. But you must have the
"deb-src" repository enabled in /etc/apt/source.list.

2007/6/16, Lucas Linard <lucaspglinard at gmail.com>:
>
> Hi,
> I'v been using mplayer to convert avi to mpg files and I just LOVE IT
> however, I'v recently reinstalled Ubuntu and now I can't compile mplayer
> from svn.
> Here's what I do.
> svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
> cd mplayer
> ./configure --enable-gui --codecsdir=/usr/lib/codecs
> I've tried without the --codecsdir also.
> after, I run make
> this error happens:
>
> dsputil.c:3583: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> dsputil.c: In function 'dsputil_init':
> dsputil.c:4141: error: 'ENABLE_MMX' undeclared (first use in this
> function)
> dsputil.c:4141: error: (Each undeclared identifier is reported only once
> dsputil.c:4141: error: for each function it appears in.)
> dsputil.c:4142: error: 'ENABLE_ARMV4L' undeclared (first use in this
> function)
> dsputil.c:4143: error: 'ENABLE_MLIB' undeclared (first use in this
> function)
> dsputil.c:4144: error: 'ENABLE_SPARC' undeclared (first use in this
> function)
> dsputil.c:4145: error: 'ENABLE_ALPHA' undeclared (first use in this
> function)
> dsputil.c:4146: error: 'ENABLE_POWERPC' undeclared (first use in this
> function)
> dsputil.c:4147: error: 'ENABLE_MMI' undeclared (first use in this
> function)
> dsputil.c:4148: error: 'ENABLE_SH4' undeclared (first use in this
> function)
> dsputil.c:4149: error: 'ENABLE_BFIN' undeclared (first use in this
> function)
> make[1]: *** [dsputil.o] Error 1
> make[1]: Leaving directory `/home/lucas/src/mplayer/libavcodec'
> make: ** [libavcodec/libavcodec.a] Erro 2
> Can anyone help me out on this?
> I've already compiled it before, but now this error makes it impossible.
> did I do something wrong??
>
>
> --
> Abraços,
> Lucas PG Linard
>     (\ /)
>    (O.o)
>    (> <)
> Bunny, taking over the world, one signature at a time.
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>


More information about the MEncoder-users mailing list