[OmniOS-discuss] non-amd64 code depends on amd64 privileged header!
Theo Schlossnagle
jesus at omniti.com
Mon Aug 26 19:55:40 UTC 2013
CC uams_guest.lo isn't descriptive enough. Can you please provide the
entire verbatim compile command?
On Tue, Aug 27, 2013 at 3:36 AM, Henrik Johansson <henrikj at henkis.net>wrote:
> Hello,
>
> 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.
>
> Here it is:
> gmake[3]: Entering directory
> `/zpool01/build/netatalk/netatalk-3.0.5/etc/uams'
> CC uams_guest.lo
> In file included from /usr/include/sys/regset.h:420:0,
> from /usr/include/sys/ucontext.h:36,
> from /usr/include/sys/signal.h:245,
> from /usr/include/sys/procset.h:42,
> from /usr/include/sys/wait.h:43,
> from /usr/include/stdlib.h:38,
> from uams_guest.c:11:
> /usr/include/amd64/sys/privregs.h:42:2: error: #error "non-amd64 code
> depends on amd64 privileged header!"
>
> 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.
>
> Regards
> Henrik
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
--
Theo Schlossnagle
http://omniti.com/is/theo-schlossnagle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130827/01571892/attachment.html>
More information about the OmniOS-discuss
mailing list