A problem(?) with pthreads
- From: Carl Krauthauser <carl UDel Edu>
- To: garnome-list gnome org
- Subject: A problem(?) with pthreads
- Date: Sun, 28 Dec 2003 20:57:53 -0500 (EST)
Dear Garnome users,
I am attempting to install GARNOME 0.28.3 on FreeBSD 5.1. It goes along
building for about an hour, and then I get the following error message:
/usr/local/bin/bash ../../../libtool --mode=link cc -g
-I/home/carl/garnome/include -I/usr/X11R6/include -I/usr/local/include
-L/home/carl/garnome/lib -L/usr/X11R6/lib -L/usr/local/lib
-L/usr/compat/linux/lib -L/usr/lib -O2 -pipe -L/home/carl/garnome/lib
-L/usr/X11R6/lib -L/usr/local/lib -L/usr/compat/linux/lib -L/usr/lib -o
name-client-2 name-client.o name-support.o ../../../src/orb/libORBit-2.la
libORBitCosNaming-2.la -lm -L/home/carl/garnome/lib -lglib-2.0 -lintl
-liconv
cc -g -I/home/carl/garnome/include -I/usr/X11R6/include
-I/usr/local/include -O2 -pipe -o .libs/name-client-2 name-client.o
name-support.o -L/home/carl/garnome/lib -L/usr/X11R6/lib -L/usr/local/lib
-L/usr/compat/linux/lib -L/usr/lib ../../../src/orb/.libs/libORBit-2.so
./.libs/libORBitCosNaming-2.so
/home/carl/tmp/garnome/garnome-0.28.3/gnome/ORBit2/work/main.d/ORBit2-2.9.2/src/orb/.libs/libORBit-2.so
/home/carl/garnome/lib/libgmodule-2.0.so -lpopt
/home/carl/garnome/lib/libgobject-2.0.so
/home/carl/garnome/lib/libgthread-2.0.so -lm
/home/carl/garnome/lib/libglib-2.0.so -lintl -liconv -Wl,--rpath
-Wl,/home/carl/garnome/lib
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_attr_destroy'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_create'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_attr_init'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_exit'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_equal'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_getschedparam'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_attr_setscope'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_setschedparam'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_attr_setstacksize'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_attr_setschedparam'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_attr_setdetachstate'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_join'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_cond_timedwait'
/home/carl/garnome/lib/libgthread-2.0.so: undefined reference to
`pthread_attr_getschedparam'
gmake[9]: *** [name-client-2] Error 1
gmake[9]: Leaving directory
`/home/carl/tmp/garnome/garnome-0.28.3/gnome/ORBit2/work/main.d/ORBit2-2.9.2/src/services/name'
gmake[8]: *** [all] Error 2
gmake[8]: Leaving directory
`/home/carl/tmp/garnome/garnome-0.28.3/gnome/ORBit2/work/main.d/ORBit2-2.9.2/src/services/name'
gmake[7]: *** [all-recursive] Error 1
gmake[7]: Leaving directory
`/home/carl/tmp/garnome/garnome-0.28.3/gnome/ORBit2/work/main.d/ORBit2-2.9.2/src/services'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory
`/home/carl/tmp/garnome/garnome-0.28.3/gnome/ORBit2/work/main.d/ORBit2-2.9.2/src'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory
`/home/carl/tmp/garnome/garnome-0.28.3/gnome/ORBit2/work/main.d/ORBit2-2.9.2'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory
`/home/carl/tmp/garnome/garnome-0.28.3/gnome/ORBit2/work/main.d/ORBit2-2.9.2'
gmake[3]: *** [build-work/main.d/ORBit2-2.9.2/Makefile] Error 2
gmake[3]: Leaving directory
`/home/carl/tmp/garnome/garnome-0.28.3/gnome/ORBit2'
gmake[2]: *** [../../gnome/ORBit2/cookies/main.d/install] Error 2
gmake[2]: Leaving directory
`/home/carl/tmp/garnome/garnome-0.28.3/gnome/GConf'
gmake[1]: *** [../../gnome/GConf/cookies/main.d/install] Error 2
gmake[1]: Leaving directory
`/home/carl/tmp/garnome/garnome-0.28.3/gnome/metacity'
gmake: *** [../../gnome/metacity/cookies/main.d/install] Error 2
Now, it looks like it is looking for a posix thread library. There is a
libpthread.so library in /usr/compat/linux/lib, to which I added as part
of the LDFLAGS in gar.conf.mk. FreeBSD has a library source for a
libpthread library that is installed in /usr/lib; I've also added this to
LDFLAGS. However, as is clear from the error message, it doesn't see
these shared libraries. Any thoughts as to how to get around this issue;
any suggestions would be most welcome!
Thanks for all your help!
Best Regards,
Carl Krauthauser
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]