[MPlayer-users] Mplayer compile problem with fedora 3

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Wed Mar 9 01:00:24 CET 2005


On Tuesday, 08 March 2005 at 15:30, Esperanza Glass wrote:
> I've been having problems to get mplayer CVS and Mplayer-1.0pre5
> compiled. I have tried to follow instructions given for example here:
> 
> http://www.mjmwired.net/resources/mplayer-fedora.shtml

This guide has at least one error and several bad recommendations.
Anyway, I wouldn't recommend make install'ing from source if you
can have an RPM. See the official site for Fedora RPMs.

> and I know that compiling mplayer for fc3 box shouldn't be a problem.

And it's not. Though I haven't checked recently, I've never had any
problems.

> In fact I have done it myself many times before. Now after I run
> ./compile

And what is this "./compile", pray tell?

> and after that make I will get this error message:
> 
> LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.. -I../loader   -I../libavcodec -I../libavformat   -I/usr/src/linux/include -o stream_vcd.o stream_vcd.c
> In file included from /usr/src/linux/include/asm/byteorder.h:57,
>                  from /usr/src/linux/include/linux/cdrom.h:14,
>                  from vcd_read.h:7,
>                  from stream_vcd.c:25:
> /usr/src/linux/include/linux/byteorder/little_endian.h:43: error: syntax error before "__cpu_to_le64p"
[...]
> make[1]: *** [stream_vcd.o] Error 1
> make[1]: Leaving directory `/root/main/libmpdemux'
> make: *** [libmpdemux/libmpdemux.a] Error 2
> 
> I'm using updated FC3 distribution. Is the problem with the compiler,
> kernel-header files or what? Thanks for your help,

I'd guess you have a symlink to /usr/src/linux/include in
/usr/include/linux, which is very bad, because it should contain
the headers your glibc was compiled with:
$ ls -ld /usr/include/linux
drwxr-xr-x  12 root root 12288 Jul  4  2004 /usr/include/linux
$ rpm -qf /usr/include/linux
glibc-kernheaders-2.4-8.36

You should have glibc-kernheaders package installed properly instead
(and if you don't, you have a broken system).

Regards,
R.

-- 
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-users mailing list