<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'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"><<a href="mailto:frank.shearar@gmail.com" target="_blank">frank.shearar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I'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 'uuid_t'<br>
/usr/include/sys/uuid.h:74: error: previous declaration of 'uuid_t' 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 'MakeUUID':<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 'uuidgen' from incompatible pointer<br>
<br>
The relevant source is here:<br>
<br>
<br>
int MakeUUID(char *location)<br>
{<br>
#if defined(HAVE_UUID_CREATE) && !defined(HAVE_UUIDGEN) &&<br>
!defined(HAVE_UUID_GENERATE)<br>
size_t len= 16; /* 128 bits */<br>
uuid_t *uuid;<br>
uuid_create(&uuid);<br>
uuid_make(uuid, UUID_MAKE_V1);<br>
uuid_export(uuid, UUID_FMT_BIN, (void **)&location, &len);<br>
uuid_destroy(uuid);<br>
#else<br>
uuid_t uuid;<br>
# if defined(HAVE_UUIDGEN)<br>
uuidgen(&uuid, 1); // <-- this is line 29, the offender<br>
# elif defined(HAVE_UUID_GENERATE)<br>
uuid_generate(uuid);<br>
# endif<br>
memcpy((void *)location, (void *)&uuid, sizeof(uuid));<br>
#endif<br>
return 1;<br>
}<br>
<br>
Any ideas? I'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>