[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Problem building KDEMultimedia
From:       Thiago Macieira <thiagom () wanadoo ! fr>
Date:       2003-07-07 23:31:50
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


James Richard Tyrer wrote:
>Using: Linux 2.4.21 Kernel built from source GCC-3.3 built from source.
>/usr/include/asm/byteorder.h:42: error: '__u64' is used as a type, but is
> not defined as a type.
>
>The problem is that the header: "cdrom.h" in the Kernel-2.4.21 breaks it.
>I builds correctly with the 2.4.20 header file.
>
>Is this a Kernel bug? or a KDE bug?

Neither.

The problem is that __u64 is not safely used in the kernel headers. It would 
have to be declared before the faulting header is included. There's a 
workaround for this problem on bugs.kde.org (I don't remember the bug 
number).

The correct solution, however, is to never touch one's kernel headers. One 
should always use the kernel headers that were used to build glibc. The 
kernel headers that come with a new kernel are used for building that kernel 
and that's all. User programs compiling should not see your new kernel's 
header files.

-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiagom@mail.com           
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic