HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Linking libraries with -G (ie profiling)
Operating System - HP-UX
1833294
Members
2903
Online
110051
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
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
Go to solution
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-15-2004 09:14 AM
07-15-2004 09:14 AM
Hi,
I am trying to link a code which is compiled
first with
cc -Aa -G +DA2.0 -c *.c
then i try to create an execute file linking with some libraries using
cc -o testx main.c liblink.a -lm -G
then i get the following error
/usr/ccs/bin/ld: Unsatisfied symbols:
shl_load : -----
shl_findsym
I will greatly appreciate it if some one can give me some pointers as to how to resolve this issue.
Thanks
PS: I try to use the other profiler option -p and I still get the same problem.
I am trying to link a code which is compiled
first with
cc -Aa -G +DA2.0 -c *.c
then i try to create an execute file linking with some libraries using
cc -o testx main.c liblink.a -lm -G
then i get the following error
/usr/ccs/bin/ld: Unsatisfied symbols:
shl_load : -----
shl_findsym
I will greatly appreciate it if some one can give me some pointers as to how to resolve this issue.
Thanks
PS: I try to use the other profiler option -p and I still get the same problem.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2004 10:24 AM
07-15-2004 10:24 AM
Solution
I don't know of any connection between using a profiler and needing shl_load and shl_findsym. You can pick up a dependency on them by calling specific libc functions such as iconv().
In any case, you can find those symbols by adding -ldld to the link line.
In any case, you can find those symbols by adding -ldld to the link line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2004 10:52 AM
07-15-2004 10:52 AM
Re: Linking libraries with -G (ie profiling)
Thanks, It does work now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2004 03:42 AM
07-16-2004 03:42 AM
Re: Linking libraries with -G (ie profiling)
On option to consider for the future would be to use prospect to do the profiling. IIRC, that does not require special compilation. When you migrate to IPF, you can start to use Caliper.
there is no rest for the wicked yet the virtuous have no pillows
- Tags:
- caliper
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 2025 Hewlett Packard Enterprise Development LP