error during compile
1013147Jun 6 2013 — edited Jun 6 2013Hi,
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 */
40
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