ports/70593: libgnome from current ports tree fails to compile
Frank Dabek
fdabek at amsterdam.lcs.mit.edu
Tue Aug 17 21:10:24 UTC 2004
>Number: 70593
>Category: ports
>Synopsis: libgnome from current ports tree fails to compile
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 17 21:10:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Frank Dabek
>Release: FreeBSD 4.9-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD supervised-residence.lcs.mit.edu 4.9-RELEASE-p5 FreeBSD 4.9-RELEASE-p5 #1: Fri Apr 30 16:52:54 EDT 2004 sit at toil.lcs.mit.edu:/scratch/obj/usr/src/sys/PDOS-UNI i386
>Description:
the libgnome port, as checked out on Aug 17, fails to compile. The
gnome-open program doesn't link due to unresolved symbols in pthread.
toil# pwd
/scratch/ports/usr/ports/x11/libgnome/work/libgnome-2.6.1.2/libgnome
toil# gmake
/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 -lgnomevfs-2 -lbonobo-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -liconv -lesd -laudiofile -lm -lpopt -Wl,--rpath -Wl,/usr/X11R6/lib
/usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_cond_signal'
/usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_attr_destroy'
/usr/X11R6/lib/libgnomevfs-2.so: undefined reference to `pthread_create'
/usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_getspecific'
/usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_attr_init'
/usr/X11R6/lib/libgnomevfs-2.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'
>How-To-Repeat:
cd /usr/ports/x11/libgnome ; make
>Fix:
I added "-pthread" to gnome_open_LDFLAGS at line 274 of
libgnome/Makefile. I'm guessing that there is an automake friendly
way of making this happen bug I didn't find it.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list