Menu

compile error sphinx 3.0.1

Help
2003-07-01
2012-09-22
  • Guy Edwards

    Guy Edwards - 2003-07-01

    Hi,

    I'm getting the following, is there an easy fix?:
    (mandrake 9.1, sphinx3.0.1

    (~/voice/sphinx3-0.1)> make
    cd . && /bin/sh /home/hairball/voice/sphinx3-0.1/missing --run autoheader
    make  all-recursive
    make[1]: Entering directory `/home/hairball/voice/sphinx3-0.1'
    Making all in src
    make[2]: Entering directory `/home/hairball/voice/sphinx3-0.1/src'
    Making all in libs3audio
    make[3]: Entering directory `/home/hairball/voice/sphinx3-0.1/src/libs3audio'
    source='cont_ad_base.c' object='cont_ad_base.lo' libtool=yes \ depfile='.deps/cont_ad_base.Plo' tmpdepfile='.deps/cont_ad_base.TPlo' \ depmode=gcc3 /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/libutil -I../../src/libs3decoder -I../../include    -pedantic -ansi -std=c89 -DAD_BACKEND_OSS -c -o cont_ad_base.lo `test -f cont_ad_base.c || echo './'`cont_ad_base.c
    mkdir .libs
    gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/libutil -I../../src/libs3decoder -I../../include -pedantic -ansi -std=c89 -DAD_BACKEND_OSS -c cont_ad_base.c -MT cont_ad_base.lo -MD -MP -MF .deps/cont_ad_base.TPlo  -fPIC -DPIC -o .libs/cont_ad_base.lo
    cont_ad_base.c: In function `find_thresh':
    cont_ad_base.c:354: parse error before '/' token
    cont_ad_base.c: In function `boundary_detect':
    cont_ad_base.c:416: parse error before '/' token
    make[3]: *** [cont_ad_base.lo] Error 1
    make[3]: Leaving directory `/home/hairball/voice/sphinx3-0.1/src/libs3audio'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/hairball/voice/sphinx3-0.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/hairball/voice/sphinx3-0.1'
    make: *** [all] Error 2

    my copiler details:
    (~/voice/sphinx3-0.1)> gcc -v
    Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/specs
    Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib
    Thread model: posix
    gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)

    thanks for your time

     
    • Guy Edwards

      Guy Edwards - 2003-07-01

      just a comment in c++ style, not c, fixed it

      guess I have gcc in pedantic mode.

      apaologies, I'm not a developer

       

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.