The Sun Workshop 4.x compilers use a new method of handling C++ template classes which requires that all libraries (lib*.a) containing templates must be created by the C++ compiler and not by "ar". Therefore, *before* executing the configure script for dcmtk, you should set environment variables as follows:
Code: Select all
setenv CC cc
setenv CXX CC
setenv AR CC
setenv ARFLAGS "-xar -o"