<div dir="ltr"><div>hi,<br><br></div>trying to use my home omnios server for streaming media I get this error when making mediatomb:<br><div><div><br>g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc    -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..       -I/usr/local/include    -D_REENTRANT -pthreads    -I/usr/include/amd64    -g -O2 -MT libmediatomb_a-action_request.o -MD -MP -MF .deps/libmediatomb_a-action_request.Tpo -c -o libmediatomb_a-action_request.o `test -f '../src/action_request.cc' || echo './'`../src/action_request.cc<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:40,<br>                 from ../src/memory.h:35,<br>                 from ../src/common.h:36,<br>                 from ../src/action_request.h:36,<br>
                 from ../src/action_request.cc:36:<br>/usr/include/amd64/sys/privregs.h:42:2: error: #error "non-amd64 code depends on amd64 privileged header!"<br> #error "non-amd64 code depends on amd64 privileged header!"<br>
  ^<br>make[2]: *** [libmediatomb_a-action_request.o] Error 1<br>make[2]: Leaving directory `/root/mediatomb-0.12.1/build'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/root/mediatomb-0.12.1'<br>
make: *** [all] Error 2<br><br></div><div>There are quite a few hits on google regarding this #error "non-amd64 code depends on amd64 privileged header!" on omnios, but so far I could not find a solution.<br><br>
</div><div>I am building this on a zone with gcc-4.8.1.<br><br></div><div>Any help greatly appreciated.<br><br></div><div><div>--<br>Groeten,<br>natxo</div>
</div></div></div>