Re: [gtk-list] problem compiling 1.0.3 on FBSD 2.2.6



> I get the following when trying to compile gtk 1.0.3 on FreeBSD 2.2.6:
> 
> 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.
>
Sounds like it is picking up an old library, try removing the old gtk
library before compiling/installing the new one.

I had no problems compiling it on 2.2.6

Marc.
 



----------------------------------------------------
Marc van Kempen                 BowTie Technology     
Email: marc@bowtie.nl            WWW & Databases
tel. +31 40 2 43 20 65         
fax. +31 40 2 44 21 86         http://www.bowtie.nl
----------------------------------------------------





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