[MPlayer-dvb] fc3 compile fails with --enable-dvbhead

Esperanza Glass esperanza at comic.com
Thu Mar 10 09:05:05 CET 2005


I've been whining to the mplayer users list, but I think now that the 
problem is dvb related. I'm using fc3, with custom 2.6.10 kernel and 
new CVS mplayer. When I make

./configure --enable-dxr3 --with-dvbincdir=/usr/src/linux/include 
--with-xvidlibdir=/usr/lib/libxvidcore.a

and then make, the compile fails with:

make[1]: Entering directory `/root/main/libmpdemux'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 
-march=athlon-tbird -mtune=athlon-tbird -pipe -ffast-math 
-fomit-frame-pointer -D_REENTRANT -D_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


If I'm not using the --enable-dvbhead option the compile goes fine. 
What might be wrong? As you can see, I'm using the kernel dvb-modules.

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




More information about the MPlayer-dvb mailing list