Menu

problem with sphinx2-simple

Help
2003-07-03
2012-09-22
  • siyuan chen

    siyuan chen - 2003-07-03

    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!

     
    • Dirk Schnelle-Walka

      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

       
    • siyuan chen

      siyuan chen - 2003-07-03

      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

       
    • Dirk Schnelle-Walka

      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

       
    • siyuan chen

      siyuan chen - 2003-07-07

      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

       
    • siyuan chen

      siyuan chen - 2003-07-07

      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

       
    • Dirk Schnelle-Walka

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.