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:
> 
> Am Montag, 25. August 2003 19:27 schrieb Klaus Schmidinger:
> 
> > > 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".
> 
> > 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.
> 
> I'd expect that, too. All I can say is: My compiler didn't, I don't know
> why, and the Makefile change fixed it.

Maybe a compiler bug?

Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index