Mailing List archive

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

[vdr] Re: [vdr]Bitstreamout plugin does not compile with kernel 2.6.3



On Wed, Feb 25, 2004 at 02:26:52PM +0100, Helmut Auer wrote:
> >
> Hello Werner,
> No it does not solve the problem. It is caused by a:
> #ifdef __KERNEL__
> which is now introduced at the  beginning of 
> /usr/src/include/linux/compiler,h
> if  I delete this define and its correspondent #endif at the end of the 
> file bitstreamout compiles fine.
> I just read in the gentoo forum that there are some other applications 
> also failing because of this change.
> So why do the kernel guys change this ???

Hmmm ... then you're using a symbolic link from

          /usr/src/linux/include/linux

to

          /usr/include/linux

which may cause more trouble in future, because with new gcc
there are special features only usabel for kernel compiles.
Therefore newer glibc versions have their own /usr/include/linux/
tree which is usable for user land programs.  With the glibc
version of linux/compiler.h  you do not need to remove or
define __KERNEL__ ...

And as you see, the split between user and kernel land features
is spreading more and more.

        Werner


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



Home | Main Index | Thread Index