Dolphin, the GameCube and Wii emulator - Forums
Hlep with error when building (r3115) - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Development Discussion (https://forums.dolphin-emu.org/Forum-development-discussion)
+--- Thread: Hlep with error when building (r3115) (/Thread-hlep-with-error-when-building-r3115)



Hlep with error when building (r3115) - Delfioh - 05-01-2009

*EDIT: Problem solved, i just added -march=i686 to the compile flags*


Hi, i'm new here.
I'm trying to build Dolphin from SVN on Fedora 10 (i686) and i have all the packages needed to do it.
When i run scons i get this error at the end:
Linking Binary/Linux-i686/Dolphin
Build/Linux-i686-release/libs/libcommon.a(Thread.o): In function `Common::SyncInterlockedExchangeAdd(int*, int)':
Thread.cppSad.text+0x46): undefined reference to `__sync_add_and_fetch_4'
Build/Linux-i686-release/libs/libcommon.a(Thread.o): In function `Common::SyncInterlockedIncrement(int*)':
Thread.cppSad.text+0x71): undefined reference to `__sync_add_and_fetch_4'
collect2: ld returned 1 exit status
scons: *** [Binary/Linux-i686/Dolphin] Error 1
scons: building terminated because of errors.

Can anyone help me?
Thanks
Ok, it seems to work, i tried my backup of Wario Ware and it works, but it seems i can't get Smash Bros Brawl to work, any solution?