Troubles building enigma: stl_hash_fun.h missing

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
Deffie
Beiträge: 1
Registriert: Mittwoch 10. Dezember 2008, 09:30

Troubles building enigma: stl_hash_fun.h missing

Beitrag von Deffie »

Hi all,
i'm starting to work on Enigma, i got the source from cvs and i'm working on a dedicated VM running debian etch.

Code: Alles auswählen

In file included from ../../../enigma/include/lib/base/ebase.h:11,
                 from ../../../enigma/include/lib/gui/ewidget.h:4,
                 from brdlg.cpp:1:
../../../enigma/include/lib/base/eptrlist.h: In copy constructor `ePtrList<T>::ePtrList(const ePtrList<T>&)':
../../../enigma/include/lib/base/eptrlist.h:394: error: there are no arguments to `eDebug' that depend on a template parameter, so a declaration of `eDebug' must be available
../../../enigma/include/lib/base/eptrlist.h:394: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../../enigma/include/lib/base/eptrlist.h: In member function `ePtrList<T>::operator bool()':
../../../enigma/include/lib/base/eptrlist.h:648: error: there are no arguments to `empty' that depend on a template parameter, so a declaration of `empty' must be available
../../../enigma/include/lib/base/eptrlist.h: In member function `bool ePtrList<T>::operator!()':
../../../enigma/include/lib/base/eptrlist.h:655: error: there are no arguments to `empty' that depend on a template parameter, so a declaration of `empty' must be available
In file included from ../../../enigma/include/lib/gui/ewidget.h:5,
                 from brdlg.cpp:1:
../../../enigma/include/lib/base/estring.h: In member function `eString eString::left(unsigned int) const':
../../../enigma/include/lib/base/estring.h:76: error: no match for ternary 'operator?:' in '(len >= ((const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)this)->std::basic_string<_CharT, _Traits, _Alloc>::length [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]()) ? *(const eString*)this : std::basic_string<_CharT, _Traits, _Alloc>::substr(typename _Alloc::size_type, typename _Alloc::size_type) const [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>](0u, len)'
../../../enigma/include/lib/base/estring.h: In member function `eString eString::right(unsigned int) const':
../../../enigma/include/lib/base/estring.h:104: error: no match for ternary 'operator?:' in '(len >= strlen) ? *(const eString*)this : std::basic_string<_CharT, _Traits, _Alloc>::substr(typename _Alloc::size_type, typename _Alloc::size_type) const [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]((strlen - len), len)'
In file included from ../../../enigma/src/sselect.h:7,
                 from ../../../enigma/src/enigma.h:5,
                 from brdlg.h:8,
                 from brdlg.cpp:14:
../../../enigma/include/lib/dvb/epgcache.h:7:30: ext/stl_hash_fun.h: No such file or directory
In file included from ../../../enigma/src/sselect.h:7,
                 from ../../../enigma/src/enigma.h:5,
                 from brdlg.h:8,
                 from brdlg.cpp:14:
../../../enigma/include/lib/dvb/epgcache.h: At global scope:
../../../enigma/include/lib/dvb/epgcache.h:105: error: an explicit specialization must be preceded by 'template <>'
brdlg.cpp: In member function `void BitrateDialog::Run()':
../../../enigma/include/lib/dvb/decoder.h:31: error: `decoderParameters Decoder::current' is private
brdlg.cpp:149: error: within this context
../../../enigma/include/lib/dvb/decoder.h:31: error: `decoderParameters Decoder::current' is private
brdlg.cpp:150: error: within this context
../../../enigma/include/lib/dvb/decoder.h:31: error: `decoderParameters Decoder::current' is private
brdlg.cpp:151: error: within this context
brdlg.cpp:297: error: `DECODE_AUDIO_AC3_VOB' undeclared (first use this function)
brdlg.cpp:297: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../../enigma/include/lib/base/eptrlist.h: In member function `void ePtrList<T>::sort() [with T = eTimer]':
../../../enigma/include/lib/base/ebase.h:224:   instantiated from here
../../../enigma/include/lib/base/eptrlist.h:416: error: dependent-name ` ePtrList<T>::less' is parsed as a non-type, but instantiation yields a type
../../../enigma/include/lib/base/eptrlist.h:416: note: say `typename  ePtrList<T>::less' if a type is meant
make[4]: *** [bitrate_la-brdlg.lo] Error 1
make[4]: Leaving directory `/root/cvs/apps/tuxbox/plugins/enigma/bitrate'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/cvs/apps/tuxbox/plugins/enigma'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/cvs/apps/tuxbox/plugins'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/cvs/apps/tuxbox/plugins'
make: *** [.plugins] Error 2
I see that it is missing stl_hash_fun.h which should be contained in libstdc++ but it is not contained in the cdk, any hint ?

Thank you,
Giacomo.