[Ekiga-devel-list] Compilation error
- From: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
- To: Ekiga mailing list <ekiga-devel-list gnome org>
- Subject: [Ekiga-devel-list] Compilation error
- Date: Mon, 08 Dec 2008 21:44:49 +0100
Hi,
From trunk:
ekiga has compilation error:
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gmconf -I../../lib
-I../../lib/engine/framework -I../../lib/engine/protocol/skel -I../..
-I../.. -I../../lib/pixops -D_REENTRANT -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES
-DGTK_DISABLE_SINGLE_INCLUDES -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DG_DISABLE_SINGLE_INCLUDES -Wall -g -O2
-Wall -Wextra -Winit-self -Wswitch-default -Wswitch-enum
-Wstrict-aliasing=2 -Wfloat-equal -Wshadow -MT gmpreferences.lo -MD -MP
-MF .deps/gmpreferences.Tpo -c ../../lib/gui/gmpreferences.c -fPIC
-DPIC -o .libs/gmpreferences.o
In file included from ../../lib/gui/gmpreferences.c:45:
/usr/include/gtk-2.0/gdk/gdkcolor.h:28:2: error: #error "Only
<gdk/gdk.h> can be included directly."
In /usr/include/gtk-2.0/gdk/gdkcolor.h:28, there is:
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__)
&& !defined (GDK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
#endif
As you compile with -DGTK_DISABLE_SINGLE_INCLUDES, this code generates
an error. I suppose you should replace in lib/gui/gmpreferences.c, line
45 (which works in my case):
#include <gdk/gdkcolor.h>
with
#include <gdk/gdk.h>
(This error is seen here too:
http://linux.thai.net/~thep/gnome226-tinderbox/ekiga.html)
Cheers,
--
Eugen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]