From: "Georgina Joyce" <gena-j@bulldoghome.com>
To: <speakup@braille.uwo.ca>
Subject: Espeak compile error
Date: Thu, 19 Jul 2007 16:16:32 +0100 [thread overview]
Message-ID: <000001c7ca17$d05d4320$0302a8c0@forestfern> (raw)
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
next reply other threads:[~ UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
Georgina Joyce [this message]
` Jonathan Duddington
-- strict thread matches above, loose matches on Subject: below --
Georgina Joyce
` Jonathan Duddington
` Georgina Joyce
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000001c7ca17$d05d4320$0302a8c0@forestfern' \
--to=gena-j@bulldoghome.com \
--cc=speakup@braille.uwo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).