Compiling VDR 1.3.20 in LinEspa0.30&In-Reply-to=&In-Reply-To=424EB117.6090302@xxxxxxxxxx

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

 



HGM.bg (GMX) escribi?:

>ElChef wrote:
>
>  
>
>>I deleted it from osd.h
>>Lines:
>>106 //         void __user *data;
>>107            void *data;
>>
>>And from video.h
>>Lines:
>>105 //        char __user *iFrame;        /* pointer to a single
>>iframe 
>>in memory */
>>106           char *iFrame;
>>    
>>
>
>That's what i always do.
>
>  
>
>>In Makefile:
>>CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual -D__user
>>    
>>
>
>I don't use that define -> -D__user
> 
>  
>
>>And now:
>>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
>>    
>>
>
>I don't have a videodev2.h ! My problem is that i don't understand the
>spanish errors, you might do a 'export LANG=EN_en' or something similiar
>to get english error-messages.
>
>  
>
>>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 In file included from dvbdevice.c:24:
>>   ../DVB/include/linux/dvb/video.h:106: error: error de
>>decodificaci?n before `*' token 
>>dvbdevice.c: En member function `virtual void
>>   cDvbDevice::StillPicture(const uchar*, int)':
>>dvbdevice.c:1103: error: conversi?n inv?lida de `char*' a `char'
>>dvbdevice.c:1109: error: conversi?n inv?lida de `char*' a `char'
>>make: *** [dvbdevice.o] Error 1
>>    
>>
>
>Please tell me, which dvb-drivers you are using ? Which kernel etc.pp.
>
>I use the dvb-drivers from cvs that might be a difference. Please
>describe to the list your software-config, so anyone else can help :)
> 
>  
>
>>I'm a newbie in C++ and in compilation errors... what I'm doing wrong?
>>    
>>
>
>You are not that far away from success :)
> 
>/hgm.bg
>
>
>  
>
The DVBDIR of the Makefile is the clue, I change it to:
DVBDIR   = ../DVB/include/linux
or the same, remove the DVB symlink and remake it with:
root@LinEspa:/usr/src# ln -s /usr/src/linux/include/linux DVB
and let the DVBDIR = ../DVB

and anything goes, with or without deleting __user from osd.h and video.h
Thanks a lot!


[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