GNOME Bugzilla – Bug 479524
4.6.0 doesn't build with --enable-speech
Last modified: 2007-11-04 17:04:34 UTC
Please describe the problem: Trying to build Dasher 4.6.0 with GNOME-speech support results in the following error: dasher_action_speech.cpp: In function ‘void dasher_action_speech_class_init(DasherActionSpeechClass*)’: dasher_action_speech.cpp:44: error: invalid conversion from ‘gboolean (*)(DasherAction*, DasherEditorInternal*, int)’ to ‘gboolean (*)(DasherAction*, DasherEditor*, int)’ dasher_action_speech.cpp:45: error: invalid conversion from ‘gboolean (*)(DasherAction*, DasherEditorInternal*)’ to ‘gboolean (*)(DasherAction*, DasherEditor*)’ dasher_action_speech.cpp: In function ‘gboolean dasher_action_speech_execute(DasherAction*, DasherEditorInternal*, int)’: dasher_action_speech.cpp:76: error: ‘dasher_editor_internal_get_all_text’ was not declared in this scope dasher_action_speech.cpp:79: error: ‘dasher_editor_internal_get_new_text’ was not declared in this scope dasher_action_speech.cpp: In function ‘gboolean dasher_action_speech_preview(DasherAction*, DasherEditorInternal*)’: dasher_action_speech.cpp:111: error: ‘dasher_editor_internal_get_all_text’ was not declared in this scope make[3]: *** [dasher_action_speech.o] Error 1 Steps to reproduce: 1. ./configure --enable-speech 2. make Actual results: Expected results: Does this happen every time? Other information: GCC version: gcc (GCC) 4.2.1 (Debian 4.2.1-5)
Created attachment 96198 [details] [review] dasher-action-speech.patch
Patch works fine and applies to 4.6.1 cleanly.
FYI, patch has been applied in gentoo
Thanks for the patch - now applied to trunk and seems to be working fine.