Bug report: compiling kdemultimedia 3.4.1 on x86_64
Carlos Leonhard Woelz
carloswoelz at imap-mail.com
Thu Jun 2 15:46:24 BST 2005
Hi Andrew,
I *think* the most apropriate list for this message is the
kde-multimedia list. I am forwarding to it. Compile problems are not in
bugzilla because they are usually fixed very quickly. If the problems
persist, you should simply mail the most appropriate list, or kde-devel
if you can't find a more specialized devel list.
Cheers,
Carlos Woelz
On Thu, 2 Jun 2005 14:35:28 +0100, "Andrew Walrond" <andrew at walrond.org>
said:
> There is a problem in mpeglib/lib/input/cdromAccess.cpp which causes
> clashing definitions of __u64.
>
> Here is the relevent part of the build log:
>
> In file included from /usr/include/linux/types.h:6,
> from cdromAccess_Linux.cpp:17,
> from cdromAccess.cpp:38:
> /usr/include/asm/types.h:23: error: conflicting declaration 'typedef long
> long unsigned int __u64'
> cdromAccess.cpp:32: error: '__u64' has a previous declaration as `typedef
> long unsigned int __u64'
> /usr/include/asm/types.h:23: error: declaration of `typedef long long
> unsigned int __u64'
> cdromAccess.cpp:32: error: conflicts with previous declaration `typedef
> long unsigned int __u64'
> /usr/include/asm/types.h:23: error: declaration of `typedef long long
> unsigned int __u64'
> cdromAccess.cpp:32: error: conflicts with previous declaration `typedef
> long unsigned int __u64'
>
>
> This is a snipet from cdromAccess.cpp:
>
> #ifdef OS_Linux
> #include <linux/version.h>
> #include <sys/types.h>
> #ifndef __u64
> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70)
> #include <bits/wordsize.h>
> #if __WORDSIZE == 64
> typedef unsigned long __u64;
> #else
> typedef unsigned long long __u64;
> #endif
> #endif
> #endif
> #include "cdromAccess_Linux.cpp"
> #endif
>
> The problem is that #ifndef __u64 won't detect a previously declared
> typedef.
>
> Hope thats useful.
>
> Is this is the wrong ML or venue for this, please forward to the
> relevent place. I am not subscribed, so CC me please.
>
> [I tried using the bug tracker, but I couldn't find any way of
> entering a compile problem; the wizard just kept asking me to select an
> application...]
>
> Andrew Walrond
More information about the kde-multimedia
mailing list