kioslave/media compile error

Hans Meine hans_meine at gmx.net
Sun Dec 19 12:41:36 GMT 2004


Hi everybody!

On Saturday 18 December 2004 23:53, Kévin Ottens wrote:
> Anyway, I commited a fix for this a minute ago. The file does not include
> linux/cdrom.h anymore, but recopies the necessary struct and defines.

I remember a long discussion on mplayer-devel about broken linux headers 
in /usr/include/linux.  The bottom line was that /usr/include/linux *should* 
contain working Linux headers (as many programs rely on them), and that a 
link to /usr/src/linux/include (which many of us created by hand, thinking 
that more up-to-date headers were an advantage) was plain stupid and wrong.

However, there are some policies where to get working headers from for Linux 
distributors.  Usually, a distribution could ship headers from a "stable, 
rock-solid" Linux version, but some fixes may be necessary nevertheless.
For example, Gentoo has the linux-headers-2.4.21-r1 package installed by 
default.  The corresponding ebuild cares about fixing the exact problem 
mentioned here:

# This patch fixes an issue involving the use of gcc's -ansi flag and the 
__u64 datatype.
# It only patches asm-i386, so we only apply it if x86.  Unknown if this is 
needed for other archs.
# Closes Bug #32246
if use x86; then
         epatch ${FILESDIR}/${PN}-strict-ansi-fix.patch
fi

Hoping that this cleared some things up a little more.. :-)

Ciao, /  /                                                    .o.
     /--/                                                     ..o
    /  / ANS                                                  ooo




More information about the kde-core-devel mailing list