Build Failed

View: New views
6 Messages — Rating Filter:   Alert me  

Build Failed

by Scott Wilson-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm suddenly getting a build failed for the synth project.

ld: warning in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libsndfile.dylib, file is not of required architecture
Undefined symbols:
  "_sf_close", referenced from:
      BufCloseCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
      BufReadCmd::Stage2()      in SC_SequencedCommand.o
      BufReadCmd::Stage2()      in SC_SequencedCommand.o
      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      World_Cleanup(World*)     in SC_World.o
      World_Cleanup(World*)     in SC_World.o
      World_Cleanup(World*)     in SC_World.o
      World_Cleanup(World*)     in SC_World.o
      _World_NonRealTimeSynthesis in SC_World.o
      _World_NonRealTimeSynthesis in SC_World.o
  "_sf_error_str", referenced from:
      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
  "_sf_writef_float", referenced from:
      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
      _World_NonRealTimeSynthesis in SC_World.o
  "_sf_open", referenced from:
      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
      BufReadCmd::Stage2()      in SC_SequencedCommand.o
      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      _World_NonRealTimeSynthesis in SC_World.o
      _World_NonRealTimeSynthesis in SC_World.o
  "_sf_seek", referenced from:
      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
      BufReadCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
  "_sf_readf_float", referenced from:
      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
      BufReadCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      _World_NonRealTimeSynthesis in SC_World.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
** BUILD FAILED **


I thought this issue was resolved a long time ago. Is there something obvious that is causing this?

S.


_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

Re: Build Failed

by thelych :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Scott,

i do not have this problem for the Synth.xcodeproj (and the others).  rev 7543.

Have you compiled differently some modules or have you changed accidentally the architectures.
You can have those kind of messages if one library / component linked was compiled for a different arch.
is your libsndfile.a is the same target arch than your project ? (i had once a similar problem with liblo when i compiled a static lib from it but had a compatibility problem with target SDK and target architecture) -> Everything must match otherwise you can have those kind of messages.

hope that will help you for resolving it...

charles

Le 5 mai 08 à 14:35, Scott Wilson a écrit :
I'm suddenly getting a build failed for the synth project.

ld: warning in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libsndfile.dylib, file is not of required architecture
Undefined symbols:
  "_sf_close", referenced from:
      BufCloseCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
      BufReadCmd::Stage2()      in SC_SequencedCommand.o
      BufReadCmd::Stage2()      in SC_SequencedCommand.o
      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      World_Cleanup(World*)     in SC_World.o
      World_Cleanup(World*)     in SC_World.o
      World_Cleanup(World*)     in SC_World.o
      World_Cleanup(World*)     in SC_World.o
      _World_NonRealTimeSynthesis in SC_World.o
      _World_NonRealTimeSynthesis in SC_World.o
  "_sf_error_str", referenced from:
      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
  "_sf_writef_float", referenced from:
      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
      _World_NonRealTimeSynthesis in SC_World.o
  "_sf_open", referenced from:
      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
      BufReadCmd::Stage2()      in SC_SequencedCommand.o
      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      _World_NonRealTimeSynthesis in SC_World.o
      _World_NonRealTimeSynthesis in SC_World.o
  "_sf_seek", referenced from:
      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
      BufReadCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
  "_sf_readf_float", referenced from:
      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
      BufReadCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
      _World_NonRealTimeSynthesis in SC_World.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
** BUILD FAILED **


I thought this issue was resolved a long time ago. Is there something obvious that is causing this?

S.

_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel


_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

Re: Build Failed

by Dan Stowell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You may have installed some software which "helpfully" overwrote your
libsndfile with a single-arch version? That's my best guess. Check
using

lipo -info /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libsndfile.dylib

(The SDK version may itself just be a softlink)

Dan

2008/5/5  <thelych@...>:

