Problem building ImageMagick 6.3.0

Volker Quetschke quetschke@scytek.de
Sat Oct 28 21:45:00 GMT 2006


I wanted to build the latest ImageMagick but the build fails for
me. I attach the cygport script and patch that I use (shamelessly
adapted from Yaakov's cygports version).

It looks like libtool is not finding libstdc++.a (logsnippet below)

Any ideas?

 Volker



The build fails with:

	if /bin/sh ./libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I.
-I/usr/src/im6300/ImageMagick-6.3.0.0-1/src/ImageMagick-6.3.0 -I./magick
-I./wand  -I.
-I/usr/src/im6300/ImageMagick-6.3.0.0-1/src/ImageMagick-6.3.0
-I/usr/src/im6300/ImageMagick-6.3.0.0-1/src/ImageMagick-6.3.0/Magick++/lib
-I/usr/src/im6300/ImageMagick-6.3.0.0-1/src/ImageMagick-6.3.0/Magick++/lib
-I/usr/include/freetype2 -I/usr/include/libxml2  -O2 -pipe -Wall -W -MT
Magick++/lib/TypeMetric.lo -MD -MP -MF "$depbase.Tpo" -c -o
Magick++/lib/TypeMetric.lo
/usr/src/im6300/ImageMagick-6.3.0.0-1/src/ImageMagick-6.3.0/Magick++/lib/TypeMetric.cpp;
\
	then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo";
exit 1; fi
libtool: ignoring unknown tag CXX
/bin/sh ./libtool --silent --tag=CXX --mode=link g++  -O2 -pipe -Wall -W
 -lfreetype -lz -L/usr/lib -o Magick++/lib/libMagick++.la -rpath
/usr/lib -no-undefined -version-info 10:5:0 Magick++/lib/Blob.lo
Magick++/lib/BlobRef.lo Magick++/lib/CoderInfo.lo Magick++/lib/Color.lo
Magick++/lib/Drawable.lo Magick++/lib/Exception.lo
Magick++/lib/Functions.lo Magick++/lib/Geometry.lo Magick++/lib/Image.lo
Magick++/lib/ImageRef.lo Magick++/lib/Montage.lo Magick++/lib/Options.lo
Magick++/lib/Pixels.lo Magick++/lib/STL.lo Magick++/lib/Thread.lo
Magick++/lib/TypeMetric.lo magick/libMagick.la wand/libWand.la
libtool: ignoring unknown tag CXX
Magick++/lib/.libs/Blob.o:Blob.cpp:(.text+0x27): undefined reference to
`___gxx_personality_sj0'
Magick++/lib/.libs/Blob.o:Blob.cpp:(.text+0x56): undefined reference to
`operator new(unsigned int)'
Magick++/lib/.libs/Blob.o:Blob.cpp:(.text+0xb0): undefined reference to
`operator delete(void*)'
Magick++/lib/.libs/Blob.o:Blob.cpp:(.text+0xfb): undefined reference to
`___gxx_personality_sj0'

(snipped lots of stdc++ references)

Magick++/lib/.libs/STL.o:STL.cpp:(.text+0x3855): more undefined
references to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)' follow
Magick++/lib/.libs/STL.o:STL.cpp:(.text$_ZNSt10_List_baseIN6Magick8DrawableESaIS1_EE8_M_clearEv[std::_List_base<Magick::Drawable,
std::allocator<Magick::Drawable> >::_M_clear()]+0x23): undefined
reference to `operator delete(void*)'
Creating library file: Magick++/lib/.libs/libMagick++.dll.a
collect2: ld returned 1 exit status
make: *** [Magick++/lib/libMagick++.la] Error 1


-- 
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ImageMagick-6.3.0.0-1.src.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20061028/db692aea/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ImageMagick-6.3.0.0-1.cygport
URL: <http://cygwin.com/pipermail/cygwin/attachments/20061028/db692aea/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.log
URL: <http://cygwin.com/pipermail/cygwin/attachments/20061028/db692aea/attachment.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 248 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20061028/db692aea/attachment.sig>


More information about the Cygwin mailing list