[Kde-accessibility] Fw: festival 1.96 and gcc 3.4.4 compability

Bart Alberti bart at solozone.com
Sat Sep 24 16:38:15 CEST 2005


FOLLOWING IS THE POSTING TO THE FESTVOX LIST RE THE COMPILE
OF THE 1.96 SERIES OF FESTIVAL

Bart Alberti


----- Original Message ----- 
From: "Nickolay V. Shmyrev" <nshmyrev at yandex.ru>
To: "Alan W Black" <awb at cs.cmu.edu>
Cc: "M Nicholas Volk" <nvolk at ling.helsinki.fi>;
<festvox-talk at festvox.org>
Sent: Sunday, July 31, 2005 3:50 PM
Subject: Re: festival 1.96 and gcc 3.4.4 compability


>
> >  > (How about gcc 4.x family?)
> >
> > 1.96 has successfully compiled and run under a number of
versions of
> > 4.x (including early beta versions of 4.x), it gives
lots of warnings
> > but has been successful at least under one versions of
Fedora.
> >
>
> speech_tools-1.96 fails to build with Fedora Core 4 and
gcc 4.0.0 or
> updated gcc 4.0.1. The usual errors are the following:
>
> ../include/EST_Chunk.h:128: error: ‘EST_ChunkPtr’ does not
name a type
> ../include/EST_Chunk.h:129: error: ‘EST_ChunkPtr’ does not
name a type
> ../include/EST_Chunk.h:130: error: ‘EST_ChunkPtr’ does not
name a type
> ../include/EST_Chunk.h:132: error: ‘EST_ChunkPtr’ has not
been declared
> ../include/EST_Chunk.h:133: error: ‘EST_ChunkPtr’ has not
been declared
> ../include/EST_Chunk.h:135: error: ‘EST_ChunkPtr’ has not
been declared
> ../include/EST_Chunk.h:136: error: ‘EST_ChunkPtr’ has not
been declared
>
> - Error that make build fail
>
> ../include/EST_TList.h:229: warning: friend declaration
‘std::ostream&
> operator<<(std::ostream&, const EST_TList<T>&)’ declares a
non-template
> function
> ../include/EST_TList.h:229: warning: (if this is not what
you intended,
> make sure the function template has already been declared
and add <>
> after the function name here) -Wno-non-template-friend
disables this
> warning
> ../include/EST_TVector.h:313: warning: friend declaration
‘std::ostream&
> operator<<(std::ostream&, const EST_TVector<T>&)’ declares
a
> non-template function
> ../include/EST_TKVL.h:64: warning: friend declaration
‘std::ostream&
> operator<<(std::ostream&, const EST_TKVI<K, V>&)’ declares
a
> non-template function
> ../include/EST_TKVL.h:149: warning: friend declaration
‘std::ostream&
> operator<<(std::ostream&, const EST_TKVL<K, V>&)’ declares
a
> non-template function
> ../include/EST_TMatrix.h:313: warning: friend declaration
‘std::ostream&
> operator<<(std::ostream&, const EST_TMatrix<T>&)’ declares
a
> non-template function
>
> - very confusing warning
>
> siod_est.cc:55: error: ‘obj’ is not a template type
>
> - strange error that also make build fail
>
> To fix build I am using the attached patch. After applying
it there
> still some warnings but much less then in original
speech-tools. And
> festival seems to work. I've not tested it with stress
test, but it can
> pronounce some phrases.
>
> The only problem I've noticed with 1.96 is that
make_prompts script
> leaks lisp objects, depending on memory available I get
crash with this
> script and my diphone list and this crash can be fixed by
increasing
> heap. Anyhow, this looks like memory leak.
>
> That is all problems I currently see with 1.96. Except the
very annoying
> problem with editline and metachars, fixed by this simple
patch:
>
> --- editline.c 2004-05-04 04:00:17.000000000 +0400
> +++ editline.c.new 2005-08-01 01:53:20.000000000 +0400
> @@ -1176,7 +1176,7 @@ STATIC STATUS emacs(unsigned int c)
>      STATUS s;
>      KEYMAP *kp;
>
> -    if (ISMETA(c)) {
> +    if (ISMETA(c) && rl_meta_chars) {
>   el_Pushed = 1;
>   el_PushBack = UNMETA(c);
>   return meta();
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: festbuild.patch
Type: application/octet-stream
Size: 1625 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-accessibility/attachments/20050924/ad8af611/festbuild.obj


More information about the kde-accessibility mailing list