[MPlayer-users] Problems with compiling rc3 and CVS
Timofey Sleptsov
tim_sleptsov at fromru.com
Sun Jan 26 09:10:12 CET 2003
On Sat, Jan 25, 2003 at 10:07:32PM +0100, Pawel J. Maczewski wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi,
> I tried to compile two versions of mplayer with mencoder: 0.90rc3 and
> CVS. The ./configure script goes well, sets a propper vars, then I type
> make, and the compilation goes well. I get the mplayer program, but there
> is a problem with mencoder. The make command gives me such an output:
>
> gcc -c -O4 -march=athlon -mcpu=athlon -pipe -ffast-math
> -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo
> -I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/SDL
> -D_REENTRANT -o mencoder.o mencoder.c
> mencoder.c: In function `main':
> mencoder.c:397: warning: passing arg 2 of `m_config_register_options' from
> incompatible pointer type
> mencoder.c: In function `lame_presets_set':
> mencoder.c:1432: `MEDIUM_FAST' undeclared (first use in this function)
> mencoder.c:1432: (Each undeclared identifier is reported only once
> mencoder.c:1432: for each function it appears in.)
> mencoder.c:1434: `MEDIUM' undeclared (first use in this function)
> make: *** [mencoder.o] Error 1
>
> I have a gcc-3.2 but tried also with gcc-2.95 and the result was the
> same. Could anybody tell me what's wrong with me? ;)
You have old version of libmp3lame. You have two way to fix it.
1) Upgrade libmp3lame to 3.93 version
2) Comment lines from 1426 to 1436 in mencoder.c
--
"I wonder", he said to himself, "what's in a book while it's closed. Oh, I
know it's full of letters printed on paper, but all the same, something must
be happening, because as soon as I open it, there's a whole story with people
I don't know yet and all kinds of adventures and battles."
-- Bastian B. Bux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030126/2a9f4cb8/attachment.pgp>
More information about the MPlayer-users
mailing list