Jason Stubbs wrote:
> Check out the bug report like Mike Gardiner said. The problem is there - in
> extensive detail!
>
> Basically, for the time being, you'll have to either downgrade gcc to 3.2.x
> or edit /usr/portage/kde-base/kdemultimedia/kdemultimedia-3.1.4.ebuild and

Just edit the damn /usr/include/asm/byteorder.h header file!

See my other post in this thread. Anyway, I'm attaching a patch

Regards,
Norberto
diff -urN linux-2.4.22.orig/include/asm-i386/byteorder.h linux-2.4.22/include/asm-i386/byteorder.h
--- linux-2.4.22.orig/include/asm-i386/byteorder.h	2003-06-13 11:51:38.000000000 -0300
+++ linux-2.4.22/include/asm-i386/byteorder.h	2003-11-24 16:52:48.000000000 -0300
@@ -35,7 +35,7 @@
 }
 
 
-static inline __u64 ___arch__swab64(__u64 val) 
+static __inline__ __u64 ___arch__swab64(__u64 val) 
 { 
 	union { 
 		struct { __u32 a,b; } s;
@@ -43,13 +43,13 @@
 	} v;
 	v.u = val;
 #ifdef CONFIG_X86_BSWAP
-	asm("bswapl %0 ; bswapl %1 ; xchgl %0,%1" 
+	__asm__("bswapl %0 ; bswapl %1 ; xchgl %0,%1" 
 	    : "=r" (v.s.a), "=r" (v.s.b) 
 	    : "0" (v.s.a), "1" (v.s.b)); 
 #else
    v.s.a = ___arch__swab32(v.s.a); 
 	v.s.b = ___arch__swab32(v.s.b); 
-	asm("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b));
+	__asm__("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b));
 #endif
 	return v.u;	
 } 

Attachment: pgp00000.pgp
Description: signature

Reply via email to