Menu

sphinxbase-5prealpha make fail

Help
ITPhoenix
2015-07-03
2015-07-05
  • ITPhoenix

    ITPhoenix - 2015-07-03

    Fedora 22 x64
    Opteron 2.2Ghz 4GB ECC
    Pulseaudio
    Built-in sound card

    make check

    ....

    test_fe.c:53:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
    printf("inptr %d nsamp %d nfr %d\n", inptr - buf, nsamp, nfr);
    ^
    test_fe.c:53:12: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=]

    In file included from test_pitch.c:3:0:
    ../../../include/sphinxbase/yin.h:129:5: note: expected ‘float ’ but argument is of type ‘uint16 * {aka short unsigned int }’
    int yin_read(yin_t pe, uint16 out_period, float *out_bestdiff);
    ^
    test_pitch.c:43:31: warning: passing argument 3 of ‘yin_read’ from incompatible pointer type [-Wincompatible-pointer-types]
    while (yin_read(pe, &period, &bestdiff)) {

    .....

    FAIL: test_fe
    PASS: test_pitch

    Asking for help on this. Is it a code glitch or my install programs?

    autoconf noarch 2.69-18.fc22
    m4 x86_64 1.4.17-6.fc22

    make x86_64 4.0-3.1.fc22

    automake noarch 1.15-1.fc22
    perl-Thread-Queue noarch 3.05-310.fc22

    libtool x86_64 2.4.2-34.fc22

    bison x86_64 3.0.2-3.fc22

    swig x86_64 3.0.5-6.fc22

    python-devel x86_64 2.7.10-1.fc22

    glib2-devel x86_64 2.44.1-1.fc22 fedora 433 k
    pulseaudio-libs-devel x86_64 6.0-4.fc22 updates 430 k
    Upgrading:
    pulseaudio x86_64 6.0-4.fc22 updates 911 k
    pulseaudio-libs i686 6.0-4.fc22 updates 547 k
    pulseaudio-libs x86_64 6.0-4.fc22 updates 558 k
    pulseaudio-libs-glib2 x86_64 6.0-4.fc22 updates 22 k
    pulseaudio-module-bluetooth x86_64 6.0-4.fc22 updates 69 k
    pulseaudio-module-x11 x86_64 6.0-4.fc22 updates 33 k
    pulseaudio-utils x86_64 6.0-4.fc22 updates 73 k

    libserf x86_64 1.3.7-2.fc22
    subversion x86_64 1.8.13-2.fc22
    subversion-libs x86_64 1.8.13-2.fc22

    Thanks

     
    • Nickolay V. Shmyrev

      It should be something on your side. Here tests work fine.

      You might want to mention the code revision you are trying to build.

       
  • ITPhoenix

    ITPhoenix - 2015-07-03

    Thank you for responding. I downloaded the release version from https://sourceforge.net/projects/cmusphinx/files/sphinxbase/5prealpha

    sphinxbase-5prealpha.tar.gz 2015-02-15 3.4 MB

    Some of the code files....

    agc.h
    * Revision 1.1 2006/04/05 20:27:30 dhdfu
    * A Great Reorganzation of header files and executables

    bio.h
    * Revision 1.8 2005/06/21 20:40:46 arthchan2003
    * 1, Fixed doxygen documentation, 2, Add the $ keyword.

    fe.h
    * Revision 1.11 2005/02/05 02:15:02 egouvea
    * Removed fe_process(), never used

    f2c.h

    • Revision 1.1 2006/04/05 20:27:30 dhdfu
    • A Great Reorganzation of header files and executables
     
  • ITPhoenix

    ITPhoenix - 2015-07-04

    Installed sphinxbase 0.8 and pocketsphinx 0.8, running perfect OOB.

    Scouring the internet on the sphinxbase make problem above, revealed a few scattered reports of same problem with 5prealpha.

     
  • ITPhoenix

    ITPhoenix - 2015-07-05

    Redownloaded 5prealpha release on page https://sourceforge.net/projects/cmusphinx/files/sphinxbase/5prealpha in case of bit error -- still no good.

    Downloaded latest from subversion -- no problems.

    Maybe corrupt file on server?

    Anyway, thank you Nicolay.

     
    • Nickolay V. Shmyrev

      I did not update archives on the server for a long time. Our users prefer git/svn.

      I've update the archives, now it should build fine.

       

Log in to post a comment.