- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Runtime error into multithread application
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
тАО12-03-2005 08:25 PM
тАО12-03-2005 08:25 PM
Runtime error into multithread application
All shared librares and application are compiled and linked with "-mt" option for miltithreading. I use some Informix libraries also, which are mutlithreaded too.
But when I run my application, runtime error occured: "aCC runtime: Use of "-mt" must be consistent during both compilation and linking."
I install pathch "PHSS_33350", but trouble have not been solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2005 11:06 PM
тАО12-03-2005 11:06 PM
Re: Runtime error into multithread application
Is aCC fully patched from the Application cd?
swlist -l product | grep -i aCC
You may have a version of aCC that does not support what you are trying to do.
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
тАО12-03-2005 11:19 PM
тАО12-03-2005 11:19 PM
Re: Runtime error into multithread application
But now i have "aCC: HP aC++/ANSI C B3910B A.06.00 [Aug 25 2004]"
And I install patch "PHSS_33350".
I successfully use multithreading by all my applications, but when i use Informix shared libraries, the error occured.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2005 08:28 AM
тАО12-04-2005 08:28 AM
Re: Runtime error into multithread application
Take a look at PHSS_34041, which supersedes PHSS_33350.
Please provide information on your system type and the command you are using to compile and link the Informix libraries.
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2005 04:21 PM
тАО12-11-2005 04:21 PM
Re: Runtime error into multithread application
My system configuration:
"HP-UX B.11.23 U ia64 "
I use Informix libraries for multithreading. I don't know wich command was used to compile this libraries.
But my app compiled with "-D_REENTRANT -D_RWSTD_MULTI_THREAD -lpthread" flags.
I havn't problems on "HP-UX B.11.23 U 9000/800" system. Error ocured on Itanium only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2006 05:10 PM
тАО03-06-2006 05:10 PM
Re: Runtime error into multithread application
So you have a real problem. Have you looked at every aC++ shared and archive lib you use in your whole application and made sure them were compiled with -mt?
As Sandman asks, you need to find out of Informix is C++ and compiled with -mt.
Using /usr/ccs/bin/elfdump -d on the libs will tell you if it is C++ but unfortunately it won't tell you it has been compiled wiht -mt.