Compling Samba-2.2.5 with spinlocks using Sun Forte C

Andrew Bartlett abartlet at samba.org
Tue Aug 6 02:13:02 GMT 2002


Adrian LEE wrote:
> 
> Hi,
> 
> The code in tdb/spinlock.c related to spin locking on Sparc uses asm
> directives.  This module won't compile with Sun Forte C compiler.
> If you have a patch or similar, or point out I've forgotten to use
> a compiler option, to help my solve this problem, it would be
> much appreciated.

Why do you need spinlocks?  The asm stuff is only compiled when we have
that option specified...

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba-technical mailing list