- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr/ccs/bin/ld: Unsatisfied symbols:
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
тАО05-12-2004 05:52 PM
тАО05-12-2004 05:52 PM
/usr/ccs/bin/ld: Unsatisfied symbols:
I get the following error
/usr/ccs/bin/ld: Unsatisfied symbols:
f1_func() (first referenced in ack_maint.o) (code)
The makefile reads as follows:
ack_maint :: ack_maint.c \
-llogtrc -lsvmsg -lcommon -lcommon_tm -ldbms
-ldld
Actually f1_func() is a function which is in the library common_tm.
Could anyone let me know how should i resolve this problem?
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2004 06:12 PM
тАО05-12-2004 06:12 PM
Re: /usr/ccs/bin/ld: Unsatisfied symbols:
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2004 06:30 PM
тАО05-12-2004 06:30 PM
Re: /usr/ccs/bin/ld: Unsatisfied symbols:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 12:45 AM
тАО05-13-2004 12:45 AM
Re: /usr/ccs/bin/ld: Unsatisfied symbols:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 08:48 PM
тАО05-13-2004 08:48 PM
Re: /usr/ccs/bin/ld: Unsatisfied symbols:
by default the linker tries to link with a shared library (libcommon_tm.sl) if that is available. if not, it links in the archived library (libcommon_tm.a).
if you have the shared library, you should be looking for this symbol in its export list. if you have only the archived library, you should look for the symbol in its symbol table : please post the output of 'odump -sym libcommon_tm.a | grep f1_func'.
you can also add '-y f1_func' to the end of your link command to see where the reference is and where the definition is.
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 11:17 PM
тАО05-13-2004 11:17 PM
Re: /usr/ccs/bin/ld: Unsatisfied symbols:
You could also try to build without the makefile:
cc -o ack_maint ack_maint.c -llogtrc -lsvmsg -lcommon -lcommon_tm -ldbms -ldld
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2004 07:35 PM
тАО09-25-2004 07:35 PM
Re: /usr/ccs/bin/ld: Unsatisfied symbols:
I also get a similar error when I try to do 'nmake all'
/usr/ccs/bin/ld: Unsatisfied symbols:
sd_edalnum(char *,int,int) (first referenced in /users/gss/nmanikan/gss04.10/lib/libsdlist.a(sd_val.o)) (code)
sd_edtdig(char *,int,int) (first referenced in /users/gss/nmanikan/gss04.10/lib/libsdlist.a(sd_val.o)) (code)
/usr/ccs/bin/ld: Found 121 duplicate symbol(s)
make: *** exit code 1 making tmf
Can anyone suggest good ideas to solve it.
Thanks in advance !
-Shakeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2004 04:57 PM
тАО09-27-2004 04:57 PM
Re: /usr/ccs/bin/ld: Unsatisfied symbols:
Since I had defined the function to be a static function , I got the error. Since the scope of the static function is limited. Is your function a static function?
Geetha