- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Not able to create executable from c source fi...
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
тАО04-14-2008 11:37 PM
тАО04-14-2008 11:37 PM
Not able to create executable from c source file
I am facing following problem when i am trying to create executable from c source file.
gcc -o pmapctl pmapctl.c
/usr/ccs/bin/ld: Unsatisfied symbols:
pmap_unset (first referenced in /var/tmp//cc6tBFf0.o) (code)
pmap_set (first referenced in /var/tmp//cc6tBFf0.o) (code)
collect2: ld returned 1 exit status
Machine Configuration: HPUX 11.23 Parisc
The C source file is creating RPC connection through the TCP protocol
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2008 01:03 AM
тАО04-15-2008 01:03 AM
Re: Not able to create executable from c source file
Where do you expect these functions to be defined?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2008 01:29 PM
тАО04-15-2008 01:29 PM
Re: Not able to create executable from c source file
("man pmap_set", look for "-l".)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2008 11:23 PM
тАО04-15-2008 11:23 PM
Re: Not able to create executable from c source file
I ran the following command and it works.
gcc -o pmapctl pmapctl.c -lnsl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2008 06:52 AM
тАО04-16-2008 06:52 AM
Re: Not able to create executable from c source file
That's good news, but, of course, that's not
the same as, "The program works." The "man"
page describes the difference between the two
libraries. I can't tell which one would do
what you want.