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

Re: Flite problems.



Hi, I actually solved the flite problem. Actually, my copy of alsa was 
much
newer than the one the designed for. My solution is uninstall the alsa 
libs, and build flite with the oss libs.
Once flite is linked against the oss libs, and installed you can reinstall 
the alsa libs.
Btw. Flite works great with emacspeak now, and works ok with alsa the 
latest version as long as you link flite with the oss libs.


On Sun, 1 Dec 2002, Tim Cross wrote:

> 
> This is just a wild guess as I've not tried to build the eflit/flite
> stuff myself. However, looking at the error message you get, I would
> check to see you are running the correct version of alsa - or more
> specifically you have the correct version of the also dev sources. My
> suspicion is based on the warning that the include file being used is
> depricated etc. It is likely eflite is built with a later version of
> alsa.
> 
> Tim
> 
> Tim
> Thomas Ward writes:
>  > Hello, list. I was trying to build flite on my system,a nd use the eflite 
>  > server, but flite simply won't build. 
>  > The code from this angle seams highly unstable. Is anyone else getting 
>  > build errors? Here is the script of my build.
>  > 
>  > making in . ...
>  > making in include ...
>  > making in src ...
>  > making in src/audio ...
>  > gcc   -I. -DCST_AUDIO_ALSA -I../../include -g -O2 -Wall    -c au_alsa.c -o au_alsa.o
>  > In file included from au_alsa.c:49:
>  > /usr/include/sys/asoundlib.h:1:2: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead.
>  > au_alsa.c: In function `audio_open_alsa':
>  > au_alsa.c:58: `snd_pcm_channel_info_t' undeclared (first use in this function)
>  > au_alsa.c:58: (Each undeclared identifier is reported only once
>  > au_alsa.c:58: for each function it appears in.)
>  > au_alsa.c:58: parse error before "pinfo"
>  > au_alsa.c:59: `snd_pcm_channel_params_t' undeclared (first use in this function)
>  > au_alsa.c:60: `snd_pcm_channel_setup_t' undeclared (first use in this function)
>  > au_alsa.c:78: `SND_PCM_OPEN_PLAYBACK' undeclared (first use in this function)
>  > au_alsa.c:78: warning: passing arg 2 of `snd_pcm_open' makes pointer from integer without a cast
>  > au_alsa.c:86: `pinfo' undeclared (first use in this function)
>  > au_alsa.c:87: `params' undeclared (first use in this function)
>  > au_alsa.c:88: `setup' undeclared (first use in this function)
>  > au_alsa.c:90: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function)
>  > au_alsa.c:91: warning: implicit declaration of function `snd_pcm_plugin_info'
>  > au_alsa.c:93: `SND_PCM_MODE_BLOCK' undeclared (first use in this function)
>  > au_alsa.c:96: `SND_PCM_STOP_STOP' undeclared (first use in this function)
>  > au_alsa.c:110: `SND_PCM_SFMT_S16_LE' undeclared (first use in this function)
>  > au_alsa.c:112: `SND_PCM_SFMT_S16_BE' undeclared (first use in this function)
>  > au_alsa.c:115: `SND_PCM_SFMT_U8' undeclared (first use in this function)
>  > au_alsa.c:118: `SND_PCM_SFMT_MU_LAW' undeclared (first use in this function)
>  > au_alsa.c:122: warning: implicit declaration of function `snd_pcm_plugin_params'
>  > au_alsa.c:128: warning: implicit declaration of function `snd_pcm_plugin_setup'
>  > au_alsa.c:133: warning: implicit declaration of function `snd_pcm_plugin_prepare'
>  > au_alsa.c: In function `audio_close_alsa':
>  > au_alsa.c:159: warning: implicit declaration of function `snd_pcm_plugin_flush'
>  > au_alsa.c: In function `audio_write_alsa':
>  > au_alsa.c:170: warning: implicit declaration of function `snd_pcm_plugin_write'
>  > au_alsa.c: In function `audio_drain_alsa':
>  > au_alsa.c:184: warning: implicit declaration of function `snd_pcm_plugin_playback_drain'
>  > make[2]: *** [au_alsa.o] Error 1
>  > make[1]: *** [.make_build_dirs] Error 2
>  > make: *** [.make_build_dirs] Error 2
>  > 
>  > 
>  > -----------------------------------------------------------------------------
>  > To unsubscribe from the emacspeak list or change your address on the
>  > emacspeak list send mail to "emacspeak-request@cs.vassar.edu" 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@cs.vassar.edu" 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@cs.vassar.edu" with a
subject of "unsubscribe" or "help"