[MPlayer-users] Mplayer compile problem with fedora 3

Esperanza Glass esperanza at comic.com
Tue Mar 8 15:30:40 CET 2005


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

and I know that compiling mplayer for fc3 box shouldn't be a problem. In fact I have done it myself many times before. Now after I run ./compile 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"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_le64p':
/usr/src/linux/include/linux/byteorder/little_endian.h:45: error: `__le64' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:45: error: (Each undeclared identifier is reported only once
/usr/src/linux/include/linux/byteorder/little_endian.h:45: error: for each function it appears in.)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:47: error: syntax error before '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__le64_to_cpup':
/usr/src/linux/include/linux/byteorder/little_endian.h:49: error: `p' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:51: error: syntax error before "__cpu_to_le32p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_le32p':
/usr/src/linux/include/linux/byteorder/little_endian.h:53: error: `__le32' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:55: error: syntax error before '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__le32_to_cpup':
/usr/src/linux/include/linux/byteorder/little_endian.h:57: error: `p' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:59: error: syntax error before "__cpu_to_le16p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_le16p':
/usr/src/linux/include/linux/byteorder/little_endian.h:61: error: `__le16' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:63: error: syntax error before '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__le16_to_cpup':
/usr/src/linux/include/linux/byteorder/little_endian.h:65: error: `p' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:67: error: syntax error before "__cpu_to_be64p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_be64p':
/usr/src/linux/include/linux/byteorder/little_endian.h:69: error: `__be64' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:69: error: syntax error before "__swab64p"
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:71: error: syntax error before '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be64_to_cpup':
/usr/src/linux/include/linux/byteorder/little_endian.h:73: error: `p' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:75: error: syntax error before "__cpu_to_be32p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_be32p':
/usr/src/linux/include/linux/byteorder/little_endian.h:77: error: `__be32' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:77: error: syntax error before "__swab32p"
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:79: error: syntax error before '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be32_to_cpup':
/usr/src/linux/include/linux/byteorder/little_endian.h:81: error: `p' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:83: error: syntax error before "__cpu_to_be16p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_be16p':
/usr/src/linux/include/linux/byteorder/little_endian.h:85: error: `__be16' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:85: error: syntax error before "__swab16p"
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:87: error: syntax error before '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be16_to_cpup':
/usr/src/linux/include/linux/byteorder/little_endian.h:89: error: `p' undeclared (first use in this function)
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,

hopey

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm




More information about the MPlayer-users mailing list