>
> Hi Scott,
>
> i do not have this problem for the Synth.xcodeproj (and the others).  rev
> 7543.
>
> Have you compiled differently some modules or have you changed accidentally
> the architectures.
> You can have those kind of messages if one library / component linked was
> compiled for a different arch.
> is your libsndfile.a is the same target arch than your project ? (i had once
> a similar problem with liblo when i compiled a static lib from it but had a
> compatibility problem with target SDK and target architecture) -> Everything
> must match otherwise you can have those kind of messages.
>
> hope that will help you for resolving it...
>
> charles
> Le 5 mai 08 à 14:35, Scott Wilson a écrit :
>
>
> I'm suddenly getting a build failed for the synth project.
>
>
> ld: warning in
> /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libsndfile.dylib, file is not
> of required architecture
> Undefined symbols:
>   "_sf_close", referenced from:
>       BufCloseCmd::Stage2()      in SC_SequencedCommand.o
>       BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadCmd::Stage2()      in SC_SequencedCommand.o
>       BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>       BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       World_Cleanup(World*)     in SC_World.o
>       World_Cleanup(World*)     in SC_World.o
>       World_Cleanup(World*)     in SC_World.o
>       World_Cleanup(World*)     in SC_World.o
>       _World_NonRealTimeSynthesis in SC_World.o
>       _World_NonRealTimeSynthesis in SC_World.o
>   "_sf_error_str", referenced from:
>       BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>   "_sf_writef_float", referenced from:
>       BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>       _World_NonRealTimeSynthesis in SC_World.o
>   "_sf_open", referenced from:
>       BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadCmd::Stage2()      in SC_SequencedCommand.o
>       BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>       BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       _World_NonRealTimeSynthesis in SC_World.o
>       _World_NonRealTimeSynthesis in SC_World.o
>   "_sf_seek", referenced from:
>       BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadCmd::Stage2()      in SC_SequencedCommand.o
>       BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>   "_sf_readf_float", referenced from:
>       BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadCmd::Stage2()      in SC_SequencedCommand.o
>       BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>       _World_NonRealTimeSynthesis in SC_World.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> ** BUILD FAILED **
>
>
> I thought this issue was resolved a long time ago. Is there something
> obvious that is causing this?
>
> S.
>
> _______________________________________________
> Sc-devel mailing list
> Sc-devel@...
> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>
>
> _______________________________________________
>  Sc-devel mailing list
>  Sc-devel@...
>  http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>
>



--
http://www.mcld.co.uk
_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

Re: Build Failed

by Josh Parmenter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I run into this on occasion... is there a way to get XCode to ignore a  
libsndfile in /usr/local/lib and just look at the included version?

best,

Josh

On May 5, 2008, at 7:32 AM, Dan Stowell wrote:

> You may have installed some software which "helpfully" overwrote your
> libsndfile with a single-arch version? That's my best guess. Check
> using
>
> lipo -info /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/
> libsndfile.dylib
>
> (The SDK version may itself just be a softlink)
>
> Dan
>
> 2008/5/5  <thelych@...>:
>>
>> Hi Scott,
>>
>> i do not have this problem for the Synth.xcodeproj (and the  
>> others).  rev
>> 7543.
>>
>> Have you compiled differently some modules or have you changed  
>> accidentally
>> the architectures.
>> You can have those kind of messages if one library / component  
>> linked was
>> compiled for a different arch.
>> is your libsndfile.a is the same target arch than your project ? (i  
>> had once
>> a similar problem with liblo when i compiled a static lib from it  
>> but had a
>> compatibility problem with target SDK and target architecture) ->  
>> Everything
>> must match otherwise you can have those kind of messages.
>>
>> hope that will help you for resolving it...
>>
>> charles
>> Le 5 mai 08 à 14:35, Scott Wilson a écrit :
>>
>>
>> I'm suddenly getting a build failed for the synth project.
>>
>>
>> ld: warning in
>> /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libsndfile.dylib,  
>> file is not
>> of required architecture
>> Undefined symbols:
>>  "_sf_close", referenced from:
>>      BufCloseCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      World_Cleanup(World*)     in SC_World.o
>>      World_Cleanup(World*)     in SC_World.o
>>      World_Cleanup(World*)     in SC_World.o
>>      World_Cleanup(World*)     in SC_World.o
>>      _World_NonRealTimeSynthesis in SC_World.o
>>      _World_NonRealTimeSynthesis in SC_World.o
>>  "_sf_error_str", referenced from:
>>      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>>  "_sf_writef_float", referenced from:
>>      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>>      _World_NonRealTimeSynthesis in SC_World.o
>>  "_sf_open", referenced from:
>>      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      _World_NonRealTimeSynthesis in SC_World.o
>>      _World_NonRealTimeSynthesis in SC_World.o
>>  "_sf_seek", referenced from:
>>      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>  "_sf_readf_float", referenced from:
>>      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      _World_NonRealTimeSynthesis in SC_World.o
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> ** BUILD FAILED **
>>
>>
>> I thought this issue was resolved a long time ago. Is there something
>> obvious that is causing this?
>>
>> S.
>>
>> _______________________________________________
>> Sc-devel mailing list
>> Sc-devel@...
>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>>
>>
>> _______________________________________________
>> Sc-devel mailing list
>> Sc-devel@...
>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>>
>>
>
>
>
> --
> http://www.mcld.co.uk
> _______________________________________________
> Sc-devel mailing list
> Sc-devel@...
> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/

_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

Re: Build Failed

by Scott Wilson-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This problem used to occur some time ago because XCode would link the  
dynamic library by default rather than the static one which is  
included with distro. Killing the symlink to the dynamic lib lets it  
build.

I'd thought this had been fixed though, but I can't recall how.

S.

On 5 May 2008, at 15:32, Dan Stowell wrote:

> You may have installed some software which "helpfully" overwrote your
> libsndfile with a single-arch version? That's my best guess. Check
> using
>
> lipo -info /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/
> libsndfile.dylib
>
> (The SDK version may itself just be a softlink)
>
> Dan
>
> 2008/5/5  <thelych@...>:
>>
>> Hi Scott,
>>
>> i do not have this problem for the Synth.xcodeproj (and the  
>> others).  rev
>> 7543.
>>
>> Have you compiled differently some modules or have you changed  
>> accidentally
>> the architectures.
>> You can have those kind of messages if one library / component  
>> linked was
>> compiled for a different arch.
>> is your libsndfile.a is the same target arch than your project ? (i  
>> had once
>> a similar problem with liblo when i compiled a static lib from it  
>> but had a
>> compatibility problem with target SDK and target architecture) ->  
>> Everything
>> must match otherwise you can have those kind of messages.
>>
>> hope that will help you for resolving it...
>>
>> charles
>> Le 5 mai 08 à 14:35, Scott Wilson a écrit :
>>
>>
>> I'm suddenly getting a build failed for the synth project.
>>
>>
>> ld: warning in
>> /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libsndfile.dylib,  
>> file is not
>> of required architecture
>> Undefined symbols:
>>  "_sf_close", referenced from:
>>      BufCloseCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      World_Cleanup(World*)     in SC_World.o
>>      World_Cleanup(World*)     in SC_World.o
>>      World_Cleanup(World*)     in SC_World.o
>>      World_Cleanup(World*)     in SC_World.o
>>      _World_NonRealTimeSynthesis in SC_World.o
>>      _World_NonRealTimeSynthesis in SC_World.o
>>  "_sf_error_str", referenced from:
>>      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>>  "_sf_writef_float", referenced from:
>>      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>>      _World_NonRealTimeSynthesis in SC_World.o
>>  "_sf_open", referenced from:
>>      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      _World_NonRealTimeSynthesis in SC_World.o
>>      _World_NonRealTimeSynthesis in SC_World.o
>>  "_sf_seek", referenced from:
>>      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>  "_sf_readf_float", referenced from:
>>      BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>      _World_NonRealTimeSynthesis in SC_World.o
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> ** BUILD FAILED **
>>
>>
>> I thought this issue was resolved a long time ago. Is there something
>> obvious that is causing this?
>>
>> S.
>>
>> _______________________________________________
>> Sc-devel mailing list
>> Sc-devel@...
>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>>
>>
>> _______________________________________________
>> Sc-devel mailing list
>> Sc-devel@...
>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>>
>>
>
>
>
> --
> http://www.mcld.co.uk
> _______________________________________________
> Sc-devel mailing list
> Sc-devel@...
> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

Re: Build Failed

by LFSaw :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It wasn't fixed, because no-one cared... (and I didn't know how  
actually... :-)

Till

On 05.05.2008, at 19:05, Scott Wilson wrote:

> This problem used to occur some time ago because XCode would link the
> dynamic library by default rather than the static one which is
> included with distro. Killing the symlink to the dynamic lib lets it
> build.
>
> I'd thought this had been fixed though, but I can't recall how.
>
> S.
>
> On 5 May 2008, at 15:32, Dan Stowell wrote:
>
>> You may have installed some software which "helpfully" overwrote your
>> libsndfile with a single-arch version? That's my best guess. Check
>> using
>>
>> lipo -info /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/
>> libsndfile.dylib
>>
>> (The SDK version may itself just be a softlink)
>>
>> Dan
>>
>> 2008/5/5  <thelych@...>:
>>>
>>> Hi Scott,
>>>
>>> i do not have this problem for the Synth.xcodeproj (and the
>>> others).  rev
>>> 7543.
>>>
>>> Have you compiled differently some modules or have you changed
>>> accidentally
>>> the architectures.
>>> You can have those kind of messages if one library / component
>>> linked was
>>> compiled for a different arch.
>>> is your libsndfile.a is the same target arch than your project ? (i
>>> had once
>>> a similar problem with liblo when i compiled a static lib from it
>>> but had a
>>> compatibility problem with target SDK and target architecture) ->
>>> Everything
>>> must match otherwise you can have those kind of messages.
>>>
>>> hope that will help you for resolving it...
>>>
>>> charles
>>> Le 5 mai 08 à 14:35, Scott Wilson a écrit :
>>>
>>>
>>> I'm suddenly getting a build failed for the synth project.
>>>
>>>
>>> ld: warning in
>>> /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libsndfile.dylib,
>>> file is not
>>> of required architecture
>>> Undefined symbols:
>>> "_sf_close", referenced from:
>>>     BufCloseCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     World_Cleanup(World*)     in SC_World.o
>>>     World_Cleanup(World*)     in SC_World.o
>>>     World_Cleanup(World*)     in SC_World.o
>>>     World_Cleanup(World*)     in SC_World.o
>>>     _World_NonRealTimeSynthesis in SC_World.o
>>>     _World_NonRealTimeSynthesis in SC_World.o
>>> "_sf_error_str", referenced from:
>>>     BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>>> "_sf_writef_float", referenced from:
>>>     BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>>>     _World_NonRealTimeSynthesis in SC_World.o
>>> "_sf_open", referenced from:
>>>     BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufWriteCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     _World_NonRealTimeSynthesis in SC_World.o
>>>     _World_NonRealTimeSynthesis in SC_World.o
>>> "_sf_seek", referenced from:
>>>     BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>> "_sf_readf_float", referenced from:
>>>     BufAllocReadCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufAllocReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     BufReadChannelCmd::Stage2()      in SC_SequencedCommand.o
>>>     _World_NonRealTimeSynthesis in SC_World.o
>>> ld: symbol(s) not found
>>> collect2: ld returned 1 exit status
>>> ** BUILD FAILED **
>>>
>>>
>>> I thought this issue was resolved a long time ago. Is there  
>>> something
>>> obvious that is causing this?
>>>
>>> S.
>>>
>>> _______________________________________________
>>> Sc-devel mailing list
>>> Sc-devel@...
>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>>>
>>>
>>> _______________________________________________
>>> Sc-devel mailing list
>>> Sc-devel@...
>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>>>
>>>
>>
>>
>>
>> --
>> http://www.mcld.co.uk
>> _______________________________________________
>> Sc-devel mailing list
>> Sc-devel@...
>> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>
> _______________________________________________
> Sc-devel mailing list
> Sc-devel@...
> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel