[MPlayer-users] Error compiling mencode with lame 3.93.1

Marcos Aurelio Lenharo lenharo at gmx.net
Sat Jan 25 22:45:54 CET 2003


Hi all,

I'm trying to compile the last CVS version of mplayer (2003-01-25) and
I'm having the following error message:

gcc-3.1 -c -Wall -Wno-unused-variable -Wno-unused-function
-Wno-unused-label -Wno-uninitialized -Wno-multichar -O3 -march=athlon
-fomit-frame-pointer -funroll-loops -fforce-mem -fforce-addr
-finline-functions -fomit-frame-pointer -ffast-math -finline-functions
-frename-registers -pipe -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo 
-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:740: warning: long int format, DWORD arg (arg 4)
mencoder.c:740: warning: long int format, DWORD arg (arg 6)
mencoder.c:740: warning: long int format, DWORD arg (arg 7)
mencoder.c:1267: warning: long int format, DWORD arg (arg 2)
mencoder.c: In function `lame_presets_set':
mencoder.c:1432: warning: implicit declaration of function
`lame_set_preset'
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)
mencoder.c:1443: `STANDARD_FAST' undeclared (first use in this function)
mencoder.c:1445: `STANDARD' undeclared (first use in this function)
mencoder.c:1453: `EXTREME_FAST' undeclared (first use in this function)
mencoder.c:1455: `EXTREME' undeclared (first use in this function)
mencoder.c:1463: `INSANE' undeclared (first use in this function)
make: *** [mencoder.o] Error 1

I'm using lame 3.93.1 and gcc 3.1. I tried with lame 3.92 and the
'undeclared' errors begun at mencoder.c:1443: 'STANDARD_FAST'
undeclared...
The file /usr/include/lame/lame.h defined the function `lame_set_preset'
and the enum preset_mode with all "undeclared constants".

Any ideas?

Thanks


-- 
Marcos Aurelio Lenharo
ICQ #122749321   
GPG Key Available.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 283 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030125/8e7baf79/attachment.pgp>


More information about the MPlayer-users mailing list