Hi there, I'm here using a nice new Macbook Pro (Leopard) and fumbling around with trying to get Dolphin built.
I've been using the handy guide over on the Dolphin Google Code page; I've gotten myself all the required dependancies (though I used the package installer off of creativelabs for OpenAL rather than compiling it myself).
I'm now trying to compile Dolphin using scons and I've hit a bit of a wall.
So it would seem that I'm missing 'sync lock test and set', 'sync or and fetch' and soforth. My question is simple: what am I doing wrong, and how do I stop doing it wrong?
I've been using the handy guide over on the Dolphin Google Code page; I've gotten myself all the required dependancies (though I used the package installer off of creativelabs for OpenAL rather than compiling it myself).
I'm now trying to compile Dolphin using scons and I've hit a bit of a wall.
Code:
scons: Reading SConscript files ...
Checking for pkg-config version > 0.15.0... (cached) yes
Looking for macports... (cached) Adding port lib and include path(cached) yes
Looking for fink... (cached) no
Checking for sdl lib version > 1.0.0... (cached) yes
Checking for bluez... (cached)
Looking for framework bluez... (cached)
Using pkg-config for bluez... (cached) no
Looking for lib bluez... (cached) no
Checking for ao... (cached)
Looking for framework ao... (cached)
Using pkg-config for ao... (cached) yes
Checking for openal... (cached)
Looking for framework openal... (cached) yes
Checking for sfml-network... (cached)
Looking for framework sfml-network... (cached)
Using pkg-config for sfml-network... (cached) no
Looking for lib sfml-network... (cached) no
Checking for wxWidgets >= 2.8... (cached) yes
Checking for OpenGL... (cached)
Looking for framework OpenGL... (cached) yes
Checking for Cg... (cached)
Looking for framework Cg... (cached) yes
Checking for GLEW... (cached)
Looking for framework GLEW... (cached)
Using pkg-config for glew... (cached) no
Looking for lib GLEW... (cached) yes
Plugin_PadSimpleEvnt Doesn't work without testgl
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: Build/Darwin-i386-release
Compiling Build/Darwin-i386-release/Source/Core/Core/Src/HW/CommandProcessor.o
Source/Core/Common/Src/Atomic_GCC.h: In function 'void Common::AtomicAdd(volatile u32&, u32)':
Source/Core/Common/Src/Atomic_GCC.h:41: error: '__sync_add_and_fetch' was not declared in this scope
Source/Core/Common/Src/Atomic_GCC.h: In function 'void Common::AtomicAnd(volatile u32&, u32)':
Source/Core/Common/Src/Atomic_GCC.h:45: error: '__sync_and_and_fetch' was not declared in this scope
Source/Core/Common/Src/Atomic_GCC.h: In function 'void Common::AtomicIncrement(volatile u32&)':
Source/Core/Common/Src/Atomic_GCC.h:49: error: '__sync_add_and_fetch' was not declared in this scope
Source/Core/Common/Src/Atomic_GCC.h: In function 'u32 Common::AtomicLoadAcquire(volatile u32&)':
Source/Core/Common/Src/Atomic_GCC.h:56: error: '__sync_synchronize' was not declared in this scope
Source/Core/Common/Src/Atomic_GCC.h: In function 'void Common::AtomicOr(volatile u32&, u32)':
Source/Core/Common/Src/Atomic_GCC.h:61: error: '__sync_or_and_fetch' was not declared in this scope
Source/Core/Common/Src/Atomic_GCC.h: In function 'void Common::AtomicStoreRelease(volatile u32&, u32)':
Source/Core/Common/Src/Atomic_GCC.h:68: error: '__sync_lock_test_and_set' was not declared in this scope
scons: *** [Build/Darwin-i386-release/Source/Core/Core/Src/HW/CommandProcessor.o] Error 1
scons: building terminated because of errors.
So it would seem that I'm missing 'sync lock test and set', 'sync or and fetch' and soforth. My question is simple: what am I doing wrong, and how do I stop doing it wrong?