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_NAME=\"xlog\" -DPACKAGE_TARNAME=\"xlog\"
-DPACKAGE_VERSION=\"1.5\" -DPACKAGE_STRING=\"xlog\ 1.5\"
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"xlog\"
-DVERSION=\"1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IPC_H=1
-DHAVE_SYS_SHM_H=1 -DHAVE_STRPTIME=1 -DENABLE_NLS=1
-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..
-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DDATADIR=\""/usr/local/share"\"
-DXLOG_LOCALEDIR=\""/usr/local/share/locale"\"
-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 ??
TIA
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.