GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with libCsup_v2.2 & libstd_v2.2 libraries ...
Operating System - HP-UX
1846087
Members
3916
Online
110253
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-11-2004 07:35 PM
07-11-2004 07:35 PM
Problem with libCsup_v2.2 & libstd_v2.2 libraries while running my application
Hi,
I am working on HP-UX machine & able to compile my application successfully on 32 bit mode but while running I am facing the problems with some libraries listed below in the error message.
Please find my work environment at the end of the message:
Program received signal SIGABRT, Aborted.
0x77fabad0 in kill+0x10 () from /usr/lib/libc.2
(gdb) where
#0 0x77fabad0 in kill+0x10 () from /usr/lib/libc.2
#1 0x77f4655c in raise+0x24 () from /usr/lib/libc.2
#2 0x77f869a8 in abort_C+0x160 () from /usr/lib/libc.2
#3 0x77f86a04 in abort+0x1c () from /usr/lib/libc.2
#4 0x77d564f0 in std::terminate+0x38 () from /usr/lib/libCsup_v2.2
#5 0x77d569b8 in ThrowException+0x74 () from /usr/lib/libCsup_v2.2
#6 0x77d56f18 in __throw__FPvT1+0x14c () from /usr/lib/libCsup_v2.2
#7 0x77ce4674 in std::ios_base::setf+0x7c () from /usr/lib/libstd_v2.2
#8 0x77ce4118 in std::ios_base::Init::Init+0x1e40 () from /usr/lib/libstd_v2.2
#9 0x3ce0c in std::__sinit_AckGenerate_cpp+0x1c ()
#10 0x77d5a200 in __mainHelper+0x40 () from /usr/lib/libCsup_v2.2
#11 0x77d5a534 in _main+0xec () from /usr/lib/libCsup_v2.2
Working Environement:
PA-RISC Version : 2.0 System name : HP-UX
Version : U
Release : B.11.11
Machine : 9000/800
Compiler: HP ANSI C++ B3910B A.03.37 (aCC)
Greatful to you if any any one of you help me soon.
Regards,
Narender
I am working on HP-UX machine & able to compile my application successfully on 32 bit mode but while running I am facing the problems with some libraries listed below in the error message.
Please find my work environment at the end of the message:
Program received signal SIGABRT, Aborted.
0x77fabad0 in kill+0x10 () from /usr/lib/libc.2
(gdb) where
#0 0x77fabad0 in kill+0x10 () from /usr/lib/libc.2
#1 0x77f4655c in raise+0x24 () from /usr/lib/libc.2
#2 0x77f869a8 in abort_C+0x160 () from /usr/lib/libc.2
#3 0x77f86a04 in abort+0x1c () from /usr/lib/libc.2
#4 0x77d564f0 in std::terminate+0x38 () from /usr/lib/libCsup_v2.2
#5 0x77d569b8 in ThrowException+0x74 () from /usr/lib/libCsup_v2.2
#6 0x77d56f18 in __throw__FPvT1+0x14c () from /usr/lib/libCsup_v2.2
#7 0x77ce4674 in std::ios_base::setf+0x7c () from /usr/lib/libstd_v2.2
#8 0x77ce4118 in std::ios_base::Init::Init+0x1e40 () from /usr/lib/libstd_v2.2
#9 0x3ce0c in std::__sinit_AckGenerate_cpp+0x1c ()
#10 0x77d5a200 in __mainHelper+0x40 () from /usr/lib/libCsup_v2.2
#11 0x77d5a534 in _main+0xec () from /usr/lib/libCsup_v2.2
Working Environement:
PA-RISC Version : 2.0 System name : HP-UX
Version : U
Release : B.11.11
Machine : 9000/800
Compiler: HP ANSI C++ B3910B A.03.37 (aCC)
Greatful to you if any any one of you help me soon.
Regards,
Narender
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2004 08:59 PM
07-11-2004 08:59 PM
Re: Problem with libCsup_v2.2 & libstd_v2.2 libraries while running my application
some general tips:
. make sure all libraries you use are compiled with -AA, or without it - dont mix -AA libs/progs with non- -AA libs/progs
. use aCC's -mt while building for multi-threaded applications
. always use aCC to link c++ libs/apps, not ld
. aCC 3.37 is rather old, consider upgrading
if you have problems after all this, please post your compile/link lines.
--
ranga
[i work for hpe]
. make sure all libraries you use are compiled with -AA, or without it - dont mix -AA libs/progs with non- -AA libs/progs
. use aCC's -mt while building for multi-threaded applications
. always use aCC to link c++ libs/apps, not ld
. aCC 3.37 is rather old, consider upgrading
if you have problems after all this, please post your compile/link lines.
--
ranga

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 12:44 AM
07-14-2004 12:44 AM
Re: Problem with libCsup_v2.2 & libstd_v2.2 libraries while running my application
Hi,
Compilation and linking for 32 bit is as follows
aCC -AA -c -I/opt/oracle/product/ora92/rdbms/public -I/opt/oracle/product/ora92/plsql/public -I/opt/oracle/product/ora92/network/public -I. -I/opt/oracle/product/ora92/precomp/public -I/opt/oracle/product/ora92/rdbms/public -I/opt/oracle/product/ora92/rdbms/demo -I/opt/oracle/product/ora92/plsql/public -I/opt/oracle/product/ora92/network/public -I/opt/oracle/product/ora92/rdbms/demo test1.cpp -DUNIX
aCC -AA -o test123 test123.o
Compilation and linking for 32 bit is as follows
aCC -AA -c -I/opt/oracle/product/ora92/rdbms/public -I/opt/oracle/product/ora92/plsql/public -I/opt/oracle/product/ora92/network/public -I. -I/opt/oracle/product/ora92/precomp/public -I/opt/oracle/product/ora92/rdbms/public -I/opt/oracle/product/ora92/rdbms/demo -I/opt/oracle/product/ora92/plsql/public -I/opt/oracle/product/ora92/network/public -I/opt/oracle/product/ora92/rdbms/demo test1.cpp -DUNIX
aCC -AA -o test123 test123.o
- -L/opt/oracle/product/ora92/lib32 -lclntsh -L/opt/oracle/product/ora92/lib32 -lwtc9 -L.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (test123.o) was detected. The linked output may not run on a PA 1.x system.
Only the c++ program is working fine but the core dump is only for proc++ program.
Thanks,
Narender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 12:57 AM
07-14-2004 12:57 AM
Re: Problem with libCsup_v2.2 & libstd_v2.2 libraries while running my application
do you mean that the program has a problem when built with proc++, not when built with aCC ? if that is the case, i guess you should see what command line aCC is passing to linker (using aCC's -v), compare with what is sent by proc++ and then modify the command line for proc++ appropriately. i will check with compiler folks about this. if you are using two different compilers to link the program and the shared library, make sure that does not result in mixing of -AA and non- -AA again.
so can you post the linker command line from both compilers, both when linking the libraries and when linking the program ?
--
ranga
[i work for hpe]
so can you post the linker command line from both compilers, both when linking the libraries and when linking the program ?
--
ranga

The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP