[linux-dvb] Error compiling dvb-apps

Christoph Pfister christophpfister at gmail.com
Sat Dec 9 13:23:08 CET 2006


Hi,

2006/12/9, Mario Rossi <mariofutire at googlemail.com>:
> I cannot compile dvb-apps
>
> Letest mercurial, kernel 2.6.18.2, gcc 4.1.1
>
> In file included from dvbvideo.c:28:
> ../../include/linux/dvb/video.h:105: error: expected ':', ',', ';',
> '}' or '__attribute__' before '*' token
> ../../include/linux/dvb/video.h:138: error: expected ':', ',', ';',
> '}' or '__attribute__' before '*' token
>
> Apparently this patch
>
> http://linuxtv.org/hg/dvb-apps?cmd=changeset;node=a0fafaa04b83;style=gitweb
>
> reverted a previous workaround for missing __user
>
> http://linuxtv.org/hg/dvb-apps?cmd=changeset;node=a56ced471c8b;style=gitweb
>
> What is the exact way of handling the macro __user in a userland application?

Which kernel version / distro are you using? Because i can't see a
linux/compiler.h (which is included in video.h) in the kernel git
history which doesn't define __user ...

Christoph



More information about the linux-dvb mailing list