error building gtk. (Was thread implementation)



I've got glib to configure now.  I decided to just go without the threads.
It configured, maked and installed fine.  Now, I'm having trouble with
building gtk.  Heres the error I got:

gcc -g -O2 -Wall -o .libs/testgtk testgtk.o -Wl,--rpath -Wl,/usr/local/lib
.libs/libgtk.so -L/usr/local/lib -lgmodule -lglib -ldl -L/usr/X11R6/lib
-lXext -lX11 -lm -lintl -Wl,--rpath -Wl,/usr/local/lib
../gdk/.libs/libgdk.so -L/usr/local/lib -lgmodule -lglib -ldl
-L/usr/X11R6/lib -lXext -lX11 -lm -lintl -L/usr/X11R6/lib -lXext -lX11
-L/usr/local/lib -rdynamic -lgmodule -lglib -ldl -lm -lintl
.libs/libgtk.so: undefined reference to `dgettext'
make[2]: *** [testgtk] Error 1
make[2]: Leaving directory `/usr/src/gtk+-1.2.0/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gtk+-1.2.0'
make: *** [all-recursive-am] Error 2

One last question, is this the place I should be sending this, or should I
send it else where?  

Thanks,
Scott


On Tue, 16 Mar 1999, Sebastian Wilhelmi wrote:

> Hi, Scott
> 
> >         I'm working on a freshly installed slackware-3.5 machine, and
> > trying to build gtk-1.2.  It errors, telling me that it can't find the
> > 'libraries for the thread implementation posix'.  I guess I could
> > compile it without thread support, but don't want to if I don't have to.
> 
> I suspect, your thread system is screwed. There doen't seem to be a
> pthread_attr_init function in your thread library (whatever it is named).
> If you can find one somewhere, mail me the location and I will fix it.
> 
> Bye,
> Sebastian
> 
> -- 
> Sebastian Wilhelmi                   |            här ovanför alla molnen
> mailto:wilhelmi@ira.uka.de           |      är himmlen så förunerligt blå
> http://goethe.ira.uka.de/~wilhelmi   |
> 

                --------------------------------------------
                In a world without walls, who needs windows?
                --------------------------------------------



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