Your message dated Thu, 8 May 2008 23:43:21 +1000
with message-id <[EMAIL PROTECTED]>
has caused the report #479874,
regarding twinkle: FTBFS: twinkle_zrtp_ui.h:47: error: 'MessageSeverity' has
not been declared
to be marked as having been forwarded to the upstream software
author(s) Michel de Boer <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
479874: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479874
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
tags 479874 pending
tags 479874 upstream
thanks
Michel,
Looks like some more gcc4.3 patches required when building with libzrtpcpp
1.1.0
http://bugs.debian.org/479874
along the lines of the attached patch:
Mark
--- twinkle-1.2.orig/src/audio/twinkle_zrtp_ui.h
+++ twinkle-1.2/src/audio/twinkle_zrtp_ui.h
@@ -44,8 +44,8 @@
virtual void secureOff();
virtual void showSAS(std::string sas);
virtual void confirmGoClear();
- virtual void showMessage(MessageSeverity sev, std::string message);
- virtual void zrtpNegotiationFailed(MessageSeverity severity, std::string msg);
+ virtual void showMessage(GnuZrtpCodes::MessageSeverity sev, std::string message);
+ virtual void zrtpNegotiationFailed(GnuZrtpCodes::MessageSeverity severity, std::string msg);
virtual void zrtpNotSuppOther();
private:
--- twinkle-1.2.orig/src/audio/twinkle_zrtp_ui.cpp
+++ twinkle-1.2/src/audio/twinkle_zrtp_ui.cpp
@@ -32,7 +33,7 @@
extern t_phone *phone;
TwinkleZrtpUI::TwinkleZrtpUI(ZrtpQueue* queue, t_audio_session* session) :
- ZrtpUserCallback(queue), audioSession(session)
+ ZrtpUserCallback(), audioSession(session)
{}
void TwinkleZrtpUI::secureOn(std::string cipher) {
@@ -96,7 +97,7 @@
ui->cb_async_zrtp_confirm_go_clear(lineno);
}
-void TwinkleZrtpUI::showMessage(MessageSeverity sev, std::string message) {
+void TwinkleZrtpUI::showMessage(GnuZrtpCodes::MessageSeverity sev, std::string message) {
t_line *line = audioSession->get_line();
int lineno = line->get_line_number();
@@ -106,21 +107,13 @@
msg += message;
switch (sev) {
- case Info:
- log_file->write_report(msg, "TwinkleZrtpUI::showMessage", LOG_NORMAL,
- LOG_INFO);
- break;
- case Warning:
- log_file->write_report(msg, "TwinkleZrtpUI::showMessage", LOG_NORMAL,
- LOG_WARNING);
- break;
default:
log_file->write_report(msg, "TwinkleZrtpUI::showMessage", LOG_NORMAL,
LOG_CRITICAL);
}
}
-void TwinkleZrtpUI::zrtpNegotiationFailed(MessageSeverity severity, std::string msg) {
+void TwinkleZrtpUI::zrtpNegotiationFailed(GnuZrtpCodes::MessageSeverity severity, std::string msg) {
t_line *line = audioSession->get_line();
int lineno = line->get_line_number();
signature.asc
Description: This is a digitally signed message part.
--- End Message ---