Another Compileing Problem
- From: Enrique Herrera <ponyboy nmt edu>
- To: GTK LIST <gtk-list redhat com>
- Subject: Another Compileing Problem
- Date: Sat, 6 Mar 1999 23:45:25 -0700 (MST)
BOy, we are bunch of new'bies.. OK. I got Glib 1.2 and GTK 1.2 compiled,
checked and installed. Now i am following the Tutorial from the GTK site
and I can not seem to compile it right.. This is the command I used to
compile:
gcc -Wall -g helloworld -o hello_world `gtk-config --cflags`
`gtk-config --libs`
I night just missing some command or some this.. I can not think right
now.. I am so brain dead.. I have been working on this for a long time..
Any help is grateful.. thanx
ho ya..
Here is the output I get after I have entered this command:
otherside:~/src$ gcc -Wall -g helloworld.c -o hello_world `gtk-config
--cflags` `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 helloworld.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/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/cca004251.o: In function `main':
/home/ponyboy/src/helloworld.c:51: undefined reference to
`gtk_object_check_cast'
/home/ponyboy/src/helloworld.c:57: undefined reference to
`gtk_object_check_cast'
/home/ponyboy/src/helloworld.c:61: undefined reference to
`gtk_object_check_cast'
/home/ponyboy/src/helloworld.c:61: undefined reference to
`gtk_container_border_width'
/home/ponyboy/src/helloworld.c:69: undefined reference to
`gtk_object_check_cast'
/home/ponyboy/src/helloworld.c:75: undefined reference to
`gtk_object_check_cast'
/home/ponyboy/src/helloworld.c:75: undefined reference to
`gtk_object_check_cast'
/home/ponyboy/src/helloworld.c:80: undefined reference to
`gtk_object_check_cast'
http://www.nmt.edu/~ponyboy ponyboy@mailhost.nmt.edu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]