Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 1998 13:56:43 +0800
From:      Doug Lo <jwlo@ms11.hinet.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   compile error on gtk1.0.1.
Message-ID:  <355A879A.230FC30E@ms11.hinet.net>

next in thread | raw e-mail | index | archive | help
Hi,

I compile gtk1.0.1 on FreeBSD 2.2.6-RELEASE, it got an error:

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:2145: Undefined symbol `_gtk_container_set_focus_hadjustment'
referenced from text segment
testgtk.c:2147: Undefined symbol `_gtk_container_set_focus_vadjustment'
referenced from text segment
testgtk.c:2807: Undefined symbol `_gtk_container_set_focus_vadjustment'
referenced from text segment
testgtk.c:5798: Undefined symbol `_gtk_container_set_focus_vadjustment'
referenced from text segment
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

Would anyone know how to solve this problem?

Thanks in advance,
Doug.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?355A879A.230FC30E>