Csound Csound-dev Csound-tekno Search About

[Cs-dev] error with --as-needed on OSX

Date2011-04-25 22:46
FromSteven Yi
Subject[Cs-dev] error with --as-needed on OSX
Hi All,

I'm trying to build csound from git on OSX and I'm getting:


gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
-framework CoreFoundation -framework CoreServices -framework CoreAudio
-dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L. -L.
-L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -lsndfile -lpng
-lz
ld: unknown option: --as-needed
collect2: ld returned 1 exit status

Anyone else see this on OSX?

Thanks!
steven

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-25 23:06
FromVictor Lazzarini
SubjectRe: [Cs-dev] error with --as-needed on OSX
yes, someone messed with custom.py. I had a fix here but did not  
commit yet. Will do now.

Victor
On 25 Apr 2011, at 22:46, Steven Yi wrote:

> Hi All,
>
> I'm trying to build csound from git on OSX and I'm getting:
>
>
> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
> -framework CoreFoundation -framework CoreServices -framework CoreAudio
> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L. -L.
> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -lsndfile -lpng
> -lz
> ld: unknown option: --as-needed
> collect2: ld returned 1 exit status
>
> Anyone else see this on OSX?
>
> Thanks!
> steven
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-25 23:09
FromVictor Lazzarini
SubjectRe: [Cs-dev] error with --as-needed on OSX
donwe.
On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:

> yes, someone messed with custom.py. I had a fix here but did not
> commit yet. Will do now.
>
> Victor
> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>
>> Hi All,
>>
>> I'm trying to build csound from git on OSX and I'm getting:
>>
>>
>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>> -framework CoreFoundation -framework CoreServices -framework  
>> CoreAudio
>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L. -L.
>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -lsndfile - 
>> lpng
>> -lz
>> ld: unknown option: --as-needed
>> collect2: ld returned 1 exit status
>>
>> Anyone else see this on OSX?
>>
>> Thanks!
>> steven
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 00:40
FromSteven Yi
SubjectRe: [Cs-dev] error with --as-needed on OSX
Thanks!  I'm able to get further now, seems I may have some issues
with using the libs built from macports (libsndfile, etc.).  If i use
gcc4opt=i386 I can't compile at all, but if I use universal I run into
some problems.  If I don't use anything for gcc4opt, I get further but
I think it's compiling x86_64 as it complains in trying to link
against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering here. :)

On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
 wrote:
> donwe.
> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>
>> yes, someone messed with custom.py. I had a fix here but did not
>> commit yet. Will do now.
>>
>> Victor
>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>
>>> Hi All,
>>>
>>> I'm trying to build csound from git on OSX and I'm getting:
>>>
>>>
>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>>> -framework CoreFoundation -framework CoreServices -framework
>>> CoreAudio
>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L. -L.
>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -lsndfile -
>>> lpng
>>> -lz
>>> ld: unknown option: --as-needed
>>> collect2: ld returned 1 exit status
>>>
>>> Anyone else see this on OSX?
>>>
>>> Thanks!
>>> steven
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 08:42
FromVictor Lazzarini
SubjectRe: [Cs-dev] error with --as-needed on OSX
Well my advice is: don't use Macports...
On 26 Apr 2011, at 00:40, Steven Yi wrote:

> Thanks!  I'm able to get further now, seems I may have some issues
> with using the libs built from macports (libsndfile, etc.).  If i use
> gcc4opt=i386 I can't compile at all, but if I use universal I run into
> some problems.  If I don't use anything for gcc4opt, I get further but
> I think it's compiling x86_64 as it complains in trying to link
> against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering here. :)
>
> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>  wrote:
>> donwe.
>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>
>>> yes, someone messed with custom.py. I had a fix here but did not
>>> commit yet. Will do now.
>>>
>>> Victor
>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>
>>>> Hi All,
>>>>
>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>
>>>>
>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>>>> -framework CoreFoundation -framework CoreServices -framework
>>>> CoreAudio
>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L. -L.
>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -lsndfile -
>>>> lpng
>>>> -lz
>>>> ld: unknown option: --as-needed
>>>> collect2: ld returned 1 exit status
>>>>
>>>> Anyone else see this on OSX?
>>>>
>>>> Thanks!
>>>> steven
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 10:51
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] error with --as-needed on OSX
Surely custom.py shoul dnot be committed to the repository, but just a
sample.  The version checked in has messed my build up in the past.  I
think it should not be tracked


> donwe.
> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>
>> yes, someone messed with custom.py. I had a fix here but did not
>> commit yet. Will do now.
>>
>> Victor
>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>
>>> Hi All,
>>>
>>> I'm trying to build csound from git on OSX and I'm getting:
>>>
>>>
>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>>> -framework CoreFoundation -framework CoreServices -framework
>>> CoreAudio
>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L. -L.
>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -lsndfile -
>>> lpng
>>> -lz
>>> ld: unknown option: --as-needed
>>> collect2: ld returned 1 exit status
>>>
>>> Anyone else see this on OSX?
>>>
>>> Thanks!
>>> steven
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 11:38
FromVictor Lazzarini
SubjectRe: [Cs-dev] error with --as-needed on OSX
Good idea. Can you change it?
On 26 Apr 2011, at 10:51, jpff@cs.bath.ac.uk wrote:

> Surely custom.py shoul dnot be committed to the repository, but just a
> sample.  The version checked in has messed my build up in the past.  I
> think it should not be tracked
>
>
>> donwe.
>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>
>>> yes, someone messed with custom.py. I had a fix here but did not
>>> commit yet. Will do now.
>>>
>>> Victor
>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>
>>>> Hi All,
>>>>
>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>
>>>>
>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>>>> -framework CoreFoundation -framework CoreServices -framework
>>>> CoreAudio
>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L. -L.
>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -lsndfile -
>>>> lpng
>>>> -lz
>>>> ld: unknown option: --as-needed
>>>> collect2: ld returned 1 exit status
>>>>
>>>> Anyone else see this on OSX?
>>>>
>>>> Thanks!
>>>> steven
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 15:11
FromSteven Yi
SubjectRe: [Cs-dev] error with --as-needed on OSX
:)  It's too bad though, as I use Macports for work.  The libraries it
builds for universal are i386, x86_64, and ppc7400, and I was getting
caught up yesterday with it not having ppc.  I'll try building
libsndfile today and see if I can get things going (just FYI, I'm
trying to diagnose why blue can't load the doubles lib_jcsound.jnilib,
as most of the mac users of blue are having problems).

Thanks for the help and I'll reply here if I get anywhere!
steven

On Tue, Apr 26, 2011 at 3:42 AM, Victor Lazzarini
 wrote:
> Well my advice is: don't use Macports...
> On 26 Apr 2011, at 00:40, Steven Yi wrote:
>
>> Thanks!  I'm able to get further now, seems I may have some issues
>> with using the libs built from macports (libsndfile, etc.).  If i use
>> gcc4opt=i386 I can't compile at all, but if I use universal I run into
>> some problems.  If I don't use anything for gcc4opt, I get further but
>> I think it's compiling x86_64 as it complains in trying to link
>> against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering here. :)
>>
>> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>>  wrote:
>>> donwe.
>>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>>
>>>> yes, someone messed with custom.py. I had a fix here but did not
>>>> commit yet. Will do now.
>>>>
>>>> Victor
>>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>>
>>>>>
>>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>>>>> -framework CoreFoundation -framework CoreServices -framework
>>>>> CoreAudio
>>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L. -L.
>>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -lsndfile -
>>>>> lpng
>>>>> -lz
>>>>> ld: unknown option: --as-needed
>>>>> collect2: ld returned 1 exit status
>>>>>
>>>>> Anyone else see this on OSX?
>>>>>
>>>>> Thanks!
>>>>> steven
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today.  Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 15:37
FromVictor Lazzarini
SubjectRe: [Cs-dev] error with --as-needed on OSX
yes; looking at it now, where does csnd.jar need to be?

Victor

On 26 Apr 2011, at 15:11, Steven Yi wrote:

> :)  It's too bad though, as I use Macports for work.  The libraries it
> builds for universal are i386, x86_64, and ppc7400, and I was getting
> caught up yesterday with it not having ppc.  I'll try building
> libsndfile today and see if I can get things going (just FYI, I'm
> trying to diagnose why blue can't load the doubles lib_jcsound.jnilib,
> as most of the mac users of blue are having problems).
>
> Thanks for the help and I'll reply here if I get anywhere!
> steven
>
> On Tue, Apr 26, 2011 at 3:42 AM, Victor Lazzarini
>  wrote:
>> Well my advice is: don't use Macports...
>> On 26 Apr 2011, at 00:40, Steven Yi wrote:
>>
>>> Thanks!  I'm able to get further now, seems I may have some issues
>>> with using the libs built from macports (libsndfile, etc.).  If i  
>>> use
>>> gcc4opt=i386 I can't compile at all, but if I use universal I run  
>>> into
>>> some problems.  If I don't use anything for gcc4opt, I get further  
>>> but
>>> I think it's compiling x86_64 as it complains in trying to link
>>> against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering  
>>> here. :)
>>>
>>> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>>>  wrote:
>>>> donwe.
>>>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>>>
>>>>> yes, someone messed with custom.py. I had a fix here but did not
>>>>> commit yet. Will do now.
>>>>>
>>>>> Victor
>>>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>>>
>>>>>>
>>>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>>>>>> -framework CoreFoundation -framework CoreServices -framework
>>>>>> CoreAudio
>>>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L. -L.
>>>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm - 
>>>>>> lsndfile -
>>>>>> lpng
>>>>>> -lz
>>>>>> ld: unknown option: --as-needed
>>>>>> collect2: ld returned 1 exit status
>>>>>>
>>>>>> Anyone else see this on OSX?
>>>>>>
>>>>>> Thanks!
>>>>>> steven
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>> management toolset available today.  Delivers lowest initial
>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today.  Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 15:49
FromVictor Lazzarini
SubjectRe: [Cs-dev] error with --as-needed on OSX
yes, strange that the java examples (CSDPlayer etc) work OK.

Victor
On 26 Apr 2011, at 15:37, Victor Lazzarini wrote:

> yes; looking at it now, where does csnd.jar need to be?
>
> Victor
>
> On 26 Apr 2011, at 15:11, Steven Yi wrote:
>
>> :)  It's too bad though, as I use Macports for work.  The libraries  
>> it
>> builds for universal are i386, x86_64, and ppc7400, and I was getting
>> caught up yesterday with it not having ppc.  I'll try building
>> libsndfile today and see if I can get things going (just FYI, I'm
>> trying to diagnose why blue can't load the doubles  
>> lib_jcsound.jnilib,
>> as most of the mac users of blue are having problems).
>>
>> Thanks for the help and I'll reply here if I get anywhere!
>> steven
>>
>> On Tue, Apr 26, 2011 at 3:42 AM, Victor Lazzarini
>>  wrote:
>>> Well my advice is: don't use Macports...
>>> On 26 Apr 2011, at 00:40, Steven Yi wrote:
>>>
>>>> Thanks!  I'm able to get further now, seems I may have some issues
>>>> with using the libs built from macports (libsndfile, etc.).  If i
>>>> use
>>>> gcc4opt=i386 I can't compile at all, but if I use universal I run
>>>> into
>>>> some problems.  If I don't use anything for gcc4opt, I get further
>>>> but
>>>> I think it's compiling x86_64 as it complains in trying to link
>>>> against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering
>>>> here. :)
>>>>
>>>> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>>>>  wrote:
>>>>> donwe.
>>>>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>>>>
>>>>>> yes, someone messed with custom.py. I had a fix here but did not
>>>>>> commit yet. Will do now.
>>>>>>
>>>>>> Victor
>>>>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>>>>
>>>>>>>
>>>>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>>>>>>> -framework CoreFoundation -framework CoreServices -framework
>>>>>>> CoreAudio
>>>>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L. - 
>>>>>>> L.
>>>>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -
>>>>>>> lsndfile -
>>>>>>> lpng
>>>>>>> -lz
>>>>>>> ld: unknown option: --as-needed
>>>>>>> collect2: ld returned 1 exit status
>>>>>>>
>>>>>>> Anyone else see this on OSX?
>>>>>>>
>>>>>>> Thanks!
>>>>>>> steven
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>> management toolset available today.  Delivers lowest initial
>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today.  Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 15:52
FromSteven Yi
SubjectRe: [Cs-dev] error with --as-needed on OSX
Well for blue, I've included a csnd.jar together with blue.  The
problem when blue tries to use the API, it complains when it goes to
use the native lib (lib_jcsound.jnilib).  The installer currently
places thing in
/Library/Frameworks/CsoundLib64.framework/Resources/Java.  I'm not
actually sure about that part of the framework structure.  However,
for Java extensions, I read that they should be placed in
/Library/Java/Extensions (or ~/Library/Java/Extensions if just for the
user as opposed to system).  I've seen both jnilib and jar files in
the Extensions folder.

The actual problem with the doubles version of the jnilib is it
crashes when using an instance of  CsoundCallbackWrapper that
implements the message callback.  Right when it goes to call
callbackWrapper.setMessageCallback(), it gets a Bus Error.  If I
comment that out, blue will run with the doubles jnilib (but without
messages).

The native code for that is setting a function pointer on the CSOUND
struct for the message callback.  The message callback in
CsoundCallbackWrapper (I think it's called MessageCallback_wrapper) is
a function that gets the CsoundCallbackWrapper from the Csound struct
(as host data) and then delegates to it.  It's crashing however on the
setting of the callback, which makes me think the issue may be some
kind of weird compiler setting.

The strange thing about all this is that it works with the float
version of the jnilib. It's very confusing!

Oh, as for using macports, I found a way to get it to work!  I built
my ports with +universal to get it to build with i386 and x86_64.  I
then modified SConstruct in the area where it goes to check universal
and replaced the "-arch ppc" with "-arch x86_64".  I've just gotten a
complete build now and am going to see if I can test with it. Will
report back shortly!

On Tue, Apr 26, 2011 at 10:37 AM, Victor Lazzarini
 wrote:
> yes; looking at it now, where does csnd.jar need to be?
>
> Victor
>
> On 26 Apr 2011, at 15:11, Steven Yi wrote:
>
>> :)  It's too bad though, as I use Macports for work.  The libraries it
>> builds for universal are i386, x86_64, and ppc7400, and I was getting
>> caught up yesterday with it not having ppc.  I'll try building
>> libsndfile today and see if I can get things going (just FYI, I'm
>> trying to diagnose why blue can't load the doubles lib_jcsound.jnilib,
>> as most of the mac users of blue are having problems).
>>
>> Thanks for the help and I'll reply here if I get anywhere!
>> steven
>>
>> On Tue, Apr 26, 2011 at 3:42 AM, Victor Lazzarini
>>  wrote:
>>> Well my advice is: don't use Macports...
>>> On 26 Apr 2011, at 00:40, Steven Yi wrote:
>>>
>>>> Thanks!  I'm able to get further now, seems I may have some issues
>>>> with using the libs built from macports (libsndfile, etc.).  If i
>>>> use
>>>> gcc4opt=i386 I can't compile at all, but if I use universal I run
>>>> into
>>>> some problems.  If I don't use anything for gcc4opt, I get further
>>>> but
>>>> I think it's compiling x86_64 as it complains in trying to link
>>>> against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering
>>>> here. :)
>>>>
>>>> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>>>>  wrote:
>>>>> donwe.
>>>>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>>>>
>>>>>> yes, someone messed with custom.py. I had a fix here but did not
>>>>>> commit yet. Will do now.
>>>>>>
>>>>>> Victor
>>>>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>>>>
>>>>>>>
>>>>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>>>>>>> -framework CoreFoundation -framework CoreServices -framework
>>>>>>> CoreAudio
>>>>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L. -L.
>>>>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -
>>>>>>> lsndfile -
>>>>>>> lpng
>>>>>>> -lz
>>>>>>> ld: unknown option: --as-needed
>>>>>>> collect2: ld returned 1 exit status
>>>>>>>
>>>>>>> Anyone else see this on OSX?
>>>>>>>
>>>>>>> Thanks!
>>>>>>> steven
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>> management toolset available today.  Delivers lowest initial
>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today.  Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 16:00
FromVictor Lazzarini
SubjectRe: [Cs-dev] error with --as-needed on OSX
Well, macports might be an option for users who want to build their  
csound without having to build dependencies. For me, I wouldn't touch  
it with a bargepole, because I need a reliable system to build release  
packages. Macports seem to be an ideal ingredient to mess up my  
system ;).

As for lib_jcsound.jnilib, the installed system works OK, as I have  
tested it with CSDPlayer and I get a doubles csound working fine. It's  
unfortunate about the Callback wrapper, but I am sure you'd find a way  
round it. Funny it works with floats.

Regards

Victor

On 26 Apr 2011, at 15:52, Steven Yi wrote:

> Well for blue, I've included a csnd.jar together with blue.  The
> problem when blue tries to use the API, it complains when it goes to
> use the native lib (lib_jcsound.jnilib).  The installer currently
> places thing in
> /Library/Frameworks/CsoundLib64.framework/Resources/Java.  I'm not
> actually sure about that part of the framework structure.  However,
> for Java extensions, I read that they should be placed in
> /Library/Java/Extensions (or ~/Library/Java/Extensions if just for the
> user as opposed to system).  I've seen both jnilib and jar files in
> the Extensions folder.
>
> The actual problem with the doubles version of the jnilib is it
> crashes when using an instance of  CsoundCallbackWrapper that
> implements the message callback.  Right when it goes to call
> callbackWrapper.setMessageCallback(), it gets a Bus Error.  If I
> comment that out, blue will run with the doubles jnilib (but without
> messages).
>
> The native code for that is setting a function pointer on the CSOUND
> struct for the message callback.  The message callback in
> CsoundCallbackWrapper (I think it's called MessageCallback_wrapper) is
> a function that gets the CsoundCallbackWrapper from the Csound struct
> (as host data) and then delegates to it.  It's crashing however on the
> setting of the callback, which makes me think the issue may be some
> kind of weird compiler setting.
>
> The strange thing about all this is that it works with the float
> version of the jnilib. It's very confusing!
>
> Oh, as for using macports, I found a way to get it to work!  I built
> my ports with +universal to get it to build with i386 and x86_64.  I
> then modified SConstruct in the area where it goes to check universal
> and replaced the "-arch ppc" with "-arch x86_64".  I've just gotten a
> complete build now and am going to see if I can test with it. Will
> report back shortly!
>
> On Tue, Apr 26, 2011 at 10:37 AM, Victor Lazzarini
>  wrote:
>> yes; looking at it now, where does csnd.jar need to be?
>>
>> Victor
>>
>> On 26 Apr 2011, at 15:11, Steven Yi wrote:
>>
>>> :)  It's too bad though, as I use Macports for work.  The  
>>> libraries it
>>> builds for universal are i386, x86_64, and ppc7400, and I was  
>>> getting
>>> caught up yesterday with it not having ppc.  I'll try building
>>> libsndfile today and see if I can get things going (just FYI, I'm
>>> trying to diagnose why blue can't load the doubles  
>>> lib_jcsound.jnilib,
>>> as most of the mac users of blue are having problems).
>>>
>>> Thanks for the help and I'll reply here if I get anywhere!
>>> steven
>>>
>>> On Tue, Apr 26, 2011 at 3:42 AM, Victor Lazzarini
>>>  wrote:
>>>> Well my advice is: don't use Macports...
>>>> On 26 Apr 2011, at 00:40, Steven Yi wrote:
>>>>
>>>>> Thanks!  I'm able to get further now, seems I may have some issues
>>>>> with using the libs built from macports (libsndfile, etc.).  If i
>>>>> use
>>>>> gcc4opt=i386 I can't compile at all, but if I use universal I run
>>>>> into
>>>>> some problems.  If I don't use anything for gcc4opt, I get further
>>>>> but
>>>>> I think it's compiling x86_64 as it complains in trying to link
>>>>> against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering
>>>>> here. :)
>>>>>
>>>>> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>>>>>  wrote:
>>>>>> donwe.
>>>>>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>>>>>
>>>>>>> yes, someone messed with custom.py. I had a fix here but did not
>>>>>>> commit yet. Will do now.
>>>>>>>
>>>>>>> Victor
>>>>>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>>>>>
>>>>>>>>
>>>>>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>>>>>>>> -framework CoreFoundation -framework CoreServices -framework
>>>>>>>> CoreAudio
>>>>>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L.  
>>>>>>>> -L.
>>>>>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -
>>>>>>>> lsndfile -
>>>>>>>> lpng
>>>>>>>> -lz
>>>>>>>> ld: unknown option: --as-needed
>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>
>>>>>>>> Anyone else see this on OSX?
>>>>>>>>
>>>>>>>> Thanks!
>>>>>>>> steven
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>> management toolset available today.  Delivers lowest initial
>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today.  Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 17:12
FromSteven Yi
SubjectRe: [Cs-dev] error with --as-needed on OSX
Yes, very funny indeed!  Makes very little sense as the csnd.jar I use
was built for doubles.

I just managed to get the doubles version of Csound I compiled here
running with blue.  I had some strange issues and realized I needed to
clear out the stuff from the installer version of Csound and I have:
Success!  I'm able to run with doubles API with blue now!  At this
point: I have no idea why just self-compiling works, but using the
installer does not.  I can only guess that it may be that I built with
i386/x86_64?  I built just now using:

scons buildInterfaces=1 buildJavaWrapper=1 useDouble=1
gcc4opt=universal dynamicCsoundLibrary=1 buildRelease=1

and using the x86_64 instead of ppc.   Any thoughts?  I need to figure
out a solution for blue users and would rather not do some kind of
packaging of Csound (though may have to as a stopgap).

As for Macports, I see it as very little difference than being on
Linux and using pre-built libs.  It'd be nice if we had a port
definition for Csound. :P (Wow, actually, there is a port definition
for Csound, for 4.23! Wow that's old. :P )


On Tue, Apr 26, 2011 at 11:00 AM, Victor Lazzarini
 wrote:
> Well, macports might be an option for users who want to build their
> csound without having to build dependencies. For me, I wouldn't touch
> it with a bargepole, because I need a reliable system to build release
> packages. Macports seem to be an ideal ingredient to mess up my
> system ;).
>
> As for lib_jcsound.jnilib, the installed system works OK, as I have
> tested it with CSDPlayer and I get a doubles csound working fine. It's
> unfortunate about the Callback wrapper, but I am sure you'd find a way
> round it. Funny it works with floats.
>
> Regards
>
> Victor
>
> On 26 Apr 2011, at 15:52, Steven Yi wrote:
>
>> Well for blue, I've included a csnd.jar together with blue.  The
>> problem when blue tries to use the API, it complains when it goes to
>> use the native lib (lib_jcsound.jnilib).  The installer currently
>> places thing in
>> /Library/Frameworks/CsoundLib64.framework/Resources/Java.  I'm not
>> actually sure about that part of the framework structure.  However,
>> for Java extensions, I read that they should be placed in
>> /Library/Java/Extensions (or ~/Library/Java/Extensions if just for the
>> user as opposed to system).  I've seen both jnilib and jar files in
>> the Extensions folder.
>>
>> The actual problem with the doubles version of the jnilib is it
>> crashes when using an instance of  CsoundCallbackWrapper that
>> implements the message callback.  Right when it goes to call
>> callbackWrapper.setMessageCallback(), it gets a Bus Error.  If I
>> comment that out, blue will run with the doubles jnilib (but without
>> messages).
>>
>> The native code for that is setting a function pointer on the CSOUND
>> struct for the message callback.  The message callback in
>> CsoundCallbackWrapper (I think it's called MessageCallback_wrapper) is
>> a function that gets the CsoundCallbackWrapper from the Csound struct
>> (as host data) and then delegates to it.  It's crashing however on the
>> setting of the callback, which makes me think the issue may be some
>> kind of weird compiler setting.
>>
>> The strange thing about all this is that it works with the float
>> version of the jnilib. It's very confusing!
>>
>> Oh, as for using macports, I found a way to get it to work!  I built
>> my ports with +universal to get it to build with i386 and x86_64.  I
>> then modified SConstruct in the area where it goes to check universal
>> and replaced the "-arch ppc" with "-arch x86_64".  I've just gotten a
>> complete build now and am going to see if I can test with it. Will
>> report back shortly!
>>
>> On Tue, Apr 26, 2011 at 10:37 AM, Victor Lazzarini
>>  wrote:
>>> yes; looking at it now, where does csnd.jar need to be?
>>>
>>> Victor
>>>
>>> On 26 Apr 2011, at 15:11, Steven Yi wrote:
>>>
>>>> :)  It's too bad though, as I use Macports for work.  The
>>>> libraries it
>>>> builds for universal are i386, x86_64, and ppc7400, and I was
>>>> getting
>>>> caught up yesterday with it not having ppc.  I'll try building
>>>> libsndfile today and see if I can get things going (just FYI, I'm
>>>> trying to diagnose why blue can't load the doubles
>>>> lib_jcsound.jnilib,
>>>> as most of the mac users of blue are having problems).
>>>>
>>>> Thanks for the help and I'll reply here if I get anywhere!
>>>> steven
>>>>
>>>> On Tue, Apr 26, 2011 at 3:42 AM, Victor Lazzarini
>>>>  wrote:
>>>>> Well my advice is: don't use Macports...
>>>>> On 26 Apr 2011, at 00:40, Steven Yi wrote:
>>>>>
>>>>>> Thanks!  I'm able to get further now, seems I may have some issues
>>>>>> with using the libs built from macports (libsndfile, etc.).  If i
>>>>>> use
>>>>>> gcc4opt=i386 I can't compile at all, but if I use universal I run
>>>>>> into
>>>>>> some problems.  If I don't use anything for gcc4opt, I get further
>>>>>> but
>>>>>> I think it's compiling x86_64 as it complains in trying to link
>>>>>> against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering
>>>>>> here. :)
>>>>>>
>>>>>> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>>>>>>  wrote:
>>>>>>> donwe.
>>>>>>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>>>>>>
>>>>>>>> yes, someone messed with custom.py. I had a fix here but did not
>>>>>>>> commit yet. Will do now.
>>>>>>>>
>>>>>>>> Victor
>>>>>>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>>>>>>
>>>>>>>>> Hi All,
>>>>>>>>>
>>>>>>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>>>>>>>>> -framework CoreFoundation -framework CoreServices -framework
>>>>>>>>> CoreAudio
>>>>>>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L.
>>>>>>>>> -L.
>>>>>>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -
>>>>>>>>> lsndfile -
>>>>>>>>> lpng
>>>>>>>>> -lz
>>>>>>>>> ld: unknown option: --as-needed
>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>
>>>>>>>>> Anyone else see this on OSX?
>>>>>>>>>
>>>>>>>>> Thanks!
>>>>>>>>> steven
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Senior Lecturer
>>>>>>>> Dept. of Music
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>> management toolset available today.  Delivers lowest initial
>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today.  Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 17:26
FromFelipe Sateler
SubjectRe: [Cs-dev] error with --as-needed on OSX
On Tue, Apr 26, 2011 at 13:12, Steven Yi  wrote:
> As for Macports, I see it as very little difference than being on
> Linux and using pre-built libs.  It'd be nice if we had a port
> definition for Csound. :P (Wow, actually, there is a port definition
> for Csound, for 4.23! Wow that's old. :P )

Fink seems to provide already built binaries instead of ports to be
compiled. Isn't that better?


-- 

Saludos,
Felipe Sateler

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-dev

Date2011-04-26 17:49
FromVictor Lazzarini
SubjectRe: [Cs-dev] error with --as-needed on OSX
This seems to point to a binary mismatch, i386 versus x86_64. The  
problem of build for x86_64 is that there will be no MIDI (portmidi is  
not reentrant) and
no FLTK (not a problem for you I guess), so that is why the fat binary  
does not include it yet. These are issues I will have to work on for  
the next
release.

Victor


On 26 Apr 2011, at 17:12, Steven Yi wrote:

> Yes, very funny indeed!  Makes very little sense as the csnd.jar I use
> was built for doubles.
>
> I just managed to get the doubles version of Csound I compiled here
> running with blue.  I had some strange issues and realized I needed to
> clear out the stuff from the installer version of Csound and I have:
> Success!  I'm able to run with doubles API with blue now!  At this
> point: I have no idea why just self-compiling works, but using the
> installer does not.  I can only guess that it may be that I built with
> i386/x86_64?  I built just now using:
>
> scons buildInterfaces=1 buildJavaWrapper=1 useDouble=1
> gcc4opt=universal dynamicCsoundLibrary=1 buildRelease=1
>
> and using the x86_64 instead of ppc.   Any thoughts?  I need to figure
> out a solution for blue users and would rather not do some kind of
> packaging of Csound (though may have to as a stopgap).
>
> As for Macports, I see it as very little difference than being on
> Linux and using pre-built libs.  It'd be nice if we had a port
> definition for Csound. :P (Wow, actually, there is a port definition
> for Csound, for 4.23! Wow that's old. :P )
>
>
> On Tue, Apr 26, 2011 at 11:00 AM, Victor Lazzarini
>  wrote:
>> Well, macports might be an option for users who want to build their
>> csound without having to build dependencies. For me, I wouldn't touch
>> it with a bargepole, because I need a reliable system to build  
>> release
>> packages. Macports seem to be an ideal ingredient to mess up my
>> system ;).
>>
>> As for lib_jcsound.jnilib, the installed system works OK, as I have
>> tested it with CSDPlayer and I get a doubles csound working fine.  
>> It's
>> unfortunate about the Callback wrapper, but I am sure you'd find a  
>> way
>> round it. Funny it works with floats.
>>
>> Regards
>>
>> Victor
>>
>> On 26 Apr 2011, at 15:52, Steven Yi wrote:
>>
>>> Well for blue, I've included a csnd.jar together with blue.  The
>>> problem when blue tries to use the API, it complains when it goes to
>>> use the native lib (lib_jcsound.jnilib).  The installer currently
>>> places thing in
>>> /Library/Frameworks/CsoundLib64.framework/Resources/Java.  I'm not
>>> actually sure about that part of the framework structure.  However,
>>> for Java extensions, I read that they should be placed in
>>> /Library/Java/Extensions (or ~/Library/Java/Extensions if just for  
>>> the
>>> user as opposed to system).  I've seen both jnilib and jar files in
>>> the Extensions folder.
>>>
>>> The actual problem with the doubles version of the jnilib is it
>>> crashes when using an instance of  CsoundCallbackWrapper that
>>> implements the message callback.  Right when it goes to call
>>> callbackWrapper.setMessageCallback(), it gets a Bus Error.  If I
>>> comment that out, blue will run with the doubles jnilib (but without
>>> messages).
>>>
>>> The native code for that is setting a function pointer on the CSOUND
>>> struct for the message callback.  The message callback in
>>> CsoundCallbackWrapper (I think it's called  
>>> MessageCallback_wrapper) is
>>> a function that gets the CsoundCallbackWrapper from the Csound  
>>> struct
>>> (as host data) and then delegates to it.  It's crashing however on  
>>> the
>>> setting of the callback, which makes me think the issue may be some
>>> kind of weird compiler setting.
>>>
>>> The strange thing about all this is that it works with the float
>>> version of the jnilib. It's very confusing!
>>>
>>> Oh, as for using macports, I found a way to get it to work!  I built
>>> my ports with +universal to get it to build with i386 and x86_64.  I
>>> then modified SConstruct in the area where it goes to check  
>>> universal
>>> and replaced the "-arch ppc" with "-arch x86_64".  I've just  
>>> gotten a
>>> complete build now and am going to see if I can test with it. Will
>>> report back shortly!
>>>
>>> On Tue, Apr 26, 2011 at 10:37 AM, Victor Lazzarini
>>>  wrote:
>>>> yes; looking at it now, where does csnd.jar need to be?
>>>>
>>>> Victor
>>>>
>>>> On 26 Apr 2011, at 15:11, Steven Yi wrote:
>>>>
>>>>> :)  It's too bad though, as I use Macports for work.  The
>>>>> libraries it
>>>>> builds for universal are i386, x86_64, and ppc7400, and I was
>>>>> getting
>>>>> caught up yesterday with it not having ppc.  I'll try building
>>>>> libsndfile today and see if I can get things going (just FYI, I'm
>>>>> trying to diagnose why blue can't load the doubles
>>>>> lib_jcsound.jnilib,
>>>>> as most of the mac users of blue are having problems).
>>>>>
>>>>> Thanks for the help and I'll reply here if I get anywhere!
>>>>> steven
>>>>>
>>>>> On Tue, Apr 26, 2011 at 3:42 AM, Victor Lazzarini
>>>>>  wrote:
>>>>>> Well my advice is: don't use Macports...
>>>>>> On 26 Apr 2011, at 00:40, Steven Yi wrote:
>>>>>>
>>>>>>> Thanks!  I'm able to get further now, seems I may have some  
>>>>>>> issues
>>>>>>> with using the libs built from macports (libsndfile, etc.).   
>>>>>>> If i
>>>>>>> use
>>>>>>> gcc4opt=i386 I can't compile at all, but if I use universal I  
>>>>>>> run
>>>>>>> into
>>>>>>> some problems.  If I don't use anything for gcc4opt, I get  
>>>>>>> further
>>>>>>> but
>>>>>>> I think it's compiling x86_64 as it complains in trying to link
>>>>>>> against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering
>>>>>>> here. :)
>>>>>>>
>>>>>>> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>>>>>>>  wrote:
>>>>>>>> donwe.
>>>>>>>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>>>>>>>
>>>>>>>>> yes, someone messed with custom.py. I had a fix here but did  
>>>>>>>>> not
>>>>>>>>> commit yet. Will do now.
>>>>>>>>>
>>>>>>>>> Victor
>>>>>>>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>>>>>>>
>>>>>>>>>> Hi All,
>>>>>>>>>>
>>>>>>>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>>>>>>>>>> -framework CoreFoundation -framework CoreServices -framework
>>>>>>>>>> CoreAudio
>>>>>>>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L.
>>>>>>>>>> -L.
>>>>>>>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -
>>>>>>>>>> lsndfile -
>>>>>>>>>> lpng
>>>>>>>>>> -lz
>>>>>>>>>> ld: unknown option: --as-needed
>>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>>
>>>>>>>>>> Anyone else see this on OSX?
>>>>>>>>>>
>>>>>>>>>> Thanks!
>>>>>>>>>> steven
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>> Senior Lecturer
>>>>>>>>> Dept. of Music
>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Senior Lecturer
>>>>>>>> Dept. of Music
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>> management toolset available today.  Delivers lowest initial
>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today.  Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 21:36
FromSteven Yi
SubjectRe: [Cs-dev] error with --as-needed on OSX
Ah, but I use macports for work already. :)  Either is fine, I don't
mind the ports system and compiling .

On Tue, Apr 26, 2011 at 12:26 PM, Felipe Sateler  wrote:
> On Tue, Apr 26, 2011 at 13:12, Steven Yi  wrote:
>> As for Macports, I see it as very little difference than being on
>> Linux and using pre-built libs.  It'd be nice if we had a port
>> definition for Csound. :P (Wow, actually, there is a port definition
>> for Csound, for 4.23! Wow that's old. :P )
>
> Fink seems to provide already built binaries instead of ports to be
> compiled. Isn't that better?
>
>
> --
>
> Saludos,
> Felipe Sateler
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 21:42
FromSteven Yi
SubjectRe: [Cs-dev] error with --as-needed on OSX
Yeah I'm still not sure what the issue was with the build from the
installer vs. my local build, as I'm technically running 32-bit java
mode which should be using i386.  As for ports, I was able to build
+universal for portmidi and FLTK and it build i386 and x86_64 fat
binaries. I don't know if it'd be of any use, but I could copy all the
fltk libs that were built and send you a copy if that could address
that issue.  As for portmidi, is there something I can test or is it a
problem in portmidi itself?

On Tue, Apr 26, 2011 at 12:49 PM, Victor Lazzarini
 wrote:
> This seems to point to a binary mismatch, i386 versus x86_64. The
> problem of build for x86_64 is that there will be no MIDI (portmidi is
> not reentrant) and
> no FLTK (not a problem for you I guess), so that is why the fat binary
> does not include it yet. These are issues I will have to work on for
> the next
> release.
>
> Victor
>
>
> On 26 Apr 2011, at 17:12, Steven Yi wrote:
>
>> Yes, very funny indeed!  Makes very little sense as the csnd.jar I use
>> was built for doubles.
>>
>> I just managed to get the doubles version of Csound I compiled here
>> running with blue.  I had some strange issues and realized I needed to
>> clear out the stuff from the installer version of Csound and I have:
>> Success!  I'm able to run with doubles API with blue now!  At this
>> point: I have no idea why just self-compiling works, but using the
>> installer does not.  I can only guess that it may be that I built with
>> i386/x86_64?  I built just now using:
>>
>> scons buildInterfaces=1 buildJavaWrapper=1 useDouble=1
>> gcc4opt=universal dynamicCsoundLibrary=1 buildRelease=1
>>
>> and using the x86_64 instead of ppc.   Any thoughts?  I need to figure
>> out a solution for blue users and would rather not do some kind of
>> packaging of Csound (though may have to as a stopgap).
>>
>> As for Macports, I see it as very little difference than being on
>> Linux and using pre-built libs.  It'd be nice if we had a port
>> definition for Csound. :P (Wow, actually, there is a port definition
>> for Csound, for 4.23! Wow that's old. :P )
>>
>>
>> On Tue, Apr 26, 2011 at 11:00 AM, Victor Lazzarini
>>  wrote:
>>> Well, macports might be an option for users who want to build their
>>> csound without having to build dependencies. For me, I wouldn't touch
>>> it with a bargepole, because I need a reliable system to build
>>> release
>>> packages. Macports seem to be an ideal ingredient to mess up my
>>> system ;).
>>>
>>> As for lib_jcsound.jnilib, the installed system works OK, as I have
>>> tested it with CSDPlayer and I get a doubles csound working fine.
>>> It's
>>> unfortunate about the Callback wrapper, but I am sure you'd find a
>>> way
>>> round it. Funny it works with floats.
>>>
>>> Regards
>>>
>>> Victor
>>>
>>> On 26 Apr 2011, at 15:52, Steven Yi wrote:
>>>
>>>> Well for blue, I've included a csnd.jar together with blue.  The
>>>> problem when blue tries to use the API, it complains when it goes to
>>>> use the native lib (lib_jcsound.jnilib).  The installer currently
>>>> places thing in
>>>> /Library/Frameworks/CsoundLib64.framework/Resources/Java.  I'm not
>>>> actually sure about that part of the framework structure.  However,
>>>> for Java extensions, I read that they should be placed in
>>>> /Library/Java/Extensions (or ~/Library/Java/Extensions if just for
>>>> the
>>>> user as opposed to system).  I've seen both jnilib and jar files in
>>>> the Extensions folder.
>>>>
>>>> The actual problem with the doubles version of the jnilib is it
>>>> crashes when using an instance of  CsoundCallbackWrapper that
>>>> implements the message callback.  Right when it goes to call
>>>> callbackWrapper.setMessageCallback(), it gets a Bus Error.  If I
>>>> comment that out, blue will run with the doubles jnilib (but without
>>>> messages).
>>>>
>>>> The native code for that is setting a function pointer on the CSOUND
>>>> struct for the message callback.  The message callback in
>>>> CsoundCallbackWrapper (I think it's called
>>>> MessageCallback_wrapper) is
>>>> a function that gets the CsoundCallbackWrapper from the Csound
>>>> struct
>>>> (as host data) and then delegates to it.  It's crashing however on
>>>> the
>>>> setting of the callback, which makes me think the issue may be some
>>>> kind of weird compiler setting.
>>>>
>>>> The strange thing about all this is that it works with the float
>>>> version of the jnilib. It's very confusing!
>>>>
>>>> Oh, as for using macports, I found a way to get it to work!  I built
>>>> my ports with +universal to get it to build with i386 and x86_64.  I
>>>> then modified SConstruct in the area where it goes to check
>>>> universal
>>>> and replaced the "-arch ppc" with "-arch x86_64".  I've just
>>>> gotten a
>>>> complete build now and am going to see if I can test with it. Will
>>>> report back shortly!
>>>>
>>>> On Tue, Apr 26, 2011 at 10:37 AM, Victor Lazzarini
>>>>  wrote:
>>>>> yes; looking at it now, where does csnd.jar need to be?
>>>>>
>>>>> Victor
>>>>>
>>>>> On 26 Apr 2011, at 15:11, Steven Yi wrote:
>>>>>
>>>>>> :)  It's too bad though, as I use Macports for work.  The
>>>>>> libraries it
>>>>>> builds for universal are i386, x86_64, and ppc7400, and I was
>>>>>> getting
>>>>>> caught up yesterday with it not having ppc.  I'll try building
>>>>>> libsndfile today and see if I can get things going (just FYI, I'm
>>>>>> trying to diagnose why blue can't load the doubles
>>>>>> lib_jcsound.jnilib,
>>>>>> as most of the mac users of blue are having problems).
>>>>>>
>>>>>> Thanks for the help and I'll reply here if I get anywhere!
>>>>>> steven
>>>>>>
>>>>>> On Tue, Apr 26, 2011 at 3:42 AM, Victor Lazzarini
>>>>>>  wrote:
>>>>>>> Well my advice is: don't use Macports...
>>>>>>> On 26 Apr 2011, at 00:40, Steven Yi wrote:
>>>>>>>
>>>>>>>> Thanks!  I'm able to get further now, seems I may have some
>>>>>>>> issues
>>>>>>>> with using the libs built from macports (libsndfile, etc.).
>>>>>>>> If i
>>>>>>>> use
>>>>>>>> gcc4opt=i386 I can't compile at all, but if I use universal I
>>>>>>>> run
>>>>>>>> into
>>>>>>>> some problems.  If I don't use anything for gcc4opt, I get
>>>>>>>> further
>>>>>>>> but
>>>>>>>> I think it's compiling x86_64 as it complains in trying to link
>>>>>>>> against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering
>>>>>>>> here. :)
>>>>>>>>
>>>>>>>> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>>>>>>>>  wrote:
>>>>>>>>> donwe.
>>>>>>>>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>>>>>>>>
>>>>>>>>>> yes, someone messed with custom.py. I had a fix here but did
>>>>>>>>>> not
>>>>>>>>>> commit yet. Will do now.
>>>>>>>>>>
>>>>>>>>>> Victor
>>>>>>>>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi All,
>>>>>>>>>>>
>>>>>>>>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework CoreMidi
>>>>>>>>>>> -framework CoreFoundation -framework CoreServices -framework
>>>>>>>>>>> CoreAudio
>>>>>>>>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib -L.
>>>>>>>>>>> -L.
>>>>>>>>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -
>>>>>>>>>>> lsndfile -
>>>>>>>>>>> lpng
>>>>>>>>>>> -lz
>>>>>>>>>>> ld: unknown option: --as-needed
>>>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>>>
>>>>>>>>>>> Anyone else see this on OSX?
>>>>>>>>>>>
>>>>>>>>>>> Thanks!
>>>>>>>>>>> steven
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>> Senior Lecturer
>>>>>>>>>> Dept. of Music
>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>> Senior Lecturer
>>>>>>>>> Dept. of Music
>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>> management toolset available today.  Delivers lowest initial
>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today.  Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-26 22:05
FromVictor Lazzarini
SubjectRe: [Cs-dev] error with --as-needed on OSX
On x86_64 (actually OSX 10.6, to be more precise), csound uses  
dlopen() etc to load modules. With this mechanism, portmidi crashes  
csound whenever a new csound object is created, or on a new compile.  
This is because portmidi is not reentrant on OSX. How on earth it  
works with the old OSX loading mechanism, I don't know. I suspect  
there is some memory that is cleared, which is not the case with  
dlopen(). So it's complicated; the easiest solution is to drop  
portmidi in favour of something else (like rtmidi possibly).

The problem with FLTK is more straightforward, on x86_64, carbon does  
not exist anymore, all the interface is cocoa-based. So at one point,  
there was no FLTK for that platform. Maybe it has changed now.

Regards

Victor


On 26 Apr 2011, at 21:42, Steven Yi wrote:

> Yeah I'm still not sure what the issue was with the build from the
> installer vs. my local build, as I'm technically running 32-bit java
> mode which should be using i386.  As for ports, I was able to build
> +universal for portmidi and FLTK and it build i386 and x86_64 fat
> binaries. I don't know if it'd be of any use, but I could copy all the
> fltk libs that were built and send you a copy if that could address
> that issue.  As for portmidi, is there something I can test or is it a
> problem in portmidi itself?
>
> On Tue, Apr 26, 2011 at 12:49 PM, Victor Lazzarini
>  wrote:
>> This seems to point to a binary mismatch, i386 versus x86_64. The
>> problem of build for x86_64 is that there will be no MIDI (portmidi  
>> is
>> not reentrant) and
>> no FLTK (not a problem for you I guess), so that is why the fat  
>> binary
>> does not include it yet. These are issues I will have to work on for
>> the next
>> release.
>>
>> Victor
>>
>>
>> On 26 Apr 2011, at 17:12, Steven Yi wrote:
>>
>>> Yes, very funny indeed!  Makes very little sense as the csnd.jar I  
>>> use
>>> was built for doubles.
>>>
>>> I just managed to get the doubles version of Csound I compiled here
>>> running with blue.  I had some strange issues and realized I  
>>> needed to
>>> clear out the stuff from the installer version of Csound and I have:
>>> Success!  I'm able to run with doubles API with blue now!  At this
>>> point: I have no idea why just self-compiling works, but using the
>>> installer does not.  I can only guess that it may be that I built  
>>> with
>>> i386/x86_64?  I built just now using:
>>>
>>> scons buildInterfaces=1 buildJavaWrapper=1 useDouble=1
>>> gcc4opt=universal dynamicCsoundLibrary=1 buildRelease=1
>>>
>>> and using the x86_64 instead of ppc.   Any thoughts?  I need to  
>>> figure
>>> out a solution for blue users and would rather not do some kind of
>>> packaging of Csound (though may have to as a stopgap).
>>>
>>> As for Macports, I see it as very little difference than being on
>>> Linux and using pre-built libs.  It'd be nice if we had a port
>>> definition for Csound. :P (Wow, actually, there is a port definition
>>> for Csound, for 4.23! Wow that's old. :P )
>>>
>>>
>>> On Tue, Apr 26, 2011 at 11:00 AM, Victor Lazzarini
>>>  wrote:
>>>> Well, macports might be an option for users who want to build their
>>>> csound without having to build dependencies. For me, I wouldn't  
>>>> touch
>>>> it with a bargepole, because I need a reliable system to build
>>>> release
>>>> packages. Macports seem to be an ideal ingredient to mess up my
>>>> system ;).
>>>>
>>>> As for lib_jcsound.jnilib, the installed system works OK, as I have
>>>> tested it with CSDPlayer and I get a doubles csound working fine.
>>>> It's
>>>> unfortunate about the Callback wrapper, but I am sure you'd find a
>>>> way
>>>> round it. Funny it works with floats.
>>>>
>>>> Regards
>>>>
>>>> Victor
>>>>
>>>> On 26 Apr 2011, at 15:52, Steven Yi wrote:
>>>>
>>>>> Well for blue, I've included a csnd.jar together with blue.  The
>>>>> problem when blue tries to use the API, it complains when it  
>>>>> goes to
>>>>> use the native lib (lib_jcsound.jnilib).  The installer currently
>>>>> places thing in
>>>>> /Library/Frameworks/CsoundLib64.framework/Resources/Java.  I'm not
>>>>> actually sure about that part of the framework structure.   
>>>>> However,
>>>>> for Java extensions, I read that they should be placed in
>>>>> /Library/Java/Extensions (or ~/Library/Java/Extensions if just for
>>>>> the
>>>>> user as opposed to system).  I've seen both jnilib and jar files  
>>>>> in
>>>>> the Extensions folder.
>>>>>
>>>>> The actual problem with the doubles version of the jnilib is it
>>>>> crashes when using an instance of  CsoundCallbackWrapper that
>>>>> implements the message callback.  Right when it goes to call
>>>>> callbackWrapper.setMessageCallback(), it gets a Bus Error.  If I
>>>>> comment that out, blue will run with the doubles jnilib (but  
>>>>> without
>>>>> messages).
>>>>>
>>>>> The native code for that is setting a function pointer on the  
>>>>> CSOUND
>>>>> struct for the message callback.  The message callback in
>>>>> CsoundCallbackWrapper (I think it's called
>>>>> MessageCallback_wrapper) is
>>>>> a function that gets the CsoundCallbackWrapper from the Csound
>>>>> struct
>>>>> (as host data) and then delegates to it.  It's crashing however on
>>>>> the
>>>>> setting of the callback, which makes me think the issue may be  
>>>>> some
>>>>> kind of weird compiler setting.
>>>>>
>>>>> The strange thing about all this is that it works with the float
>>>>> version of the jnilib. It's very confusing!
>>>>>
>>>>> Oh, as for using macports, I found a way to get it to work!  I  
>>>>> built
>>>>> my ports with +universal to get it to build with i386 and  
>>>>> x86_64.  I
>>>>> then modified SConstruct in the area where it goes to check
>>>>> universal
>>>>> and replaced the "-arch ppc" with "-arch x86_64".  I've just
>>>>> gotten a
>>>>> complete build now and am going to see if I can test with it. Will
>>>>> report back shortly!
>>>>>
>>>>> On Tue, Apr 26, 2011 at 10:37 AM, Victor Lazzarini
>>>>>  wrote:
>>>>>> yes; looking at it now, where does csnd.jar need to be?
>>>>>>
>>>>>> Victor
>>>>>>
>>>>>> On 26 Apr 2011, at 15:11, Steven Yi wrote:
>>>>>>
>>>>>>> :)  It's too bad though, as I use Macports for work.  The
>>>>>>> libraries it
>>>>>>> builds for universal are i386, x86_64, and ppc7400, and I was
>>>>>>> getting
>>>>>>> caught up yesterday with it not having ppc.  I'll try building
>>>>>>> libsndfile today and see if I can get things going (just FYI,  
>>>>>>> I'm
>>>>>>> trying to diagnose why blue can't load the doubles
>>>>>>> lib_jcsound.jnilib,
>>>>>>> as most of the mac users of blue are having problems).
>>>>>>>
>>>>>>> Thanks for the help and I'll reply here if I get anywhere!
>>>>>>> steven
>>>>>>>
>>>>>>> On Tue, Apr 26, 2011 at 3:42 AM, Victor Lazzarini
>>>>>>>  wrote:
>>>>>>>> Well my advice is: don't use Macports...
>>>>>>>> On 26 Apr 2011, at 00:40, Steven Yi wrote:
>>>>>>>>
>>>>>>>>> Thanks!  I'm able to get further now, seems I may have some
>>>>>>>>> issues
>>>>>>>>> with using the libs built from macports (libsndfile, etc.).
>>>>>>>>> If i
>>>>>>>>> use
>>>>>>>>> gcc4opt=i386 I can't compile at all, but if I use universal I
>>>>>>>>> run
>>>>>>>>> into
>>>>>>>>> some problems.  If I don't use anything for gcc4opt, I get
>>>>>>>>> further
>>>>>>>>> but
>>>>>>>>> I think it's compiling x86_64 as it complains in trying to  
>>>>>>>>> link
>>>>>>>>> against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering
>>>>>>>>> here. :)
>>>>>>>>>
>>>>>>>>> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>>>>>>>>>  wrote:
>>>>>>>>>> donwe.
>>>>>>>>>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>>>>>>>>>
>>>>>>>>>>> yes, someone messed with custom.py. I had a fix here but did
>>>>>>>>>>> not
>>>>>>>>>>> commit yet. Will do now.
>>>>>>>>>>>
>>>>>>>>>>> Victor
>>>>>>>>>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>
>>>>>>>>>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework  
>>>>>>>>>>>> CoreMidi
>>>>>>>>>>>> -framework CoreFoundation -framework CoreServices - 
>>>>>>>>>>>> framework
>>>>>>>>>>>> CoreAudio
>>>>>>>>>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib  
>>>>>>>>>>>> -L.
>>>>>>>>>>>> -L.
>>>>>>>>>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -
>>>>>>>>>>>> lsndfile -
>>>>>>>>>>>> lpng
>>>>>>>>>>>> -lz
>>>>>>>>>>>> ld: unknown option: --as-needed
>>>>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>>>>
>>>>>>>>>>>> Anyone else see this on OSX?
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks!
>>>>>>>>>>>> steven
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective  
>>>>>>>>>>>> network
>>>>>>>>>>>> management toolset available today.  Delivers lowest  
>>>>>>>>>>>> initial
>>>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>> Dept. of Music
>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective  
>>>>>>>>>>> network
>>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>> Senior Lecturer
>>>>>>>>>> Dept. of Music
>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Senior Lecturer
>>>>>>>> Dept. of Music
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>> management toolset available today.  Delivers lowest initial
>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today.  Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-27 01:04
FromSteven Yi
SubjectRe: [Cs-dev] error with --as-needed on OSX
For portmidi, is it a problem just on running it a second time?  It
seems to work using commandline which is just a single run here.

As for FLTK, the version in macports:

  fltk-devel @1.3.x-r8472_0

Are you using 1.3.x?  I haven't tried an FLTK orchestra yet but will
do that now and report back.

On Tue, Apr 26, 2011 at 5:05 PM, Victor Lazzarini
 wrote:
> On x86_64 (actually OSX 10.6, to be more precise), csound uses
> dlopen() etc to load modules. With this mechanism, portmidi crashes
> csound whenever a new csound object is created, or on a new compile.
> This is because portmidi is not reentrant on OSX. How on earth it
> works with the old OSX loading mechanism, I don't know. I suspect
> there is some memory that is cleared, which is not the case with
> dlopen(). So it's complicated; the easiest solution is to drop
> portmidi in favour of something else (like rtmidi possibly).
>
> The problem with FLTK is more straightforward, on x86_64, carbon does
> not exist anymore, all the interface is cocoa-based. So at one point,
> there was no FLTK for that platform. Maybe it has changed now.
>
> Regards
>
> Victor
>
>
> On 26 Apr 2011, at 21:42, Steven Yi wrote:
>
>> Yeah I'm still not sure what the issue was with the build from the
>> installer vs. my local build, as I'm technically running 32-bit java
>> mode which should be using i386.  As for ports, I was able to build
>> +universal for portmidi and FLTK and it build i386 and x86_64 fat
>> binaries. I don't know if it'd be of any use, but I could copy all the
>> fltk libs that were built and send you a copy if that could address
>> that issue.  As for portmidi, is there something I can test or is it a
>> problem in portmidi itself?
>>
>> On Tue, Apr 26, 2011 at 12:49 PM, Victor Lazzarini
>>  wrote:
>>> This seems to point to a binary mismatch, i386 versus x86_64. The
>>> problem of build for x86_64 is that there will be no MIDI (portmidi
>>> is
>>> not reentrant) and
>>> no FLTK (not a problem for you I guess), so that is why the fat
>>> binary
>>> does not include it yet. These are issues I will have to work on for
>>> the next
>>> release.
>>>
>>> Victor
>>>
>>>
>>> On 26 Apr 2011, at 17:12, Steven Yi wrote:
>>>
>>>> Yes, very funny indeed!  Makes very little sense as the csnd.jar I
>>>> use
>>>> was built for doubles.
>>>>
>>>> I just managed to get the doubles version of Csound I compiled here
>>>> running with blue.  I had some strange issues and realized I
>>>> needed to
>>>> clear out the stuff from the installer version of Csound and I have:
>>>> Success!  I'm able to run with doubles API with blue now!  At this
>>>> point: I have no idea why just self-compiling works, but using the
>>>> installer does not.  I can only guess that it may be that I built
>>>> with
>>>> i386/x86_64?  I built just now using:
>>>>
>>>> scons buildInterfaces=1 buildJavaWrapper=1 useDouble=1
>>>> gcc4opt=universal dynamicCsoundLibrary=1 buildRelease=1
>>>>
>>>> and using the x86_64 instead of ppc.   Any thoughts?  I need to
>>>> figure
>>>> out a solution for blue users and would rather not do some kind of
>>>> packaging of Csound (though may have to as a stopgap).
>>>>
>>>> As for Macports, I see it as very little difference than being on
>>>> Linux and using pre-built libs.  It'd be nice if we had a port
>>>> definition for Csound. :P (Wow, actually, there is a port definition
>>>> for Csound, for 4.23! Wow that's old. :P )
>>>>
>>>>
>>>> On Tue, Apr 26, 2011 at 11:00 AM, Victor Lazzarini
>>>>  wrote:
>>>>> Well, macports might be an option for users who want to build their
>>>>> csound without having to build dependencies. For me, I wouldn't
>>>>> touch
>>>>> it with a bargepole, because I need a reliable system to build
>>>>> release
>>>>> packages. Macports seem to be an ideal ingredient to mess up my
>>>>> system ;).
>>>>>
>>>>> As for lib_jcsound.jnilib, the installed system works OK, as I have
>>>>> tested it with CSDPlayer and I get a doubles csound working fine.
>>>>> It's
>>>>> unfortunate about the Callback wrapper, but I am sure you'd find a
>>>>> way
>>>>> round it. Funny it works with floats.
>>>>>
>>>>> Regards
>>>>>
>>>>> Victor
>>>>>
>>>>> On 26 Apr 2011, at 15:52, Steven Yi wrote:
>>>>>
>>>>>> Well for blue, I've included a csnd.jar together with blue.  The
>>>>>> problem when blue tries to use the API, it complains when it
>>>>>> goes to
>>>>>> use the native lib (lib_jcsound.jnilib).  The installer currently
>>>>>> places thing in
>>>>>> /Library/Frameworks/CsoundLib64.framework/Resources/Java.  I'm not
>>>>>> actually sure about that part of the framework structure.
>>>>>> However,
>>>>>> for Java extensions, I read that they should be placed in
>>>>>> /Library/Java/Extensions (or ~/Library/Java/Extensions if just for
>>>>>> the
>>>>>> user as opposed to system).  I've seen both jnilib and jar files
>>>>>> in
>>>>>> the Extensions folder.
>>>>>>
>>>>>> The actual problem with the doubles version of the jnilib is it
>>>>>> crashes when using an instance of  CsoundCallbackWrapper that
>>>>>> implements the message callback.  Right when it goes to call
>>>>>> callbackWrapper.setMessageCallback(), it gets a Bus Error.  If I
>>>>>> comment that out, blue will run with the doubles jnilib (but
>>>>>> without
>>>>>> messages).
>>>>>>
>>>>>> The native code for that is setting a function pointer on the
>>>>>> CSOUND
>>>>>> struct for the message callback.  The message callback in
>>>>>> CsoundCallbackWrapper (I think it's called
>>>>>> MessageCallback_wrapper) is
>>>>>> a function that gets the CsoundCallbackWrapper from the Csound
>>>>>> struct
>>>>>> (as host data) and then delegates to it.  It's crashing however on
>>>>>> the
>>>>>> setting of the callback, which makes me think the issue may be
>>>>>> some
>>>>>> kind of weird compiler setting.
>>>>>>
>>>>>> The strange thing about all this is that it works with the float
>>>>>> version of the jnilib. It's very confusing!
>>>>>>
>>>>>> Oh, as for using macports, I found a way to get it to work!  I
>>>>>> built
>>>>>> my ports with +universal to get it to build with i386 and
>>>>>> x86_64.  I
>>>>>> then modified SConstruct in the area where it goes to check
>>>>>> universal
>>>>>> and replaced the "-arch ppc" with "-arch x86_64".  I've just
>>>>>> gotten a
>>>>>> complete build now and am going to see if I can test with it. Will
>>>>>> report back shortly!
>>>>>>
>>>>>> On Tue, Apr 26, 2011 at 10:37 AM, Victor Lazzarini
>>>>>>  wrote:
>>>>>>> yes; looking at it now, where does csnd.jar need to be?
>>>>>>>
>>>>>>> Victor
>>>>>>>
>>>>>>> On 26 Apr 2011, at 15:11, Steven Yi wrote:
>>>>>>>
>>>>>>>> :)  It's too bad though, as I use Macports for work.  The
>>>>>>>> libraries it
>>>>>>>> builds for universal are i386, x86_64, and ppc7400, and I was
>>>>>>>> getting
>>>>>>>> caught up yesterday with it not having ppc.  I'll try building
>>>>>>>> libsndfile today and see if I can get things going (just FYI,
>>>>>>>> I'm
>>>>>>>> trying to diagnose why blue can't load the doubles
>>>>>>>> lib_jcsound.jnilib,
>>>>>>>> as most of the mac users of blue are having problems).
>>>>>>>>
>>>>>>>> Thanks for the help and I'll reply here if I get anywhere!
>>>>>>>> steven
>>>>>>>>
>>>>>>>> On Tue, Apr 26, 2011 at 3:42 AM, Victor Lazzarini
>>>>>>>>  wrote:
>>>>>>>>> Well my advice is: don't use Macports...
>>>>>>>>> On 26 Apr 2011, at 00:40, Steven Yi wrote:
>>>>>>>>>
>>>>>>>>>> Thanks!  I'm able to get further now, seems I may have some
>>>>>>>>>> issues
>>>>>>>>>> with using the libs built from macports (libsndfile, etc.).
>>>>>>>>>> If i
>>>>>>>>>> use
>>>>>>>>>> gcc4opt=i386 I can't compile at all, but if I use universal I
>>>>>>>>>> run
>>>>>>>>>> into
>>>>>>>>>> some problems.  If I don't use anything for gcc4opt, I get
>>>>>>>>>> further
>>>>>>>>>> but
>>>>>>>>>> I think it's compiling x86_64 as it complains in trying to
>>>>>>>>>> link
>>>>>>>>>> against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering
>>>>>>>>>> here. :)
>>>>>>>>>>
>>>>>>>>>> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>>>>>>>>>>  wrote:
>>>>>>>>>>> donwe.
>>>>>>>>>>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>>>>>>>>>>
>>>>>>>>>>>> yes, someone messed with custom.py. I had a fix here but did
>>>>>>>>>>>> not
>>>>>>>>>>>> commit yet. Will do now.
>>>>>>>>>>>>
>>>>>>>>>>>> Victor
>>>>>>>>>>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework
>>>>>>>>>>>>> CoreMidi
>>>>>>>>>>>>> -framework CoreFoundation -framework CoreServices -
>>>>>>>>>>>>> framework
>>>>>>>>>>>>> CoreAudio
>>>>>>>>>>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib
>>>>>>>>>>>>> -L.
>>>>>>>>>>>>> -L.
>>>>>>>>>>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -
>>>>>>>>>>>>> lsndfile -
>>>>>>>>>>>>> lpng
>>>>>>>>>>>>> -lz
>>>>>>>>>>>>> ld: unknown option: --as-needed
>>>>>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>>>>>
>>>>>>>>>>>>> Anyone else see this on OSX?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>> steven
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective
>>>>>>>>>>>>> network
>>>>>>>>>>>>> management toolset available today.  Delivers lowest
>>>>>>>>>>>>> initial
>>>>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective
>>>>>>>>>>>> network
>>>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>> Dept. of Music
>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>> Senior Lecturer
>>>>>>>>> Dept. of Music
>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> Dept. of Music
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>> management toolset available today.  Delivers lowest initial
>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> Dept. of Music
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today.  Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-27 01:06
FromSteven Yi
SubjectRe: [Cs-dev] error with --as-needed on OSX
Just tried Ian Mccurdy's 12Multitap.csd and it worked.  I'm not sure
what FLTK orchs looked like on OSX using the older 1.1.x, but this
looked a little glassy and had a white background (I seemed to
remember a gray boxy look).

On Tue, Apr 26, 2011 at 8:04 PM, Steven Yi  wrote:
> For portmidi, is it a problem just on running it a second time?  It
> seems to work using commandline which is just a single run here.
>
> As for FLTK, the version in macports:
>
>  fltk-devel @1.3.x-r8472_0
>
> Are you using 1.3.x?  I haven't tried an FLTK orchestra yet but will
> do that now and report back.
>
> On Tue, Apr 26, 2011 at 5:05 PM, Victor Lazzarini
>  wrote:
>> On x86_64 (actually OSX 10.6, to be more precise), csound uses
>> dlopen() etc to load modules. With this mechanism, portmidi crashes
>> csound whenever a new csound object is created, or on a new compile.
>> This is because portmidi is not reentrant on OSX. How on earth it
>> works with the old OSX loading mechanism, I don't know. I suspect
>> there is some memory that is cleared, which is not the case with
>> dlopen(). So it's complicated; the easiest solution is to drop
>> portmidi in favour of something else (like rtmidi possibly).
>>
>> The problem with FLTK is more straightforward, on x86_64, carbon does
>> not exist anymore, all the interface is cocoa-based. So at one point,
>> there was no FLTK for that platform. Maybe it has changed now.
>>
>> Regards
>>
>> Victor
>>
>>
>> On 26 Apr 2011, at 21:42, Steven Yi wrote:
>>
>>> Yeah I'm still not sure what the issue was with the build from the
>>> installer vs. my local build, as I'm technically running 32-bit java
>>> mode which should be using i386.  As for ports, I was able to build
>>> +universal for portmidi and FLTK and it build i386 and x86_64 fat
>>> binaries. I don't know if it'd be of any use, but I could copy all the
>>> fltk libs that were built and send you a copy if that could address
>>> that issue.  As for portmidi, is there something I can test or is it a
>>> problem in portmidi itself?
>>>
>>> On Tue, Apr 26, 2011 at 12:49 PM, Victor Lazzarini
>>>  wrote:
>>>> This seems to point to a binary mismatch, i386 versus x86_64. The
>>>> problem of build for x86_64 is that there will be no MIDI (portmidi
>>>> is
>>>> not reentrant) and
>>>> no FLTK (not a problem for you I guess), so that is why the fat
>>>> binary
>>>> does not include it yet. These are issues I will have to work on for
>>>> the next
>>>> release.
>>>>
>>>> Victor
>>>>
>>>>
>>>> On 26 Apr 2011, at 17:12, Steven Yi wrote:
>>>>
>>>>> Yes, very funny indeed!  Makes very little sense as the csnd.jar I
>>>>> use
>>>>> was built for doubles.
>>>>>
>>>>> I just managed to get the doubles version of Csound I compiled here
>>>>> running with blue.  I had some strange issues and realized I
>>>>> needed to
>>>>> clear out the stuff from the installer version of Csound and I have:
>>>>> Success!  I'm able to run with doubles API with blue now!  At this
>>>>> point: I have no idea why just self-compiling works, but using the
>>>>> installer does not.  I can only guess that it may be that I built
>>>>> with
>>>>> i386/x86_64?  I built just now using:
>>>>>
>>>>> scons buildInterfaces=1 buildJavaWrapper=1 useDouble=1
>>>>> gcc4opt=universal dynamicCsoundLibrary=1 buildRelease=1
>>>>>
>>>>> and using the x86_64 instead of ppc.   Any thoughts?  I need to
>>>>> figure
>>>>> out a solution for blue users and would rather not do some kind of
>>>>> packaging of Csound (though may have to as a stopgap).
>>>>>
>>>>> As for Macports, I see it as very little difference than being on
>>>>> Linux and using pre-built libs.  It'd be nice if we had a port
>>>>> definition for Csound. :P (Wow, actually, there is a port definition
>>>>> for Csound, for 4.23! Wow that's old. :P )
>>>>>
>>>>>
>>>>> On Tue, Apr 26, 2011 at 11:00 AM, Victor Lazzarini
>>>>>  wrote:
>>>>>> Well, macports might be an option for users who want to build their
>>>>>> csound without having to build dependencies. For me, I wouldn't
>>>>>> touch
>>>>>> it with a bargepole, because I need a reliable system to build
>>>>>> release
>>>>>> packages. Macports seem to be an ideal ingredient to mess up my
>>>>>> system ;).
>>>>>>
>>>>>> As for lib_jcsound.jnilib, the installed system works OK, as I have
>>>>>> tested it with CSDPlayer and I get a doubles csound working fine.
>>>>>> It's
>>>>>> unfortunate about the Callback wrapper, but I am sure you'd find a
>>>>>> way
>>>>>> round it. Funny it works with floats.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Victor
>>>>>>
>>>>>> On 26 Apr 2011, at 15:52, Steven Yi wrote:
>>>>>>
>>>>>>> Well for blue, I've included a csnd.jar together with blue.  The
>>>>>>> problem when blue tries to use the API, it complains when it
>>>>>>> goes to
>>>>>>> use the native lib (lib_jcsound.jnilib).  The installer currently
>>>>>>> places thing in
>>>>>>> /Library/Frameworks/CsoundLib64.framework/Resources/Java.  I'm not
>>>>>>> actually sure about that part of the framework structure.
>>>>>>> However,
>>>>>>> for Java extensions, I read that they should be placed in
>>>>>>> /Library/Java/Extensions (or ~/Library/Java/Extensions if just for
>>>>>>> the
>>>>>>> user as opposed to system).  I've seen both jnilib and jar files
>>>>>>> in
>>>>>>> the Extensions folder.
>>>>>>>
>>>>>>> The actual problem with the doubles version of the jnilib is it
>>>>>>> crashes when using an instance of  CsoundCallbackWrapper that
>>>>>>> implements the message callback.  Right when it goes to call
>>>>>>> callbackWrapper.setMessageCallback(), it gets a Bus Error.  If I
>>>>>>> comment that out, blue will run with the doubles jnilib (but
>>>>>>> without
>>>>>>> messages).
>>>>>>>
>>>>>>> The native code for that is setting a function pointer on the
>>>>>>> CSOUND
>>>>>>> struct for the message callback.  The message callback in
>>>>>>> CsoundCallbackWrapper (I think it's called
>>>>>>> MessageCallback_wrapper) is
>>>>>>> a function that gets the CsoundCallbackWrapper from the Csound
>>>>>>> struct
>>>>>>> (as host data) and then delegates to it.  It's crashing however on
>>>>>>> the
>>>>>>> setting of the callback, which makes me think the issue may be
>>>>>>> some
>>>>>>> kind of weird compiler setting.
>>>>>>>
>>>>>>> The strange thing about all this is that it works with the float
>>>>>>> version of the jnilib. It's very confusing!
>>>>>>>
>>>>>>> Oh, as for using macports, I found a way to get it to work!  I
>>>>>>> built
>>>>>>> my ports with +universal to get it to build with i386 and
>>>>>>> x86_64.  I
>>>>>>> then modified SConstruct in the area where it goes to check
>>>>>>> universal
>>>>>>> and replaced the "-arch ppc" with "-arch x86_64".  I've just
>>>>>>> gotten a
>>>>>>> complete build now and am going to see if I can test with it. Will
>>>>>>> report back shortly!
>>>>>>>
>>>>>>> On Tue, Apr 26, 2011 at 10:37 AM, Victor Lazzarini
>>>>>>>  wrote:
>>>>>>>> yes; looking at it now, where does csnd.jar need to be?
>>>>>>>>
>>>>>>>> Victor
>>>>>>>>
>>>>>>>> On 26 Apr 2011, at 15:11, Steven Yi wrote:
>>>>>>>>
>>>>>>>>> :)  It's too bad though, as I use Macports for work.  The
>>>>>>>>> libraries it
>>>>>>>>> builds for universal are i386, x86_64, and ppc7400, and I was
>>>>>>>>> getting
>>>>>>>>> caught up yesterday with it not having ppc.  I'll try building
>>>>>>>>> libsndfile today and see if I can get things going (just FYI,
>>>>>>>>> I'm
>>>>>>>>> trying to diagnose why blue can't load the doubles
>>>>>>>>> lib_jcsound.jnilib,
>>>>>>>>> as most of the mac users of blue are having problems).
>>>>>>>>>
>>>>>>>>> Thanks for the help and I'll reply here if I get anywhere!
>>>>>>>>> steven
>>>>>>>>>
>>>>>>>>> On Tue, Apr 26, 2011 at 3:42 AM, Victor Lazzarini
>>>>>>>>>  wrote:
>>>>>>>>>> Well my advice is: don't use Macports...
>>>>>>>>>> On 26 Apr 2011, at 00:40, Steven Yi wrote:
>>>>>>>>>>
>>>>>>>>>>> Thanks!  I'm able to get further now, seems I may have some
>>>>>>>>>>> issues
>>>>>>>>>>> with using the libs built from macports (libsndfile, etc.).
>>>>>>>>>>> If i
>>>>>>>>>>> use
>>>>>>>>>>> gcc4opt=i386 I can't compile at all, but if I use universal I
>>>>>>>>>>> run
>>>>>>>>>>> into
>>>>>>>>>>> some problems.  If I don't use anything for gcc4opt, I get
>>>>>>>>>>> further
>>>>>>>>>>> but
>>>>>>>>>>> I think it's compiling x86_64 as it complains in trying to
>>>>>>>>>>> link
>>>>>>>>>>> against /usr/local/lib/lib_csnd64.dylib.  I'll keep tinkering
>>>>>>>>>>> here. :)
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>>>>>>>>>>>  wrote:
>>>>>>>>>>>> donwe.
>>>>>>>>>>>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> yes, someone messed with custom.py. I had a fix here but did
>>>>>>>>>>>>> not
>>>>>>>>>>>>> commit yet. Will do now.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Victor
>>>>>>>>>>>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'm trying to build csound from git on OSX and I'm getting:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework
>>>>>>>>>>>>>> CoreMidi
>>>>>>>>>>>>>> -framework CoreFoundation -framework CoreServices -
>>>>>>>>>>>>>> framework
>>>>>>>>>>>>>> CoreAudio
>>>>>>>>>>>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib
>>>>>>>>>>>>>> -L.
>>>>>>>>>>>>>> -L.
>>>>>>>>>>>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -
>>>>>>>>>>>>>> lsndfile -
>>>>>>>>>>>>>> lpng
>>>>>>>>>>>>>> -lz
>>>>>>>>>>>>>> ld: unknown option: --as-needed
>>>>>>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Anyone else see this on OSX?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>> steven
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective
>>>>>>>>>>>>>> network
>>>>>>>>>>>>>> management toolset available today.  Delivers lowest
>>>>>>>>>>>>>> initial
>>>>>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective
>>>>>>>>>>>>> network
>>>>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>> Senior Lecturer
>>>>>>>>>> Dept. of Music
>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Senior Lecturer
>>>>>>>> Dept. of Music
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>> management toolset available today.  Delivers lowest initial
>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today.  Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-04-27 08:44
FromVictor Lazzarini
SubjectRe: [Cs-dev] error with --as-needed on OSX
yes,  it is when you run it a second time; Command-line is fine. Good  
to know about FLTK, looks like
one problem less.

Victor
On 27 Apr 2011, at 01:04, Steven Yi wrote:

> For portmidi, is it a problem just on running it a second time?  It
> seems to work using commandline which is just a single run here.
>
> As for FLTK, the version in macports:
>
>  fltk-devel @1.3.x-r8472_0
>
> Are you using 1.3.x?  I haven't tried an FLTK orchestra yet but will
> do that now and report back.
>
> On Tue, Apr 26, 2011 at 5:05 PM, Victor Lazzarini
>  wrote:
>> On x86_64 (actually OSX 10.6, to be more precise), csound uses
>> dlopen() etc to load modules. With this mechanism, portmidi crashes
>> csound whenever a new csound object is created, or on a new compile.
>> This is because portmidi is not reentrant on OSX. How on earth it
>> works with the old OSX loading mechanism, I don't know. I suspect
>> there is some memory that is cleared, which is not the case with
>> dlopen(). So it's complicated; the easiest solution is to drop
>> portmidi in favour of something else (like rtmidi possibly).
>>
>> The problem with FLTK is more straightforward, on x86_64, carbon does
>> not exist anymore, all the interface is cocoa-based. So at one point,
>> there was no FLTK for that platform. Maybe it has changed now.
>>
>> Regards
>>
>> Victor
>>
>>
>> On 26 Apr 2011, at 21:42, Steven Yi wrote:
>>
>>> Yeah I'm still not sure what the issue was with the build from the
>>> installer vs. my local build, as I'm technically running 32-bit java
>>> mode which should be using i386.  As for ports, I was able to build
>>> +universal for portmidi and FLTK and it build i386 and x86_64 fat
>>> binaries. I don't know if it'd be of any use, but I could copy all  
>>> the
>>> fltk libs that were built and send you a copy if that could address
>>> that issue.  As for portmidi, is there something I can test or is  
>>> it a
>>> problem in portmidi itself?
>>>
>>> On Tue, Apr 26, 2011 at 12:49 PM, Victor Lazzarini
>>>  wrote:
>>>> This seems to point to a binary mismatch, i386 versus x86_64. The
>>>> problem of build for x86_64 is that there will be no MIDI (portmidi
>>>> is
>>>> not reentrant) and
>>>> no FLTK (not a problem for you I guess), so that is why the fat
>>>> binary
>>>> does not include it yet. These are issues I will have to work on  
>>>> for
>>>> the next
>>>> release.
>>>>
>>>> Victor
>>>>
>>>>
>>>> On 26 Apr 2011, at 17:12, Steven Yi wrote:
>>>>
>>>>> Yes, very funny indeed!  Makes very little sense as the csnd.jar I
>>>>> use
>>>>> was built for doubles.
>>>>>
>>>>> I just managed to get the doubles version of Csound I compiled  
>>>>> here
>>>>> running with blue.  I had some strange issues and realized I
>>>>> needed to
>>>>> clear out the stuff from the installer version of Csound and I  
>>>>> have:
>>>>> Success!  I'm able to run with doubles API with blue now!  At this
>>>>> point: I have no idea why just self-compiling works, but using the
>>>>> installer does not.  I can only guess that it may be that I built
>>>>> with
>>>>> i386/x86_64?  I built just now using:
>>>>>
>>>>> scons buildInterfaces=1 buildJavaWrapper=1 useDouble=1
>>>>> gcc4opt=universal dynamicCsoundLibrary=1 buildRelease=1
>>>>>
>>>>> and using the x86_64 instead of ppc.   Any thoughts?  I need to
>>>>> figure
>>>>> out a solution for blue users and would rather not do some kind of
>>>>> packaging of Csound (though may have to as a stopgap).
>>>>>
>>>>> As for Macports, I see it as very little difference than being on
>>>>> Linux and using pre-built libs.  It'd be nice if we had a port
>>>>> definition for Csound. :P (Wow, actually, there is a port  
>>>>> definition
>>>>> for Csound, for 4.23! Wow that's old. :P )
>>>>>
>>>>>
>>>>> On Tue, Apr 26, 2011 at 11:00 AM, Victor Lazzarini
>>>>>  wrote:
>>>>>> Well, macports might be an option for users who want to build  
>>>>>> their
>>>>>> csound without having to build dependencies. For me, I wouldn't
>>>>>> touch
>>>>>> it with a bargepole, because I need a reliable system to build
>>>>>> release
>>>>>> packages. Macports seem to be an ideal ingredient to mess up my
>>>>>> system ;).
>>>>>>
>>>>>> As for lib_jcsound.jnilib, the installed system works OK, as I  
>>>>>> have
>>>>>> tested it with CSDPlayer and I get a doubles csound working fine.
>>>>>> It's
>>>>>> unfortunate about the Callback wrapper, but I am sure you'd  
>>>>>> find a
>>>>>> way
>>>>>> round it. Funny it works with floats.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Victor
>>>>>>
>>>>>> On 26 Apr 2011, at 15:52, Steven Yi wrote:
>>>>>>
>>>>>>> Well for blue, I've included a csnd.jar together with blue.  The
>>>>>>> problem when blue tries to use the API, it complains when it
>>>>>>> goes to
>>>>>>> use the native lib (lib_jcsound.jnilib).  The installer  
>>>>>>> currently
>>>>>>> places thing in
>>>>>>> /Library/Frameworks/CsoundLib64.framework/Resources/Java.  I'm  
>>>>>>> not
>>>>>>> actually sure about that part of the framework structure.
>>>>>>> However,
>>>>>>> for Java extensions, I read that they should be placed in
>>>>>>> /Library/Java/Extensions (or ~/Library/Java/Extensions if just  
>>>>>>> for
>>>>>>> the
>>>>>>> user as opposed to system).  I've seen both jnilib and jar files
>>>>>>> in
>>>>>>> the Extensions folder.
>>>>>>>
>>>>>>> The actual problem with the doubles version of the jnilib is it
>>>>>>> crashes when using an instance of  CsoundCallbackWrapper that
>>>>>>> implements the message callback.  Right when it goes to call
>>>>>>> callbackWrapper.setMessageCallback(), it gets a Bus Error.  If I
>>>>>>> comment that out, blue will run with the doubles jnilib (but
>>>>>>> without
>>>>>>> messages).
>>>>>>>
>>>>>>> The native code for that is setting a function pointer on the
>>>>>>> CSOUND
>>>>>>> struct for the message callback.  The message callback in
>>>>>>> CsoundCallbackWrapper (I think it's called
>>>>>>> MessageCallback_wrapper) is
>>>>>>> a function that gets the CsoundCallbackWrapper from the Csound
>>>>>>> struct
>>>>>>> (as host data) and then delegates to it.  It's crashing  
>>>>>>> however on
>>>>>>> the
>>>>>>> setting of the callback, which makes me think the issue may be
>>>>>>> some
>>>>>>> kind of weird compiler setting.
>>>>>>>
>>>>>>> The strange thing about all this is that it works with the float
>>>>>>> version of the jnilib. It's very confusing!
>>>>>>>
>>>>>>> Oh, as for using macports, I found a way to get it to work!  I
>>>>>>> built
>>>>>>> my ports with +universal to get it to build with i386 and
>>>>>>> x86_64.  I
>>>>>>> then modified SConstruct in the area where it goes to check
>>>>>>> universal
>>>>>>> and replaced the "-arch ppc" with "-arch x86_64".  I've just
>>>>>>> gotten a
>>>>>>> complete build now and am going to see if I can test with it.  
>>>>>>> Will
>>>>>>> report back shortly!
>>>>>>>
>>>>>>> On Tue, Apr 26, 2011 at 10:37 AM, Victor Lazzarini
>>>>>>>  wrote:
>>>>>>>> yes; looking at it now, where does csnd.jar need to be?
>>>>>>>>
>>>>>>>> Victor
>>>>>>>>
>>>>>>>> On 26 Apr 2011, at 15:11, Steven Yi wrote:
>>>>>>>>
>>>>>>>>> :)  It's too bad though, as I use Macports for work.  The
>>>>>>>>> libraries it
>>>>>>>>> builds for universal are i386, x86_64, and ppc7400, and I was
>>>>>>>>> getting
>>>>>>>>> caught up yesterday with it not having ppc.  I'll try building
>>>>>>>>> libsndfile today and see if I can get things going (just FYI,
>>>>>>>>> I'm
>>>>>>>>> trying to diagnose why blue can't load the doubles
>>>>>>>>> lib_jcsound.jnilib,
>>>>>>>>> as most of the mac users of blue are having problems).
>>>>>>>>>
>>>>>>>>> Thanks for the help and I'll reply here if I get anywhere!
>>>>>>>>> steven
>>>>>>>>>
>>>>>>>>> On Tue, Apr 26, 2011 at 3:42 AM, Victor Lazzarini
>>>>>>>>>  wrote:
>>>>>>>>>> Well my advice is: don't use Macports...
>>>>>>>>>> On 26 Apr 2011, at 00:40, Steven Yi wrote:
>>>>>>>>>>
>>>>>>>>>>> Thanks!  I'm able to get further now, seems I may have some
>>>>>>>>>>> issues
>>>>>>>>>>> with using the libs built from macports (libsndfile, etc.).
>>>>>>>>>>> If i
>>>>>>>>>>> use
>>>>>>>>>>> gcc4opt=i386 I can't compile at all, but if I use  
>>>>>>>>>>> universal I
>>>>>>>>>>> run
>>>>>>>>>>> into
>>>>>>>>>>> some problems.  If I don't use anything for gcc4opt, I get
>>>>>>>>>>> further
>>>>>>>>>>> but
>>>>>>>>>>> I think it's compiling x86_64 as it complains in trying to
>>>>>>>>>>> link
>>>>>>>>>>> against /usr/local/lib/lib_csnd64.dylib.  I'll keep  
>>>>>>>>>>> tinkering
>>>>>>>>>>> here. :)
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Apr 25, 2011 at 6:09 PM, Victor Lazzarini
>>>>>>>>>>>  wrote:
>>>>>>>>>>>> donwe.
>>>>>>>>>>>> On 25 Apr 2011, at 23:06, Victor Lazzarini wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> yes, someone messed with custom.py. I had a fix here but  
>>>>>>>>>>>>> did
>>>>>>>>>>>>> not
>>>>>>>>>>>>> commit yet. Will do now.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Victor
>>>>>>>>>>>>> On 25 Apr 2011, at 22:46, Steven Yi wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'm trying to build csound from git on OSX and I'm  
>>>>>>>>>>>>>> getting:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> gcc -o libambicode1.dylib -Wl,--as-needed -framework
>>>>>>>>>>>>>> CoreMidi
>>>>>>>>>>>>>> -framework CoreFoundation -framework CoreServices -
>>>>>>>>>>>>>> framework
>>>>>>>>>>>>>> CoreAudio
>>>>>>>>>>>>>> -dynamiclib Opcodes/ambicode1.os -L. -L. -L/usr/local/lib
>>>>>>>>>>>>>> -L.
>>>>>>>>>>>>>> -L.
>>>>>>>>>>>>>> -L/opt/local/lib -lintl -lsndfile -lpthread -lgomp -lm -
>>>>>>>>>>>>>> lsndfile -
>>>>>>>>>>>>>> lpng
>>>>>>>>>>>>>> -lz
>>>>>>>>>>>>>> ld: unknown option: --as-needed
>>>>>>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Anyone else see this on OSX?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>> steven
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective
>>>>>>>>>>>>>> network
>>>>>>>>>>>>>> management toolset available today.  Delivers lowest
>>>>>>>>>>>>>> initial
>>>>>>>>>>>>>> acquisition cost and overall TCO of any competing  
>>>>>>>>>>>>>> solution.
>>>>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective
>>>>>>>>>>>>> network
>>>>>>>>>>>>> management toolset available today.  Delivers lowest  
>>>>>>>>>>>>> initial
>>>>>>>>>>>>> acquisition cost and overall TCO of any competing  
>>>>>>>>>>>>> solution.
>>>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>>>> Senior Lecturer
>>>>>>>>>>>> Dept. of Music
>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective  
>>>>>>>>>>>> network
>>>>>>>>>>>> management toolset available today.  Delivers lowest  
>>>>>>>>>>>> initial
>>>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>>> The most intuitive, comprehensive, and cost-effective  
>>>>>>>>>>> network
>>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>> Dr Victor Lazzarini
>>>>>>>>>> Senior Lecturer
>>>>>>>>>> Dept. of Music
>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Senior Lecturer
>>>>>>>> Dept. of Music
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>>> management toolset available today.  Delivers lowest initial
>>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>> Dr Victor Lazzarini
>>>>>> Senior Lecturer
>>>>>> Dept. of Music
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>>> management toolset available today.  Delivers lowest initial
>>>>>> acquisition cost and overall TCO of any competing solution.
>>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> WhatsUp Gold - Download Free Network Management Software
>>>>> The most intuitive, comprehensive, and cost-effective network
>>>>> management toolset available today.  Delivers lowest initial
>>>>> acquisition cost and overall TCO of any competing solution.
>>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today.  Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> WhatsUp Gold - Download Free Network Management Software
>>> The most intuitive, comprehensive, and cost-effective network
>>> management toolset available today.  Delivers lowest initial
>>> acquisition cost and overall TCO of any competing solution.
>>> http://p.sf.net/sfu/whatsupgold-sd
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net