Compiling VDR 1.3.20 in LinEspa 0.30

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

 



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)



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux