🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.mac.programmer.codewarrior
5 messages
5 total messages Started by Leon Fri, 19 Apr 2002 02:13
strange Mach-O linking and MSL_ALL_CARBON with CW7.2
#1024
Author: Leon
Date: Fri, 19 Apr 2002 02:13
25 lines
1630 bytes
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..
Re: strange Mach-O linking and MSL_ALL_CARBON with CW7.2
#1025
Author: Mike
Date: Fri, 19 Apr 2002 03:55
31 lines
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.
Re: strange Mach-O linking and MSL_ALL_CARBON with CW7.2
#1026
Author: Leon
Date: Fri, 19 Apr 2002 17:41
12 lines
1378 bytes
Mike <exceptions@earthlink.net> wrote in message news:<180420022354033132%exceptions@earthlink.net>...

 
> Did you check your link order? You have to have the crt lib last, or
> you get link errors.

Yes I've checked my link order, but of all the libraries I've
included, I don't see anywhere where these symbols are defined?

BTW, which CRT lib??

thanks
Re: strange Mach-O linking and MSL_ALL_CARBON with CW7.2
#1013
Author: Eric Albert
Date: Sat, 20 Apr 2002 09:28
21 lines
1487 bytes
In article <7092e67a.0204190941.14cb886a@posting.google.com>,
 lhui@sfu.ca (Leon) wrote:

> Mike <exceptions@earthlink.net> wrote in message 
> news:<180420022354033132%exceptions@earthlink.net>...
>  
> > Did you check your link order? You have to have the crt lib last, or
> > you get link errors.
> 
> Yes I've checked my link order, but of all the libraries I've
> included, I don't see anywhere where these symbols are defined?
> 
> BTW, which CRT lib??

That's crt1.o, which is in /usr/lib.

-Eric

-- 
Eric Albert         ejalbert@stanford.edu
http://www.stanford.edu/~ejalbert/
Re: strange Mach-O linking and MSL_ALL_CARBON with CW7.2
#1014
Author: l e o n
Date: Mon, 22 Apr 2002 18:08
19 lines
1774 bytes
> That's crt1.o, which is in /usr/lib.

Still doesn't work.  It seems to be looking for some MSL STL symbols, but
it's not defined in any of the Mach-O versions???




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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads