certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [certi-dev] Does CERTI compile at Solaris?


From: Eric Noulard
Subject: Re: [certi-dev] Does CERTI compile at Solaris?
Date: Wed, 18 Jun 2008 14:53:48 +0200

2008/6/18 Martin Spott <address@hidden>:
> Hi Petr and others,
>
> "Gotthard,Petr" wrote:
>
>> Do you know if the latest CERTI does compile at Solaris? I've heard that
>> there might be some problems, so I'm planning to give it a try. When do
>> you plan to release CERTI 3.3.0? Do I have a chance to fix the Solaris
>> issues before the version 3.3.0 is out?
>
> I could at least check it, should someone bother working on it. Trying
> to compile the latest release (3.2.7) on Solaris10 with Sun Studio 11
> ends with the following message - sorry, _very_ long lines:

This looks like a an autoconf build.
Would you try a CMake build?

CMake is available from SunFreeWare
http://www.sunfreeware.com/programlistsparc10.html#cmake
You need CMake 2.4.4 or later (if you find CMake 2.6.x go for it)

>
>  CC -xO3 -xtarget=ultra2 -xautopar -xprefetch=auto -DHAVE_CONFIG_H -I. -I. 
> -I.. -I../include -I/usr/local/include/libxml2 -DHAVE_XML -I/opt/gnu/include 
> -I/usr/local/include -I/usr/sfw/include -g -DRTI_USES_STD_FSTREAM 
> -DHAVE_POSIX_CLOCK -c LBTS.cc  -DPIC -o .libs/LBTS.o
> "/opt/SUNWspro/prod/include/CC/Cstd/./algorithm.cc", line 429: Error: Cannot 
> assign const std::pair<const unsigned long, double> to 
> std::back_insert_iterator<std::vector<std::pair<unsigned long, double> >> 
> without "std::back_insert_iterator<std::vector<std::pair<unsigned long, 
> double> >>::operator=(const 
> std::back_insert_iterator<std::vector<std::pair<unsigned long, double> >>&)";.
> "LBTS.cc", line 97:     Where: While instantiating 
> "std::copy<__rwstd::__rb_tree<unsigned long, std::pair<const unsigned long, 
> double>, __rwstd::__select1st<std::pair<const unsigned long, double>, 
> unsigned long>, std::less<unsigned long>, std::allocator<std::pair<const 
> unsigned long, double>>>::const_iterator, 
> std::back_insert_iterator<std::vector<std::pair<unsigned long, double> 
> >>>(__rwstd::__rb_tree<unsigned long, std::pair<const unsigned long, double>, 
> __rwstd::__select1st<std::pair<const unsigned long, double>, unsigned long>, 
> std::less<unsigned long>, std::allocator<std::pair<const unsigned long, 
> double>>>::const_iterator, __rwstd::__rb_tree<unsigned long, std::pair<const 
> unsigned long, double>, __rwstd::__select1st<std::pair<const unsigned long, 
> double>, unsigned long>, std::less<unsigned long>, 
> std::allocator<std::pair<const unsigned long, double>>>::const_iterator, 
> std::back_insert_iterator<std::vector<std::pair<unsigned long, double> >>)".
> "LBTS.cc", line 97:     Where: Instantiated from non-template code.
> 1 Error(s) detected.

I see a:  -I/opt/gnu/include

don't you mix Sun CC includes with GNU ones?

-- 
Erk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]