Re: libstdc++ and 10.3.9
Re: libstdc++ and 10.3.9
- Subject: Re: libstdc++ and 10.3.9
- From: "Edwin Vane" <email@hidden>
- Date: Sat, 23 Jun 2007 14:13:39 -0400
Hi,
Sorry about that. Here's the link line that XCode generates as copied
directly from the "Build Results" window:
Ld /Users/revane/Projects/CocoaGL/build/EMuse.app/Contents/MacOS/EMuse
cd /Users/revane/Projects/CocoaGL
/usr/bin/g++-3.3 -o
/Users/revane/Projects/CocoaGL/build/EMuse.app/Contents/MacOS/EMuse
-L/Users/revane/Projects/CocoaGL/build -L/usr/local/lib/FTGL
-F/Users/revane/Projects/CocoaGL/build -filelist
/Users/revane/Projects/CocoaGL/build/CocoaGL.build/EMuse.build/Objects-normal/EMuse.LinkFileList
-framework Cocoa -framework OpenGL -lfreetype -lftgl -framework QTKit
-framework AudioToolbox -framework AudioUnit -framework QuickTime
-arch ppc -prebind -Wl,-no_arch_warnings
As you can see it's using a few libraries that I built myself (FTGL
and FreeType) in addition to some QT related frameworks.
On 6/23/07, Peter O'Gorman <email@hidden> wrote:
On Sat, 2007-06-23 at 13:26 -0400, Edwin Vane wrote:
> Hi all, I have a predicament I'm hoping some of you have been through
> yourselves and can thus help me.
>
> I have some old code written pre 10.3.9 and today (now that my OS is
> updated to 10.3.9) I tried to compile it. I now get linker errors like
> the following:
>
> ld: /usr/lib/gcc/darwin/3.3/libstdc++.a(locale.o) illegal reference to
> symbol: std::codecvt<wchar_t, char, __mbstate_t>::id defined in
> indirectly referenced dynamic library /usr/lib/libstdc++.6.dylib
> ld: /usr/lib/gcc/darwin/3.3/libstdc++.a(locale-inst.o) illegal
> reference to symbol: ___udivdi3 defined in indirectly referenced
> dynamic library /usr/lib/libgcc_s.1.dylib
> ld: multiple definitions of symbol std::__basic_file<char>::is_open() const
> ld: multiple definitions of symbol std:: ...
>
Please show your link line.
Thanks,
Peter
--
Edwin V
_______________________________________________
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