Espeak compile error
Jonathan Duddington
jsd at clara.co.uk
Thu Jul 19 11:32:13 EDT 2007
On 19 Jul, Georgina Joyce <gena-j at bulldoghome.com> wrote:
> wavegen.cpp:(.text+0x20a5): undefined reference to `Pa_StreamActive'
There are two different versions of portaudio.
Portaudio V18 includes a function Pa_StreamActive().
The equivalent function in Portaudio V19 is Pa_IsStreamActive().
Therefore, eSpeak must be compiled to use the correct version of
portaudio which you have installed on your computer.
(The pre-compiled eSpeak is compiled to use portaudio V18).
Your error message says that function Pa_StreamActive() is not found.
This means:
1. You are compiling eSpeak to use portaudio V18.
2. Portaudio V18 is not installed.
You say that you've installed portaudio V19. So you need to compile
eSpeak to use Pa_IsStreamActive() instead of Pa_StreamActive().
To do this, copy the file (in eSpeak's src directory) portaudio19.h
and rename it to portaudio.h to replace the original portaudio.h
(which is a copy of portaudi18.h). Then compile eSpeak.
More information about the Speakup
mailing list