[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: flite compile errors



Hi Marty,

You would need to add an ALSA library to the Makefile.  (I am not sure
which library -- I am not using ALSA currently).  Alternatively, you could
run configure and pass it "--with-audio=oss" to have it use the OSS
routines.  Whichever you do, you will need to make the same alteration
when you compile eflite.

-- Michael Gorse / AIM:linvortex / http://mgorse.home.dhs.org --

On Tue, 4 Mar 2003, Marty & Pat Moore wrote:

> --text follows this line--
>
> Hi all.
>
> round 2:
>
> Since a festival server isn't available, I thought I'd try flite-1.2. The configure routine seemed to run fine, but the make routine resulted in the following errors:
>
>
> ../lib/libflite.a(au_alsa.o): In function `audio_open_alsa':
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:78: undefined reference to `snd_pcm_open'
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:91: undefined reference to `snd_pcm_plugin_info'
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:122: undefined reference to `snd_pcm_plugin_params'
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:128: undefined reference to `snd_pcm_plugin_setup'
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:133: undefined reference to `snd_pcm_plugin_prepare'
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:140: undefined reference to `snd_pcm_plugin_info'
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:134: undefined reference to `snd_strerror'
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:135: undefined reference to `snd_pcm_close'
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:124: undefined reference to `snd_strerror'
> ../lib/libflite.a(au_alsa.o): In function `audio_close_alsa':
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:159: undefined reference to `snd_pcm_plugin_flush'
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:160: undefined reference to `snd_pcm_close'
> ../lib/libflite.a(au_alsa.o): In function `audio_flush_alsa':
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:177: undefined reference to `snd_pcm_plugin_flush'
> ../lib/libflite.a(au_alsa.o): In function `audio_write_alsa':
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:170: undefined reference to `snd_pcm_plugin_write'
> ../lib/libflite.a(au_alsa.o): In function `audio_drain_alsa':
> /home/unpack/flite-1.2-release/src/audio/au_alsa.c:184: undefined reference to `snd_pcm_plugin_playback_drain'
> collect2: ld returned 1 exit status
> make[1]: *** [../bin/flite] Error 1
> make: *** [.make_build_dirs] Error 2
>
>
> the errors appear to refer to the included header files.
>
> Any ideas?  Or did I miss the secret decoder ring in the cereal box this morning?
>
> Marty
>
> -----------------------------------------------------------------------------
> To unsubscribe from the emacspeak list or change your address on the
> emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
> subject of "unsubscribe" or "help"
>

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe | Search