Dear all,
I'm trying to install sphinxbase-0.4.1 (since it's required for installing Sphinx3-0.7), with folder structure:
sphinx37/
sphinx3/
sphinxbase/
running in cygwin (I use the package sphinxbase-0.4.1.tar.bz2)
sphinx37/sphinxbase > ./configure (no errors here...)
sphinx37/sphinxbase > make (see errors below...)
I have also tried in Linux machines (both suse and ubuntu) and I got the same errors.
Can someone help?
Dear Nickolay,
I moved to linux (ubuntu) as you suggested, and installed sphinxbase after updating libtool.
when installing sphinx3-0.7.tar.gz, after "> make" command I got the following error:
...
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_DLFCN_H=1 -I. -I. -I../../.. -I../../../include -I../../../include -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -g -O2 -Wall -ansi -MT gs.lo -MD -MP -MF .deps/gs.Tpo -c gs.c -fPIC -DPIC -o .libs/gs.o
gs.c: In function 'gs_fread_bitvec_t':
gs.c:85: warning: passing argument 1 of 'fread' makes pointer from integer without a cast
gs.c: In function 'gs_display':
gs.c:116: warning: implicit declaration of function 'bitvec_uint32size'
gs.c:120: warning: assignment makes integer from pointer without a cast
gs.c:137: error: subscripted value is neither array nor pointer
gs.c: In function 'gs_read':
gs.c:187: warning: assignment makes integer from pointer without a cast
gs.c:210: error: invalid type argument of 'unary *' (have 'bitvec_t')
make[3]: *** [gs.lo] Error 1
make[3]: Leaving directory `/home/alaza/sphinx37/sphinx3/src/libs3decoder/libam'
make[2]: *** [all-recursive] Error 1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Nickolay,
Thank you for your response.
I updated cygwin (I even did whole re-installation) and still have the same error.
Is there something else I can do?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
I'm trying to install sphinxbase-0.4.1 (since it's required for installing Sphinx3-0.7), with folder structure:
sphinx37/
sphinx3/
sphinxbase/
running in cygwin (I use the package sphinxbase-0.4.1.tar.bz2)
sphinx37/sphinxbase > ./configure (no errors here...)
sphinx37/sphinxbase > make (see errors below...)
I have also tried in Linux machines (both suse and ubuntu) and I got the same errors.
Can someone help?
Thank you in advance.
... ... ...
llapack
<output file>
The pipe is being closed.
copying selected object files to avoid basename conflicts...
rm -fr .libs/libsphinxlm.lax
mkdir .libs/libsphinxlm.lax
ar cru .libs/libsphinxlm.a .libs/lm3g_model.o .libs/ngram_model.o .libs/ngram_model_arpa.o .libs/ngram_model_dmp.o .libs/ngram_mod
el_set.o .libs/ngram_model_dmp32.o .libs/fsg_model.o .libs/jsgf.o .libs/jsgf_scanner.o .libs/jsgf_parser.o
ranlib .libs/libsphinxlm.a
rm -fr .libs/libsphinxlm.lax
creating libsphinxlm.la
(cd .libs && rm -f libsphinxlm.la && ln -s ../libsphinxlm.la libsphinxlm.la)
make[4]: Leaving directory
/cygdrive/c/sphinx37/sphinxbase/src/libsphinxbase/lm' make[3]: Leaving directory/cygdrive/c/sphinx37/sphinxbase/src/libsphinxbase/lm'make[3]: Entering directory
/cygdrive/c/sphinx37/sphinxbase/src/libsphinxbase' /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -version-info 1:0:0 -o libsphinxbase.la -rpath /usr/local/lib -li conv util/libsphinxutil.la fe/libsphinxfe.la feat/libsphinxfeat.la lm/libsphinxlm.la -lm -lblas -llapack mkdir .libs libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries rm -fr .libs/libsphinxbase.lax mkdir .libs/libsphinxbase.lax rm -fr .libs/libsphinxbase.lax/libsphinxutil.a mkdir .libs/libsphinxbase.lax/libsphinxutil.a (cd .libs/libsphinxbase.lax/libsphinxutil.a && ar x /cygdrive/c/sphinx37/sphinxbase/src/libsphinxbase/util/.libs/libsphinxutil.a) libtool: link: ERROR: object name conflicts: .libs/libsphinxbase.lax/libsphinxutil.a//cygdrive/c/sphinx37/sphinxbase/src/libsphinx base/util/.libs/libsphinxutil.a make[3]: *** [libsphinxbase.la] Error 1 make[3]: Leaving directory/cygdrive/c/sphinx37/sphinxbase/src/libsphinxbase'make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
/cygdrive/c/sphinx37/sphinxbase/src/libsphinxbase' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/cygdrive/c/sphinx37/sphinxbase/src'make: *** [all-recursive] Error 1
Dear Nickolay,
I moved to linux (ubuntu) as you suggested, and installed sphinxbase after updating libtool.
when installing sphinx3-0.7.tar.gz, after "> make" command I got the following error:
...
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_DLFCN_H=1 -I. -I. -I../../.. -I../../../include -I../../../include -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -g -O2 -Wall -ansi -MT gs.lo -MD -MP -MF .deps/gs.Tpo -c gs.c -fPIC -DPIC -o .libs/gs.o
gs.c: In function 'gs_fread_bitvec_t':
gs.c:85: warning: passing argument 1 of 'fread' makes pointer from integer without a cast
gs.c: In function 'gs_display':
gs.c:116: warning: implicit declaration of function 'bitvec_uint32size'
gs.c:120: warning: assignment makes integer from pointer without a cast
gs.c:137: error: subscripted value is neither array nor pointer
gs.c: In function 'gs_read':
gs.c:187: warning: assignment makes integer from pointer without a cast
gs.c:210: error: invalid type argument of 'unary *' (have 'bitvec_t')
make[3]: *** [gs.lo] Error 1
make[3]: Leaving directory `/home/alaza/sphinx37/sphinx3/src/libs3decoder/libam'
make[2]: *** [all-recursive] Error 1
What sphinxbase version are you using? 0.7 requires 0.3. For latest sphinxbase download sphinx3-0.8
> I have also tried in Linux machines (both suse and ubuntu) and I got the same errors.
I don't believe the error is exactly the same. It must be different.
> libtool: link: ERROR: object name conflicts: .libs/libsphinxbase.lax/libsphinxutil.a//cygdrive/c/sphinx37/sphinxbase/src/libsphinx
Most likely it's a libtool bug. What version are you using. Try to update it.
Dear Nickolay,
Thank you for your response.
I updated cygwin (I even did whole re-installation) and still have the same error.
Is there something else I can do?
Move to Linux :) ?
Sorry, no Cygwin here to check the build. There was certainly no need to reinstall it all, just a libtool. What libtool version are you using between?
Hi, I have the same problem doing make for sphinxbase-0.4.1:
make: Entering directory
/c/spx/sphinxbase/src/libsphinxbase' /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -version-info 1:0:0 -o libsphinxbase.la -rpath /usr/local/lib -liconv util/libsphinxutil.la fe/libsphinxfe.la feat/ libsphinxfeat.la lm/libsphinxlm.la -lm libtool: link: warning: library/c/strawberry/c/lib/libiconv.la' was moved.libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared
libraries
libtool: link: rm -fr .libs/libsphinxbase.lax
libtool: link: (cd .libs/libsphinxbase.lax/libsphinxutil.a && ar x
"/c/spx/sphinxbase/src/libsphinxbase/util/.libs/libsphinxutil.a")
libtool: link: object name conflicts in archive: .libs/libsphinxbase.lax/libsp
hinxutil.a//c/spx/sphinxbase/src/libsphinxbase/util/.libs/libsphinxutil.a
make: *** Error 1
make: Leaving directory
/c/spx/sphinxbase/src/libsphinxbase' make: *** Error 1 make: Leaving directory/c/spx/sphinxbase/src/libsphinxbase'make: *** Error 1
make: Leaving directory `/c/spx/sphinxbase/src'
make: *** Error 1
I upgraded libtool: libtool (GNU libtool 1.3140 2009-12-30) 2.2.7a
Is there something else i can check?
Cheers, froggsde