[MPlayer-dvb] fc3 compile fails with --enable-dvbhead
Nico Sabbi
nsabbi at tiscali.it
Thu Mar 10 12:06:50 CET 2005
Esperanza Glass wrote:
>>please post the section of configure.log related to DVB_HEAD (and
>>--enable-dvbhead
>>is superflous)
>>
>>
>
>============ Checking for DVB HEAD ============
>
>#include <sys/poll.h>
>#include <sys/ioctl.h>
>#include <stdio.h>
>#include <time.h>
>#include <unistd.h>
>
>#include <linux/dvb/dmx.h>
>#include <linux/dvb/frontend.h>
>#include <linux/dvb/video.h>
>#include <linux/dvb/audio.h>
>int main(void) {return 0;}
>
>cc /tmp/mplayer-conf-18101-6652.c -o /tmp/mplayer-conf-8256-6652.o
>In file included from /tmp/mplayer-conf-18101-6652.c:9:
>/usr/include/linux/dvb/video.h:105: error: syntax error before '*' token
>/usr/include/linux/dvb/video.h:107: error: syntax error before '}' token
>
>ldd /tmp/mplayer-conf-8256-6652.o
>ldd: /tmp/mplayer-conf-8256-6652.o: No such file or directory
>
>
>#include <sys/poll.h>
>#include <sys/ioctl.h>
>#include <stdio.h>
>#include <time.h>
>#include <unistd.h>
>
>#include <linux/dvb/dmx.h>
>#include <linux/dvb/frontend.h>
>#include <linux/dvb/video.h>
>#include <linux/dvb/audio.h>
>int main(void) {return 0;}
>
>cc /tmp/mplayer-conf-18101-6652.c -o /tmp/mplayer-conf-8256-6652.o
>cc: : No such file or directory
>In file included from /tmp/mplayer-conf-18101-6652.c:9:
>/usr/include/linux/dvb/video.h:105: error: syntax error before '*' token
>/usr/include/linux/dvb/video.h:107: error: syntax error before '}' token
>
>
>
I already saw this bug a couple of days ago and reported it to
linux-dvb at linuxtv.org.
Those include files use two new macros that aren't defined in kernel <
2.6.9:
__iomem and __user
an easy workaround is to run
export CFLAGS="-D__iomem -D__user"
./configure <params>
Yet this is a major bug that should be fixed by kernel/dvb developers.
More information about the MPlayer-dvb
mailing list