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

Hall, Ken (IDS ECCS) ken_hall at ml.com
Tue Apr 27 11:57:41 GMT 2004


Suse gave us a patch for this.  It's pretty much the same as what you have below.

> -----Original Message-----
> From: samba-bounces+ken_hall=ml.com at lists.samba.org
> [mailto:samba-bounces+ken_hall=ml.com at lists.samba.org]On Behalf Of
> Thomas M Steenholdt
> Sent: Tuesday, April 27, 2004 6:16 AM
> To: samba at lists.samba.org
> Subject: [Samba] Re: build problem on SuSE SLES 8 SP3 (s390) - struct
> statfs redefinition?
> 
> 
> 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!!!
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

==============================================================================

If you are not an intended recipient of this e-mail, please notify
the sender, delete it and do not read, act upon, print, disclose,
copy, retain or redistribute it.

Click here for important additional terms relating to this e-mail.
     <http://www.ml.com/email_terms/>

==============================================================================



More information about the samba mailing list