<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Mon, May 12, 2014 at 11:37 AM, Lauri Tirkkonen <span dir="ltr"><<a href="mailto:lotheac@iki.fi" target="_blank">lotheac@iki.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">On Sun, May 11 2014 21:57:26 +0200, Natxo Asenjo wrote:<br>
> # grep m64 Makefile<br>
> CFLAGS = -g -O2 -m64<br>
><br>
> Or should I do it differently? I am not really sure ...<br>
<br>
</div>It depends on the build system of the software you're trying to build.<br>
Your make output before included g++, so it is likely that you need to<br>
add -m64 to CXXFLAGS as well.<br>
<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>I finally got rid of that error using this ./configure line:<br><br><pre><code>./configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" --exclude-youtube<br>
<br></code></pre><pre><code>The youbute line was adding the amd64 libraries for curl<br><br></code></pre><pre><code>Unfortunately I got some more make errors that like mediatomb related. So I went the easy way <br>and tried serviio (a java based server) and it works out of the box following their instructions <br>
<a href="http://wiki.serviio.org/doku.php?id=howto:solaris:install">http://wiki.serviio.org/doku.php?id=howto:solaris:install</a>) and using ffmpeg from csw (I already had java for crashplan).<br><br></code></pre><pre><code>So far so good.<br>
</code></pre>Thanks!<br><br></div></div><br></div></div>