HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- link error: cma_socket, cma_close Unsatisfied sym...
Operating System - HP-UX
1834584
Members
3597
Online
110069
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
10-31-2001 06:11 PM
10-31-2001 06:11 PM
Hi, experts,
My c code is compiled OK on HPUX11. I am trying to link my c code with a library. I have a sample makefile from the company who created the library, but the makefile is for Solaris. The link part in the sample makefile contains these:
-lthread -lpthread -lsocket -lnsl -lc
I tried to link with the same options, but ld complains that thread and socket libraries not found. Then I remove these two, then ld complains this:
/usr/ccs/bin/ld: Unsatisfied symbols:
cma_socket (first referenced in ./lib/libaceclnt.a(acexport.o)) (code)
pthread_condattr_default (first referenced in ./lib/libaceclnt.a(acexport.o)) (data)
cma_sendto (first referenced in ./lib/libaceclnt.a(acexport.o)) (code)
cma_recvfrom (first referenced in ./lib/libaceclnt.a(acexport.o)) (code)
cma_close (first referenced in ./lib/libaceclnt.a(acexport.o)) (code)
pthread_mutexattr_default (first referenced in ./lib/libaceclnt.a(acexport.o)) (data)
Anyone can tell me which libray is for these symbols? Thanks in advance!
My c code is compiled OK on HPUX11. I am trying to link my c code with a library. I have a sample makefile from the company who created the library, but the makefile is for Solaris. The link part in the sample makefile contains these:
-lthread -lpthread -lsocket -lnsl -lc
I tried to link with the same options, but ld complains that thread and socket libraries not found. Then I remove these two, then ld complains this:
/usr/ccs/bin/ld: Unsatisfied symbols:
cma_socket (first referenced in ./lib/libaceclnt.a(acexport.o)) (code)
pthread_condattr_default (first referenced in ./lib/libaceclnt.a(acexport.o)) (data)
cma_sendto (first referenced in ./lib/libaceclnt.a(acexport.o)) (code)
cma_recvfrom (first referenced in ./lib/libaceclnt.a(acexport.o)) (code)
cma_close (first referenced in ./lib/libaceclnt.a(acexport.o)) (code)
pthread_mutexattr_default (first referenced in ./lib/libaceclnt.a(acexport.o)) (data)
Anyone can tell me which libray is for these symbols? Thanks in advance!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 06:44 PM
10-31-2001 06:44 PM
Solution
libcma.sl
The easy way to find this stuff is to cd to /usr/lib.
Then nm *.a *.sl > liblist
You can then vi liblist and search for symbols. The file that contains the symbols will be a few lines or a few tens of lines above.
Clay
The easy way to find this stuff is to cd to /usr/lib.
Then nm *.a *.sl > liblist
You can then vi liblist and search for symbols. The file that contains the symbols will be a few lines or a few tens of lines above.
Clay
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 07:10 PM
10-31-2001 07:10 PM
Re: link error: cma_socket, cma_close Unsatisfied symbols
Hi Ben,
Take a look at the threads below.
http://us-support.external.hp.com/cki/bin/doc.pl/sid=7cb7ba8708e2ea3202/screen=ckiDisplayDocument?docId=200000048917213
http://us-support.external.hp.com/cki/bin/doc.pl/sid=7cb7ba8708e2ea3202/screen=ckiDisplayDocument?docId=200000049145031
Hope this helps.
Regards
Take a look at the threads below.
http://us-support.external.hp.com/cki/bin/doc.pl/sid=7cb7ba8708e2ea3202/screen=ckiDisplayDocument?docId=200000048917213
http://us-support.external.hp.com/cki/bin/doc.pl/sid=7cb7ba8708e2ea3202/screen=ckiDisplayDocument?docId=200000049145031
Hope this helps.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 08:05 PM
10-31-2001 08:05 PM
Re: link error: cma_socket, cma_close Unsatisfied symbols
Hi, both,
I did get compile with the libcma.a, but I got Bus Error when run it. From the output of my program, it seems it crashs when try to initialize a socket for communication. Do you guys have any further idea?
I also noticed that I can also get compiled with libdce.a.
I did get compile with the libcma.a, but I got Bus Error when run it. From the output of my program, it seems it crashs when try to initialize a socket for communication. Do you guys have any further idea?
I also noticed that I can also get compiled with libdce.a.
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