Re: fc3 compile fails with --enable-dvbhead

Nico Sabbi <[email protected]>
Newsgroups gmane.comp.video.mplayer.user.dvb
Message-ID <[email protected]>
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 
[email protected].
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.