Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Failing to compil with 2.6.8-rc2



> > I demand that Christian Gmeiner may or may not have written...
> >
> > >> I demand that Christian Gmeiner may or may not have written...
> > >>> It's not possible to compile vdr with a 2.6.8-rc2 and dvb-cvs
drivers
> :(
> > >>> How can i fix this?
> >
> > >> [rewrapped]
> > >>>
> g++ -O3 -mcpu=pentium3 -march=pentium3 -mmmx -msse -funroll-loops -pipe \
> > [snip; "__user" problem]
> > >> Shouldn't that be /usr/include/linux/videodev.h from
> linux-kernel-headers
> > >> or some equivalent package?
> >
> > > I have updated to the newest linux-headers (gentoo-box), but the
problem
> is
> > > still here.
> >
> > Hmm. If the headers which you're using *do* come from that package,
> there's
> > only one thing to do: report a bug.
>
> http://packages.gentoo.org/search/?sstring=linux-headers
>
> linux-headers-2.4.22
> >
> > >> I'm fairly sure that __user is markup to indicate which pointers have
> been
> > >> passed in from userspace. Consequently, if you're still planning on
> using
> > >> the headers for your current kernel, you'll need "-D__user".
> >
> > > Where must i add "-D__user"?
> >
> > CFLAGS, CXXFLAGS.
>
> I will try it.. thanks.

Now i get:

g++ -O3 -mcpu=pentium3 -march=pentium3 -mmmx -msse -funroll-loops -pipe -D__
user -c -DCONFIGDIR=\"/etc/vdr\" -DREMOTE_KBD -DREMOTE_LIRC -D_GNU_SOURCE -D
VIDEODIR=\"/video\" -DPLUGINDIR=\"/usr/lib/vdr\" -DVFAT -I/usr/src/linux/inc
lude diseqc.c
g++ -O3 -mcpu=pentium3 -march=pentium3 -mmmx -msse -funroll-loops -pipe -D__
user -c -DCONFIGDIR=\"/etc/vdr\" -DREMOTE_KBD -DREMOTE_LIRC -D_GNU_SOURCE -D
VIDEODIR=\"/video\" -DPLUGINDIR=\"/usr/lib/vdr\" -DVFAT -I/usr/src/linux/inc
lude dvbdevice.c
In file included from /usr/src/linux/include/linux/videodev.h:8,
                 from dvbdevice.c:20:
/usr/src/linux/include/linux/videodev2.h:436: error: parse error before
numeric
   constant
/usr/src/linux/include/linux/videodev2.h:438: error: declaration does not
   declare anything
/usr/src/linux/include/linux/videodev2.h:438: error: parse error before
numeric
   constant
In file included from dvbdevice.c:20:
/usr/src/linux/include/linux/videodev.h:225: error: parse error before
numeric
   constant
make: *** [dvbdevice.o] Error 1


Christian






Home | Main Index | Thread Index