<div dir="ltr">CC <span style="font-family:arial,sans-serif;font-size:13px"> uams_guest.lo isn't descriptive enough.  Can you please provide the entire verbatim compile command?</span></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Tue, Aug 27, 2013 at 3:36 AM, Henrik Johansson <span dir="ltr"><<a href="mailto:henrikj@henkis.net" target="_blank">henrikj@henkis.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I am trying OmniOS as a replacement for my OpenIndiana deployment. I  did however get into trouble when compiling netatalk, and based on Google the problem is not limited to netatalk. I am uncertain if this is a generic illumos problem introduced after OpenIndiana stagnated or if it is something unique to OmniOS.<br>

<br>
Here it is:<br>
gmake[3]: Entering directory `/zpool01/build/netatalk/netatalk-3.0.5/etc/uams'<br>
  CC       uams_guest.lo<br>
In file included from /usr/include/sys/regset.h:420:0,<br>
                 from /usr/include/sys/ucontext.h:36,<br>
                 from /usr/include/sys/signal.h:245,<br>
                 from /usr/include/sys/procset.h:42,<br>
                 from /usr/include/sys/wait.h:43,<br>
                 from /usr/include/stdlib.h:38,<br>
                 from uams_guest.c:11:<br>
/usr/include/amd64/sys/privregs.h:42:2: error: #error "non-amd64 code depends on amd64 privileged header!"<br>
<br>
This was using GCC 4.7 but I get the same error with 4.4. If i remove the check from the privregs.h header everything seems to compile fine.<br>
<br>
Regards<br>
Henrik<br>
_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>
<p>Theo Schlossnagle</p>
<p><a href="http://omniti.com/is/theo-schlossnagle" target="_blank">http://omniti.com/is/theo-schlossnagle</a></p>
</div>