Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Dec 2005 15:01:40 -0800
From:      Micah <micahjon@ywave.com>
To:        freeBSD <freebsd-questions@freebsd.org>
Subject:   pthread problems and ports on fresh 6.0 install
Message-ID:  <43ADD354.9090606@ywave.com>

next in thread | raw e-mail | index | archive | help

I wrote in a few days ago about gpgme not compiling.  It had an error 
about several pthread_* functions.  I got around it by installing from 
packages.  Now I can't compile multimedia/gstreamer from ports for the 
same reason. (Error below).  I'm not sure what to do, or even what the 
problem is...  Any help in tracking the problem down is appreciated.

I'm running FreeBSD 6.0-RELEASE i386 with the generic kernel installed 
off CD.

Thanks,
Micah

*** For GPGME error message see: *** 
http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/108171.html

***Error Message***
cc -shared  .libs/libgstspider_la-gstspider.o 
.libs/libgstspider_la-gstspideridentity.o 
.libs/libgstspider_la-gstsearchfuncs.o  -Wl,--rpath 
-Wl,/usr/ports/multimedia/gstreamer/work/gstreamer-0.8.11/gst/.libs 
-Wl,--rpath -Wl,/usr/X11R6/lib -L/usr/local/lib 
../../gst/.libs/libgstreamer-0.8.so  -march=athlon -Wl,-soname 
-Wl,libgstspider.so -Wl,-retain-symbols-file -Wl,.libs/libgstspider.exp 
-o .libs/libgstspider.so
creating libgstspider.la
(cd .libs && rm -f libgstspider.la && ln -s ../libgstspider.la 
libgstspider.la)
if cc -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/local/include 
-D_REENTRANT -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 
-I/usr/local/include   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-fno-common -g -Wall -DGST_DISABLE_DEPRECATED -I../../libs -I../.. -O2 
-fno-strict-aliasing -pipe -O2 -pipe -march=athlon -MT 
spidertest-spidertest.o -MD -MP -MF ".deps/spidertest-spidertest.Tpo" -c 
-o spidertest-spidertest.o `test -f 'spidertest.c' || echo 
'./'`spidertest.c; \
then mv -f ".deps/spidertest-spidertest.Tpo" 
".deps/spidertest-spidertest.Po"; else rm -f 
".deps/spidertest-spidertest.Tpo"; exit 1; fi
/bin/sh /usr/local/bin/libtool15 --tag=CC --mode=link cc  -O2 
-fno-strict-aliasing -pipe -O2 -pipe -march=athlon  -L/usr/local/lib -o 
spidertest  spidertest-spidertest.o ../../gst/libgstreamer-0.8.la
cc -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=athlon -o 
.libs/spidertest spidertest-spidertest.o  -L/usr/local/lib 
../../gst/.libs/libgstreamer-0.8.so -lxml2 -lz -lgobject-2.0 
-lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lpopt -lintl -lm 
-Wl,--rpath -Wl,/usr/X11R6/lib
/usr/local/lib/libgthread-2.0.so: undefined reference to 
`pthread_attr_destroy'
/usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_create'
/usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_attr_init'
/usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_exit'
/usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_equal'
/usr/local/lib/libgthread-2.0.so: undefined reference to 
`pthread_getschedparam'
/usr/local/lib/libgthread-2.0.so: undefined reference to 
`pthread_attr_setscope'
/usr/local/lib/libgthread-2.0.so: undefined reference to 
`pthread_setschedparam'
/usr/local/lib/libgthread-2.0.so: undefined reference to 
`pthread_attr_setstacksize'
/usr/local/lib/libgthread-2.0.so: undefined reference to 
`pthread_attr_setschedparam'
/usr/local/lib/libgthread-2.0.so: undefined reference to 
`pthread_attr_setdetachstate'
/usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_join'
/usr/local/lib/libgthread-2.0.so: undefined reference to 
`pthread_cond_timedwait'
/usr/local/lib/libgthread-2.0.so: undefined reference to 
`pthread_attr_getschedparam'
gmake[4]: *** [spidertest] Error 1
gmake[4]: Leaving directory 
`/usr/ports/multimedia/gstreamer/work/gstreamer-0.8.11/gst/autoplug'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/ports/multimedia/gstreamer/work/gstreamer-0.8.11/gst'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/ports/multimedia/gstreamer/work/gstreamer-0.8.11/gst'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/multimedia/gstreamer/work/gstreamer-0.8.11'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/gstreamer.
#




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43ADD354.9090606>