Article View: comp.sys.mac.programmer.codewarrior
Article #1025Re: strange Mach-O linking and MSL_ALL_CARBON with CW7.2
From: Mike
Date: Fri, 19 Apr 2002 03:55
Date: Fri, 19 Apr 2002 03:55
31 lines
2228 bytes
2228 bytes
In article <7092e67a.0204181813.4cdbf424@posting.google.com>, Leon <lhui@sfu.ca> wrote: > I'm trying to build a Mach-O dynlib and I get the following link > errors: > > prebinding disabled because of undefined symbols > > Link Error : _id__Q23std8ctype<c> is undefined > > Link Error : _id_count_s__Q33std6locale2id is undefined > > Link Error : _id__Q23std14codecvt<c,c,i> is undefined > > Link Error : ___ct__Q23std8ctype<c>FPCUcbUl is undefined > > Link Error : _global__Q23std6localeFv is undefined > > > > I did a library search and found that these are in MSL_ALL_CARBON.lib > and MSL_C++_PPC.lib. How can that be?! That's in the MacOS Support > dir; why's it asking for that?? (I need libs in Mach-O .a format, > what do I do??) > > Am I missing a define somewhere? > > Any help is much appreciated.. Did you check your link order? You have to have the crt lib last, or you get link errors.
Technical Details
Message-ID:
<180420022354033132%exceptions@earthlink.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mailReferences:
<7092e67a.0204181813.4cdbf424@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bcce,da17d16b5daba5e4 X-Google-Attributes: gid10bcce,public X-Google-Thread: f635e,da17d16b5daba5e4 X-Google-Attributes: gidf635e,public X-Google-ArrivalTime: 2002-04-18 20:55:08 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail From: Mike <exceptions@earthlink.net> Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac Subject: Re: strange Mach-O linking and MSL_ALL_CARBON with CW7.2 Message-ID: <180420022354033132%exceptions@earthlink.net> References: <7092e67a.0204181813.4cdbf424@posting.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8bit User-Agent: YA-NewsWatcher/4.2.6 Lines: 31 Date: Fri, 19 Apr 2002 03:55:11 GMT NNTP-Posting-Host: 63.214.127.61 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1019188511 63.214.127.61 (Thu, 18 Apr 2002 20:55:11 PDT) NNTP-Posting-Date: Thu, 18 Apr 2002 20:55:11 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net