Espeak compile error

Georgina Joyce gena-j at bulldoghome.com
Mon Jul 16 12:42:57 EDT 2007


Hi

I haven't followed the previous posts on building espeak therefore, may have missed something but I can't build the 15 July 2007 SVN repository:  Nor can I work out what is going on, any ideas?

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
g



Gena

Amateur Call: M 0 E B P

VOIP / IM: gena1959uk






More information about the Speakup mailing list