[Serusers] sems CVS compile errors

Lambros Lambrinos L.Lambrinos at cs.ucl.ac.uk
Mon May 10 21:51:19 CEST 2004


Hi,
Just checked out the latest version of sems from cvs
'make all' seems to be ok but 'make install' produces
various errors (see below)

A file called flite.h seems to be the core of the problem
as it does not exist.
Anyone has any ideas ?

Regards,
Lambros


make[3]: Entering directory `/home/ser/answer_machine/plug-in/semstalkflite'
make[4]: Entering directory `/home/ser/answer_machine/plug-in/semstalkflite'
g++ -MM Semstalkflite.cpp -I ../.. -Wall -Wno-reorder -D_DEBUG -g 
-DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE -fPIC -I/home/sanchez/semstalk/flite/
flite-1.2-release/include > Semstalkflite.d
In file included from Semstalkflite.cpp:29:
Semstalkflite.h:6:19: flite.h: No such file or directory
make[4]: *** [Semstalkflite.d] Error 1
make[4]: Leaving directory `/home/ser/answer_machine/plug-in/semstalkflite'
make[3]: [all] Error 2 (ignored)
make[3]: Leaving directory `/home/ser/answer_machine/plug-in/semstalkflite'


In file included from TTSAnnflite.cpp:29:
TTSAnnflite.h:6:19: flite.h: No such file or directory
make[4]: *** [TTSAnnflite.d] Error 1
make[4]: Leaving directory `/home/ser/answer_machine/plug-in/ttsannflite'
make[3]: [all] Error 2 (ignored)
make[3]: Leaving directory `/home/ser/answer_machine/plug-in/ttsannflite'

make[4]: Entering directory `/home/ser/answer_machine/plug-in/mp3'
gcc -fPIC -I ../../amci -Wall -I./lame-3.96/include -c mp3.c -o mp3.o
mp3.c:37:18: lame.h: No such file or directory
mp3.c:81: parse error before "va_list"
mp3.c: In function `MP3_create':
mp3.c:88: `lame_global_flags' undeclared (first use in this function)
mp3.c:88: (Each undeclared identifier is reported only once
mp3.c:88: for each function it appears in.)
mp3.c:88: `gfp' undeclared (first use in this function)
mp3.c:93: warning: implicit declaration of function `lame_init'
mp3.c:98: warning: implicit declaration of function `lame_set_errorf'
mp3.c:99: warning: implicit declaration of function `lame_set_debugf'
mp3.c:100: warning: implicit declaration of function `lame_set_msgf'
mp3.c:102: warning: implicit declaration of function `lame_set_num_channels'
mp3.c:103: warning: implicit declaration of function `lame_set_in_samplerate'
mp3.c:104: warning: implicit declaration of function `lame_set_brate'
mp3.c:105: warning: implicit declaration of function `lame_set_mode'
mp3.c:106: warning: implicit declaration of function `lame_set_quality'
mp3.c:108: warning: implicit declaration of function `id3tag_init'
mp3.c:109: warning: implicit declaration of function `id3tag_set_title'
mp3.c:110: warning: implicit declaration of function `lame_init_params'
mp3.c: In function `MP3_destroy':
mp3.c:122: `lame_global_flags' undeclared (first use in this function)
mp3.c:122: parse error before ')' token
mp3.c: In function `Pcm16_2_MP3':
mp3.c:138: warning: implicit declaration of function `lame_encode_buffer'
mp3.c:138: `lame_global_flags' undeclared (first use in this function)
mp3.c:138: parse error before ')' token
mp3.c: In function `MP3_close':
mp3.c:224: warning: implicit declaration of function `lame_encode_flush'
mp3.c:224: `lame_global_flags' undeclared (first use in this function)
mp3.c:224: parse error before ')' token
mp3.c:228: warning: implicit declaration of function `lame_mp3_tags_fid'
mp3.c:228: parse error before ')' token

In file included from Semstalkflite.cpp:29:
Semstalkflite.h:6:19: flite.h: No such file or directory
In file included from Semstalkflite.cpp:29:
Semstalkflite.h:27: syntax error before `*' token
Semstalkflite.cpp:45: syntax error before `*' token
Semstalkflite.cpp: In constructor 
   `SemstalkfliteDialog::SemstalkfliteDialog(const bool&, const std::string&)':
Semstalkflite.cpp:98: `flite_init' undeclared (first use this function)
Semstalkflite.cpp:98: (Each undeclared identifier is reported only once for 
   each function it appears in.)
Semstalkflite.cpp:99: `v' undeclared (first use this function)
Semstalkflite.cpp:99: `register_cmu_us_kal' undeclared (first use this 
   function)
Semstalkflite.cpp: In member function `virtual void 
   SemstalkfliteDialog::onSessionStart(AmRequest*)':
Semstalkflite.cpp:151: `cst_wave' undeclared (first use this function)
Semstalkflite.cpp:151: `w' undeclared (first use this function)
Semstalkflite.cpp:152: `cst_utterance' undeclared (first use this function)
Semstalkflite.cpp:152: `u' undeclared (first use this function)
Semstalkflite.cpp:153: `flite_synth_text' undeclared (first use this function)
Semstalkflite.cpp:154: `utt_wave' undeclared (first use this function)
Semstalkflite.cpp:158: `cst_wave_save_riff' undeclared (first use this 
   function)
Semstalkflite.cpp:161: `delete_utterance' undeclared (first use this function)
make[4]: *** [Semstalkflite.o] Error 1
make[4]: Leaving directory `/home/ser/answer_machine/plug-in/semstalkflite'
make[3]: [all] Error 2 (ignored)
make[3]: Leaving directory `/home/ser/answer_machine/plug-in/semstalkflite'

