rep compile error
- From: Rohan NIcholls <rohan nicholls pareto nl>
- To: sawfish <sawfish-list gnome org>
- Subject: rep compile error
- Date: Tue, 28 Sep 2004 16:27:05 +0200
Hi all,
I am trying to compile librep0.17, rep-gtk0.18, and sawfish1.3 to
create some slackware packages.
librep has compiled without a problem, however I get this erro when
compiling rep-gtk.
In file included from rep-types.c:24:
rep-gtk.h:294: error: conflicting types for `gtk_radio_menu_item_new_with_label_from_widget'
/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h:79: error: previous declaration of `gtk_radio_menu_item_new_with_label_from_widget'
rep-gtk.h:297: error: conflicting types for `gtk_radio_menu_item_new_with_mnemonic_from_widget'
/usr/include/gtk-2.0/gtk/gtkradiomenuitem.h:77: error: previous declaration of `gtk_radio_menu_item_new_with_mnemonic_from_widget'
make: *** [rep-types.lo] Error 1
In the configure I get these lines, would they be the problem?
checking for gtk_widget_peek_colormap... (cached) no
checking for gtk_type_get_info... (cached) no
checking for gtk_signal_set_class_function_full... (cached) no
When looking for libgtk this comes up (which seems to be the correct version:
libgtk-1.2.so.0 libgtk-1.2.so.0.9.1
libgtk-x11-2.0.so libgtk-x11-2.0.so.0
libgtk-x11-2.0.so.0.400.3 libgtk.la
libgtk.so
One thing that might be important: I have not got gnome installed, but
I don't think that should be a problem.
Here is the configure output:
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for rep - version >= 0.13... version 0.17
checking for GNU msgfmt... /usr/bin/msgfmt
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for glib-2.0 >= 1.3... yes
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GLIB_LIBS... -lglib-2.0
checking for gtk+-2.0 >= 1.3... yes
checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GTK_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gdk-pixbuf-2.0 >= 1.3.11... yes
checking GDK_PIXBUF_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GDK_PIXBUF_LIBS... -Wl,--export-dynamic -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for GNOME libs... checking for libglade-2.0 >= 1.99... yes
checking LIBGLADE_CFLAGS... -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking LIBGLADE_LIBS... -Wl,--export-dynamic -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for ANSI C header files... (cached) yes
checking for size_t... (cached) yes
checking for gdk_color_copy... (cached) yes
checking for gtk_widget_peek_colormap... (cached) no
checking for gtk_type_get_info... (cached) no
checking for gtk_signal_set_class_function_full... (cached) no
checking for setlocale... (cached) yes
checking for locale.h... (cached) yes
creating ./config.status
creating Makefile
creating rep-gtk.spec
creating config.h
config.h is unchanged
And here is the make output up til that error:
mkdir gtk-2
/usr/libexec/rep/i686-pc-linux-gnu/libtool --mode=compile gcc -c -DHAVE_CONFIG_H -I. -g -O2 -Wall -Wmissing-prototypes -Wno-implicit-int -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/libexec/rep/i686-pc-linux-gnu -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include rep-types.c
mkdir .libs
gcc -c -DHAVE_CONFIG_H -I. -g -O2 -Wall -Wmissing-prototypes -Wno-implicit-int -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/libexec/rep/i686-pc-linux-gnu -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include rep-types.c -fPIC -DPIC -o .libs/rep-types.o
Any help would be appreciated, including post this somewhere else, as
I am stuck.
Thanks in advance,
Rohan
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]