Troubles compiling gtk 1.1.2



Hi all,
i'm trying to install gtk 1.1.2 but:
1. compiling and installing glib 1.1.3 was OK
2. compiling gtk 1.1.2 flawless until making testgtk where i got this:
(cd .libs && ln -s ../libgtk.la libgtk.la)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -I..
-I/usr/local/lib/glib/include -I/usr/local/include 
-I/usr/X11R6/include  -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -c
testgtk.c
/bin/sh ../libtool --mode=link gcc -O2 -DGTK_NO_CHECK_CASTS -Wall
-DUSE_XIM  -o testgtk  testgtk.o libgtk.la ../gdk/libgdk.la
-L/usr/X11R6/lib -lXext -lX11 -L/usr/local/lib -rdynamic -lgmodule 
-lglib -ldl -lm 
gcc -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/testgtk testgtk.o
-Wl,--rpath -Wl,/usr/local/lib .libs/libgtk.so -Wl,--rpath
-Wl,/usr/local/lib ../gdk/.libs/libgdk.so -L/usr/X11R6/lib -lXext -lX11
-L/usr/X11R6/lib -lXext -lX11 -L/usr/local/lib -rdynamic -lgmodule
-lglib -ldl -lm
testgtk.o: In function `create_tree_sample':
testgtk.o(.text+0x1f11): undefined reference to `g_log'
testgtk.o: In function `gtk_ifactory_cb':
testgtk.o(.text+0x3d67): undefined reference to `g_log'
testgtk.o: In function `cursor_expose_event':
testgtk.o(.text+0x55b9): undefined reference to `g_log'
testgtk.o: In function `export_ctree':
testgtk.o(.text+0x78ca): undefined reference to `g_node_destroy'
.libs/libgtk.so: undefined reference to `g_node_depth'
..many others undef ref with glib follows..

- all previous gtk+ version completely removed
- linker configured properly
- i have the gimp and some libs in /usr/X11R6/lib (could be this the
problem ?)
- linux box with 2.0.34 kernel, egcs-2.90.29 980515 (egcs-1.0.3
release), libc5

I'm surely wrong but i don't know where.
Thanks in advance.
-- 
Mario Motta
mmotta@guest.net
http://www.guest.net/homepages/mmotta/index.htm



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