Re: [Ekiga-devel-list] Compilation error
- From: Damien Sandras <dsandras seconix com>
- To: Ekiga development mailing list <ekiga-devel-list gnome org>
- Subject: Re: [Ekiga-devel-list] Compilation error
- Date: Tue, 09 Dec 2008 22:11:48 +0100
Le lundi 08 décembre 2008 à 21:44 +0100, Eugen Dedu a écrit :
> 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."
I fixed it. I do not get the error here though.
Anyway, I did 2 things :
- I dropped the use of gdk_color_white (which was deprecated)
- I removed the useless include that was triggering the build failure
--
_ Damien Sandras
(o-
//\ Ekiga Softphone : http://www.ekiga.org/
v_/_ Be IP : http://www.beip.be/
FOSDEM : http://www.fosdem.org/
SIP Phone : sip:dsandras ekiga net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]