[Starkit] kitgen report

Brian Theado brian.theado at gmail.com
Thu Jan 25 16:45:54 CET 2007


On 1/25/07, Jean-Claude Wippler <jcw at equi4.com> wrote:
[...]
> You could manually replace the include file reference on Solaris if
> you know what two typedef's to insert instead.  My guess would be:
>         typedef long long int64_t;
>         typedef long intptr_t;
>
> Hm, maybe you'll also need to insert this:
>         typedef unsigned char uint8_t;
>
> If there's a #define for sparc/solaris/sunos, I could add it as quick
> workaround.

I just tried building vlerq on Solaris 8 with this fix and I found the
types are in unistd.h.  Unistd.h is already included in vlerq.c, but
after the types are referenced.  Using the following code, I could
build vlerq:

#if __sparc__
#include <unistd.h>
#else
#include <stdint.h>
/* on OpenBSD, use this line instead: typedef int intptr_t; */
#endif

Brian


More information about the Starkit mailing list