On 4 April 2011 21:23, Jeremy Henty <onepoint(a)starurchin.org> 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-ato…
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(a)lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user