[vdr] Compiling VDR 1.3.20 in LinEspa 0.30

ElChef elchef at tiscali.es
Sat Apr 2 11:39:09 CEST 2005


Ok, when i try to compile VDR 1.3.20 using make command, first I get 
this erros:
In file included from ../DVB/include/linux/videodev.h:8,
                 from dvbdevice.c:20:
../DVB/include/linux/videodev2.h:436: error: error de decodificación 
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: error de decodificación 
before `*'
   token
In file included from dvbdevice.c:20:
../DVB/include/linux/videodev.h:225: error: error de decodificación 
before `*'
   token
make: *** [dvbdevice.o] Error 1

And solve it, after read 
http://linvdr.org/mailinglists/vdr/2004/07/msg00321.html
Adding -D__user to CXXFLAGS in the /usr/src/vdr/Makefile
This line, now looks like this:
CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual -D__user

I try to compile again and I get this errors:

In file included from ../DVB/include/linux/videodev.h:8,
                 from dvbdevice.c:20:
../DVB/include/linux/videodev2.h:436: error: error de decodificación before
   numeric constant
../DVB/include/linux/videodev2.h:438: error: la declaración no declara nada}
../DVB/include/linux/videodev2.h:438: error: error de decodificación before
   numeric constant
In file included from dvbdevice.c:20:
../DVB/include/linux/videodev.h:225: error: error de decodificación before
   numeric constant
En el fichero incluído de ../DVB/include/linux/dvb/video.h:27,
                 de dvbdevice.c:24:
../DVB/include/linux/compiler.h:11:1: aviso: se redefinió "__user"
<línea de orden>:5:1: aviso: esta es la ubicación de la definición previa
make: *** [dvbdevice.o] Error 1

What can I do?

LinEspa is a Debian based distribution, you can get more info at 
www.linespa.com, I try this because it has included all kernel headers.
uname -r -a
Linux LinEspa 2.6.8.1 #10 Sun Mar 20 09:20:45 CET 2005 i686 GNU/Linux

g++ -v
Leyendo especificaciones de /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configurado con: ../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
Modelo de hilos: posix
gcc versión 3.3.5 (Debian 1:3.3.5-8)




More information about the vdr mailing list