samba-2.2.0 fails to build on NetBSD 1.5

Douglas Egan doug.egan at windriver.com
Mon Apr 23 17:52:16 GMT 2001


Can anyone comment on this response from netbsd.org?

Thanks,

Doug Egan



/*
 * The use of SHM_R and SHM_W is not portable. Neither Posix nor
 * SUSv2 specify it. Solaris and Linux have them (as well as newer
 * versions of NetBSD) but either do not document them (Solaris) or
 * explicitly depreceate their use (NetBSD).
 */ 

written by martin at duskware.de

On Mon, Apr 23, 2001 at 10:00:20AM -0500, Douglas Egan wrote:
> I just got Samba 2.2.0 running with NetBSD 1.5  Had a couple of issues
> and am looking for feedback.
> Here is a copy of email I sent to samba.org.  After making the change below
> the file compiled, but I
> am unsure if the change is correct.  I didn't find the definitions for
> SHM_R and SHM_W anywhere in NetBSD.
> 
> Anyone know ramifications of my modification?   Samba 2.2.0 seems to be
> working nicely under 1.5
> 
> Thanks,
> 
> Doug Egan
> 
> *****************************************************
> 
> Problems on NetBSD also.
> 
> I don't know if this is correct, but it compiled, and is working so
> far.
> 
> source/profile/profile.c  SHM_R and SHM_W were undefined.
> 
> 
> The following 2 lines were added, (they were defined in shm.c in
> Solaris 2.7)
> /*
>  *      Permission Definitions.
>  */
> #define SHM_R   0400    /* read permission */
> #define SHM_W   0200    /* write permission */
> 
> Doug Egan
> 
> 


--




More information about the samba mailing list