- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem when building a 64 bit shared library aCC ...
Operating System - HP-UX
1753937
Members
9468
Online
108811
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
Discussions
Discussions
Forums
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
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
тАО03-29-2002 03:52 PM
тАО03-29-2002 03:52 PM
Problem when building a 64 bit shared library aCC A.03.33
I am trying to build a 64 bit shared library
and I get an Unsatisfied symbol error from
ld.
Searching library /usr/lib/pa20_64/milli.a:
ld: (Warning) Unsatisfied symbol "__shlTerm" in file
ld: (Warning) Unsatisfied symbol "Iostream_init::Iostream_init()%1" in file a.o
ld: (Warning) Unsatisfied symbol "Iostream_init::~Iostream_init()" in file a.o
I have installed the patches B3913DB (aCC C.03.33), PHSS_24627 (aC++ run time libraries for aCC A.03.33) and PHSS_24303. I am running this in a HP-UX B.11.00 64 bit OS.
and I get an Unsatisfied symbol error from
ld.
Searching library /usr/lib/pa20_64/milli.a:
ld: (Warning) Unsatisfied symbol "__shlTerm" in file
ld: (Warning) Unsatisfied symbol "Iostream_init::Iostream_init()%1" in file a.o
ld: (Warning) Unsatisfied symbol "Iostream_init::~Iostream_init()" in file a.o
I have installed the patches B3913DB (aCC C.03.33), PHSS_24627 (aC++ run time libraries for aCC A.03.33) and PHSS_24303. I am running this in a HP-UX B.11.00 64 bit OS.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 12:06 AM
тАО09-07-2004 12:06 AM
Re: Problem when building a 64 bit shared library aCC A.03.33
hello,
It seems problem with your milli.a ,
please check whethere the milli.a is the correct library.
regards
kalimuthu
It seems problem with your milli.a ,
please check whethere the milli.a is the correct library.
regards
kalimuthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2004 03:52 AM
тАО09-07-2004 03:52 AM
Re: Problem when building a 64 bit shared library aCC A.03.33
It looks like the link did not include the appropriate C++ runtime libraries.
When creating a C++ shared library you need to use 'aCC -b' instead of 'ld -b' to create the library. If you use the '-AA' or '-mt' options, then you should use the same options for the library link step as you used for compiling the source code. The aCC command will invoke ld with the right options, including the right runtime libraries.
% echo 'int l(){return 0;}' > l.cpp
% aCC -c +z l.cpp
% aCC -b -o l.sl l.o
When creating a C++ shared library you need to use 'aCC -b' instead of 'ld -b' to create the library. If you use the '-AA' or '-mt' options, then you should use the same options for the library link step as you used for compiling the source code. The aCC command will invoke ld with the right options, including the right runtime libraries.
% echo 'int l(){return 0;}' > l.cpp
% aCC -c +z l.cpp
% aCC -b -o l.sl l.o
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP