Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:5124] Csound5 build report from Michael's snapshot, linux

Date2004-07-30 12:39
Fromiain duncan
Subject[CSOUND-DEV:5124] Csound5 build report from Michael's snapshot, linux
So trying out a download of Michael's snapshot I get the following error 
trying to build csound5, which of course I don't understand. ; ) I got 
the same error whether trying with build dynamic on or off in the 
Sconstruct file.

gcc "-Wl,-Bdynamic -shared" -o libbabo.so Opcodes/babo.os -L. -L. -L. 
-L/usr/lib -L/usr/local/lib
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/../../../../i386-pc-linux-gnu/bin/ld: 
unrecognized option '-Bdynamic -shared'
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/../../../../i386-pc-linux-gnu/bin/ld: 
use the --help option for usage information
collect2: ld returned 1 exit status
scons: *** [libbabo.so] Error 1
scons: building terminated because of errors.


I also tried just using the csound.xmg in there, and while it ran, it 
didn't recognize vco2 or moogvcf as legal opcodes. Do I have to tell it 
somehow to look somewhere or are they just not in there yet?

Thanks
Iain

Date2004-07-30 13:05
Fromiain duncan
Subject[CSOUND-DEV:5127] Re: Csound5 build report from Michael's snapshot, linux
steven yi wrote:
> Hi Iain,
> 
> I think this line in the SConstruct file is causing the "-Wl,-Bdynamic 
> -shared" to end up in quotes:
> 
> if (commonEnvironment['makeDynamic'] == 0) and (getPlatform() != 
> 'linux') and (getPlatform() != 'darwin'):
>     commonEnvironment.Append(LINKFLAGS = '-static')
> 
> Try changing that to:
> 
> if (commonEnvironment['makeDynamic'] == 0) and (getPlatform() != 
> 'linux') and (getPlatform() != 'darwin'):
>     commonEnvironment.Append(LINKFLAGS = ['-static'])
> 

No change for me, same error message.

Thanks
Iain




> steven
> 
> 
> 
> 
> iain duncan wrote:
> 
>> So trying out a download of Michael's snapshot I get the following 
>> error trying to build csound5, which of course I don't understand. ; ) 
>> I got the same error whether trying with build dynamic on or off in 
>> the Sconstruct file.
>>
>> gcc "-Wl,-Bdynamic -shared" -o libbabo.so Opcodes/babo.os -L. -L. -L. 
>> -L/usr/lib -L/usr/local/lib
>> /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/../../../../i386-pc-linux-gnu/bin/ld: 
>> unrecognized option '-Bdynamic -shared'
>> /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/../../../../i386-pc-linux-gnu/bin/ld: 
>> use the --help option for usage information
>> collect2: ld returned 1 exit status
>> scons: *** [libbabo.so] Error 1
>> scons: building terminated because of errors.
>>
>>
>> I also tried just using the csound.xmg in there, and while it ran, it 
>> didn't recognize vco2 or moogvcf as legal opcodes. Do I have to tell 
>> it somehow to look somewhere or are they just not in there yet?
>>
>> Thanks
>> Iain
>>
>>
>>
> 
> 

Date2004-07-30 19:58
Fromsteven yi
Subject[CSOUND-DEV:5125] Re: Csound5 build report from Michael's snapshot, linux
Hi Iain,

I think this line in the SConstruct file is causing the "-Wl,-Bdynamic 
-shared" to end up in quotes:

if (commonEnvironment['makeDynamic'] == 0) and (getPlatform() != 
'linux') and (getPlatform() != 'darwin'):
     commonEnvironment.Append(LINKFLAGS = '-static')

Try changing that to:

if (commonEnvironment['makeDynamic'] == 0) and (getPlatform() != 
'linux') and (getPlatform() != 'darwin'):
     commonEnvironment.Append(LINKFLAGS = ['-static'])

steven




iain duncan wrote:
> So trying out a download of Michael's snapshot I get the following error 
> trying to build csound5, which of course I don't understand. ; ) I got 
> the same error whether trying with build dynamic on or off in the 
> Sconstruct file.
> 
> gcc "-Wl,-Bdynamic -shared" -o libbabo.so Opcodes/babo.os -L. -L. -L. 
> -L/usr/lib -L/usr/local/lib
> /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/../../../../i386-pc-linux-gnu/bin/ld: 
> unrecognized option '-Bdynamic -shared'
> /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/../../../../i386-pc-linux-gnu/bin/ld: 
> use the --help option for usage information
> collect2: ld returned 1 exit status
> scons: *** [libbabo.so] Error 1
> scons: building terminated because of errors.
> 
> 
> I also tried just using the csound.xmg in there, and while it ran, it 
> didn't recognize vco2 or moogvcf as legal opcodes. Do I have to tell it 
> somehow to look somewhere or are they just not in there yet?
> 
> Thanks
> Iain
> 
> 
>