From owner-freebsd-ports Mon Jul 22 3: 1:32 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9F5837B408 for ; Mon, 22 Jul 2002 03:01:28 -0700 (PDT) Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D97343E72 for ; Mon, 22 Jul 2002 03:01:17 -0700 (PDT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id 7F24A24DB4; Mon, 22 Jul 2002 19:01:16 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id DB2F624DB0; Mon, 22 Jul 2002 19:01:07 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by black.imgsrc.co.jp (Postfix) with ESMTP id C9DA31E480F; Mon, 22 Jul 2002 19:01:03 +0900 (JST) Date: Mon, 22 Jul 2002 19:01:03 +0900 Message-ID: <7mr8hwytcw.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: Jan.Stocker@t-online.de (Jan Stocker) Cc: freebsd-ports@FreeBSD.org Subject: Re: ports/40874: libfpx wont build / wrong CFLAGS In-Reply-To: <200207220920.g6M9K3Uq057393@freefall.freebsd.org> References: <200207220920.g6M9K3Uq057393@freefall.freebsd.org> User-Agent: Wanderlust/2.9.10 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS on ns.imgsrc.co.jp Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Mon, 22 Jul 2002 09:20:25 +0000 (UTC), Jan Stocker wrote: > Uncommenting leads to no compiling errors, but i think the lib hasn't > linked correctly, cause building ImageMagick causes: > > cc -DHAVE_CONFIG_H -I. -I. -I../magick -I../ -I.. -I/usr/X11R6/include > -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include > -I/X11 -O -pipe -march=pentiumpro -Wall -c `test -f 'composite.c' || > echo './'`composite.c > /usr/local/bin/bash ../libtool --silent --mode=link cc -O -pipe > -march=pentiumpro -Wall -L/usr/local/lib -L/usr/X11R6/lib -o composite > -L/usr/local/lib -L/usr/X11R6/lib composite.o ../magick/libMagick.la > ../magick/.libs/libMagick.so: warning: tempnam() possibly used unsafely; > consider using mkstemp() > /usr/local/lib/libfpx.so: undefined reference to `operator > new[](unsigned)' > /usr/local/lib/libfpx.so: undefined reference to `operator > delete(void*)' > /usr/local/lib/libfpx.so: undefined reference to `__cxa_pure_virtual' > /usr/local/lib/libfpx.so: undefined reference to > `std::ios_base::Init::Init()' > /usr/local/lib/libfpx.so: undefined reference to `operator > delete[](void*)' > /usr/local/lib/libfpx.so: undefined reference to > `std::ios_base::Init::~Init()' > /usr/local/lib/libfpx.so: undefined reference to `operator > new(unsigned)' > gmake[1]: *** [composite] Error 1 > gmake[1]: Leaving directory > `/ext/usr/ports/graphics/ImageMagick/work/ImageMagick-5.4.7/utilities' > gmake: *** [all-recursive] Error 1 > *** Error code 2 I got same situation, but after "make world" and re-installing libfpx, I can compile ImageMagick successfully. -- Jun Kuriyama // IMG SRC, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message