1 Reply Latest reply on Jun 6, 2013 10:10 AM by rukbat

    error during compile

      forgive me for pasting this here, but I'm getting an error when trying to compile. I'm running OmniOS (based off OpenSolaris / Solaris 10) on an AMD turion ii processor.

      My error is

      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 assuan.c:26:
      */usr/include/amd64/sys/privregs.h:42:2: error: #error "non-amd64 code depends on amd64 privileged header!"*
      make[2]: *** [libassuan_la-assuan.lo] Error 1
      make[2]: Leaving directory `/root/libassuan-2.1.0/src'
      make[1]: *** [check] Error 2
      make[1]: Leaving directory `/root/libassuan-2.1.0/src'
      make: *** [check-recursive] Error 1

      --- edit ---

      Contents of /usr/include/amd64/sys/privregs.h :
      36 /*
      37 * This file describes the cpu's privileged register set, and
      38 * how the machine state is saved on the stack when a trap occurs.
      39 */
      41 #if !defined(__amd64)
      42 #error "non-amd64 code depends on amd64 privileged header!"
      43 #endif

      Can anyone explain to me what this error is, and how I can work it out?

      Edited by: 1010144 on Jun 6, 2013 12:39 AM

      Edited by: 1010144 on Jun 6, 2013 12:41 AM
        • 1. Re: error during compile
          You inquiry is beyond the scope of this forum.
          It is outside the scope of this entire forum web site.

          OpenSolaris was effectively discontinued in 2010 (see its Wikipedia entry).
          Your chosen OS is one that I hadn't even heard of until your mention of it.
          There is no Wikipedia entry for it and a brief Google search doesn't show much information.

          Each and every *nix environment has its own quirks.
          Syntax, functionality and library linkages differ.
          You aren't asking for assistance with Solaris. That is why your question is off-topic.

          You will need to find some other site for help.
          Perhaps a more generic forum site, such as linuxquestions.org or unix.com or even opensolarisforum.org would be a better choice.