- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unsatisfied symbol error during pgm link for getyx...
Operating System - HP-UX
1753725
Members
4489
Online
108799
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
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
тАО05-07-2004 09:23 AM
тАО05-07-2004 09:23 AM
My waive.c program includes the following curses info:
#include
WINDOW *planwin;
planwin= newwin(8,75,6,0);
getyx(planwin,y,x);
On compile/link I am getting the error message:
/usr/ccs/bin/ld: Unsatisfied symbols:
__getcury (first referenced in waivepgm.o) (code)
__getcurx (first referenced in waivepgm.o) (code)
I assume that __getcury and __getcurx are being called from within the getyx()curses function and they are not found. I assume that I am missing an HP lib in my makefile.
If this is the problem, how can I tell which lib these are in?
My makefile has the following:
CURSESLIB = -lHcurses -lcur_colr -lV3
My other screens that use Curses are compile/linking fine, but this is the only one that is calling the getyx() function
Any suggestions?
#include
WINDOW *planwin;
planwin= newwin(8,75,6,0);
getyx(planwin,y,x);
On compile/link I am getting the error message:
/usr/ccs/bin/ld: Unsatisfied symbols:
__getcury (first referenced in waivepgm.o) (code)
__getcurx (first referenced in waivepgm.o) (code)
I assume that __getcury and __getcurx are being called from within the getyx()curses function and they are not found. I assume that I am missing an HP lib in my makefile.
If this is the problem, how can I tell which lib these are in?
My makefile has the following:
CURSESLIB = -lHcurses -lcur_colr -lV3
My other screens that use Curses are compile/linking fine, but this is the only one that is calling the getyx() function
Any suggestions?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2004 09:41 AM
тАО05-07-2004 09:41 AM
Solution
I would drop the -lHcurses -lcur_colr and replace that pair with simply -lcurses. You should note that getyx() is actually a macro and that is why getyx(playwin,y,x) works rather than getyx(playwin,&y,&x) if getyx() were a real function.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2004 10:27 AM
тАО05-07-2004 10:27 AM
Re: Unsatisfied symbol error during pgm link for getyx()
Worked like a charm and actually cleared up some other execution problems that I was having with some curses stuff.
Can you tell me what actually do the parameters on the CURSESLIB relate to? In other words is there a lib that -lcurses corresponds to?
Thanks.
Can you tell me what actually do the parameters on the CURSESLIB relate to? In other words is there a lib that -lcurses corresponds to?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2004 10:33 AM
тАО05-07-2004 10:33 AM
Re: Unsatisfied symbol error during pgm link for getyx()
Rather than telling you, I'll let the box tell you:
ldd myexe
Man ldd (list dynamic dependencies) for details.
ldd myexe
Man ldd (list dynamic dependencies) for details.
If it ain't broke, I can fix that.
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