You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Radha Manickam <ra...@gmail.com> on 2010/03/11 12:59:34 UTC

Error in compiling Activemq-cpp using CC in solaris sparcv9

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
-- 
View this message in context: http://old.nabble.com/Error-in-compiling-Activemq-cpp-using-CC-in-solaris-sparcv9-tp27862509p27862509.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Error in compiling Activemq-cpp using CC in solaris sparcv9

Posted by Timothy Bish <ta...@gmail.com>.
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/