Date: Sat, 20 Dec 2003 23:09:06 +0300 From: "Sergey A. Osokin" <osa@freebsd.org.ru> To: BSDC <bsdc@xtremedev.com> Cc: ports@freebsd.org Subject: Re: ImageMagick on 5.2-R fails with pthread error Message-ID: <20031220200906.GG35515@freebsd.org.ru> In-Reply-To: <20031220111859.GA97021@Amber.XtremeDev.com> References: <20031220111859.GA97021@Amber.XtremeDev.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 20, 2003 at 04:18:59AM -0700, BSDC wrote: > Trying to install ImageMagick on a FreeBSD 5.2-R system, I get: Where you get FreeBSD 5.2-RELEASE? :-) > Making all in utilities > gmake[1]: Entering directory > `/usr/ports/graphics/ImageMagick/work/ImageMagick-5.5.7/utilities' > /bin/sh ../libtool --silent --mode=link cc -O -pipe -funroll-loops > -DVM_STACK -march=pentium4 -Wall -L/usr/local/lib -lc_r > -L/usr/X11R6/lib -L/usr/local/lib -L/usr/local/lib -o composite > -L/usr/local/lib -lc_r -L/usr/X11R6/lib -L/usr/local/lib > -L/usr/local/lib composite.o ../magick/libMagick.la > /usr/local/lib/libjasper.so: warning: tmpnam() possibly used unsafely; > consider using mkstemp() > ../magick/.libs/libMagick.so: undefined reference to `pthread_equal' > gmake[1]: *** [composite] Error 1 > gmake[1]: Leaving directory > `/usr/ports/graphics/ImageMagick/work/ImageMagick-5.5.7/utilities' > gmake: *** [all-recursive] Error 1 > *** Error code 2 > > Should it be using -lc_r instead of -pthread? Or is that the correct > thing now in 5.x? Yep, -lc_r for 5.x and -pthread for 4.x. See ports/Mk/bsd.port.mk for details. -- Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031220200906.GG35515>