Re: 2.1->2.2 created link error: std::__ioinit
Re: 2.1->2.2 created link error: std::__ioinit
- Subject: Re: 2.1->2.2 created link error: std::__ioinit
- From: Eric Albert <email@hidden>
- Date: Sat, 12 Nov 2005 12:38:03 -0800
On Nov 12, 2005, at 11:56 AM, Robert J. Lang wrote:
Thanks for the quick answer. I created my project originally in Xcode
2.1,
so *everything* was originally built with gcc 4.0.
It does use external static libraries (wxWidgets), but I rebuilt those
libraries, too, after upgrading to Xcode 2.2.
Rebuilding those libraries might not be enough if they use gcc 3.3 or
hardcode the path to 3.3's libstdc++.a.
And even if I remove the
static libraries from my project, the std::__ioinit undefined error is
still
there. So it looks like it must come from the files within the project
(and/or their included headers).
The easiest way to figure out where the reference is coming from is to
add "-Wl,-Y,1000" to your Other Linker Flags. That'll tell the linker
that for the first 1000 undefined symbols, it should print out the
object file referencing them. Once you have that information you can
look at how that object file or static library is built and go from
there. (And if you can't figure it out from there, post the detailed
build log for that one file.)
-Eric
_______________________________________________
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