Re: [LAU] yoshimi 0.060.8

From: James Morris <jwm.art.net@email-addr-hidden>
Date: Tue Apr 05 2011 - 00:14:16 EEST

On 4 April 2011 21:23, Jeremy Henty <onepoint@email-addr-hidden> wrote:
>
> :-(
>
>    Linking CXX executable yoshimi
>    CMakeFiles/yoshimi.dir/Misc/SynthEngine.cpp.o: In function `SynthEngine::MasterAudio(float*, float*)':
>    SynthEngine.cpp:(.text+0x1483): undefined reference to `__sync_add_and_fetch_4'
>    CMakeFiles/yoshimi.dir/Misc/SynthEngine.cpp.o: In function `SynthEngine::NoteOn(unsigned char, unsigned char, unsigned char)':
>    SynthEngine.cpp:(.text+0x2eaa): undefined reference to `__sync_add_and_fetch_4'
>    CMakeFiles/yoshimi.dir/Misc/Part.cpp.o: In function `Part::ComputePartSmps()':
>    Part.cpp:(.text+0x111f): undefined reference to `__sync_add_and_fetch_4'
>    collect2: ld returned 1 exit status
>    make[2]: *** [yoshimi] Error 1
>    make[1]: *** [CMakeFiles/yoshimi.dir/all] Error 2
>    make: *** [all] Error 2
>
> yoshimi-0.058.1 compiled fine on the same host.  How can I investigate
> further?

an allegedly monopolistic search engine returns:

http://stackoverflow.com/questions/130740/link-error-when-compiling-gcc-atomic-operation-in-32-bit-mode

that and running ccmake and inspecting what I see there makes me think
you don't have core2/amd64 based system?

so try adding -march=i486 to the BuildOptionsBasic field when running ccmake.

my best guess.

James.

>
> Details: Linux From Scratch, kernel 2.6.38.2, gcc 4.4.1, ftlk-1.1.10 .
>
> Regards, and thanks for your work,
>
> Jeremy Henty
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@email-addr-hidden
> http://lists.linuxaudio.org/listinfo/linux-audio-user
>
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Apr 5 00:15:03 2011

This archive was generated by hypermail 2.1.8 : Tue Apr 05 2011 - 00:15:03 EEST