Summary: | Build failed in /usr/include/asm/byteorder.h (__u64) | ||
---|---|---|---|
Product: | [Applications] kaudiocreator | Reporter: | Alexandr Zaika <zaz> |
Component: | general | Assignee: | Gerd Fleischer <gerdfleischer> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Alexandr Zaika
2003-07-31 11:36:10 UTC
Such bug in kioslave, Patch: File: audiocd/audiocd.cpp Coode: 55 | #define _LINUX_BYTEORDER_SWAB_H 56 | #endif 57 | 58 | #include <asm/types.h> 59 | #ifndef __u64 60 | typedef unsigned long long __u64; 61 | #endif 62 | 63 | #include <linux/cdrom.h> Such bug in kscd, Patch: File: libwm/plat_linux.c Coode: 63 | #include <sys/time.h> 64 | #include <sys/ioctl.h> 65 | 66 | #ifdef __cplusplus 67 | extern "C" 68 | { 69 | #endif 70 | 71 | /* This is in support for the Mega Hack, if cdparanoia ever is fixed, or we 72 | use another ripping library we can remove this. */ 73 | 74 | #include <asm/types.h> 75 | #ifndef __u64 76 | typedef unsigned long long __u64; 77 | #endif 78 | 79 | #include <sys/ioctl.h> 81 | #include <linux/cdrom.h> 82 | 83 | #include "include/wm_cdda.h" 84 | #include "include/wm_struct.h" 85 | #include "include/wm_platform.h" 86 | #include "include/wm_cdrom.h" 87 | #include "include/wm_scsi.h" 88 | #include "include/wm_helpers.h" Such bug in mpeglib, Patch: File: lib/input/cdromAccess.cpp Coode: 25 | #ifdef OS_Linux 26 | 27 | #include <asm/types.h> 28 | #ifndef __u64 29 | typedef unsigned long long __u64; 30 | #endif 31 | 32 | #include "cdromAccess_Linux.cpp" 33 | #endif PS: My kernel version 2.4.21 Fix your kernel. The problem lies therein. *** This bug has been marked as a duplicate of 51654 *** The correct solution is to apply the patch suggested by Niki Guldbrand <niki@lunar-linux.org> to the kernel. After that everything works fine: you don't need to alter any file from kde. =========================================================================== --- old/include/asm-i386/byteorder.h 2003-06-13 16:51:38.000000000 +0200 +++ new/include/asm-i386/byteorder.h 2003-09-08 20:59:43.000000000 +0200 @@ -34,7 +34,7 @@ return x; } - +#if defined(__GNUC__) && !defined(__STRICT_ANSI__) static inline __u64 ___arch__swab64(__u64 val) { union { @@ -55,10 +55,11 @@ } #define __arch__swab64(x) ___arch__swab64(x) +#define __BYTEORDER_HAS_U64__ +#endif #define __arch__swab32(x) ___arch__swab32(x) #define __arch__swab16(x) ___arch__swab16(x) -#define __BYTEORDER_HAS_U64__ #endif /* __GNUC__ */ ================================================== |