[Ekiga-list] ekiga with gcc 4.3 ( ie fedora 9)
- From: Malcolm Caldwell <malcolm caldwell gmail com>
- To: Ekiga mailing list <ekiga-list gnome org>
- Subject: [Ekiga-list] ekiga with gcc 4.3 ( ie fedora 9)
- Date: Thu, 15 May 2008 17:52:49 +0930
This probably belongs in -devel but...
ekiga does not compile under fedora 9.
Doing a bit of searching it turns out that include file requirements
have been tightened.
http://gcc.gnu.org/gcc-4.3/porting_to.html
I have got ekiga to compile, but it needed a little work.
Here is a diff, however there are probably better ways to do this (I
don't know if #ifdefs are needed etc).
Index: src/endpoints/manager.cpp
===================================================================
--- src/endpoints/manager.cpp (revision 6255)
+++ src/endpoints/manager.cpp (working copy)
@@ -35,7 +35,7 @@
*
*/
-
+#include <algorithm>
#include "config.h"
#include "manager.h"
Index: src/endpoints/opal-codec-description.cpp
===================================================================
--- src/endpoints/opal-codec-description.cpp (revision 6255)
+++ src/endpoints/opal-codec-description.cpp (working copy)
@@ -33,6 +33,7 @@
*
*/
+#include <algorithm>
#include <iostream>
#include <sstream>
Index: src/endpoints/sip.cpp
===================================================================
--- src/endpoints/sip.cpp (revision 6255)
+++ src/endpoints/sip.cpp (working copy)
@@ -35,7 +35,7 @@
*
*/
-
+#include <algorithm>
#include "config.h"
#include <sstream>
Index: src/gui/dialpad.cpp
===================================================================
--- src/gui/dialpad.cpp (revision 6255)
+++ src/gui/dialpad.cpp (working copy)
@@ -36,6 +36,7 @@
#include "dialpad.h"
#include <gdk/gdkkeysyms.h>
+#include <cstring>
#include <iostream>
/* Make this flag available with GTK+ 2.10 */
Index: lib/engine/gui/gtk-core/form-dialog-gtk.cpp
===================================================================
--- lib/engine/gui/gtk-core/form-dialog-gtk.cpp (revision 6255)
+++ lib/engine/gui/gtk-core/form-dialog-gtk.cpp (working copy)
@@ -34,6 +34,8 @@
*/
#include <iostream>
+#include <cstring>
+#include <algorithm>
#include "form-dialog-gtk.h"
Index: lib/engine/addressbook/ldap/ldap-source.cpp
===================================================================
--- lib/engine/addressbook/ldap/ldap-source.cpp (revision 6255)
+++ lib/engine/addressbook/ldap/ldap-source.cpp (working copy)
@@ -36,7 +36,10 @@
*/
#include <iostream>
+#include <cstdlib>
+#include "stdlib.h"
+
#include "config.h"
#include "gmconf.h"
Index: lib/engine/protocol/skel/codec-description.cpp
===================================================================
--- lib/engine/protocol/skel/codec-description.cpp (revision 6255)
+++ lib/engine/protocol/skel/codec-description.cpp (working copy)
@@ -34,6 +34,8 @@
*/
#include <iostream>
+#include <cstring>
+#include <cstdlib>
#include <sstream>
#include "codec-description.h"
Index: lib/engine/presence/local-roster/local-presentity.cpp
===================================================================
--- lib/engine/presence/local-roster/local-presentity.cpp (revision 6255)
+++ lib/engine/presence/local-roster/local-presentity.cpp (working copy)
@@ -33,6 +33,8 @@
*
*/
+#include <cstdlib>
+#include <algorithm>
#include <iostream>
#include <set>
Index: lib/engine/presence/avahi/avahi-heap.cpp
===================================================================
--- lib/engine/presence/avahi/avahi-heap.cpp (revision 6255)
+++ lib/engine/presence/avahi/avahi-heap.cpp (working copy)
@@ -36,6 +36,7 @@
*/
#include "avahi-heap.h"
+#include <cstdlib>
static void
avahi_client_callback (AvahiClient *client,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]