🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #1023

can't build CW7/Mach-O dyn lib

#1023
From: Leon
Date: Fri, 19 Apr 2002 01:13
15 lines
1470 bytes
I am trying to create dyn libs on CW7/Mach-O format.
While the sample provided works ok, I encountered what seems to be
a definition problem when adding the C++ lib ( MSL_C++_Mach-O.a )
when the locale.cpp.o is loaded from this lib
the message is:

Link Error   : common symbols not allowed with MH_DYLIB output format

/Applications/MetrowerksCodeWarrior7.0/MetrowerksCodeWarrior/MSL/MSL_C++/MSL_MacOS/Lib/Mach-O/MSL_C++_Mach-O.a.o(locale.cpp.o)
definition of common _init$localstatic4$___numeric_marker__3stdFc
(size 1)

(an there is more of the same ).

Any hints?
Technical Details
Message-ID: <7092e67a.0204181713.5486705f@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,73f6e2d2e5e8bfa8,start
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,73f6e2d2e5e8bfa8,start
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2002-04-18 18:13:31 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: lhui@sfu.ca (Leon)
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: can't build CW7/Mach-O dyn lib
Date: 18 Apr 2002 18:13:31 -0700
Organization: http://groups.google.com/
Lines: 15
Message-ID: <7092e67a.0204181713.5486705f@posting.google.com>
NNTP-Posting-Host: 209.53.254.186
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1019178811 3237 127.0.0.1 (19 Apr 2002 01:13:31 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 19 Apr 2002 01:13:31 GMT