compile problem



when I try to compile gtk I get the following error:

/bin/sh ../libtool --mode=link gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall
-DUSE_XIM  -o testgtk  testgtk.o libgtk.la
../gdk/libgdk.la                 -L/usr/X11R6/lib
-lXext -lX11                            ../glib/libglib.la           -lm 
LD_LIBRARY_PATH=".libs:../gdk/.libs:../glib/.libs:$LD_LIBRARY_PATH" gcc -g
-O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/testgtk testgtk.o
-R/usr/local/lib -lgtk -R/usr/local/lib -lgdk -L/usr/X11R6/lib -lXext
-lX11 -L/usr/X11R6/lib -lXext -lX11 -R/usr/local/lib -lglib -lm
testgtk.c:2146: Undefined symbol `_gtk_container_set_focus_hadjustment'
referenced from text segment
testgtk.c:2148: Undefined symbol `_gtk_container_set_focus_vadjustment'
referenced from text segment
testgtk.c:2383: Undefined symbol `_gtk_spin_button_set_wrap' referenced
from text segment
testgtk.c:2396: Undefined symbol `_gtk_spin_button_set_wrap' referenced
from text segment
testgtk.c:2409: Undefined symbol `_gtk_spin_button_set_wrap' referenced
from text segment
testgtk.c:2433: Undefined symbol `_gtk_spin_button_set_wrap' referenced
from text segment
testgtk.c:2448: Undefined symbol `_gtk_spin_button_set_wrap' referenced
from text segment
testgtk.c:2585: Undefined symbol `_gtk_spin_button_spin' referenced from
text segment
testgtk.c:2808: Undefined symbol `_gtk_container_set_focus_vadjustment'
referenced from text segment
testgtk.c:3730: Undefined symbol `_gtk_text_set_word_wrap' referenced from
text segment
testgtk.c:5780: Undefined symbol `_gtk_container_set_focus_vadjustment'
referenced from text segment
*** Error code 1

This is with gtk+ 1.0.4 but the error is the same with 1.0.3. I'm
compiling under freebsd 2.2.6 with gcc 2.7.2.1. How can I make it go? :)

tia,
-marauder

--
Matt Beauregard
marauder@viper.net.au     marauder@progsoc.uts.EDU.AU
mbeaureg@socs.uts.EDU.AU      marauder@BITEME.net
http://www.sux.com/~marauder      and have a nice day.



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