[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Bug report: compiling kdemultimedia 3.4.1 on x86_64
From: Andrew Walrond <andrew () walrond ! org>
Date: 2005-06-02 14:58:35
Message-ID: 200506021558.35695.andrew () walrond ! org
[Download RAW message or body]
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
>> 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