Today i checked out the latest version from git.
I have my g++ latest version 5+
While making - Openfst 1.6.1 compile error occurs.
collect2: error: ld returned 1 exit status
Makefile:705: recipe for target 'fstarcsort' failed
make[3]: *** [fstarcsort] Error 1
make[3]: Leaving directory '/home/rvenkidapathy/kaldi/tools/openfst-1.6.1/src/bin'
Makefile:358: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/rvenkidapathy/kaldi/tools/openfst-1.6.1/src'
Makefile:414: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/rvenkidapathy/kaldi/tools/openfst-cc -c -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -I. -Os text.c
In file included from ./../include/fst/fstlib.h:72:0,
from ./../include/fst/script/arciterator-class.h:10,
from arciterator-class.cc:4:
./../include/fst/shortest-path.h: In function 'void fst::internal::SingleShortestPathBacktrace(const fst::Fst<Arc>&, fst::MutableFst<Arc>*, const std::vector<std::pair<typename Arc::StateId, long unsigned int> >&, typename Arc::StateId)':
./../include/fst/shortest-path.h:77:8: error: inconsistent deduction for 'auto': 'auto' and then 'int'
for (auto state = f_parent, d = kNoStateId; state != kNoStateId;
^~~~
1.6.1'
Any help is appreciated
Thanks
Ravi
Makefile:61: recipe for target 'openfst_compiled' f
Further error logs: