Compling Samba-2.2.5 with spinlocks using Sun Forte C

Andrew Bartlett abartlet at
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
Manager, Authentication Subsystems, Samba Team  abartlet at
Student Network Administrator, Hawker College   abartlet at

More information about the samba-technical mailing list