[vdr] [ANNOUNCE] VDR developer version 1.3.47
Klaus Schmidinger
Klaus.Schmidinger at cadsoft.de
Mon Apr 17 21:18:25 CEST 2006
Dominique Simon wrote:
>
> Am 17.04.2006 um 17:06 schrieb Klaus Schmidinger:
>
>> In order to make sure that plugins are compiled with the same DVB
>> driver header
>> files as VDR itself, the definition of DVBDIR has been removed from
>> the VDR
>> Makefile. If you are using a driver version that has its header
>> files at a location
>> other than /usr/include/linux/dvb, you can define DVBDIR in the
>> Make.config
>> file (see also INSTALL). Any reference to DVBDIR should be removed
>> from all
>> plugins' Makefiles, like this:
>>
>> ------------------------------------------------------------
>> --- PLUGINS/src/hello/Makefile 2005/11/11 13:20:14 1.10
>> +++ PLUGINS/src/hello/Makefile 2006/04/15 11:58:46 1.11
>> @@ -20,7 +20,6 @@
>>
>> ### The directory environment:
>>
>> -DVBDIR = ../../../../DVB
>> VDRDIR = ../../..
>> LIBDIR = ../../lib
>> TMPDIR = /tmp
>> @@ -40,7 +39,7 @@
>>
>> ### Includes and Defines (add further entries here):
>>
>> -INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include
>> +INCLUDES += -I$(VDRDIR)/include
>>
>> DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
>> ------------------------------------------------------------
>
>
> VDR compiled fine before 1.3.47 with my Kernel DVB Headers. Now VDR
> can't "find" them. I needed to set DVBDIR=/usr/src/linux as in the old
> days but still got compiler errors not finding the dvb headers.
> Maybe you should keep the:
>
> ifdef DVBDIR
> INCLUDES += -I$(DVBDIR)/include
> endif
>
>
> in the Makefile, so if one sets "DVBDIR" VDR finds the Headers/Includes.
This is now in Make.config.template.
Just rename it to Make.config and it should work.
Klaus
More information about the vdr
mailing list