- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- STL error building in Itanium
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 05:56 AM
04-25-2007 05:56 AM
We tried building our application as well as RW’s SourcePro using native HP C++ libraries.
Build went through and it was working fine in HP PA-RISC but it is throwing the following compiler error in HP Itanium machine.
"/opt/aCC/include_std/memory", line 278: error #2403: function "std::allocator<_TypeT>::address(std::allocator<_TypeT>::reference) const [with _TypeT=std::map
d::allocator
const_pointer address (const_reference __x) const {
^
detected during:
instantiation of class "std::allocator<_TypeT> [with _TypeT=std::map
rw/tree"
Also please find our compiler versions below
HP-UX PA-RISC
# aCC –V
aCC: HP ANSI C++ B3910B A.03.65
HP-UX Itanium
# aCC –V
aCC: HP aC++/ANSI C B3910B A.06.10 [Mar 22 2006]
IONA's support matrix for Orbix 6.3 SP2 is available in the link
http://www.iona.com/products/prod_comp_java_plat.htm
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 06:07 AM
04-25-2007 06:07 AM
Re: STL error building in Itanium
Oracle and other vendors have different releases Oracle versus Itanium.
I would therefore conclude that different code and/or tools is required.
Many other vendors have to do the same thing. I would check with my tool vendors and make sure you have a toolset that truly supports both platforms. If so, its debug time and you will likely need to maintain two sets of code.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 06:20 PM
04-25-2007 06:20 PM
SolutionYou basically have two functions with the same signature because you aren't using the correct value_type when passed to a STL map or set. If you make the first argument const, then one member address() matches the other.
From the error messages:
std::map
This isn't legal and you'll have to remove the const:
std::map
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 07:08 PM
04-25-2007 07:08 PM
Re: STL error building in Itanium
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7274,00.html#_ISO-39._aCC6_detects_instantiation_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2007 02:36 AM
04-26-2007 02:36 AM