Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 19:01:03 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        Jan.Stocker@t-online.de (Jan Stocker)
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/40874: libfpx wont build / wrong CFLAGS
Message-ID:  <7mr8hwytcw.wl@black.imgsrc.co.jp>
In-Reply-To: <200207220920.g6M9K3Uq057393@freefall.freebsd.org>
References:  <200207220920.g6M9K3Uq057393@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mr8hwytcw.wl>