DragonFly users List (threaded) for 2005-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
pthreads/libtool puzzle
While updating the libgnome port I get this error:
make all-am
/bin/sh /usr/local/bin/libtool15 --mode=link cc -O -pipe -L/usr/local/lib -o
gnome-open gnome-open.o libgnome-2.la -lpopt
cc -O -pipe -o .libs/gnome-open gnome-open.o -L/usr/local/lib
. /.libs/libgnome-2.so -L/usr/X11R6/lib /usr/X11R6/lib/libgnomevfs-2.so
-lgobject-2.0 -lxml2 -lz -lssl -lcrypto -lbonobo-2 -lbonobo-activation -lgconf-2
-lORBit-2 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -liconv/usr/local/lib/libesd.so
-lgnugetopt -laudiofile -lm -lpopt -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpath
-Wl,/usr/local/lib
/usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `pthread_create'
If I understand correctly (doubtful) there should be a -pthread in that
list of flags, so that libc_r gets pulled in?
I'm not certain, but I think the list of libraries comes from libgnome-2.la:
# Libraries that this one depends upon.
dependency_libs=' -L/usr/local/lib -L/usr/X11R6/lib
/usr/X11R6/lib/libgnomevfs-2.la -lgobject-2.0 -lxml2 -lz -lssl -lcrypto
-lbonobo-2 -
lbonobo-activation -lgconf-2 -lORBit-2 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0
-liconv /usr/local/lib/libesd.la -lgnugetopt -laudiofile -
lm -lpopt' (sorry about the line-wrap)
So -- I'm wondering if the -pthread flag should be listed in the .la file
along with the other dependencies? (I notice that libtool just got updated
this morning, and anyway I'm just naturally suspicious of libtool ;o)
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]