`<div dir="ltr"><div><div><div><div><br></div>hi,<br><br></div>Tonight I'll try that, I suppose i should look in the Makefile?<br><br></div>regards,<br></div>natxo<br></div><div class="gmail_extra"><br clear="all"><div>
--<br>Groeten,<br>natxo</div>
<br><br><div class="gmail_quote">On Sun, May 11, 2014 at 11:02 PM, Dan McDonald <span dir="ltr"><<a href="mailto:danmcd@omniti.com" target="_blank">danmcd@omniti.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Okay. Our headers are 64-bit aware, maybe lose -I/usr/include/amd64 ?<br>
<div class="im HOEnZb"><br>
Dan<br>
<br>
Sent from my iPhone (typos, autocorrect, and all)<br>
<br>
> On May 11, 2014, at 3:00 PM, Natxo Asenjo <<a href="mailto:natxo.asenjo@gmail.com">natxo.asenjo@gmail.com</a>> wrote:<br>
><br>
</div><div class="HOEnZb"><div class="h5">> hi,<br>
><br>
> trying to use my home omnios server for streaming media I get this error when making mediatomb:<br>
><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>
> 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>
> I am building this on a zone with gcc-4.8.1.<br>
><br>
> Any help greatly appreciated.<br>
><br>
> --<br>
> Groeten,<br>
> natxo<br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> OmniOS-discuss mailing list<br>
> <a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
> <a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</div></div></blockquote></div><br></div>
`