<div dir="ltr">Hi Frank,<div><br></div><div>    I *think* this is fixed in the Cog branch.  If you have time and could compile the Cog version I&#39;d appreciate it.  The fix would then be just to copy the Cog version across.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 2, 2013 at 11:22 AM, Frank Shearar <span dir="ltr">&lt;<a href="mailto:frank.shearar@gmail.com" target="_blank">frank.shearar@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"><br>
I&#39;m setting up more CI jobs, this time to give FreeBSD some love. So I<br>
have a script that gets the bleeding edge Interpreter source, cd<br>
platform/unix; make. The results are here:<br>
<a href="http://squeakci.org/job/InterpreterVM-FreeBSD/13/console" target="_blank">http://squeakci.org/job/InterpreterVM-FreeBSD/13/console</a><br>
<br>
The punchline is that compilation fails thusly:<br>
<br>
In file included from<br>
/usr/home/frank/temp/jenkins/workspace/InterpreterVM-FreeBSD/target/Squeak-vm-unix-4.10.7-2646-unofficial-src/platforms/unix/plugins/UUIDPlugin/sqUnixUUID.c:9:<br>
/usr/local/include/uuid/uuid.h:44: error: conflicting types for &#39;uuid_t&#39;<br>
/usr/include/sys/uuid.h:74: error: previous declaration of &#39;uuid_t&#39; was here<br>
/usr/home/frank/temp/jenkins/workspace/InterpreterVM-FreeBSD/target/Squeak-vm-unix-4.10.7-2646-unofficial-src/platforms/unix/plugins/UUIDPlugin/sqUnixUUID.c:<br>
In function &#39;MakeUUID&#39;:<br>
/usr/home/frank/temp/jenkins/workspace/InterpreterVM-FreeBSD/target/Squeak-vm-unix-4.10.7-2646-unofficial-src/platforms/unix/plugins/UUIDPlugin/sqUnixUUID.c:29:<br>
warning: passing argument 1 of &#39;uuidgen&#39; from incompatible pointer<br>
<br>
The relevant source is here:<br>
<br>
<br>
int MakeUUID(char *location)<br>
{<br>
#if defined(HAVE_UUID_CREATE) &amp;&amp; !defined(HAVE_UUIDGEN) &amp;&amp;<br>
!defined(HAVE_UUID_GENERATE)<br>
  size_t  len= 16;      /* 128 bits */<br>
  uuid_t *uuid;<br>
  uuid_create(&amp;uuid);<br>
  uuid_make(uuid, UUID_MAKE_V1);<br>
  uuid_export(uuid, UUID_FMT_BIN, (void **)&amp;location, &amp;len);<br>
  uuid_destroy(uuid);<br>
#else<br>
  uuid_t uuid;<br>
#  if defined(HAVE_UUIDGEN)<br>
  uuidgen(&amp;uuid, 1);   // &lt;-- this is line 29, the offender<br>
#  elif defined(HAVE_UUID_GENERATE)<br>
  uuid_generate(uuid);<br>
#  endif<br>
  memcpy((void *)location, (void *)&amp;uuid, sizeof(uuid));<br>
#endif<br>
  return 1;<br>
}<br>
<br>
Any ideas? I&#39;m happy to do legwork, but Bozhe moi! This I know from nothing!<br>
<span class="HOEnZb"><font color="#888888"><br>
frank<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div>