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
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.
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
just a comment in c++ style, not c, fixed it
guess I have gcc in pedantic mode.
apaologies, I'm not a developer