[Samba] Re: build problem on SuSE SLES 8 SP3 (s390) - struct statfs redefinition?

Thomas M Steenholdt tmus at tmus.dk
Tue Apr 27 10:16:00 GMT 2004


Sorry about the double post...

Besides - I found a really old RedHat patch that fixes a problem in 
capability.h...

and it works...


--- libcap-1.10/libcap/include/sys/capability.h.foo     Fri Nov  9 
16:26:25 2001
+++ libcap-1.10/libcap/include/sys/capability.h Fri Nov  9 16:28:47 2001
@@ -21,6 +21,16 @@
   */

  #include <sys/types.h>
+#include <stdint.h>
+
+/*
+ * Make sure we can be included from userland by preventing
+ * capability.h from including other kernel headers
+ */
+#define _LINUX_TYPES_H
+#define _LINUX_FS_H
+typedef uint32_t __u32;
+
  #include <linux/capability.h>

  /*


Good luck to the rest of you with this problem!!!



More information about the samba mailing list