make[3]: Entering directory '/d/a/hfst-python/hfst-python/libhfst_src/back-ends/openfstwin/src/lib'
depbase=`echo compat.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../libhfst/src -I ./../include -I ./../../../dlfcn -DMSC_VER -DOPENFSTEXPORT -I/usr/include -I/mingw/include -g -O2 -std=c++11 -MT compat.lo -MD -MP -MF $depbase.Tpo -c -o compat.lo compat.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../libhfst/src -I ./../include -I ./../../../dlfcn -DMSC_VER -DOPENFSTEXPORT -I/usr/include -I/mingw/include -g -O2 -std=c++11 -MT compat.lo -MD -MP -MF .deps/compat.Tpo -c compat.cc -DDLL_EXPORT -DPIC -o .libs/compat.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../libhfst/src -I ./../include -I ./../../../dlfcn -DMSC_VER -DOPENFSTEXPORT -I/usr/include -I/mingw/include -g -O2 -std=c++11 -MT compat.lo -MD -MP -MF .deps/compat.Tpo -c compat.cc -o compat.o >/dev/null 2>&1
depbase=`echo flags.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../libhfst/src -I ./../include -I ./../../../dlfcn -DMSC_VER -DOPENFSTEXPORT -I/usr/include -I/mingw/include -g -O2 -std=c++11 -MT flags.lo -MD -MP -MF $depbase.Tpo -c -o flags.lo flags.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../libhfst/src -I ./../include -I ./../../../dlfcn -DMSC_VER -DOPENFSTEXPORT -I/usr/include -I/mingw/include -g -O2 -std=c++11 -MT flags.lo -MD -MP -MF .deps/flags.Tpo -c flags.cc -DDLL_EXPORT -DPIC -o .libs/flags.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../libhfst/src -I ./../include -I ./../../../dlfcn -DMSC_VER -DOPENFSTEXPORT -I/usr/include -I/mingw/include -g -O2 -std=c++11 -MT flags.lo -MD -MP -MF .deps/flags.Tpo -c flags.cc -o flags.o >/dev/null 2>&1
depbase=`echo fst.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../libhfst/src -I ./../include -I ./../../../dlfcn -DMSC_VER -DOPENFSTEXPORT -I/usr/include -I/mingw/include -g -O2 -std=c++11 -MT fst.lo -MD -MP -MF $depbase.Tpo -c -o fst.lo fst.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../libhfst/src -I ./../include -I ./../../../dlfcn -DMSC_VER -DOPENFSTEXPORT -I/usr/include -I/mingw/include -g -O2 -std=c++11 -MT fst.lo -MD -MP -MF .deps/fst.Tpo -c fst.cc -DDLL_EXPORT -DPIC -o .libs/fst.o
In file included from C:/msys64/mingw64/include/c++/10.2.0/tr1/unordered_map:40,
from ./../include/fst/unordered_map.h:11,
from ./../include/fst/util.h:24,
from ./../include/fst/weight.h:82,
from ./../include/fst/pair-weight.h:29,
from ./../include/fst/expectation-weight.h:36,
from ./../include/fst/arc.h:28,
from ./../include/fst/fst.h:34,
from fst.cc:21:
C:/msys64/mingw64/include/c++/10.2.0/tr1/functional_hash.h:79:3: error: template-id 'operator()<>' for 'std::size_t std::tr1::hash<long long unsigned int>::operator()(long long unsigned int) const' does not match any template declaration
79 | _TR1_hashtable_define_trivial_hash(unsigned long long);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./../include/fst/fst.h:31,
from fst.cc:21:
./../include/fst/compat.h:154:10: note: candidate is: 'std::size_t std::tr1::hash<long long unsigned int>::operator()(uint64) const'
154 | size_t operator()(uint64 x) const { return x; }
| ^~~~~~~~
In file included from ./../include/fst/sparse-power-weight.h:28,
from ./../include/fst/arc.h:34,
from ./../include/fst/fst.h:34,
from fst.cc:21:
./../include/fst/sparse-tuple-weight.h:41:14: error: 'unordered_multimap' has not been declared in 'std'
41 | using std::unordered_multimap;
| ^~~~~~~~~~~~~~~~~~
In file included from ./../include/fst/register.h:33,
from ./../include/fst/fst.h:36,
from fst.cc:21:
./../include/fst/generic-register.h: In member function 'virtual EntryType fst::GenericRegister<KeyType, EntryType, RegisterType>::LoadEntryFromSharedObject(const KeyType&) const':
./../include/fst/generic-register.h:78:48: error: 'RTLD_LAZY' was not declared in this scope
78 | void *handle = dlopen(so_filename.c_str(), RTLD_LAZY);
| ^~~~~~~~~
./../include/fst/generic-register.h:78:20: error: there are no arguments to 'dlopen' that depend on a template parameter, so a declaration of 'dlopen' must be available [-fpermissive]
78 | void *handle = dlopen(so_filename.c_str(), RTLD_LAZY);
| ^~~~~~
./../include/fst/generic-register.h:78:20: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
./../include/fst/generic-register.h:80:55: error: there are no arguments to 'dlerror' that depend on a template parameter, so a declaration of 'dlerror' must be available [-fpermissive]
80 | LOG(ERROR) << "GenericRegister::GetEntry : " << dlerror();
| ^~~~~~~
In file included from ./../include/fst/accumulator.h:36,
from ./../include/fst/label-reachable.h:32,
from ./../include/fst/lookahead-matcher.h:28,
from ./../include/fst/matcher-fst.h:26,
from fst.cc:26:
./../include/fst/replace.h: In constructor 'fst::ArcIterator<fst::ReplaceFst<A, T> >::ArcIterator(const fst::ReplaceFst<A, T>&, fst::ArcIterator<fst::ReplaceFst<A, T> >::StateId)':
./../include/fst/replace.h:1074:46: error: expected ';' before '::' token
1074 | (fst_.GetImpl())->template CacheImpl<A>::InitArcIterator(state_,
| ^~
| ;
In file included from ./../include/fst/register.h:33,
from ./../include/fst/fst.h:36,
from fst.cc:21:
./../include/fst/generic-register.h: In instantiation of 'EntryType fst::GenericRegister<KeyType, EntryType, RegisterType>::LoadEntryFromSharedObject(const KeyType&) const [with KeyType = std::__cxx11::basic_string<char>; EntryType = fst::FstRegisterEntry<fst::ArcTpl<fst::TropicalWeightTpl<float> > >; RegisterType = fst::FstRegister<fst::ArcTpl<fst::TropicalWeightTpl<float> > >]':
./../include/fst/generic-register.h:65:14: required from 'EntryType fst::GenericRegister<KeyType, EntryType, RegisterType>::GetEntry(const KeyType&) const [with KeyType = std::__cxx11::basic_string<char>; EntryType = fst::FstRegisterEntry<fst::ArcTpl<fst::TropicalWeightTpl<float> > >; RegisterType = fst::FstRegister<fst::ArcTpl<fst::TropicalWeightTpl<float> > >]'
./../include/fst/register.h:65:26: required from 'const Reader fst::FstRegister<A>::GetReader(const string&) const [with A = fst::ArcTpl<fst::TropicalWeightTpl<float> >; fst::FstRegister<A>::Reader = fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl<float> > >* (*)(std::basic_istream<char>&, const fst::FstReadOptions&); std::string = std::__cxx11::basic_string<char>]'
./../include/fst/fst.h:212:25: required from 'static fst::Fst<A>* fst::Fst<A>::Read(std::istream&, const fst::FstReadOptions&) [with A = fst::ArcTpl<fst::TropicalWeightTpl<float> >; std::istream = std::basic_istream<char>]'
./../include/fst/edit-fst.h:663:37: required from 'static fst::EditFstImpl<A, WrappedFstT, MutableFstT>* fst::EditFstImpl<A, WrappedFstT, MutableFstT>::Read(std::istream&, const fst::FstReadOptions&) [with A = fst::ArcTpl<fst::TropicalWeightTpl<float> >; WrappedFstT = fst::ExpandedFst<fst::ArcTpl<fst::TropicalWeightTpl<float> > >; MutableFstT = fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl<float> > >; std::istream = std::basic_istream<char>]'
./../include/fst/edit-fst.h:730:28: required from 'static fst::EditFst<A, W, M>* fst::EditFst<A, W, M>::Read(std::istream&, const fst::FstReadOptions&) [with A = fst::ArcTpl<fst::TropicalWeightTpl<float> >; WrappedFstT = fst::ExpandedFst<fst::ArcTpl<fst::TropicalWeightTpl<float> > >; MutableFstT = fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl<float> > >; std::istream = std::basic_istream<char>]'
./../include/fst/register.h:100:10: required from 'fst::FstRegisterer<F>::Entry fst::FstRegisterer<F>::BuildEntry() [with F = fst::EditFst<fst::ArcTpl<fst::TropicalWeightTpl<float> > >; fst::FstRegisterer<F>::Entry = fst::FstRegisterEntry<fst::ArcTpl<fst::TropicalWeightTpl<float> > >]'
./../include/fst/register.h:96:23: required from 'fst::FstRegisterer<F>::FstRegisterer() [with F = fst::EditFst<fst::ArcTpl<fst::TropicalWeightTpl<float> > >]'
fst.cc:64:1: required from here
./../include/fst/generic-register.h:78:57: error: 'dlopen' was not declared in this scope; did you mean 'fdopen'?
78 | void *handle = dlopen(so_filename.c_str(), RTLD_LAZY);
| ^
| fdopen
./../include/fst/generic-register.h:80:62: error: 'dlerror' was not declared in this scope; did you mean 'ferror'?
80 | LOG(ERROR) << "GenericRegister::GetEntry : " << dlerror();
| ~~~~~~~^~
| ferror
./../include/fst/generic-register.h: In instantiation of 'EntryType fst::GenericRegister<KeyType, EntryType, RegisterType>::LoadEntryFromSharedObject(const KeyType&) const [with KeyType = std::__cxx11::basic_string<char>; EntryType = fst::FstRegisterEntry<fst::ArcTpl<fst::LogWeightTpl<float> > >; RegisterType = fst::FstRegister<fst::ArcTpl<fst::LogWeightTpl<float> > >]':
./../include/fst/generic-register.h:65:14: required from 'EntryType fst::GenericRegister<KeyType, EntryType, RegisterType>::GetEntry(const KeyType&) const [with KeyType = std::__cxx11::basic_string<char>; EntryType = fst::FstRegisterEntry<fst::ArcTpl<fst::LogWeightTpl<float> > >; RegisterType = fst::FstRegister<fst::ArcTpl<fst::LogWeightTpl<float> > >]'
./../include/fst/register.h:65:26: required from 'const Reader fst::FstRegister<A>::GetReader(const string&) const [with A = fst::ArcTpl<fst::LogWeightTpl<float> >; fst::FstRegister<A>::Reader = fst::Fst<fst::ArcTpl<fst::LogWeightTpl<float> > >* (*)(std::basic_istream<char>&, const fst::FstReadOptions&); std::string = std::__cxx11::basic_string<char>]'
./../include/fst/fst.h:212:25: required from 'static fst::Fst<A>* fst::Fst<A>::Read(std::istream&, const fst::FstReadOptions&) [with A = fst::ArcTpl<fst::LogWeightTpl<float> >; std::istream = std::basic_istream<char>]'
./../include/fst/edit-fst.h:663:37: required from 'static fst::EditFstImpl<A, WrappedFstT, MutableFstT>* fst::EditFstImpl<A, WrappedFstT, MutableFstT>::Read(std::istream&, const fst::FstReadOptions&) [with A = fst::ArcTpl<fst::LogWeightTpl<float> >; WrappedFstT = fst::ExpandedFst<fst::ArcTpl<fst::LogWeightTpl<float> > >; MutableFstT = fst::VectorFst<fst::ArcTpl<fst::LogWeightTpl<float> > >; std::istream = std::basic_istream<char>]'
./../include/fst/edit-fst.h:730:28: required from 'static fst::EditFst<A, W, M>* fst::EditFst<A, W, M>::Read(std::istream&, const fst::FstReadOptions&) [with A = fst::ArcTpl<fst::LogWeightTpl<float> >; WrappedFstT = fst::ExpandedFst<fst::ArcTpl<fst::LogWeightTpl<float> > >; MutableFstT = fst::VectorFst<fst::ArcTpl<fst::LogWeightTpl<float> > >; std::istream = std::basic_istream<char>]'
./../include/fst/register.h:100:10: required from 'fst::FstRegisterer<F>::Entry fst::FstRegisterer<F>::BuildEntry() [with F = fst::EditFst<fst::ArcTpl<fst::LogWeightTpl<float> > >; fst::FstRegisterer<F>::Entry = fst::FstRegisterEntry<fst::ArcTpl<fst::LogWeightTpl<float> > >]'
./../include/fst/register.h:96:23: required from 'fst::FstRegisterer<F>::FstRegisterer() [with F = fst::EditFst<fst::ArcTpl<fst::LogWeightTpl<float> > >]'
fst.cc:65:1: required from here
./../include/fst/generic-register.h:78:57: error: 'dlopen' was not declared in this scope; did you mean 'fdopen'?
78 | void *handle = dlopen(so_filename.c_str(), RTLD_LAZY);
| ^
| fdopen
./../include/fst/generic-register.h:80:62: error: 'dlerror' was not declared in this scope; did you mean 'ferror'?
80 | LOG(ERROR) << "GenericRegister::GetEntry : " << dlerror();
| ~~~~~~~^~
| ferror
./../include/fst/generic-register.h: In instantiation of 'EntryType fst::GenericRegister<KeyType, EntryType, RegisterType>::LoadEntryFromSharedObject(const KeyType&) const [with KeyType = std::__cxx11::basic_string<char>; EntryType = fst::FstRegisterEntry<fst::ArcTpl<fst::LogWeightTpl<double> > >; RegisterType = fst::FstRegister<fst::ArcTpl<fst::LogWeightTpl<double> > >]':
./../include/fst/generic-register.h:65:14: required from 'EntryType fst::GenericRegister<KeyType, EntryType, RegisterType>::GetEntry(const KeyType&) const [with KeyType = std::__cxx11::basic_string<char>; EntryType = fst::FstRegisterEntry<fst::ArcTpl<fst::LogWeightTpl<double> > >; RegisterType = fst::FstRegister<fst::ArcTpl<fst::LogWeightTpl<double> > >]'
./../include/fst/register.h:65:26: required from 'const Reader fst::FstRegister<A>::GetReader(const string&) const [with A = fst::ArcTpl<fst::LogWeightTpl<double> >; fst::FstRegister<A>::Reader = fst::Fst<fst::ArcTpl<fst::LogWeightTpl<double> > >* (*)(std::basic_istream<char>&, const fst::FstReadOptions&); std::string = std::__cxx11::basic_string<char>]'
./../include/fst/fst.h:212:25: required from 'static fst::Fst<A>* fst::Fst<A>::Read(std::istream&, const fst::FstReadOptions&) [with A = fst::ArcTpl<fst::LogWeightTpl<double> >; std::istream = std::basic_istream<char>]'
./../include/fst/edit-fst.h:663:37: required from 'static fst::EditFstImpl<A, WrappedFstT, MutableFstT>* fst::EditFstImpl<A, WrappedFstT, MutableFstT>::Read(std::istream&, const fst::FstReadOptions&) [with A = fst::ArcTpl<fst::LogWeightTpl<double> >; WrappedFstT = fst::ExpandedFst<fst::ArcTpl<fst::LogWeightTpl<double> > >; MutableFstT = fst::VectorFst<fst::ArcTpl<fst::LogWeightTpl<double> > >; std::istream = std::basic_istream<char>]'
./../include/fst/edit-fst.h:730:28: required from 'static fst::EditFst<A, W, M>* fst::EditFst<A, W, M>::Read(std::istream&, const fst::FstReadOptions&) [with A = fst::ArcTpl<fst::LogWeightTpl<double> >; WrappedFstT = fst::ExpandedFst<fst::ArcTpl<fst::LogWeightTpl<double> > >; MutableFstT = fst::VectorFst<fst::ArcTpl<fst::LogWeightTpl<double> > >; std::istream = std::basic_istream<char>]'
./../include/fst/register.h:100:10: required from 'fst::FstRegisterer<F>::Entry fst::FstRegisterer<F>::BuildEntry() [with F = fst::EditFst<fst::ArcTpl<fst::LogWeightTpl<double> > >; fst::FstRegisterer<F>::Entry = fst::FstRegisterEntry<fst::ArcTpl<fst::LogWeightTpl<double> > >]'
./../include/fst/register.h:96:23: required from 'fst::FstRegisterer<F>::FstRegisterer() [with F = fst::EditFst<fst::ArcTpl<fst::LogWeightTpl<double> > >]'
fst.cc:66:1: required from here
./../include/fst/generic-register.h:78:57: error: 'dlopen' was not declared in this scope; did you mean 'fdopen'?
78 | void *handle = dlopen(so_filename.c_str(), RTLD_LAZY);
| ^
| fdopen
./../include/fst/generic-register.h:80:62: error: 'dlerror' was not declared in this scope; did you mean 'ferror'?
80 | LOG(ERROR) << "GenericRegister::GetEntry : " << dlerror();
| ~~~~~~~^~
| ferror
make[3]: *** [Makefile:428: fst.lo] Error 1
make[3]: Leaving directory '/d/a/hfst-python/hfst-python/libhfst_src/back-ends/openfstwin/src/lib'
make[2]: *** [Makefile:388: all-recursive] Error 1
make[2]: Leaving directory '/d/a/hfst-python/hfst-python/libhfst_src/back-ends/openfstwin/src'
make[1]: *** [Makefile:388: all-recursive] Error 1
make[1]: Leaving directory '/d/a/hfst-python/hfst-python/libhfst_src/back-ends/openfstwin'
make: *** [Makefile:387: all-recursive] Error 1
make: Leaving directory '/d/a/hfst-python/hfst-python/libhfst_src/back-ends'