Hi,

Build for mips64 and powerpc64 fails because __SANE_USERSPACE_TYPES__ is not 
defined.
Without this flag in "asm/types.h" file always will be included "int-l64.h" 
which means that __u64 always will be defined as unsigned long.

I have created and attached a patch witch defines __SANE_USERSPACE_TYPES__ flag 
for mips64 and powerpc64.
With this patch package builds successfully on mips, mipsel and  mips64el.

Another way to solve the problem could be adding -D__SANE_USERSPACE_TYPES__ to 
CFLAGS.

Regards,
Radovan
--- rt-app-0.3.orig/src/rt-app_utils.h
+++ rt-app-0.3/src/rt-app_utils.h
@@ -22,6 +22,10 @@ Foundation, Inc., 51 Franklin Street, Fi
 #ifndef _TIMESPEC_UTILS_H_
 #define _TIMESPEC_UTILS_H_
 
+#if defined (__mips64) || defined (__powerpc64__)
+#define __SANE_USERSPACE_TYPES__
+#endif
+
 #include <time.h>
 #include <math.h>
 #include <stdio.h>

Reply via email to