09-24-2013, 12:28 AM
I'm running Linux Mint 13 (32-bit), with backported packages.
I've been trying to build the latest (by which I mean, git master branch at the time of this posting) version of Dolphin-emu. I have all the dependencies (except, instead of libreadline-gplv2-dev I have libreadline-dev and libreadline6-dev, but I don't know if this is significant - I can't change it because package conflict)
The cmake step works fine. When I try to run make, it stops at file Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/Src/Mixer.cpp.o and throws an error. The full make output is in the following spoiler:
Please advise.
I've been trying to build the latest (by which I mean, git master branch at the time of this posting) version of Dolphin-emu. I have all the dependencies (except, instead of libreadline-gplv2-dev I have libreadline-dev and libreadline6-dev, but I don't know if this is significant - I can't change it because package conflict)
The cmake step works fine. When I try to run make, it stops at file Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/Src/Mixer.cpp.o and throws an error. The full make output is in the following spoiler:
Spoiler: (Show Spoiler)
$ make
[ 0%] Built target bdisasm
[ 1%] Built target SoundTouch
[ 2%] Built target sfml-network
[ 3%] Built target miniupnpc
[ 8%] Built target polarssl
[ 8%] Built target GLEW
[ 9%] Built target clrun
[ 54%] Built target wx
[ 54%] Building CXX object Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/Src/Mixer.cpp.o
In file included from /home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic.h:15:0,
from /home/vesa/tmp/dolphin-emu/Source/Core/AudioCommon/Src/Mixer.cpp:5:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoad(volatile T&)’:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:61:31: error: ‘__ATOMIC_RELAXED’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoadAcquire(volatile T&)’:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:66:31: error: ‘__ATOMIC_ACQUIRE’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘void Common::AtomicStore(volatile T&, U)’:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:71:33: error: ‘__ATOMIC_RELAXED’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘void Common::AtomicStoreRelease(volatile T&, U)’:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:76:33: error: ‘__ATOMIC_RELEASE’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T* Common::AtomicExchangeAcquire(T* volatile&, U)’:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:81:43: error: ‘__ATOMIC_ACQ_REL’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoad(volatile T&) [with T = unsigned int]’:
/home/vesa/tmp/dolphin-emu/Source/Core/AudioCommon/Src/Mixer.cpp:53:42: instantiated from here
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:61:47: error: ‘__atomic_load_n’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘void Common::AtomicStore(volatile T&, U) [with T = unsigned int, U = unsigned int]’:
/home/vesa/tmp/dolphin-emu/Source/Core/AudioCommon/Src/Mixer.cpp:130:38: instantiated from here
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:71:2: error: ‘__atomic_store_n’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoad(volatile T&) [with T = unsigned int]’:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:62:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/Src/Mixer.cpp.o] Error 1
make[1]: *** [Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/all] Error 2
make: *** [all] Error 2
[ 0%] Built target bdisasm
[ 1%] Built target SoundTouch
[ 2%] Built target sfml-network
[ 3%] Built target miniupnpc
[ 8%] Built target polarssl
[ 8%] Built target GLEW
[ 9%] Built target clrun
[ 54%] Built target wx
[ 54%] Building CXX object Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/Src/Mixer.cpp.o
In file included from /home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic.h:15:0,
from /home/vesa/tmp/dolphin-emu/Source/Core/AudioCommon/Src/Mixer.cpp:5:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoad(volatile T&)’:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:61:31: error: ‘__ATOMIC_RELAXED’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoadAcquire(volatile T&)’:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:66:31: error: ‘__ATOMIC_ACQUIRE’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘void Common::AtomicStore(volatile T&, U)’:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:71:33: error: ‘__ATOMIC_RELAXED’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘void Common::AtomicStoreRelease(volatile T&, U)’:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:76:33: error: ‘__ATOMIC_RELEASE’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T* Common::AtomicExchangeAcquire(T* volatile&, U)’:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:81:43: error: ‘__ATOMIC_ACQ_REL’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoad(volatile T&) [with T = unsigned int]’:
/home/vesa/tmp/dolphin-emu/Source/Core/AudioCommon/Src/Mixer.cpp:53:42: instantiated from here
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:61:47: error: ‘__atomic_load_n’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘void Common::AtomicStore(volatile T&, U) [with T = unsigned int, U = unsigned int]’:
/home/vesa/tmp/dolphin-emu/Source/Core/AudioCommon/Src/Mixer.cpp:130:38: instantiated from here
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:71:2: error: ‘__atomic_store_n’ was not declared in this scope
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoad(volatile T&) [with T = unsigned int]’:
/home/vesa/tmp/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:62:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/Src/Mixer.cpp.o] Error 1
make[1]: *** [Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/all] Error 2
make: *** [all] Error 2
Please advise.