On Thu, 2010-03-11 at 03:59 -0800, Radha Manickam wrote:
> Hi,
> 
> While compiling Activemq-cpp using CC in solaris 5.9 i got the following
> error:
> 
> "./decaf/util/Map.h", line 50: Error: Non-virtual function
> decaf::util::Map<int, decaf::lang::Pointer<activemq::commands::Command,
> decaf::lang::AtomicRefCounter>, std::less<int>>::Entry::getKey() const
> declared pure.
> "./decaf/util/Map.h", line 65:     Where: While specializing
> "decaf::util::Map<int, decaf::lang::Pointer<activemq::commands::Command,
> decaf::lang::AtomicRefCounter>, std::less<int>>::Entry".
> "./decaf/util/Map.h", line 65:     Where: Specialized in non-template code.
> "./decaf/util/Map.h", line 52: Error: Non-virtual function
> decaf::util::Map<int, decaf::lang::Pointer<activemq::commands::Command,
> decaf::lang::AtomicRefCounter>, std::less<int>>::Entry::getValue() const
> declared pure.
> "./decaf/util/Map.h", line 65:     Where: While specializing
> "decaf::util::Map<int, decaf::lang::Pointer<activemq::commands::Command,
> decaf::lang::AtomicRefCounter>, std::less<int>>::Entry".
> "./decaf/util/Map.h", line 65:     Where: Specialized in non-template code.
> "./decaf/util/Map.h", line 54: Error: Non-virtual function
> decaf::util::Map<int, decaf::lang::Pointer<activemq::commands::Command,
> decaf::lang::AtomicRefCounter>, std::less<int>>::Entry::setValue(const
> decaf::lang::Pointer<activemq::commands::Command,
> decaf::lang::AtomicRefCounter>&) declared pure.
> "./decaf/util/Map.h", line 65:     Where: While specializing
> "decaf::util::Map<int, decaf::lang::Pointer<activemq::commands::Command,
> decaf::lang::AtomicRefCounter>, std::less<int>>::Entry".
> "./decaf/util/Map.h", line 65:     Where: Specialized in non-template code.
> Error: Cannot continue processing because of prior errors.
> Compilation aborted.
> *** Error code 1
> make: Fatal error: Command failed for target
> `activemq/transport/failover/libactivemq_cpp_la-FailoverTransport.lo'
> Current working directory
> /u07/packages/CC-Compiler/activemq-cpp-library-3.0/src/main
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /u07/packages/CC-Compiler/activemq-cpp-library-3.0
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> 
> 
> Please help me regarding this issue.
> 
> Regards,
> Radha

I beleive this issue was fixed in v3.0.1, the latest is 3.1.1, you
should give that a try.

Regards


-- 
Tim Bish

Open Source Integration: http://fusesource.com
ActiveMQ in Action: http://www.manning.com/snyder/

Follow me on Twitter: http://twitter.com/tabish121
My Blog: http://timbish.blogspot.com/

Reply via email to