but when I try to compile it I get error:
make: Entering directory `/usr/src/mediatomb-0.12.1/build'
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc -I/usr/include/ffmpeg -I/usr/local/include/ffmpeg -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I.. -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) ':
../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
../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) ':
../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
../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>) ':
../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
../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: *** Error 1
make: Leaving directory `/usr/src/mediatomb-0.12.1/build'
make: *** Error 1
make: Leaving directory `/usr/src/mediatomb-0.12.1'
make: *** Error 2
Any idea how to fix that ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to build mediatomb-0.12.1 on a seagate dockstar running slackware arm 14.
I satisfied all the mandatory requirements and configure seems to go fine:
CONFIGURATION SUMMARY ---
sqlite3 : yes
mysql : missing
libjs : missing
libmagic : yes
inotify : yes
libexif : missing
id3lib : disabled
taglib : missing
libmp4v2 : missing
ffmpeg : missing
ffmpegthumbnailer : missing
lastfmlib : missing
external transcoding : yes
curl : missing
YouTube : missing
libextractor : disabled
db-autocreate : yes
but when I try to compile it I get error:
make: Entering directory `/usr/src/mediatomb-0.12.1/build'
g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc -I/usr/include/ffmpeg -I/usr/local/include/ffmpeg -I../src -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I.. -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) ':
../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
../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) ':
../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
../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>) ':
../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
../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: *** Error 1
make: Leaving directory `/usr/src/mediatomb-0.12.1/build'
make: *** Error 1
make: Leaving directory `/usr/src/mediatomb-0.12.1'
make: *** Error 2
Any idea how to fix that ?
The git version won't even create the configure script :-D
It should work with autoconf-2.69 and automake-1.12.2, run autoreconf -i to generate the configure script. It worked for me on Fedora 18.
…btw, I am referring to the git master head, the 1.12.x tarballs won't compile on a recent distro.