gtk 1.2.5, included examples



Hello, to begin with I am a newbie to gtk and am having a problem.

When I attempt to compile any of the examples, excluding the 1st 
example base I get the following compile errors (very long sorry):


-------------------------------------------------------------------

bj38118:~/gtk/gtk+-1.2.5/examples/entry# make                 


gcc `gtk-config --cflags`  entry.c -o entry `gtk-config --libs`
In file included from /usr/X11R6/include/gdk/gdktypes.h:25,
                 from /usr/X11R6/include/gdk/gdk.h:23,
                 from /usr/X11R6/include/gtk/gtk.h:23,
                 from entry.c:3:
/usr/X11R6/include/glib.h:392: warning: `GPOINTER_TO_INT' redefined
/usr/local/lib/glib/include/glibconfig.h:48: warning: this is the location of the previous definition
/usr/X11R6/include/glib.h:393: warning: `GPOINTER_TO_UINT' redefined
/usr/X11R6/include/glib.h:393: warning: `GPOINTER_TO_UINT' redefined
/usr/local/lib/glib/include/glibconfig.h:49: warning: this is the location of the previous definition
/usr/X11R6/include/glib.h:395: warning: `GINT_TO_POINTER' redefined
/usr/local/lib/glib/include/glibconfig.h:51: warning: this is the location of the previous definition
/usr/X11R6/include/glib.h:396: warning: `GUINT_TO_POINTER' redefined
/usr/local/lib/glib/include/glibconfig.h:52: warning: this is the location of the previous definition
/usr/X11R6/include/glib.h:769: warning: `g_memmove' redefined
/usr/local/lib/glib/include/glibconfig.h:60: warning: this is the location of the previous definition
/tmp/cca002761.o: In function `enter_callback':
/tmp/cca002761.o(.text+0x13): undefined reference to `gtk_object_check_cast'
/tmp/cca002761.o: In function `entry_toggle_editable':
/tmp/cca002761.o(.text+0x50): undefined reference to `gtk_object_check_cast'
/tmp/cca002761.o(.text+0x73): undefined reference to `gtk_object_check_cast'
/tmp/cca002761.o: In function `entry_toggle_visibility':
/tmp/cca002761.o(.text+0xa0): undefined reference to `gtk_object_check_cast'
/tmp/cca002761.o(.text+0xc3): undefined reference to `gtk_object_check_cast'
/tmp/cca002761.o(.text+0x11a): more undefined references to `gtk_object_check_cast' follow
make: *** [entry] Error 1

---------------------------------------------------------------------------

Could someone please direct me as to what I am doing wrong.

Brent Jackson
bj38118@cs.appstate.edu



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