[ac] kolejny problem z okolic /usr/include/asm/byteorder.h ( kdemultimedia.spec)
Paweł Sikora
pluto w ds14.agh.edu.pl
Sob, 15 Lis 2003, 13:21:40 CET
On Saturday 15 of November 2003 13:04, Mateusz Korniak wrote:
> Pakiet buduje się cześciowo w Ac natomiast w Nest, oraz na nagłówkach
> 2.40.20-3 (u adgora) całkowicie dobrze.
>
> Powodem jest padający test:
> > configure:35504: athlon-pld-linux-gcc -c -ansi -W -Wall -Wchar-subscripts
> > -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> > -D_XOPEN_SOURCE=500 -D_BSD_SO\
> > URCE -O2 -O2 -march=athlon -Wformat-security -Wmissing-format-attribute
> > -DQT_THREAD_SUPPORT -D_REENTRANT conftest.c >&5
> > In file included from /usr/include/linux/cdrom.h:14,
> > from conftest.c:76:
> > /usr/include/asm/byteorder.h:38: error: parse error before "__u64"
>
> Przez to jest:
> > checking for CDDA... no
>
> No i brak cześci plików :/
sprawdz czy to pomoze, bo ja kdemultimedia
bede dopiero chyba pojutrze kompilowal.
--- linux-2.4.22/include/asm-i386/types.h 2003-11-10 07:38:32.000000000 +0200
+++ linux-2.4.22.ext/include/asm-i386/types.h 2003-11-10 07:48:42.000000000
+0200
@@ -17,11 +17,15 @@
typedef __signed__ int __s32;
typedef unsigned int __u32;
-#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
-typedef __signed__ long long __s64;
-typedef unsigned long long __u64;
+#ifndef __GNUC__
+# ifndef __extension__
+# define __extension__
+# endif
#endif
+__extension__ typedef __signed__ long long __s64;
+__extension__ typedef unsigned long long __u64;
+
/*
* These aren't exported outside the kernel to avoid name space clashes
*/
--
The only thing necessary for the triumph of evil
is for good men to do nothing.
- Edmund Burke
Więcej informacji o liście dyskusyjnej pld-devel-pl