Hello on cygwin, i tried to compile kaldi with ./configure --shared option but it failed and shows error message as,
$ make depend
make -C base/ depend
make[1]: Entering directory '/cygdrive/c/kaldi/src/base'
../makefiles/default_rules.mk:21: Dynamic libraries not supported on this platform. Run configure with --static flag. . Stop.
make[1]: Leaving directory '/cygdrive/c/kaldi/src/base'
Makefile:128: recipe for target 'base/depend' failed
make: [base/depend] Error 2
i wanted it to link up with gst-kaldi-nnet2-online project n for that tried to compile it by shared flag
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't recall why we didn't support shared libraries on cygwin.
There may be a good reason for it (some limitation of the platform),
or there may not. If you can figure out how to do it we would be
happy to include the changes in the distribution.
Hello on cygwin, i tried to compile kaldi with ./configure --shared option
but it failed and shows error message as,
$ make depend
make -C base/ depend
make[1]: Entering directory '/cygdrive/c/kaldi/src/base'
../makefiles/default_rules.mk:21: Dynamic libraries not supported on this
platform. Run configure with --static flag. . Stop.
make[1]: Leaving directory '/cygdrive/c/kaldi/src/base'
Makefile:128: recipe for target 'base/depend' failed
make: [base/depend] Error 2
i wanted it to link up with gst-kaldi-nnet2-online project n for that tried
to compile it by shared flag
I don't recall why we didn't support shared libraries on cygwin.
There may be a good reason for it (some limitation of the platform),
or there may not. If you can figure out how to do it we would be
happy to include the changes in the distribution.
Hello on cygwin, i tried to compile kaldi with ./configure --shared
option
but it failed and shows error message as,
$ make depend
make -C base/ depend
make[1]: Entering directory '/cygdrive/c/kaldi/src/base'
../makefiles/default_rules.mk:21: Dynamic libraries not supported on
this
platform. Run configure with --static flag. . Stop.
make[1]: Leaving directory '/cygdrive/c/kaldi/src/base'
Makefile:128: recipe for target 'base/depend' failed
make: [base/depend] Error 2
i wanted it to link up with gst-kaldi-nnet2-online project n for that
tried
to compile it by shared flag
I don't remember exactly why the GStreamer plugin needs shared libraries, I already had this problem when developing the orginal GMM-based Kaldi GStreamer plugin. The honest answer is that this is how I got it to compile and link. I think it got something to do with the linker requiring libraries compiled with the the -fPIC flag. It might be possible to fix it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello on cygwin, i tried to compile kaldi with ./configure --shared option but it failed and shows error message as,
$ make depend
make -C base/ depend
make[1]: Entering directory '/cygdrive/c/kaldi/src/base'
../makefiles/default_rules.mk:21: Dynamic libraries not supported on this platform. Run configure with --static flag. . Stop.
make[1]: Leaving directory '/cygdrive/c/kaldi/src/base'
Makefile:128: recipe for target 'base/depend' failed
make: [base/depend] Error 2
i wanted it to link up with gst-kaldi-nnet2-online project n for that tried to compile it by shared flag
I don't recall why we didn't support shared libraries on cygwin.
There may be a good reason for it (some limitation of the platform),
or there may not. If you can figure out how to do it we would be
happy to include the changes in the distribution.
Dan
On Fri, Jun 19, 2015 at 12:22 AM, Addie badboys4life007@users.sf.net wrote:
BTW, Tanel, I'm looking at the
https://github.com/alumae/gst-kaldi-nnet2-online project -- why is the
kaldi compiled with shared libraries needed?
y.
On Fri, Jun 19, 2015 at 12:55 AM, Daniel Povey danielpovey@users.sf.net
wrote:
I don't remember exactly why the GStreamer plugin needs shared libraries, I already had this problem when developing the orginal GMM-based Kaldi GStreamer plugin. The honest answer is that this is how I got it to compile and link. I think it got something to do with the linker requiring libraries compiled with the the -fPIC flag. It might be possible to fix it.