Re: link stage ignoring my static lib!
Re: link stage ignoring my static lib!
- Subject: Re: link stage ignoring my static lib!
- From: Greg Guerin <email@hidden>
- Date: Mon, 12 Nov 2007 11:14:14 -0700
Peter Mulholland wrote:
>Those undefined symbols are in libGame.a - but ld has ignored the file
>completely!
Does your Game lib have an fopen() function in it?
If not, then something else is wrong, because you have an unresolved
fopen() reference:
ReelDealCasino2006.build/Debug_Main/ReelDealCasino2006.build/Objects-normal/i386
/NDX_AAFont.o reference to undefined _fopen(char const*, char const*)
Without knowing anything else, this looks like you've declared a prototype
for fopen() without placing it in the non-mangled C name space.
If that's the case, it makes me wonder whether libGame was compiled as C or
C++, and consequently, whether the synbols in the compiled lib are defined
as mangled C++ names or as unmangled C names. Or conversely, whether the
declarations in your source declare the Game prototypes in the right name
space.
Or I could easily be wrong.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden