<div>Problem solved - had to do a make proper and not just a make clean.  Obviously some old intermediary files from a previous install in my source code... :}</div><div><br></div><div><br><br><div class="gmail_quote">On 31 August 2011 12:34, Richard Good <span dir="ltr">&lt;<a href="mailto:richgood2005@gmail.com">richgood2005@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<div><br></div><div>I&#39;m having some strange compile problems with the malloc_test and tm module.</div><div><br>
</div><div>The core compiles correctly but when I do make modules I get:</div><div><div><b>CC (gcc) [M malloc_test.so]             malloc_test.o</b></div>
<div><b>/var/tmp//cc2iaGsC.s: Assembler messages:</b></div><div><b>/var/tmp//cc2iaGsC.s:1280: Error: suffix or operands invalid for `xadd&#39;</b></div><div><b>/var/tmp//cc2iaGsC.s:1813: Error: suffix or operands invalid for `xadd&#39;</b></div>

<div><b>/var/tmp//cc2iaGsC.s:2331: Error: suffix or operands invalid for `xadd&#39;</b></div><div><b>make[1]: *** [malloc_test.o] Error 1</b></div></div><div><br></div><div>If I remove the malloc_test module from compliation (As I am not using it) when I do make modules I get:</div>

<div><div><b>CC (gcc) [M tm.so]              t_cancel.o</b></div><div><b>/var/tmp//ccWeaWKH.s: Assembler messages:</b></div><div><b>/var/tmp//ccWeaWKH.s:105: Error: suffix or operands invalid for `cmpxchg&#39;</b></div><div>

<b>/var/tmp//ccWeaWKH.s:155: Error: suffix or operands invalid for `cmpxchg&#39;</b></div><div><b>/var/tmp//ccWeaWKH.s:241: Error: suffix or operands invalid for `cmpxchg&#39;</b></div><div><b>/var/tmp//ccWeaWKH.s:259: Error: suffix or operands invalid for `cmpxchg&#39;</b></div>

<div><b>/var/tmp//ccWeaWKH.s:570: Error: suffix or operands invalid for `cmpxchg&#39;</b></div><div><b>make[1]: *** [t_cancel.o] Error 1</b></div></div><div><br></div><div>My machine is: SunOS HOST_NAME 5.11 snv_151a i86pc i386 i86pc Solaris and my gcc version is gcc version 3.4.3 (csl-sol210-3_4-20050802)</div>

<div><br></div><div>I have successfully compiled and run this on an identical Solaris setup with the same Makefile configuration.</div><div><br></div><div>Has anyone had a similar problem?</div><div><br></div><div>Regards</div>

<div>Richard.</div><font color="#888888"><div><br></div><div><br></div>
</font></blockquote></div><br></div>