`<div dir="ltr"><br><div class="gmail_extra"><br clear="all"><div>--<br>Groeten,<br>natxo</div>
<br><br><div class="gmail_quote">On Mon, May 12, 2014 at 8:39 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class=""><br>
On May 12, 2014, at 2:27 PM, Natxo Asenjo <<a href="mailto:natxo.asenjo@gmail.com">natxo.asenjo@gmail.com</a>> wrote:<br>
<br>
><br>
> On Mon, May 12, 2014 at 11:37 AM, Lauri Tirkkonen <<a href="mailto:lotheac@iki.fi">lotheac@iki.fi</a>> wrote:<br>
> 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>
> 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>
><br>
><br>
> I finally got rid of that error using this ./configure line:<br>
><br>
> ./configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" --exclude-youtube<br>
<br>
</div>Hmm. You're building a 32-bit binary now. Do you want that?<br>
<br>
And if you swap all of those -m32s for -m64, does it still fail?<br>
<br>
Curious,<br>
Dan<br>
<br>
</blockquote></div><br></div><div class="gmail_extra">then I get the 'mediatomb' errors I mentioned earlier. It starts with this one:<br><br>In file included from ../src/zmm/zmm.h:37:0,<br> from ../src/zmmf/zmmf.h:35,<br>
from ../src/autoscan.h:36,<br> from ../src/autoscan.cc:36:<br>../src/zmm/object.h:51:32: error: declaration of 'operator new' as non-function<br> static void* operator new (size_t size); <br>
^<br>../src/zmm/object.h:51:27: error: expected ';' at end of member declaration<br> static void* operator new (size_t size); <br> ^<br>../src/zmm/object.h:51:39: error: expected ')' before 'size'<br>
static void* operator new (size_t size); <br> ^<br>make[2]: *** [libmediatomb_a-autoscan.o] Error 1<br><br></div><div class="gmail_extra">for which I found this patch: <a href="http://sourceforge.net/p/mediatomb/patches/25/">http://sourceforge.net/p/mediatomb/patches/25/</a><br>
<br></div><div class="gmail_extra">After patching src/zmm/object.h I get this one:<br><br>In file included from ../src/hash.h:47:0,<br> from ../src/storage.h:40,<br> from ../src/content_manager.h:36,<br>
from ../src/content_manager.cc:45:<br>../src/hash/dbr_hash.h: In instantiation of 'bool DBRHash<KT>::remove(KT) [with KT = int]':<br>../src/content_manager.cc:904:42: required from here<br>
../src/hash/dbr_hash.h:127:32: error: 'search' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]<br> if (! search(key, &slot))<br>
^<br>../src/hash/dbr_hash.h:127:32: note: declarations in dependent base 'DHashBase<int, dbr_hash_slot<int> >' are not found by unqualified lookup<br>../src/hash/dbr_hash.h:127:32: note: use 'this->search' instead<br>
../src/hash/dbr_hash.h:137:51: error: 'search' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]<br> if (! search(data_array[array_slot], &slot))<br>
^<br>../src/hash/dbr_hash.h:137:51: note: declarations in dependent base 'DHashBase<int, dbr_hash_slot<int> >' are not found by unqualified lookup<br>
../src/hash/dbr_hash.h:137:51: note: use 'this->search' instead<br>make[2]: *** [libmediatomb_a-content_manager.o] Error 1<br><br></div><div class="gmail_extra">And I gave up, serviio has been running for a few hours and it looks great. I might just buy the pro edition.<br>
<br>-- <br></div><div class="gmail_extra">groet,<br>natxo<br></div><div class="gmail_extra"><br></div></div>
`