Mailing List archive

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

[vdr] Re: Can't compile VDR 1.3.12 with kernel 2.6.8-rc2



I demand that Philippe Gramoullé may or may not have written...

> I tried to compile VDR 1.3.12 against kernel 2.6.8-rc2 and got the
> following compile issue: (DVB is a symlink to the linux-2.6.8-rc2
> directory)

> # make REMOTE=LIRC NO_KBD=1
> ...
> ...

> g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_LIRC -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -I../DVB/include dvbdevice.c
> In file included from ../DVB/include/linux/videodev.h:8,
>                  from dvbdevice.c:20:
> ../DVB/include/linux/videodev2.h:436: error: parse error before `*' token
> ../DVB/include/linux/videodev2.h:438: error: variable or field `__user'
>    declared void

Adding -D__user to CXXFLAGS should fix that.

[snip]
> Distro is Debian/Sid Kernel 2.6.8-rc2 on a Dell Dimension 4100 PC.
[snip]
> I could compile VDR 1.3.11 with 2.6.7 though.

You could also use the linux-kernel-headers package.

-- 
| Darren Salt | nr. Ashington, | d youmustbejoking,demon,co,uk
| Debian,     | Northumberland | s zap,tartarus,org
| RISC OS     | Toon Army      | @
|   You too can roll your own kernel...

You always find something in the last place you look, unless it's not there.




Home | Main Index | Thread Index