Csound Csound-dev Csound-tekno Search About

[Cs-dev] Nearly there (on Mac)

Date2005-11-28 20:36
Fromjpff@codemist.co.uk
Subject[Cs-dev] Nearly there (on Mac)
What does this error message mean?

ld: warning dynamic shared library: /System/Library/Frameworks/Carbon.framework/Carbon not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1

 -=- MIME -=- 
This is a MIME-encapsulated message.

--B39FD3D44F.1133182818/noreply.capdom.com
Content-Description: Notification
Content-Type: text/plain

This is the Postfix program at host noreply.capdom.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to 

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

			The Postfix program

: mail for lists.ssourceforge.net loops
    back to myself

--B39FD3D44F.1133182818/noreply.capdom.com
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; noreply.capdom.com
X-Postfix-Queue-ID: B39FD3D44F
X-Postfix-Sender: rfc822; jpff@cs.bath.ac.uk
Arrival-Date: Mon, 28 Nov 2005 07:59:39 -0500 (EST)

Final-Recipient: rfc822; csound-devel@lists.ssourceforge.net
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; mail for lists.ssourceforge.net loops back to
    myself

--B39FD3D44F.1133182818/noreply.capdom.com
Content-Description: Undelivered Message
Content-Type: message/rfc822

Received: from air.cs.bath.ac.uk (air.cs.bath.ac.uk [138.38.108.3])
	by noreply.capdom.com (Postfix) with ESMTP id 039793D0DA
	for ; Mon, 28 Nov 2005 07:59:39 -0500 (EST)
Received: from [138.38.108.1] (helo=jpff.cs.bath.ac.uk)
	by air.cs.bath.ac.uk with esmtp (Exim 4.30)
	id 1EgiVM-0002DP-2M
	for csound-devel@lists.ssourceforge.net; Mon, 28 Nov 2005 12:53:12 +0000
Received: from jpff by jpff.cs.bath.ac.uk with local (Exim 4.44)
	id 1EgiVL-0002hF-Dn
	for csound-devel@lists.ssourceforge.net; Mon, 28 Nov 2005 12:53:11 +0000
Date: Mon, 28 Nov 2005 12:53:11 +0000
To: csound-devel@lists.ssourceforge.net
Subject: Nearly there
Message-ID: <438AFDB7.mail80017B11U@jpff.cs.bath.ac.uk>
User-Agent: nail 11.4 8/29/04
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: John ffitch 
X-Spam-Score: 0.1 (/)
X-DD-MailScanner-Information: Please contact the ISP for more information
X-DD-MailScanner: C
X-DD-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 4,
	autolearn=disabled)

What does thsi error messaeg mean?

ld: warning dynamic shared library: /System/Library/Frameworks/Carbon.framework/Carbon not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1


--B39FD3D44F.1133182818/noreply.capdom.com--


==John ffitch


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-11-29 02:02
FromAnthony Kozar
SubjectRe: [Cs-dev] Nearly there (on Mac)
Macs allow a special type of dynamic linking at compile time called "weak
import" that means when the executable is loaded, the loader will not
require that library to be present.  It is up to your application then to
verify that the given library facilities are available before calling any of
them.  The purpose of this is to allow applications to optionally use system
libraries that may not be present on every system.

The warning message implies that Csound was attempting to do a weak link
against the Carbon framework but that it could not; apparently because you
are targetting 10.1 with the compiler.  If you have 10.2 or later installed,
then I suggest that you change the deployment target to 10.2.  It seems
likely that this could fix a lot of the issues you are experiencing.

This is an issue I have mentioned before.  Anyone packaging Csound on OS X
10.3 or 10.4 should set their deployment target to 10.2 (or 10.1 if they can
get it to work, but I believe CoreAudio is incomplete on 10.1).  If you do
not, then I believe no one on an earlier system will be able to use the
distribution.

Anthony Kozar
anthonykozar AT sbcglobal DOT net
http://akozar.spymac.com/


jpff@codemist.co.uk wrote on 11/28/05 3:36 PM:

> What does this error message mean?
> 
> ld: warning dynamic shared library:
> /System/Library/Frameworks/Carbon.framework/Carbon not made a weak library in
> output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-11-29 06:12
Fromjpff@codemist.co.uk
SubjectRe: [Cs-dev] Nearly there (on Mac)
>>>>> "Anthony" == Anthony Kozar  writes:

 Anthony>                                         If you have 10.2 or later installed,
 Anthony> then I suggest that you change the deployment target to 10.2.

how?
==John ffitch


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net