[Brlcad-tracker] [ brlcad-Bugs-1144971 ] FreeBSD 4.11: linking with threads required
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: SourceForge.net <no...@so...> - 2005-02-20 19:38:21
|
Bugs item #1144971, was opened at 2005-02-20 14:38 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=1144971&group_id=105292 Category: Compilation Group: other bug / workaround Status: Open Resolution: None Priority: 5 Submitted By: Pedro F. Giffuni (giffunip) Assigned to: Nobody/Anonymous (nobody) Summary: FreeBSD 4.11: linking with threads required Initial Comment: The following message resulted while building on FreeBSD 4.11R: _________________ creating librt.la (cd .libs && rm -f librt.la && ln -s ../librt.la librt.la) cc -DHAVE_CONFIG_H -I. -I. -I../../include - I/usr/local/include -I../../include -O -pipe -march=pentiumpro -pipe -fno- strict-aliasing -fno-common -fPIC -g -c `test -f 'comb.c' || echo './'`comb.c In file included from /usr/include/sys/types.h:126, from /usr/include/sys/time.h:40, from ../../include/bu.h:90, from comb.c:43: /usr/include/machine/endian.h:53: warning: `BIG_ENDIAN' redefined ../../include/machine.h:701: warning: this is the location of the previous definition /bin/sh /usr/local/bin/libtool15 --mode=link cc -O - pipe -march=pentiumpro -pipe -fno-strict-aliasing -fno-common -fPIC -g - L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -fPIC -g -o comb comb.o librt.la ../../src/libbu/libbu.la -lpng cc -O -pipe -march=pentiumpro -pipe -fno-strict- aliasing -fno-common -fPIC -g -pipe -fno-strict-aliasing -fno-common -fPIC -g - o .libs/comb comb.o -L/usr/local/lib ./.libs/librt.so /usr/ports/cad/brlcad/work/brlcad- 7.0.4/src/libbn/.libs/libbn.so /usr/ports/cad/brlcad/work /brlcad-7.0.4/src/libbu/.libs/libbu.so ../../src/libbu/.libs/libbu.so /usr/ports/cad/brlcad/work/brlcad- 7.0.4/src/other/libtcl/.libs/libtcl8.4.so -lz -lm -lpng -Wl,- -rpath -Wl,/usr/local/brlcad/lib /usr/ports/cad/brlcad/work/brlcad- 7.0.4/src/libbu/.libs/libbu.so: undefined reference to `pthread_mutex_unlock' /usr/ports/cad/brlcad/work/brlcad- 7.0.4/src/libbu/.libs/libbu.so: undefined reference to `pthread_mutex_lock' /usr/ports/cad/brlcad/work/brlcad- 7.0.4/src/libbu/.libs/libbu.so: undefined reference to `pthread_mutex_init' *** Error code 1 Stop in /usr/ports/cad/brlcad/work/brlcad- 7.0.4/src/librt. *** Error code 1 ___________________ I think this has to be linked with -pthread on FreeBSD 4.x ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=1144971&group_id=105292 |