I am running OmniOS (latest stable) on an HP micro server, which uses an AMD Turion II cpu, trying to build libassuan, a library necessary for GnuPG. When I go to make libassuan, I end with an error:
In file included from /usr/include/sys/regset.h:420:0,
/usr/include/amd64/sys/privregs.h:42:2: error: #error "non-amd64 code depends on amd64 privileged header!"
make2: * [libassuan_la-assuan.lo] Error 1
make2: Leaving directory `/root/libassuan-2.1.0/src'
make1: [check] Error 2
make1: Leaving directory `/root/libassuan-2.1.0/src'
make: ** [check-recursive] Error 1
Contents of /usr/include/amd64/sys/privregs.h :
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.
41 #if !defined(__amd64)
42 #error "non-amd64 code depends on amd64 privileged header!"
Searching google for this string indicates it is part of the illumos distro.
I found a few pastebin examples of someone with this same error trying to compile Mediatomb, but no other references.
Can anyone explain to me what this error is, and how I can work it out?