Re: librsvg HEAD compilation fails
- From: Malcolm Tredinnick <malcolm commsecure com au>
- To: desktop-devel-list gnome org
- Subject: Re: librsvg HEAD compilation fails
- Date: Thu, 27 Nov 2003 07:48:09 +1100
On Wed, 2003-11-26 at 20:39, Luca Ferretti wrote:
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/gnome/include/libgsf-1
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
> -I/opt/gnome/include/libxml2 -DHAVE_SVGZ=1 -DORBIT2=1 -pthread
> -I/opt/gnome/include/libcroco -I/opt/gnome/include/libcroco/parser
> -I/opt/gnome/include/libcroco/seleng
> -I/opt/gnome/include/libcroco/layeng -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/libxml2
> -I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnome-2.0
> -I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gtk-2.0
> -I/opt/gnome/include/libart-2.0 -I/opt/gnome/include/gconf/2
> -I/opt/gnome/include/libbonoboui-2.0 -I/opt/gnome/include/orbit-2.0
> -I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/gnome-vfs-2.0
> -I/opt/gnome/lib/gnome-vfs-2.0/include
> -I/opt/gnome/include/bonobo-activation-2.0
> -I/opt/gnome/include/pango-1.0 -I/opt/gnome//include
> -I/opt/gnome/include -I/opt/gnome/include/freetype2
> -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0
> -I/usr/X11R6/include -DHAVE_LIBCROCO=1 -I. -I.
> -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/libart-2.0
> -I/opt/gnome/include/libxml2 -I/opt/gnome/include/pango-1.0
> -I/opt/gnome//include -I/opt/gnome/include
> -I/opt/gnome/include/freetype2 -I/opt/gnome/include/gtk-2.0
> -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0
> -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include
> -I/opt/gnome/include/freetype2 -I/usr/X11R6/include
> -I/opt/gnome//include -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include -DG_LOG_DOMAIN=\"librsvg\"
> -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
> -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
> -DGTK_DISABLE_DEPRECATED -DDATADIR=\"/opt/gnome/share\" -Wsign-promo
> -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
> -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Werror
> -falign-functions=4 -fomit-frame-pointer -mfancy-math-387 -mcpu=athlon-4
> -Wp,-MD,.deps/rsvg-styles.pp -c rsvg-styles.c -fPIC -DPIC -o
> .libs/rsvg-styles.o
> cc1: warning: "-Wsign-promo" is valid for C++ but not for C/ObjC
> In file included from
> /opt/gnome/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,
> from /opt/gnome/include/libgnomeui-2.0/gnome.h:7,
> from
> /opt/gnome/include/libcroco/layeng/cr-box-view.h:32,
> from /opt/gnome/include/libcroco/libcroco.h:48,
> from rsvg-styles.c:422:
> /opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:63: error:
> syntax error before "GtkCombo"
> /opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:63: warning:
> no semicolon at end of struct or union
> /opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:67: error:
> syntax error before '}'
> token/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:70:
> error: syntax error before "GtkComboClass"
> /opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:70: warning:
> no semicolon at end of struct or union
> /opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:78: error:
> syntax error before '}' tokenmake[2]: *** [rsvg-styles.lo] Error 1
> make[2]: Leaving directory `/tmp/GNOME/librsvg'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/GNOME/librsvg'
> make: *** [all-recursive-am] Error 2
Grrr. These were all meant to fixed by now (something about tarballs
being made last Friday). :-(
This is another case of building with *_DISABLE_DEPRECATED defined and
that causing problems in another library. To wit, GtkCombo is not
available when GTK_DISABLE_DEPRECATED is defined and
libgnomeui/gnome-entry.h wants to use it.
signed
Unhappy Camper
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]