-- Groeten, natxo
On Mon, May 12, 2014 at 8:39 PM, Dan McDonald <[email protected]> wrote: > > On May 12, 2014, at 2:27 PM, Natxo Asenjo <[email protected]> wrote: > > > > > On Mon, May 12, 2014 at 11:37 AM, Lauri Tirkkonen <[email protected]> > 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 > > then I get the 'mediatomb' errors I mentioned earlier. It starts with this one: In file included from ../src/zmm/zmm.h:37:0, from ../src/zmmf/zmmf.h:35, from ../src/autoscan.h:36, from ../src/autoscan.cc:36: ../src/zmm/object.h:51:32: error: declaration of 'operator new' as non-function static void* operator new (size_t size); ^ ../src/zmm/object.h:51:27: error: expected ';' at end of member declaration static void* operator new (size_t size); ^ ../src/zmm/object.h:51:39: error: expected ')' before 'size' static void* operator new (size_t size); ^ make[2]: *** [libmediatomb_a-autoscan.o] Error 1 for which I found this patch: http://sourceforge.net/p/mediatomb/patches/25/ After patching src/zmm/object.h I get this one: In file included from ../src/hash.h:47:0, from ../src/storage.h:40, from ../src/content_manager.h:36, from ../src/content_manager.cc:45: ../src/hash/dbr_hash.h: In instantiation of 'bool DBRHash<KT>::remove(KT) [with KT = int]': ../src/content_manager.cc:904:42: required from here ../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] if (! search(key, &slot)) ^ ../src/hash/dbr_hash.h:127:32: note: declarations in dependent base 'DHashBase<int, dbr_hash_slot<int> >' are not found by unqualified lookup ../src/hash/dbr_hash.h:127:32: note: use 'this->search' instead ../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] if (! search(data_array[array_slot], &slot)) ^ ../src/hash/dbr_hash.h:137:51: note: declarations in dependent base 'DHashBase<int, dbr_hash_slot<int> >' are not found by unqualified lookup ../src/hash/dbr_hash.h:137:51: note: use 'this->search' instead make[2]: *** [libmediatomb_a-content_manager.o] Error 1 And I gave up, serviio has been running for a few hours and it looks great. I might just buy the pro edition. -- groet, natxo
_______________________________________________ OmniOS-discuss mailing list [email protected] http://lists.omniti.com/mailman/listinfo/omnios-discuss
