[MPlayer-dvb] fc3 compile fails with --enable-dvbhead
Nico Sabbi
nsabbi at tiscali.it
Thu Mar 10 10:11:27 CET 2005
Esperanza Glass wrote:
>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
>
>
dvb header ( dvb/*.h ) files should be installed in /usr/include/linux/dvb/
if they are not your kernel headers installation is broken, that is
nothing new
for many distributions.
>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':
>
>
[snip]
>/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
>
>
did you read this? it failt compiling stream_vcd.c, not any of the dvb
files.
I suspect some of the header files included in the sources dir
you specified are incompatible with stream_vcd.h.
I can advise you to follow these steps:
1) verify if /usr/include/linux/dvb/*.h exist
2) otherwise cp -a /usr/src/linux/include/linux/dvb /usr/include/linux/
now dvb will be compiled in mplayer
3) recompile without specifying --with-dvbincdir
4) report :)
>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
>
>
Nico
More information about the MPlayer-dvb
mailing list