compile problems - gtk+-0.99.8 / FreeBSD 2.2.2 / gcc 2.7.2.1




compile problems -

	gtk+-0.99.8
	FreeBSD 2.2.2
	gcc 2.7.2.1 

Config with something like:

	configure --prefix=/usr/local/pkgs/gtk

no problems...

Compile runs to building of  testgtk  and then barfs with undef. symbols.
I've tried various changes to the setup but nothing works so far.

Any comments/help appreciated.

thanks,
--david
delphys@bunyip.com


>From the output:
------------------------------------------------------------------------

(cd .libs && ln -s ../libgtk.la libgtk.la)

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib -I../glib
 -I/usr/X11R6/include -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -c testgtk.c

/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/pkgs/gtk/lib -lgtk -R/usr/local/pkgs/gtk/lib -lgdk
 -L/usr/X11R6/lib -lXext -lX11 -L/usr/X11R6/lib -lXext -lX
 11 -R/usr/local/pkgs/gtk/lib -lglib -lm

testgtk.c:60: Undefined symbol `_gtk_object_unref' referenced from text segment
testgtk.c:89: Undefined symbol `_gtk_widget_destroyed' referenced from text segment
testgtk.c:225: Undefined symbol `_gtk_widget_destroyed' referenced from text segment
testgtk.c:297: Undefined symbol `_gtk_widget_destroyed' referenced from text segment
<etc etc etc...>
<etc etc etc...>
<etc etc etc...>

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




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