Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Hint for compiling VDR against the 2.6 in-kernel DVB driver
Maik Zumstrull wrote:
>
> Hi!
>
> I have just succesfully compiled VDR against linux-2.6-test4.
>
> It basically works just fine, but a small Makefile change is necessary.
>
> I used /usr/src/linux as DVBDIR. The problem with that is that a file
> device.h exists inside the kernel tree, which the compiler prefers over
> the one which belongs to VDR for some reason. As a workaround I changed
> the Makefile to include $DVBDIR/include with "-idirafter" instead of
> "-I".
>
> I'm not sure how compatible that option is, it works on my system. YMMV.
All references to device.h in VDR's source are written as
#include "device.h"
so I would expect the compiler to use the _local_ file instead of
a file with the same name that happens to be located in the include
path. That one would be included as
#include <device.h>
Klaus
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index