[OmniOS-discuss] compiling mediatomb #error "non-amd64 code depends on amd64 privileged header!"

Dan McDonald danmcd at omniti.com
Mon May 12 18:39:24 UTC 2014


On May 12, 2014, at 2:27 PM, Natxo Asenjo <natxo.asenjo at gmail.com> wrote:

> 
> On Mon, May 12, 2014 at 11:37 AM, Lauri Tirkkonen <lotheac at iki.fi> wrote:
> On Sun, May 11 2014 21:57:26 +0200, Natxo Asenjo wrote:
> > # grep m64 Makefile
> > CFLAGS = -g -O2 -m64
> >
> > Or should I do it differently? I am not really sure ...
> 
> It depends on the build system of the software you're trying to build.
> Your make output before included g++, so it is likely that you need to
> add -m64 to CXXFLAGS as well.
> 
> 
> I finally got rid of that error using this ./configure line:
> 
> ./configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" --exclude-youtube

Hmm.  You're building a 32-bit binary now. Do you want that?

And if you swap all of those -m32s for -m64, does it still fail?

Curious,
Dan



More information about the OmniOS-discuss mailing list