Re: pthread problems and ports on fresh 6.0 install

2005-12-26 Thread Lowell Gilbert
Micah [EMAIL PROTECTED] writes:

 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.
 #
 

How did you install the ports?  Are they up-to-date?  Are there maybe
some stale files in that particular port directory?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pthread problems and ports on fresh 6.0 install

2005-12-26 Thread Micah

Lowell Gilbert wrote:

Micah [EMAIL PROTECTED] writes:



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




How did you install the ports?  Are they up-to-date?  Are there maybe
some stale files in that particular port directory?


The ports tree was installed by copying the ports tree from a working 
5.4 install then cvsupping against cvsup5.FreeBSD.org.  There shouldn't 
have been any stale files left behind.  After getting the error i tried 
make clean  make build Several time in fact (yes, I know the 
definition of insanity :)


I did manage to fix it, but the solution was a little drastic  I 
updated my ports tree again (by now it was a day or two old), tried the 
broken ports again (still didn't work), upgraded the two ports that were 
out of date (one was a libtool15).  I then did a portupgrade -Rrf 
glib-2\* because one of the error messages made me think something was 
wrong with glib.  That ended up rebuilding practically everything. 
After that gstreamer and gpgme built and installed properly.  Just 
looked at http://www.freshports.org/devel/libtool15/ - seems it was a 
ports bug.  The rebuild-everything step probably wasn't necessary. :(


Later,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pthread problems and ports on fresh 6.0 install

2005-12-24 Thread Micah


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.
#

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]