[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xlog-discussion] compile problems Mandriva 2008~more

From: Jon K Hellan
Subject: Re: [Xlog-discussion] compile problems Mandriva 2008~more
Date: Fri, 12 Oct 2007 08:12:39 +0200
User-agent: Mozilla-Thunderbird (X11/20070828)

Richard wrote:
On Thu, 11 Oct 2007 18:03:56 +0200
Jon K Hellan <address@hidden> wrote:

Richard wrote:
On Thu, 11 Oct 2007 11:44:22 +0100
Richard <address@hidden> wrote:

Hi Joop & others

Getting problems compiling on Mandriva 2008
I've tried both wxgtk2.8 and wxgtk2.6 and get this error:-
make[2]: Entering directory
`/home/richard-g8jvm/Hamapps/xlog-1.5/src' if gcc
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"xlog\"
-DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I. -I. -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/libpng12
-I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -I/usr/include/pango-1.0 -I..
-DXLOG_DATADIR=\""/usr/local/share/xlog"\"     -g -O2 -Wall -MT
gui_b4window.o -MD -MP -MF ".deps/gui_b4window.Tpo" -c -o
gui_b4window.o gui_b4window.c; \ then mv -f
".deps/gui_b4window.Tpo" ".deps/gui_b4window.Po"; else rm -f
".deps/gui_b4window.Tpo"; exit 1; fi gui_b4window.c: In function
‘create_b4window’: gui_b4window.c:273: warning: implicit
declaration of function ‘gtk_widget_ref’ gui_b4window.c:273:
error: ‘gtk_widget_unref’ undeclared (first use in this function)
gui_b4window.c:273: error: (Each undeclared identifier is reported
only once gui_b4window.c:273: error: for each function it appears
in.) gui_b4window.c:273: warning: passing argument 3 of
‘g_object_set_data_full’ makes pointer from integer without a cast
make[2]: *** [gui_b4window.o] Error 1 make[2]: Leaving directory
`/home/richard-g8jvm/Hamapps/xlog-1.5/src' make[1]: ***
[all-recursive] Error 1 make[1]: Leaving directory
`/home/richard-g8jvm/Hamapps/xlog-1.5/src' make: ***
[all-recursive] Error 1

Any pointers on this please ??

I've managed to get around this by using a precompiled executable
which was running under MDV2007.1.

It this a problem with wxgtk 2.4 being obsolete.
only wxgtk2.6 and wxgtk2.8 are with MDV 2008
AFAIK, xlog is a gtk application, not a wxgtk application.

Hi one of the errors is an undeclared function of gtk_widget, and I'm
sure but could be wrong that the widgets are provided by wxgtk.
It's gtk_widget_ref and gtk_widget_unref. Both are provided by the gtk library. However,
they have been deprecated since version 2.12. Remove


from the compilation line, and things should work. Edit 'INCLUDES' in 
Makefile.am in
the root directory of the source tree. You have to run 'configure' again. If configure doesn't run 'automake' automatically, you have to run 'automake' manually, then 'configure' again.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]