[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#222777: /usr/include/asm/byteorder.h:56: error: parse error before ':' token



Package: linux-kernel-headers
Version: 2.5.999-test7-bk-9
Severity: normal


Compiling KDE from CVS, i got the following message:

In file included from /usr/include/linux/cdrom.h:14
                 from plat_linux_cdda.c:43:
/usr/include/asm/byteorder.h: In function '___arch__swab64':
/usr/include/asm/byteorder.h:56: error: parse error before ':' token

The relevant part from plat_linux_cdda.c is:

#ifndef __GNUC__
#define __GNUC__ 1
#endif
#undef __STRICT_ANSI__
#include <asm/types.h>
/* ugly workaround for broken glibc shipped in SuSE 9.0 */
#define inline __inline__
#include <linux/cdrom.h>
#undef inline

And the referenced (buggy?) line from byteorder.h:

asm("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a),"1" (v.s.b));

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux fenix 2.6.0-test9leo #1 Thu Nov 13 14:06:27 CLST 2003 i686
Locale: LANG=es_CL, LC_CTYPE=es_CL (ignored: LC_ALL set to C)

-- no debconf information




Reply to: