- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: error in include_std/limit and include_std/rw/...
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
Discussions
Discussions
Forums
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
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
тАО11-25-2010 05:52 AM
тАО11-25-2010 05:52 AM
"/opt/include_std/limit", line 268: error # 2321: data member initializer is not allowed
_RWSTD_STATIC_CONST (bool, is_specialized = false);
"/opt/include_std/rw/iterator", line 119: error # 2247: class template "std::iterator_traits" has already been defined
struct iterator_traits
aCC version: HP C/aCC B3910B A.06.12 and OS version is 11.23
I'm compiling using -Aa option along with -D__HP__, -D_TEMPLATE, -D_RUNTIME
Missing any compiler flags or include path? Application uses INFORMIX version 2.9.
Any help highly appreciated
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2010 07:31 AM
тАО11-25-2010 07:31 AM
Re: error in include_std/limit and include_std/rw/iterator
What does your source look like?
Are you using any evil macros.
The latest version is A.06.25.01.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2010 08:35 PM
тАО11-25-2010 08:35 PM
Re: error in include_std/limit and include_std/rw/iterator
compile line is:
aCC -I/opt/informix/incl/esql/ -I/home/test/SERVICE/src/../../incl -I. +DAportable +p -g +Z -Aa -D__HP__ -D_DEBUG -D_TEMPLATE_ -D_RUNTIME_ +inst_implicit_include -D_SERVICE_VER_=\"434D.12\" -L/home/test/service/src/../../lib -D_TEMPLATE_ -o /home/test/SERVICE/src/../exe/ser_bin service_chg.c -lservice -l servicezip /opt/informix/lib/esql/libifos.a /opt/informix/lib/esql/libifgen.a /opt/informix/lib/esql/libifgls.a -ldl -lm -lsec -lelf /opt/informix/lib/esql/libifglx.a
I'm not able to find out which source file is including limit file. -lservice and -l serviceziplibs are two libs provided by other developers for ITANIUM version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2010 04:49 AM
тАО11-26-2010 04:49 AM
Re: error in include_std/limit and include_std/rw/iterator
+DAportable isn't valid, remove it.
Replace -Aa by -AA.
Remove the obsolete template style option: +inst_implicit_include
>I'm not able to find out which source file is including limit file.
You might try -H but I'm not sure your old aCC6 supports it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2010 06:56 AM
тАО11-26-2010 06:56 AM
Re: error in include_std/limit and include_std/rw/iterator
I tried adding following in the compile line:
-D_PROTOTYPES -D_XOPEN_SOURCE_EXTENDED _D_STDC -D_INCLUDE_HPUX_SOURCE -D_INCLUDE_POSIX4_SOURCE.
I got different error that some APIs such as _iqconnect, _iqstmt that are part of INFORMIX are undefined
error message:
"CFunc.ecpp", line 112: error # 2020: identifier "_iqconnect" is undefined
_iqconnect(0, dName, (char *) 0, (char *) 0, 0);
I have included informix lib path in the compile line...still it is not able to find these APIs...
I'not sure whether previous error is resolved or this error comes before that....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2010 07:19 AM
тАО11-26-2010 07:19 AM
Re: error in include_std/limit and include_std/rw/iterator
(These were only to clean up things.)
>I tried adding following in the compile line:
-D_INCLUDE_HPUX_SOURCE -D_INCLUDE_POSIX4_SOURCE
You are not allowed to use these internal defines. Use: -D_HPUX_SOURCE -D_POSIX4_SOURCE
>I got different error that some APIs such as _iqconnect, _iqstmt that are part of INFORMIX are undefined
Which header should they be defined in?
>I have included informix lib path in the compile line. still it is not able to find these APIs.
You need use -I not -L/-l for header files. You have two, do you need to add more?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 06:46 AM
тАО11-30-2010 06:46 AM
Re: error in include_std/limit and include_std/rw/iterator
But I got unsatisfied symbol error. When I added -c flag, this error disappeared.
The binary also got generated but it is of very small size than its normal size
I get error when I try to execute this binary:
/usr/bin/sh: service: Execute permission denied
I tried chmod 777. still it doesn't works...
I also used -lstd and -lstream to resolve some unsatisfied symbol error.
The code was written for HP-UX machine and I'm trying to make it work in ITANIUM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 06:50 AM
тАО11-30-2010 06:50 AM
SolutionIt also doesn't link, don't add -c.
>I also used -lstd and -lstream to resolve some unsatisfied symbol error. I'm trying to make it work in Integrity.
The default on Integrity is -AA. You should NOT be using -lstd nor -lstream.
What are your unsats?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 07:08 AM
тАО11-30-2010 07:08 AM
Re: error in include_std/limit and include_std/rw/iterator
>What are your unsats?
I don't understand your question. Could you please explain 'unsats'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 07:29 AM
тАО11-30-2010 07:29 AM
Re: error in include_std/limit and include_std/rw/iterator
Short for "unsatisfied symbol".
- Tags:
- unsat