These are chat archives for dmlc/mxnet

12th
Aug 2016
john
@zhangjiulong
Aug 12 2016 08:26
Has any one built speech demo of mxnet?
When I build kaldi and copied python_wrap to kaldi/src/ and runned make I got the following error msg
ar -cru kaldi-python-wrap.a ctypes.o
ranlib kaldi-python-wrap.a
# Building shared library from static (static was compiled with -fPIC)
g++ -shared -o libkaldi-python-wrap.so -Wl,--no-undefined -Wl,--as-needed  -Wl,-soname=libkaldi-python-wrap.so,--whole-archive kaldi-python-wrap.a -Wl,--no-whole-archive  -rdynamic -Wl,-rpath=/home/mxnet/git/kaldi/tools/openfst/lib -Wl,-rpath=/home/mxnet/git/kaldi/src/lib -L.  -L../util/   -L../matrix/   -L../base/   -L../hmm/   -L../cudamatrix/   -L../nnet/   ../util//libkaldi-util.so   ../matrix//libkaldi-matrix.so   ../base//libkaldi-base.so   ../hmm//libkaldi-hmm.so   ../cudamatrix//libkaldi-cudamatrix.so   ../nnet//libkaldi-nnet.so   -L/home/mxnet/git/kaldi/tools/openfst/lib -lfst /usr/lib/libatlas.so.3 /usr/lib/libf77blas.so.3 /usr/lib/libcblas.so.3 /usr/lib/liblapack_atlas.so.3 -lm -lpthread -ldl  -lkaldi-util   -lkaldi-matrix   -lkaldi-base   -lkaldi-hmm   -lkaldi-cudamatrix   -lkaldi-nnet 
kaldi-python-wrap.a(ctypes.o):在函数‘kaldi::SequentialTableReaderBackgroundImpl<kaldi::KaldiObjectHolder<kaldi::Matrix<float> > >::SequentialTableReaderBackgroundImpl(kaldi::SequentialTableReaderImplBase<kaldi::KaldiObjectHolder<kaldi::Matrix<float> > >*)’中:
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:721:对‘kaldi::Semaphore::Semaphore(int)’未定义的引用
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:721:对‘kaldi::Semaphore::Semaphore(int)’未定义的引用
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:721:对‘kaldi::Semaphore::~Semaphore()’未定义的引用
kaldi-python-wrap.a(ctypes.o):在函数‘kaldi::SequentialTableReaderBackgroundImpl<kaldi::KaldiObjectHolder<kaldi::Matrix<float> > >::Next()’中:
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:823:对‘kaldi::Semaphore::Wait()’未定义的引用
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:836:对‘kaldi::Semaphore::Signal()’未定义的引用
kaldi-python-wrap.a(ctypes.o):在函数‘kaldi::SequentialTableReaderBackgroundImpl<kaldi::KaldiObjectHolder<kaldi::Matrix<float> > >::Close()’中:
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:844:对‘kaldi::Semaphore::Wait()’未定义的引用
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:855:对‘kaldi::Semaphore::Signal()’未定义的引用
kaldi-python-wrap.a(ctypes.o):在函数‘kaldi::SequentialTableReaderBackgroundImpl<kaldi::KaldiObjectHolder<kaldi::Matrix<float> > >::~SequentialTableReaderBackgroundImpl()’中:
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:870:对‘kaldi::Semaphore::~Semaphore()’未定义的引用
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:870:对‘kaldi::Semaphore::~Semaphore()’未定义的引用
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:870:对‘kaldi::Semaphore::~Semaphore()’未定义的引用
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:870:对‘kaldi::Semaphore::~Semaphore()’未定义的引用
kaldi-python-wrap.a(ctypes.o):在函数‘kaldi::SequentialTableReaderBackgroundImpl<kaldi::KaldiObjectHolder<kaldi::Matrix<float> > >::RunInBackground()’中:
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:761:对‘kaldi::Semaphore::Signal()’未定义的引用
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:765:对‘kaldi::Semaphore::Wait()’未定义的引用
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:773:对‘kaldi::Semaphore::Signal()’未定义的引用
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:775:对‘kaldi::Semaphore::Signal()’未定义的引用
/home/mxnet/git/kaldi/src/python_wrap/../util/kaldi-table-inl.h:786:对‘kaldi::Semaphore::Signal()’未定义的引用
collect2: error: ld returned 1 exit status
make: *** [libkaldi-python-wrap.so] 错误 1