Mailing List archive

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

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



 Hello,

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
../DVB/include/linux/videodev2.h:438: error: declaration of `int 
   v4l2_window::__user'
../DVB/include/linux/videodev2.h:436: error: conflicts with previous 
   declaration `v4l2_clip v4l2_window::__user'
../DVB/include/linux/videodev2.h:438: error: parse error before `*' token
In file included from dvbdevice.c:20:
../DVB/include/linux/videodev.h:225: error: parse error before `*' token
In file included from dvbdevice.c:24:
../DVB/include/linux/dvb/video.h:103: error: parse error before `*' token
dvbdevice.c: In member function `virtual void cDvbDevice::StillPicture(const 
   uchar*, int)':
dvbdevice.c:1048: error: invalid conversion from `char*' to `char'
dvbdevice.c:1054: error: invalid conversion from `char*' to `char'
make: *** [dvbdevice.o] Error 1


Distro is Debian/Sid Kernel 2.6.8-rc2 on a Dell Dimension 4100 PC.

gcc/g++ Debian package versions are 3.3.4-3

# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.4 (Debian 1:3.3.4-3)

I could compile VDR 1.3.11 with 2.6.7 though.


Thanks,

Philippe




Home | Main Index | Thread Index