Hi,
I have been trying to compiling CppUnit on Solaris/Sparc with the native
compiler SparcWorks/Forte 6 Update 1 with the Standard Template Library
that comes with the compiler.
Do I need STLport to compile CppUnit?
I was running a make and I got the following error:
/opt/SUNWspro/bin/CC -DHAVE_CONFIG_H -I. -I. -I../../config
-I../../include -I../../include -I.
-I/scde/webtop/re/SRX643/unxsols3.pro/inc/stl
-I/scde/webtop/re/SRX643/unxsols3.pro/inc/external
-I/scde/webtop/re/SRX643/unxsols3.pro/inc
-I/scde/webtop/re/SRX643/src/solenv/unxsols3/inc -I/opt/SUNWspro/include
-I/scde/webtop/re/SRX643/src/solenv/inc
-I/scde/webtop/re/SRX643/unxsols3.pro/inc/stl
-I/scde/webtop/re/SRX643/src/solenv/inc/Xp31
-I/scde/webtop/re/SRX643/src/res -I.
-I/scde/webtop/re/SRX643/unxsols3.pro/inc/stl
-I/scde/webtop/re/SRX643/unxsols3.pro/inc/external
-I/scde/webtop/re/SRX643/unxsols3.pro/inc
-I/scde/webtop/re/SRX643/src/solenv/unxsols3/inc -I/opt/SUNWspro/include
-I/scde/webtop/re/SRX643/src/solenv/inc
-I/scde/webtop/re/SRX643/unxsols3.pro/inc/stl
-I/scde/webtop/re/SRX643/src/solenv/inc/Xp31
-I/scde/webtop/re/SRX643/src/res -I../../include/cppunit
-I/scde/webtop/re/SRX643/inc/stl/stl/wrappers
-I/scde/webtop/re/SRX643/inc/stl/stl -c TestFactoryRegistry.cpp -KPIC -DPIC
"TestFactoryRegistry.cpp", line 43: Error: Could not find a match for
_STL::map<_STL::basic_string<char, _STL::char_traits<char>,
_STL::allocator<char>>, CppUnit::TestFactoryRegistry*,
_STL::less<_STL::basic_string<char, _STL::char_traits<char>,
_STL::allocator<char>>>, _STL::allocator<_STL::pair<const
_STL::basic_string<char, _STL::char_traits<char>,
_STL::allocator<char>>,
CppUnit::TestFactoryRegistry*>>>::insert(_STL::pair<_STL::basic_string<char,
_STL::char_traits<char>, _STL::allocator<char>>,
CppUnit::TestFactoryRegistry*>).
1 Error(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `TestFactoryRegistry.lo'
Here are the CXXFLAGS I used:
echo $CXXFLAGS
-I. -I/scde/webtop/re/SRX643/unxsols3.pro/inc/stl
-I/scde/webtop/re/SRX643/unxsols3.pro/inc/external
-I/scde/webtop/re/SRX643/unxsols3.pro/inc
-I/scde/webtop/re/SRX643/src/solenv/unxsols3/inc -I/opt/SUNWspro/include
-I/scde/webtop/re/SRX643/src/solenv/inc
-I/scde/webtop/re/SRX643/unxsols3.pro/inc/stl
-I/scde/webtop/re/SRX643/src/solenv/inc/Xp31
-I/scde/webtop/re/SRX643/src/res -I../../include/cppunit
-I/scde/webtop/re/SRX643/inc/stl/stl/wrappers
-I/scde/webtop/re/SRX643/inc/stl/stl
Does anybody know about this error?
Any help you be great!
Please send all replies directly to me as I am not on the mailing list.
Thanks
--
_______________________
Darragh Sherwin
Email: Dar...@Su...
Phone: x19788/+353-1-8199788
"To alcohol, the cause of, and solution to, all of life's problems"
Homer Simpson
|