Hey... has there been a change in how I should compile Sphinx 3? I am able to
successfully compile Sphinx3 0.8 and Sphinxbase 0.6, but when I attempt to
compile the versions in the trunk or the most recent nightly builds, I get an
error during Sphinx-3 make.
It's possible that this is due to an old shared file that didn't get deleted,
but I deleted all sphinx files from /usr/local/lib before attempting to
compile, so it's not something in there.
Anyone else have this issue?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeah, ok, I missed the ones in /usr/lib , I thought everything was in
/usr/local/lib.
I still got an error with the debugger when it tries to link the S3 decoder :
Hey... has there been a change in how I should compile Sphinx 3? I am able to
successfully compile Sphinx3 0.8 and Sphinxbase 0.6, but when I attempt to
compile the versions in the trunk or the most recent nightly builds, I get an
error during Sphinx-3 make.
Making all in programs
make: Entering directory
/home/jpapon/TestProject/sphinx3/src/programs' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sphinx3\" -DVERSION=\"0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_MEMMOVE=1 -DHAVE_BCOPY=1 -DRETSIGTYPE=void -DHAVE_ATTRIBUTE_VISIBILITY=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../include -I../../include -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -g -O2 -Wall -fvisibility=hidden -MT main_decode.o -MD -MP -MF .deps/main_decode.Tpo -c -o main_decode.o main_decode.c main_decode.c: In function ‘main’: main_decode.c:191: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result mv -f .deps/main_decode.Tpo .deps/main_decode.Po /bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -fvisibility=hidden -o sphinx3_decode main_decode.o ../../src/libs3decoder/libs3decoder.la -lsphinxbase -lsphinxad -lm libtool: link: gcc -g -O2 -Wall -fvisibility=hidden -o .libs/sphinx3_decode main_decode.o ../../src/libs3decoder/.libs/libs3decoder.so /usr/lib/libsphinxbase.so /usr/lib/libsphinxad.so -lm ../../src/libs3decoder/.libs/libs3decoder.so: undefined reference to
build_directory'../../src/libs3decoder/.libs/libs3decoder.so: undefined reference to
path2dirname' ../../src/libs3decoder/.libs/libs3decoder.so: undefined reference to
err_set_debug_level'../../src/libs3decoder/.libs/libs3decoder.so: undefined reference to
E_DEBUG' ../../src/libs3decoder/.libs/libs3decoder.so: undefined reference to
E_DEBUGCONT'It's possible that this is due to an old shared file that didn't get deleted,
but I deleted all sphinx files from /usr/local/lib before attempting to
compile, so it's not something in there.
Anyone else have this issue?
Please make sure that
are latest nighly build of sphinxbase. All those missing functions and defines
are from sphinxbase trunk.
Yeah, ok, I missed the ones in /usr/lib , I thought everything was in
/usr/local/lib.
I still got an error with the debugger when it tries to link the S3 decoder :
/sphinx3/src/programs$ gcc -g -O2 -Wall -fvisibility=hidden -o
.libs/sphinx3_decode main_decode.o
../../src/libs3decoder/.libs/libs3decoder.so -lsphinxbase -lsphinxad -lm
../../src/libs3decoder/.libs/libs3decoder.so: undefined reference to
E_DEBUG' ../../src/libs3decoder/.libs/libs3decoder.so: undefined reference to
E_DEBUGCONT'I fixed the problem by copying err.h from sphinxbase/include to
sphinx3/include