In file included from TTSAnnflite.cpp:29:
TTSAnnflite.h:6:19: flite.h: No such file or directory
In file included from TTSAnnflite.cpp:29:
TTSAnnflite.h:32: syntax error before `*' token
TTSAnnflite.cpp:50: syntax error before `*' token
TTSAnnflite.cpp: In constructor `TTSAnnfliteDialog::TTSAnnfliteDialog(const 
   std::string&, const bool&, const std::string&)':
TTSAnnflite.cpp:153: `flite_init' undeclared (first use this function)
TTSAnnflite.cpp:153: (Each undeclared identifier is reported only once for 
each
   function it appears in.)
TTSAnnflite.cpp:154: `v' undeclared (first use this function)
TTSAnnflite.cpp:154: `register_cmu_us_kal' undeclared (first use this function)
TTSAnnflite.cpp: In member function `virtual void 
   TTSAnnfliteDialog::onSessionStart(AmRequest*)':
TTSAnnflite.cpp:198: `cst_wave' undeclared (first use this function)
TTSAnnflite.cpp:198: `w' undeclared (first use this function)
TTSAnnflite.cpp:199: `cst_utterance' undeclared (first use this function)
TTSAnnflite.cpp:199: `u' undeclared (first use this function)
TTSAnnflite.cpp:200: `flite_synth_text' undeclared (first use this function)
TTSAnnflite.cpp:201: `utt_wave' undeclared (first use this function)
TTSAnnflite.cpp:205: `cst_wave_save_riff' undeclared (first use this function)
TTSAnnflite.cpp:208: `delete_utterance' undeclared (first use this function)
make[4]: *** [TTSAnnflite.o] Error 1

make[2]: Entering directory `/home/ser/answer_machine/plug-in/semstalkflite'
g++ -I ../.. -Wall -Wno-reorder -D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT 
-D_THREAD_SAFE -fPIC -I/home/sanchez/semstalk/flite/flite-1.2-release/include 
-c Semstalkflite.cpp -o Semstalkflite.o
In file included from Semstalkflite.cpp:29:
Semstalkflite.h:6:19: flite.h: No such file or directory
In file included from Semstalkflite.cpp:29:
Semstalkflite.h:27: syntax error before `*' token
Semstalkflite.cpp:45: syntax error before `*' token
Semstalkflite.cpp: In constructor 
   `SemstalkfliteDialog::SemstalkfliteDialog(const bool&, const std::string&)':
Semstalkflite.cpp:98: `flite_init' undeclared (first use this function)
Semstalkflite.cpp:98: (Each undeclared identifier is reported only once for 
   each function it appears in.)
Semstalkflite.cpp:99: `v' undeclared (first use this function)
Semstalkflite.cpp:99: `register_cmu_us_kal' undeclared (first use this 
   function)
Semstalkflite.cpp: In member function `virtual void 
   SemstalkfliteDialog::onSessionStart(AmRequest*)':
Semstalkflite.cpp:151: `cst_wave' undeclared (first use this function)
Semstalkflite.cpp:151: `w' undeclared (first use this function)
Semstalkflite.cpp:152: `cst_utterance' undeclared (first use this function)
Semstalkflite.cpp:152: `u' undeclared (first use this function)
Semstalkflite.cpp:153: `flite_synth_text' undeclared (first use this function)
Semstalkflite.cpp:154: `utt_wave' undeclared (first use this function)
Semstalkflite.cpp:158: `cst_wave_save_riff' undeclared (first use this 
   function)
Semstalkflite.cpp:161: `delete_utterance' undeclared (first use this function)
make[2]: *** [Semstalkflite.o] Error 1

TTSAnnflite.h:6:19: flite.h: No such file or directory
In file included from TTSAnnflite.cpp:29:
TTSAnnflite.h:32: syntax error before `*' token
TTSAnnflite.cpp:50: syntax error before `*' token
TTSAnnflite.cpp: In constructor `TTSAnnfliteDialog::TTSAnnfliteDialog(const 
   std::string&, const bool&, const std::string&)':
TTSAnnflite.cpp:153: `flite_init' undeclared (first use this function)
TTSAnnflite.cpp:153: (Each undeclared identifier is reported only once for 
each
   function it appears in.)
TTSAnnflite.cpp:154: `v' undeclared (first use this function)
TTSAnnflite.cpp:154: `register_cmu_us_kal' undeclared (first use this function)
TTSAnnflite.cpp: In member function `virtual void 
   TTSAnnfliteDialog::onSessionStart(AmRequest*)':
TTSAnnflite.cpp:198: `cst_wave' undeclared (first use this function)
TTSAnnflite.cpp:198: `w' undeclared (first use this function)
TTSAnnflite.cpp:199: `cst_utterance' undeclared (first use this function)
TTSAnnflite.cpp:199: `u' undeclared (first use this function)
TTSAnnflite.cpp:200: `flite_synth_text' undeclared (first use this function)
TTSAnnflite.cpp:201: `utt_wave' undeclared (first use this function)
TTSAnnflite.cpp:205: `cst_wave_save_riff' undeclared (first use this function)
TTSAnnflite.cpp:208: `delete_utterance' undeclared (first use this function)
make[2]: *** [TTSAnnflite.o] Error 1
make[2]: Leaving directory `/home/ser/answer_machine/plug-in/ttsannflite'







More information about the sr-users mailing list