I am a newbie for sphinx2. I complied it in cygwin under windows Xp. It runs well for sphinx2-test. However, when I try to execute the sphinx2-simple, there is an error information as follows:
"A/D library not implemented
ad_open_sps failed"
Is anybody can help me solve it? Thank you very much!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for your response. The complier under cygwin is gcc,right? To be blankly, I am a clumpsy programmer, can you tell me how to compile the required documents and link the winmm library in detail? I also have vc++6. Thank you.
Siyuan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I added the code lines into configure and configure.in files. configure command runs quite well. The information of "no audio interface for host type i686-pc-cygwin" disappear. However when I execute "make", there is error as follows:
$ make
cd . && /bin/sh ./config.status config.h
Usage: ./config.status [--recheck] [--version] [--help]
make: *** [stamp-h1] Error 1
What is happening? Could you give me some hint? Thank you!
Siyuan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have fixed the above problem. But now the error is :
$ make
cd . && aclocal
cd . && automake --gnu --include-deps Makefile
cd . && autoconf
configure.in:94: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section
`AC_LIBOBJ vs LIBOBJS'
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
make: *** [configure] Error 1
Do you have any idea? Thanks.
Siyuan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everybody:
I am a newbie for sphinx2. I complied it in cygwin under windows Xp. It runs well for sphinx2-test. However, when I try to execute the sphinx2-simple, there is an error information as follows:
"A/D library not implemented
ad_open_sps failed"
Is anybody can help me solve it? Thank you very much!
Hi,
you have to link (and compile) the appropriate files of the libsphinx2ad directory.
For windows these are play_win32 and rec_win32.
What compiler are you using?
I discovered that the audio detection does not work under cygwin.
To make it compile you have to use the winmm library.
/Dirk
Hi,Dirk
Thank you for your response. The complier under cygwin is gcc,right? To be blankly, I am a clumpsy programmer, can you tell me how to compile the required documents and link the winmm library in detail? I also have vc++6. Thank you.
Siyuan
I made this available as a patch under
http://sourceforge.net/tracker/index.php?func=detail&aid=767131&group_id=1904&atid=301904
Sorry I did not compile sphinx2 under vc++6
/Dirk
Thank you very much, Dirk.
I added the code lines into configure and configure.in files. configure command runs quite well. The information of "no audio interface for host type i686-pc-cygwin" disappear. However when I execute "make", there is error as follows:
$ make
cd . && /bin/sh ./config.status config.h
Usage: ./config.status [--recheck] [--version] [--help]
make: *** [stamp-h1] Error 1
What is happening? Could you give me some hint? Thank you!
Siyuan
Hi,Dirk,
I have fixed the above problem. But now the error is :
$ make
cd . && aclocal
cd . && automake --gnu --include-deps Makefile
cd . && autoconf
configure.in:94: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section
`AC_LIBOBJ vs LIBOBJS'
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
make: *** [configure] Error 1
Do you have any idea? Thanks.
Siyuan
The autmake of cygwin has problems with the configure.in of sphinx II.
Therefore you should only modify the configure script. This is not a good solution, but it should work.
If you modified configure.in replace it with the one from the tar archive.
/Dirk