Trouble compiling

Help
mistawac
2013-04-06
2013-05-30
  • mistawac
    mistawac
    2013-04-06

    Trying to get this setup and I've reached an impass I cannot find a solution for. 

    ./configure - no problems
    make - problems

    Here's the output of make:

    [mistawac@WACmedia mediatomb-0.12.1]$ sudo make
    make  all-recursive
    make[1]: Entering directory `/home/mistawac/mediatomb-0.12.1'
    Making all in tombupnp
    make[2]: Entering directory `/home/mistawac/mediatomb-0.12.1/tombupnp'
    Making all in build
    make[3]: Entering directory `/home/mistawac/mediatomb-0.12.1/tombupnp/build'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/mistawac/mediatomb-0.12.1/tombupnp/build'
    make[3]: Entering directory `/home/mistawac/mediatomb-0.12.1/tombupnp'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/home/mistawac/mediatomb-0.12.1/tombupnp'
    make[2]: Leaving directory `/home/mistawac/mediatomb-0.12.1/tombupnp'
    Making all in build
    make[2]: Entering directory `/home/mistawac/mediatomb-0.12.1/build'
    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/include/mysql -fPIC -pipe -fno-strict-volatile-bitfields -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer -g -DNDEBUG -I/usr/include/js -I/usr/include/taglib       -pthread        -g -O2 -MT libmediatomb_a-autoscan_inotify.o -MD -MP -MF .deps/libmediatomb_a-autoscan_inotify.Tpo -c -o libmediatomb_a-autoscan_inotify.o `test -f '../src/autoscan_inotify.cc' || echo './'`../src/autoscan_inotify.cc
    In file included from ../src/hash.h:49:0,
                     from ../src/autoscan_inotify.h:36,
                     from ../src/autoscan_inotify.cc:38:
    ../src/hash/dbo_hash.h: In instantiation of âzmm::Ref<VT> DBOHash<KT, VT>::get(KT) [with KT = int; VT = AutoscanInotify::Wd]â:
    ../src/autoscan_inotify.cc:229:48:   required from here
    ../src/hash/dbo_hash.h:165:39: error: âsearchâ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
    ../src/hash/dbo_hash.h:165:39: note: declarations in dependent base âDHashBase<int, dbo_hash_slot<int, AutoscanInotify::Wd> >â are not found by unqualified lookup
    ../src/hash/dbo_hash.h:165:39: note: use âthis->searchâ instead
    ../src/hash/dbo_hash.h: In instantiation of âbool DBOHash<KT, VT>::remove(KT) [with KT = int; VT = AutoscanInotify::Wd]â:
    ../src/autoscan_inotify.cc:329:39:   required from here
    ../src/hash/dbo_hash.h:109:9: error: âsearchâ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
    ../src/hash/dbo_hash.h:109:9: note: declarations in dependent base âDHashBase<int, dbo_hash_slot<int, AutoscanInotify::Wd> >â are not found by unqualified lookup
    ../src/hash/dbo_hash.h:109:9: note: use âthis->searchâ instead
    ../src/hash/dbo_hash.h: In instantiation of âvoid DBOHash<KT, VT>::put(KT, zmm::Ref<VT>) [with KT = int; VT = AutoscanInotify::Wd]â:
    ../src/autoscan_inotify.cc:392:35:   required from here
    ../src/hash/dbo_hash.h:139:9: error: âsearchâ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
    ../src/hash/dbo_hash.h:139:9: note: declarations in dependent base âDHashBase<int, dbo_hash_slot<int, AutoscanInotify::Wd> >â are not found by unqualified lookup
    ../src/hash/dbo_hash.h:139:9: note: use âthis->searchâ instead
    make[2]: *** [libmediatomb_a-autoscan_inotify.o] Error 1
    make[2]: Leaving directory `/home/mistawac/mediatomb-0.12.1/build'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/mistawac/mediatomb-0.12.1'
    make: *** [all] Error 2
    
     
  • Jin
    Jin
    2013-04-07

    What version are you compiling and on what distro? Did you try git master head?

     
  • mistawac
    mistawac
    2013-04-14

    So the version I'm compiling is 0.12.1, the version from the website.  As for git master head, not quite sure what you're referring to there, I don't use git that much.

     
  • mistawac
    mistawac
    2013-04-14

    Also, I'm on Arch Linux 3.1.10-16

     
  • Jin
    Jin
    2013-04-14

    I am referring to the fact that 0.12.1 is ancient, you should try latest development code - which is git master branch, head revision (URL is available on our download page).

     
  • mistawac
    mistawac
    2013-04-14

    I'll look into this now.  My question is if 0.12.1 is so ancient, why is it still available on the site?

     
  • Jin
    Jin
    2013-04-14

    …because there is no newer release yet.