Still cannot build on Solaris

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
lsag02

Still cannot build on Solaris

Post by lsag02 »

I still have problems building application with ImageMagick. I found that I can successfully build the project if i don't use std::vector class. If I use std::vector class I get the follwoign linker errors:

g++ -lsocket -lnsl -lfcgi -lw -lclntsh `Magick++-config --ldflags --libs` -o MySample MySample.o Utils.o
Undefined first referenced
symbol in file
std::__default_alloc_template<(bool)1, (int)0>::deallocate(void*, unsigned)MySample.o
std::__default_alloc_template<(bool)1, (int)0>::allocate(unsigned)MySample.o
ld: fatal: Symbol referencing errors. No output written to MySample
collect2: ld returned 1 exit status
make: *** [image_convert1] Error 1
Post Reply