[MPlayer-users] error with little_endian.h

jerry zhao zhj.zhao at gmail.com
Fri Jul 13 19:16:06 CEST 2007


Hello,
I compiled the mplayer on Suse linux. There are some errors. I have searched
the mail list. But there is no answer.
Could anyone give me some advice? Thanks.
Jerry
==================================================================================
make[1]: Entering directory `/home/zhao/live/MPlayer-1.0rc1/stream'
cc -c -I.. -I../loader  -Wdeclaration-after-statement -fno-PIC -O4
-march=pentium4 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -I/usr/include/directfb -I/usr/X11/include
-I/opt/kde3/include/artsc -pthread
-I/opt/gnome/include/glib-2.0-I/opt/gnome/lib/glib-
2.0/include  -I/usr/include/freetype2 -o stream_cddb.o stream_cddb.c
In file included from /usr/include/asm/byteorder.h:57,
                 from /usr/include/linux/cdrom.h:14,
                 from stream_cddb.c:43:
/usr/include/linux/byteorder/little_endian.h:43: error: syntax error before
'__cpu_to_le64p'
/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_le64p':
/usr/include/linux/byteorder/little_endian.h:45: error: '__le64' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h:45: error: (Each undeclared
identifier is reported only once
/usr/include/linux/byteorder/little_endian.h:45: error: for each function it
appears in.)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:47: error: syntax error before
'*' token
/usr/include/linux/byteorder/little_endian.h: In function '__le64_to_cpup':
/usr/include/linux/byteorder/little_endian.h:49: error: 'p' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:51: error: syntax error before
'__cpu_to_le32p'
/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_le32p':
/usr/include/linux/byteorder/little_endian.h:53: error: '__le32' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:55: error: syntax error before
'*' token
/usr/include/linux/byteorder/little_endian.h: In function '__le32_to_cpup':
/usr/include/linux/byteorder/little_endian.h:57: error: 'p' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:59: error: syntax error before
'__cpu_to_le16p'
/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_le16p':
/usr/include/linux/byteorder/little_endian.h:61: error: '__le16' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:63: error: syntax error before
'*' token
/usr/include/linux/byteorder/little_endian.h: In function '__le16_to_cpup':
/usr/include/linux/byteorder/little_endian.h:65: error: 'p' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:67: error: syntax error before
'__cpu_to_be64p'
/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_be64p':
/usr/include/linux/byteorder/little_endian.h:69: error: '__be64' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h:69: error: syntax error before
'__swab64p'
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:71: error: syntax error before
'*' token
/usr/include/linux/byteorder/little_endian.h: In function '__be64_to_cpup':
/usr/include/linux/byteorder/little_endian.h:73: error: 'p' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:75: error: syntax error before
'__cpu_to_be32p'
/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_be32p':
/usr/include/linux/byteorder/little_endian.h:77: error: '__be32' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h:77: error: syntax error before
'__swab32p'
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:79: error: syntax error before
'*' token
/usr/include/linux/byteorder/little_endian.h: In function '__be32_to_cpup':
/usr/include/linux/byteorder/little_endian.h:81: error: 'p' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:83: error: syntax error before
'__cpu_to_be16p'
/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_be16p':
/usr/include/linux/byteorder/little_endian.h:85: error: '__be16' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h:85: error: syntax error before
'__swab16p'
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:87: error: syntax error before
'*' token
/usr/include/linux/byteorder/little_endian.h: In function '__be16_to_cpup':
/usr/include/linux/byteorder/little_endian.h:89: error: 'p' undeclared
(first use in this function)



More information about the MPlayer-users mailing list