[MPlayer-users] mplayer not compiling

Patrick Zwick dylanzwick at hotmail.com
Tue Apr 20 02:56:23 CEST 2004


MPlayer users -

   Hi, I'm a newbie and I've spent many hours over the last two days trying 
to get mplayer working on my computer. Configure seems to work OK, but when 
I type make I get the following error message:

codec-cfg.c:36:25: codecs.conf.h: No such file or directory
codec-cfg.c: In function `parse_codec_cfg':
codec-cfg.c:499: error: `builtin_video_codecs' undeclared (first use in this 
function)
codec-cfg.c:499: error: (Each undeclared identifier is reported only once
codec-cfg.c:499: error: for each function it appears in.)
codec-cfg.c:500: error: `builtin_audio_codecs' undeclared (first use in this 
function)
make: *** [codec-cfg] Error 1

I searched the archives for this errors, and found one posting about what 
looked like a similar error from Mildred Frisco. The response from Armin 
Gerritsen told me to do a number of steps, including the following:

-----------------------------------------------------------------------------------------
(From Armin Gerritsen's response to Mildred Frisco)

5) Our CVS-version has a bug (it is reported several times, but I'm afraid
it is still there), which requires a small fic in the generated Makefile.
Somewhere around line 245 (depends of course on the configure options you
use), you see the 'chapter'


$(PRG_CFG): version.h codec-cfg.c codec-cfg.h

It has a line like this:

$(CC) $(CFLAGS) -g codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML
$(EXTRA_LIB) $(I18NLIBS)


modify it to

gcc $(CFLAGS) -g codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML
$(EXTRA_LIB) $(I18NLIBS)


or whatever is the compiler on your development system (but I asume it is
x86 Linux just like me).
This line creates a tool which during the make-process does 'something'. Of
course if it is created with the crosscompiler, it will fail to run on your
development system.
----------------------------------------------------------------------------------------------

I did this, but I'm still getting the same error when I try and make. 
Anybody know what's going on, and what might be causing this? Any help would 
be greatly appreciated.

Thanks,
Dylan Zwick
pdzwick at stanford.edu
<html><DIV>
<P>---------------------------------------------------------------</P>
<P>"Don't Panic"</P>
<P>-Douglas Adams</P>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></DIV></html>

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.com/go/onm00200415ave/direct/01/




More information about the MPlayer-users mailing list