Espeak compile error

Georgina Joyce gena-j at bulldoghome.com
Thu Jul 19 11:16:32 EDT 2007


Hi Jonathan,

I wrote previously that I couldn't install espeak and you suggested that it might be related to my portaudio installation.  Although I've installed 19, the header file is portaudio.h and the libraries are in the path and I've run ldconfig:

Portaudio libraries:
/usr/lib/libportaudio.a
/usr/lib/libportaudio.la
/usr/lib/libportaudio.so
/usr/lib/libportaudio.so.2
/usr/lib/libportaudio.so.2.0.0

Pc file:
less /usr/lib/pkgconfig/portaudio-2.0.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: PortAudio
Description: Portable audio I/O
Requires:
Version: 19

Libs: -L${libdir} -lportaudio  -lm -lpthread
Cflags: -I${includedir} -pthread

Compile output:
g++ -O2 -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic
-I. -c -fno-exceptions numbers.cpp
g++ -O2 -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic
-I. -c -fno-exceptions synth_mbrola.cpp
g++ -O2 -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic
-I. -c -fno-exceptions synthdata.cpp
synthdata.cpp: In function 'int LoadPhData()':
synthdata.cpp:120: warning: dereferencing type-punned pointer will break
strict-aliasing rules
synthdata.cpp:122: warning: dereferencing type-punned pointer will break
strict-aliasing rules
g++ -O2 -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic
-I. -c -fno-exceptions synthesize.cpp
g++ -O2 -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic
-I. -c -fno-exceptions translate.cpp
translate.cpp: In member function 'virtual int
Translator::TranslateChar(char*, int, unsigned int, unsigned int,
int*)':translate.cpp:1593: warning: comparison between signed and
unsigned integer expressions
g++ -O2 -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic
-I. -c -fno-exceptions tr_english.cpp
g++ -O2 -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic
-I. -c -fno-exceptions tr_languages.cpp
g++ -O2 -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic
-I. -c -fno-exceptions voices.cpp
g++ -O2 -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic
-I. -c -fno-exceptions wavegen.cpp
g++ -O2 -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic
-I. -c -fno-exceptions phonemelist.cpp
g++ -o speak speak.o compiledict.o dictionary.o intonation.o
readclause.o setlengths.o numbers.o synth_mbrola.o synthdata.o
synthesize.o translate.o tr_english.o tr_languages.o voices.o wavegen.o
phonemelist.o -lstdc++ -lportaudio -lpthreadreadclause.o: In function
`Translator::AnnouncePunctuation(int, int, char*, int)':
readclause.cpp:(.text+0x1a3d): warning: the use of `tmpnam' is
dangerous, better use `mkstemp'
wavegen.o: In function `WavegenCloseSound()':
wavegen.cpp:(.text+0x20a5): undefined reference to `Pa_StreamActive'
wavegen.o: In function `WavegenOpenSound()':
wavegen.cpp:(.text+0x20f9): undefined reference to `Pa_StreamActive'
collect2: ld returned 1 exit status
make: *** [speak] Error 1

Any ideas?

Gena

Amateur Call: M 0 E B P

VOIP / IM: gena1959uk






More information about the Speakup mailing list