[MPlayer-users] Mplayer doesn't compile

Alberto Vecchiato vecchiato at to.astro.it
Fri Feb 27 14:54:38 CET 2004


On Fri, 27 Feb 2004, Georgi Georgiev wrote:

> maillog: 27/02/2004-10:46:06(+0100): Alberto Vecchiato types
> > I hope this is the right list to write to.  If not I apologize for the
> > OT.
> >
> > I downloaded the sources of the MPlayer-1.0pre3 version, along with a
> > bunch of codecs and fonts, and tried to compile it.
> >
> > However, the compilation ends after a while with the following errors:
> >
> > [...]
> > ET_BITS=64  -I. -Inative -I.. -I../libmpdemux -I../loader  -D_GNU_SOURCE
> > -I../libmpflac -o vd_mpegpes.o vd_mpegpes.c
> > cc -c -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math
> > -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
> > -D_FILE_OFFSET_BITS=64  -I. -Inative -I.. -I../libmpdemux -I../loader
> > -D_GNU_SOURCE -I../libmpflac -o vd_lcl.o vd_lcl.c
> > vd_lcl.c: In function `init':
> > vd_lcl.c:222: `Z_NO_COMPRESSION' undeclared (first use in this function)
> > vd_lcl.c:222: (Each undeclared identifier is reported only once
> > vd_lcl.c:222: for each function it appears in.)
> > vd_lcl.c:222: `Z_BEST_COMPRESSION' undeclared (first use in this function)
> > make[1]: *** [vd_lcl.o] Error 1
> > make[1]: Leaving directory
> > `/home/vecchiato/Download/Mplayer/MPlayer-1.0pre3/libmpcodecs'
> > make: *** [libmpcodecs/libmpcodecs.a] Error 2
> >
> > I'm using SUSe 8.1 on a P4 2.4GHz with a Matrox G450.  My compiler is gcc
> > 3.2 and the binutils versione is 2.12.90, so it seems to me that all the
> > minimum requirements are met.  Can someone help me?
>
> There was this thing about asking the right question:
> http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-answers.html
>
> The answer to your question is "yes, somebody can help you".
>
> Enough being an ass.
>
> Try installing the linux-headers package for your system.
>
> --
> /\   Georgi Georgiev   /\ Row, row, row your bits, gently down the     /\
> \/    chutz at gg3.net    \/ stream...                                    \/
> /\  +81(90)6266-1163   /\                                              /\
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
Well, thank you for the advice.  Unfortunately, I don't know what is the
linux-headers package for my system.  I didn't find anything with a
similar name.  I tried with the kernel-source package but it didn't work.

However, I succeced in compiling mplayer 0.92, even if it doesn't work too
well.  Apparently mplayer starts playing, but I cannot see any image on
the screen.

As a final remark, I also succeded in compiling version 0.60 (and it also
did work) with the same system about one year ago.

Thank you anyway.

Alberto

PS: I also checked the file vd_lcl.c between the two versions, and found
    that those two constants Z_NO_COMPRESSION and Z_BEST_COMPRESSION does
    not appear in the 0.92 version.




More information about the MPlayer-users mailing list