How to check for symbols in libs?
How to check for symbols in libs?
- Subject: How to check for symbols in libs?
- From: jason rusoff <email@hidden>
- Date: Fri, 19 Dec 2003 10:53:33 -0800
I have given up on dynamic libs within my plugin, and I'm trying to get
some code linked in as a static lib. It looks like none of the symbols
I need from the lib are being found. Can someone tell me what otool
option I should use to find the symbols that ld needs when it is
linking? Here is the link error, but otool -S -a shows me that the
symbol was defined in one of the .o files that was included in the
static lib. Any advice on how to get better info on why ld is not
finding the entry point?
Thanks,
Jason
ld: Undefined symbols:
_ADDRESS_CloseBookEx
[dhcp-10-10-67-51:scan/FieryRemoteScanX/Mac] jasonrus% otool -v -S -a
harmonystatic.a
Archive : harmonystatic.a
-rw-r--r--505/20 128652 Thu Dec 18 18:55:32 2003 __.SYMDEF SORTED
Table of contents from: harmonystatic.a(__.SYMDEF SORTED)
size of ranlib structures: 22352 (number 2794)
size of strings: 106276
object symbol name
trpc_client_acct.o _ACCT_clearJobLog
trpc_client_acct.o _ACCT_client_api_version
trpc_client_acct.o _ACCT_closeSession
trpc_client_acct.o _ACCT_duplicateHarmonyAccountingEvent
trpc_client_acct.o _ACCT_duplicateHarmonyExtendedAccountingEvent
trpc_client_acct.o _ACCT_freeHarmonyAccountingEvent
trpc_client_acct.o _ACCT_freeHarmonyExtendedAccountingEvent
trpc_client_acct.o _ACCT_getEvents
trpc_client_acct.o _ACCT_getEventsEx
trpc_client_acct.o _ACCT_getEventsWithSelectedAttributes
trpc_client_acct.o _ACCT_getFirstIndex
trpc_client_acct.o _ACCT_getJobLog
trpc_client_acct.o _ACCT_getJobLogLength
trpc_client_acct.o _ACCT_getJobLogPortion
trpc_client_acct.o _ACCT_getJobLogPortionEx
trpc_client_acct.o _ACCT_getJobLogWithSelectedAttributes
trpc_client_acct.o _ACCT_getJobLogWithSelectedAttributesEx
trpc_client_acct.o _ACCT_getLimit
trpc_client_acct.o _ACCT_openSession
trpc_client_acct.o _ACCT_query_api_version
trpc_client_acct.o _ACCT_setLimit
trpc_client_address.o _ADDRESS_CloseBookEx
.....
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.