On Wednesday 01 June 2005 01:00, Anders Johansson wrote:
On Wednesday 01 June 2005 00:29, Joe Morris (NTM) wrote:
/usr/include/linux/byteorder/little_endian.h:43: error: syntax error before "__cpu_to_le64p"
Strange. What version of glibc-devel do you have installed, and what is the output from
rpm -V glibc-devel
OK, never mind, I just got the source and tried to compile it and I get the same thing.
The problem is that the definition of __le64 is inside an #if !defined (__STRICT_ANSI__) block and the configure test program uses the compile flag -std=iso9899:1990 which defines that macro Thanks for the tips Anders, it was a big help as I looked around and
Anders Johansson wrote:
tried to understand what was happening. I will paste a patch that has
it working again for me. I will put the rpms in my apt repository at
http://ftp.gwdg.de/pub/linux/misc/suser-jmorris/suse93 which will be
synced tonight, so they should be there tomorrow for x86_64. For other
archs, here is the pasted patch (not being a programmer, if any
programmer type wants to change it...)
________________
*--- kscd/libwm/plat_linux_cdda.c 2005-06-01 12:37:12.000000000 -0500*
*+++ kscd/libwm/plat_linux_cdda.c.new 2005-06-01 22:57:47.000000000 -0500*
@@ -36,12 +36,25 @@
#endif
/* don't undef ansi for the other includes */
-#ifdef __STICT_ANSI__
+#ifdef __STRICT_ANSI__
#undef __STRICT_ANSI__
+/* ugly workaround for broken glibc shipped in SuSE 9.0 */
+#define inline __inline__
+#define asm __asm__
#include