Hi.
I recently upgraded from Linux Mint 20.3 to 21.1 via a clean install. I was attempting to compile on Linux but I'm running into errors with (apparently) the mgba submodule.
cmake output:
make output:
This is the main problem:
It seems that some of the source files are not being found. What could be the cause of this? Any and all help is appreciated.
I recently upgraded from Linux Mint 20.3 to 21.1 via a clean install. I was attempting to compile on Linux but I'm running into errors with (apparently) the mgba submodule.
cmake output:
Spoiler:
Code:
CMake Deprecation Warning at CMakeLists.txt:7 (cmake_policy):
The OLD behavior for policy CMP0080 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.34.1")
-- Detected architecture: x86_64
-- Performing Test FLAG_C_HAVE_SSE2
-- Performing Test FLAG_C_HAVE_SSE2 - Success
-- Performing Test FLAG_CXX_HAVE_SSE2
-- Performing Test FLAG_CXX_HAVE_SSE2 - Success
-- Performing Test FLAG_C_NO_STRICT_ALIASING
-- Performing Test FLAG_C_NO_STRICT_ALIASING - Success
-- Performing Test FLAG_CXX_NO_STRICT_ALIASING
-- Performing Test FLAG_CXX_NO_STRICT_ALIASING - Success
-- Performing Test FLAG_C_NO_EXCEPTIONS
-- Performing Test FLAG_C_NO_EXCEPTIONS - Success
-- Performing Test FLAG_CXX_NO_EXCEPTIONS
-- Performing Test FLAG_CXX_NO_EXCEPTIONS - Success
-- Performing Test FLAG_C_VISIBILITY_INLINES_HIDDEN
-- Performing Test FLAG_C_VISIBILITY_INLINES_HIDDEN - Failed
-- Performing Test FLAG_CXX_VISIBILITY_INLINES_HIDDEN
-- Performing Test FLAG_CXX_VISIBILITY_INLINES_HIDDEN - Success
-- Performing Test FLAG_C_VISIBILITY_HIDDEN
-- Performing Test FLAG_C_VISIBILITY_HIDDEN - Success
-- Performing Test FLAG_CXX_VISIBILITY_HIDDEN
-- Performing Test FLAG_CXX_VISIBILITY_HIDDEN - Success
-- Performing Test FLAG_C_FOMIT_FRAME_POINTER
-- Performing Test FLAG_C_FOMIT_FRAME_POINTER - Success
-- Performing Test FLAG_CXX_FOMIT_FRAME_POINTER
-- Performing Test FLAG_CXX_FOMIT_FRAME_POINTER - Success
-- Performing Test FLAG_C_GGDB
-- Performing Test FLAG_C_GGDB - Success
-- Performing Test FLAG_CXX_GGDB
-- Performing Test FLAG_CXX_GGDB - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Xrandr found
-- Checking for module 'xi>=1.5.0'
-- Found xi, version 1.8
-- X11 support enabled
-- Checking for module 'egl'
-- Found egl, version 1.5
-- Found EGL: /usr/include
-- EGL OpenGL interface enabled
-- Found avcodec: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavcodec.so
-- Found avformat: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavformat.so
-- Found avutil: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libavutil.so
-- Found swresample: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libswresample.so
-- Found swscale: /usr/include/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libswscale.so
-- Found FFmpeg: /usr/include/x86_64-linux-gnu found components: avcodec avformat avutil swresample swscale
-- libav/ffmpeg found, enabling AVI frame dumps
-- Found LIBUDEV: /usr/lib/x86_64-linux-gnu/libudev.so
-- Found LIBEVDEV: /usr/lib/x86_64-linux-gnu/libevdev.so
-- libevdev/libudev found, enabling evdev controller backend
-- Using named pipes as controller inputs
-- Watching game memory for changes
-- Enabling analytics collection (subject to end-user opt-in)
-- Enabling automatic update support
-- Performing Test FLAG_C_CXX11
-- Performing Test FLAG_C_CXX11 - Failed
-- Performing Test FLAG_CXX_CXX11
-- Performing Test FLAG_CXX_CXX11 - Success
-- Using shared fmt 8.1.1
-- Found pugixml: /usr/lib/x86_64-linux-gnu/libpugixml.so
-- Using static enet from Externals
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for poll
-- Looking for poll - found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for getnameinfo
-- Looking for getnameinfo - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Performing Test HAS_MSGHDR_FLAGS
-- Performing Test HAS_MSGHDR_FLAGS - Success
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Using static xxhash from Externals
-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Using shared bzip2
-- Looking for lzma_auto_decoder in /usr/lib/x86_64-linux-gnu/liblzma.so
-- Looking for lzma_auto_decoder in /usr/lib/x86_64-linux-gnu/liblzma.so - found
-- Looking for lzma_easy_encoder in /usr/lib/x86_64-linux-gnu/liblzma.so
-- Looking for lzma_easy_encoder in /usr/lib/x86_64-linux-gnu/liblzma.so - found
-- Looking for lzma_lzma_preset in /usr/lib/x86_64-linux-gnu/liblzma.so
-- Looking for lzma_lzma_preset in /usr/lib/x86_64-linux-gnu/liblzma.so - found
-- Found LibLZMA: /usr/lib/x86_64-linux-gnu/liblzma.so (found version "5.2.5")
-- Looking for lzma.h
-- Looking for lzma.h - found
-- Using shared lzma
-- Looking for zstd.h
-- Looking for zstd.h - not found
-- Shared zstd not found, falling back to the static library
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - done
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Using CMake version 3.22.1
-- ZLIB_HEADER_VERSION: 1.2.12
-- ZLIBNG_HEADER_VERSION: 2.1.0.devel
-- Arch detected: 'x86_64'
-- Basearch of 'x86_64' has been detected as: 'x86'
-- Performing Test FNO_LTO_AVAILABLE
-- Performing Test FNO_LTO_AVAILABLE - Success
-- Looking for sys/auxv.h
-- Looking for sys/auxv.h - found
-- Looking for sys/sdt.h
-- Looking for sys/sdt.h - not found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Performing Test HAVE_NO_INTERPOSITION
-- Performing Test HAVE_NO_INTERPOSITION - Success
-- Performing Test HAVE_ATTRIBUTE_VISIBILITY_HIDDEN
-- Performing Test HAVE_ATTRIBUTE_VISIBILITY_HIDDEN - Success
-- Performing Test HAVE_ATTRIBUTE_VISIBILITY_INTERNAL
-- Performing Test HAVE_ATTRIBUTE_VISIBILITY_INTERNAL - Success
-- Performing Test HAVE_BUILTIN_CTZ
-- Performing Test HAVE_BUILTIN_CTZ - Success
-- Performing Test HAVE_BUILTIN_CTZLL
-- Performing Test HAVE_BUILTIN_CTZLL - Success
-- Performing Test HAVE_PTRDIFF_T
-- Performing Test HAVE_PTRDIFF_T - Success
-- Performing Test HAVE_AVX2_INTRIN
-- Performing Test HAVE_AVX2_INTRIN - Success
-- Performing Test HAVE_AVX512_INTRIN
-- Performing Test HAVE_AVX512_INTRIN - Success
-- Performing Test HAVE_MASK_INTRIN
-- Performing Test HAVE_MASK_INTRIN - Success
-- Performing Test HAVE_AVX512VNNI_INTRIN
-- Performing Test HAVE_AVX512VNNI_INTRIN - Success
-- Performing Test HAVE_SSE41_INTRIN
-- Performing Test HAVE_SSE41_INTRIN - Success
-- Performing Test HAVE_SSE42CRC_INLINE_ASM
-- Performing Test HAVE_SSE42CRC_INLINE_ASM - Success
-- Performing Test HAVE_SSE42CRC_INTRIN
-- Performing Test HAVE_SSE42CRC_INTRIN - Success
-- Performing Test HAVE_SSE42CMPSTR_INTRIN
-- Performing Test HAVE_SSE42CMPSTR_INTRIN - Success
-- Performing Test HAVE_SSE2_INTRIN
-- Performing Test HAVE_SSE2_INTRIN - Success
-- Performing Test HAVE_SSSE3_INTRIN
-- Performing Test HAVE_SSSE3_INTRIN - Success
-- Performing Test HAVE_PCLMULQDQ_INTRIN
-- Performing Test HAVE_PCLMULQDQ_INTRIN - Success
-- Performing Test HAVE_VPCLMULQDQ_INTRIN
-- Performing Test HAVE_VPCLMULQDQ_INTRIN - Failed
-- Architecture-specific source files: arch/x86/x86_features.c;arch/x86/slide_hash_avx2.c;arch/x86/chunkset_avx.c;arch/x86/compare256_avx2.c;arch/x86/adler32_avx2.c;arch/x86/adler32_avx512.c;arch/x86/adler32_avx512_vnni.c;arch/x86/chunkset_sse41.c;arch/x86/adler32_sse42.c;arch/x86/insert_string_sse42.c;arch/x86/chunkset_sse2.c;arch/x86/compare256_sse2.c;arch/x86/slide_hash_sse2.c;arch/x86/adler32_ssse3.c;arch/x86/crc32_fold_pclmulqdq.c
-- The following features have been enabled:
* CMAKE_BUILD_TYPE, Build type: Release (selected)
* AVX2_SLIDEHASH, Support AVX2 optimized slide_hash, using "-mavx2"
* AVX_CHUNKSET, Support AVX optimized chunkset, using "-mavx2"
* AVX2_COMPARE256, Support AVX2 optimized compare256, using "-mavx2"
* AVX2_ADLER32, Support AVX2-accelerated adler32, using "-mavx2"
* AVX512_ADLER32, Support AVX512-accelerated adler32, using "-mavx512f -mavx512dq -mavx512bw -mavx512vl -mtune=cascadelake"
* AVX512VNNI_ADLER32, Support AVX512VNNI adler32, using "-mavx512f -mavx512dq -mavx512bw -mavx512vl -mavx512vnni -mtune=cascadelake"
* SSE42_CRC, Support SSE4.2 optimized CRC hash generation, using "-msse4.2"
* SSSE3_ADLER32, Support SSSE3-accelerated adler32, using "-mssse3"
* PCLMUL_CRC, Support CRC hash generation using PCLMULQDQ, using "-mssse3 -msse4.2 -mpclmul"
* WITH_GZFILEOP, Compile with support for gzFile related functions
* ZLIB_COMPAT, Compile with zlib compatible API
* WITH_SANITIZER, Enable sanitizer support
* WITH_OPTIM, Build with optimisation
* WITH_NEW_STRATEGIES, Use new strategies
* WITH_AVX2, Build with AVX2
* WITH_AVX512, Build with AVX512
* WITH_AVX512VNNI, Build with AVX512 VNNI
* WITH_SSE2, Build with SSE2
* WITH_SSSE3, Build with SSSE3
* WITH_SSE41, Build with SSE41
* WITH_SSE42, Build with SSE42
* WITH_PCLMULQDQ, Build with PCLMULQDQ
-- The following OPTIONAL packages have been found:
* Git
* Threads
* OpenGL
* Freetype
* Fontconfig
* X11
* EGL
* FFmpeg
* PkgConfig
* fmt (required version >= 8)
* pugixml
* BZip2
* LibLZMA
-- The following REQUIRED packages have been found:
* LIBUDEV
* LIBEVDEV
-- The following features have been disabled:
* FORCE_TZCNT, Assume CPU is TZCNT capable
* ZLIB_SYMBOL_PREFIX, Publicly exported symbols DO NOT have a custom prefix
* ZLIB_ENABLE_TESTS, Build test binaries
* WITH_FUZZERS, Build test/fuzz
* WITH_BENCHMARKS, Build test/benchmarks
* WITH_BENCHMARK_APPS, Build application benchmarks
* WITH_NATIVE_INSTRUCTIONS, Instruct the compiler to use the full instruction set on this host (gcc/clang -march=native)
* WITH_MAINTAINER_WARNINGS, Build with project maintainer warnings
* WITH_CODE_COVERAGE, Enable code coverage reporting
* WITH_INFLATE_STRICT, Build with strict inflate distance checking
* WITH_INFLATE_ALLOW_INVALID_DIST, Build with zero fill for inflate invalid distances
* WITH_VPCLMULQDQ, Build with VPCLMULQDQ
* INSTALL_UTILS, Copy minigzip and minideflate during install
-- Checking for module 'minizip-ng>=3.0.0'
-- No package 'minizip-ng' found
-- Shared minizip not found, falling back to the static library
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Using static lzo from Externals
-- Using static FreeSurround from Externals
-- Could NOT find CUBEB (missing: CUBEB_INCLUDE_DIR CUBEB_LIBRARY)
-- Using static cubeb from Externals
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Checking for module 'speexdsp'
-- No package 'speexdsp' found
-- Looking for include file pulse/pulseaudio.h
-- Looking for include file pulse/pulseaudio.h - found
-- Looking for include file alsa/asoundlib.h
-- Looking for include file alsa/asoundlib.h - found
-- Looking for include file jack/jack.h
-- Looking for include file jack/jack.h - not found
-- Looking for include file sndio.h
-- Looking for include file sndio.h - found
-- Looking for include file AudioUnit/AudioUnit.h
-- Looking for include file AudioUnit/AudioUnit.h - not found
-- Looking for include file audioclient.h
-- Looking for include file audioclient.h - not found
-- Looking for include files windows.h, mmsystem.h
-- Looking for include files windows.h, mmsystem.h - not found
-- Looking for include file SLES/OpenSLES.h
-- Looking for include file SLES/OpenSLES.h - not found
-- Looking for include file sys/soundcard.h
-- Looking for include file sys/soundcard.h - found
-- Looking for include file android/log.h
-- Looking for include file android/log.h - not found
-- Looking for include file sys/audioio.h
-- Looking for include file sys/audioio.h - not found
-- Looking for include file kai.h
-- Looking for include file kai.h - not found
-- Checking for module 'libusb-1.0'
-- Found libusb-1.0, version 1.0.25
-- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib/x86_64-linux-gnu/libusb-1.0.so
-- Using shared LibUSB
-- Could NOT find SFML (missing: SFML_NETWORK_LIBRARY SFML_SYSTEM_LIBRARY)
-- Using static SFML 2.1 from Externals
-- Could NOT find MINIUPNPC (missing: MINIUPNPC_INCLUDE_DIR MINIUPNPC_LIBRARY MINIUPNPC_API_VERSION)
-- Using static miniupnpc from Externals
-- Performing Test MBEDTLS_VERSION_OK
-- Performing Test MBEDTLS_VERSION_OK - Failed
-- Could NOT find MBEDTLS (missing: MBEDTLS_INCLUDE_DIR MBEDTLS_LIBRARY MBEDX509_LIBRARY MBEDCRYPTO_LIBRARY MBEDTLS_VERSION_OK)
-- Using static mbed TLS from Externals
-- Found Python3: /usr/bin/python3.10 (found version "3.10.6") found components: Interpreter
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.81.0")
-- Using shared libcurl
-- Could NOT find HIDAPI (missing: HIDAPI_LIBRARY HIDAPI_INCLUDE_DIR)
-- Using static HIDAPI from Externals
-- Using static DiscordRPC from Externals
-- Using static libmgba from Externals
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for freelocale
-- Looking for freelocale - found
-- Looking for newlocale
-- Looking for newlocale - found
-- Looking for setlocale
-- Looking for setlocale - found
-- Looking for snprintf_l
-- Looking for snprintf_l - not found
-- Looking for uselocale
-- Looking for uselocale - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for include file xlocale.h
-- Looking for include file xlocale.h - not found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Performing Test HAVE_PTHREAD
-- Performing Test HAVE_PTHREAD - Success
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Looking for include file pthread_np.h
-- Looking for include file pthread_np.h - not found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Looking for pthread_set_name_np
-- Looking for pthread_set_name_np - not found
-- Looking for crc32
-- Looking for crc32 - not found
-- Found SYSTEMD: /usr/lib/x86_64-linux-gnu/libsystemd.so
-- libsystemd found, enabling traversal server watchdog support
-- Using static gtest from Externals
-- Found PythonInterp: /usr/bin/python3.10 (found version "3.10.6")
-- Performing Test FLAG_C_HAVE_WALL
-- Performing Test FLAG_C_HAVE_WALL - Success
-- Performing Test FLAG_CXX_HAVE_WALL
-- Performing Test FLAG_CXX_HAVE_WALL - Success
-- Performing Test FLAG_C_TYPE_LIMITS
-- Performing Test FLAG_C_TYPE_LIMITS - Success
-- Performing Test FLAG_CXX_TYPE_LIMITS
-- Performing Test FLAG_CXX_TYPE_LIMITS - Success
-- Performing Test FLAG_C_SIGN_COMPARE
-- Performing Test FLAG_C_SIGN_COMPARE - Success
-- Performing Test FLAG_CXX_SIGN_COMPARE
-- Performing Test FLAG_CXX_SIGN_COMPARE - Success
-- Performing Test FLAG_C_IGNORED_QUALIFIERS
-- Performing Test FLAG_C_IGNORED_QUALIFIERS - Success
-- Performing Test FLAG_CXX_IGNORED_QUALIFIERS
-- Performing Test FLAG_CXX_IGNORED_QUALIFIERS - Success
-- Performing Test FLAG_C_UNINITIALIZED
-- Performing Test FLAG_C_UNINITIALIZED - Success
-- Performing Test FLAG_CXX_UNINITIALIZED
-- Performing Test FLAG_CXX_UNINITIALIZED - Success
-- Performing Test FLAG_C_LOGICAL_OP
-- Performing Test FLAG_C_LOGICAL_OP - Success
-- Performing Test FLAG_CXX_LOGICAL_OP
-- Performing Test FLAG_CXX_LOGICAL_OP - Success
-- Performing Test FLAG_C_SHADOW
-- Performing Test FLAG_C_SHADOW - Success
-- Performing Test FLAG_CXX_SHADOW
-- Performing Test FLAG_CXX_SHADOW - Success
-- Performing Test FLAG_C_INIT_SELF
-- Performing Test FLAG_C_INIT_SELF - Success
-- Performing Test FLAG_CXX_INIT_SELF
-- Performing Test FLAG_CXX_INIT_SELF - Success
-- Performing Test FLAG_C_MISSING_DECLARATIONS
-- Performing Test FLAG_C_MISSING_DECLARATIONS - Success
-- Performing Test FLAG_CXX_MISSING_DECLARATIONS
-- Performing Test FLAG_CXX_MISSING_DECLARATIONS - Success
-- Performing Test FLAG_C_MISSING_VARIABLE_DECLARATIONS
-- Performing Test FLAG_C_MISSING_VARIABLE_DECLARATIONS - Failed
-- Performing Test FLAG_CXX_MISSING_VARIABLE_DECLARATIONS
-- Performing Test FLAG_CXX_MISSING_VARIABLE_DECLARATIONS - Failed
-- Performing Test HAS_STRINGOP_TRUNCATION_WARNING
-- Performing Test HAS_STRINGOP_TRUNCATION_WARNING - Success
-- Performing Test FLAG_C_NO_STRINGOP_TRUNCATION
-- Performing Test FLAG_C_NO_STRINGOP_TRUNCATION - Success
-- Performing Test FLAG_CXX_NO_STRINGOP_TRUNCATION
-- Performing Test FLAG_CXX_NO_STRINGOP_TRUNCATION - Success
-- Performing Test HAS_FORMAT_WARNING
-- Performing Test HAS_FORMAT_WARNING - Success
-- Performing Test FLAG_C_FORMAT_WARNING_TO_ERROR
-- Performing Test FLAG_C_FORMAT_WARNING_TO_ERROR - Success
-- Performing Test FLAG_CXX_FORMAT_WARNING_TO_ERROR
-- Performing Test FLAG_CXX_FORMAT_WARNING_TO_ERROR - Success
-- Could NOT find OpenSLES (missing: OPENSLES_LIBRARY OPENSLES_INCLUDE_DIR)
-- Found ALSA: /usr/lib/x86_64-linux-gnu/libasound.so (found version "1.2.6.1")
-- ALSA found, enabling ALSA sound backend
-- PulseAudio found, enabling PulseAudio sound backend
-- Found BlueZ: /usr/lib/x86_64-linux-gnu/libbluetooth.so
-- BlueZ found, enabling bluetooth support
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Found Qt version 6.2.4
-- Found Gettext: /usr/bin/msgmerge (found version "0.21")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/Temp/dolphin-base/build
Spoiler:
Code:
[ 86%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/MemoryWatcher.cpp.o
[ 86%] Linking CXX static library libcore.a
[ 86%] Built target core
[ 86%] Building CXX object Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/ToolHeadlessPlatform.cpp.o
[ 86%] Building CXX object Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/ConvertCommand.cpp.o
[ 86%] Automatic MOC for target dolphin-emu
[ 86%] Building CXX object Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/Platform.cpp.o
[ 86%] Building CXX object Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/PlatformHeadless.cpp.o
[ 87%] Building CXX object Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/MainNoGUI.cpp.o
[ 87%] Building CXX object Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/VerifyCommand.cpp.o
[ 87%] Building CXX object Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/PlatformX11.cpp.o
[ 87%] Building CXX object Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/HeaderCommand.cpp.o
[ 87%] Building CXX object Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/PlatformFBDev.cpp.o
[ 87%] Building CXX object Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/ToolMain.cpp.o
[ 87%] Linking CXX executable ../../../Binaries/dolphin-emu-nogui
[ 87%] Linking CXX executable ../../../Binaries/dolphin-tool
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/bitmap-cache.c.o: in function `mBitmapCacheConfigure':
bitmap-cache.c:(.text+0xda): undefined reference to `mappedMemoryFree'
/usr/bin/ld: bitmap-cache.c:(.text+0xf8): undefined reference to `mappedMemoryFree'
/usr/bin/ld: bitmap-cache.c:(.text+0x15b): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: bitmap-cache.c:(.text+0x16c): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/bitmap-cache.c.o: in function `mBitmapCacheConfigureSystem':
bitmap-cache.c:(.text+0x20c): undefined reference to `mappedMemoryFree'
/usr/bin/ld: bitmap-cache.c:(.text+0x22a): undefined reference to `mappedMemoryFree'
/usr/bin/ld: bitmap-cache.c:(.text+0x2d2): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: bitmap-cache.c:(.text+0x2e3): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/bitmap-cache.c.o: in function `mBitmapCacheDeinit':
bitmap-cache.c:(.text+0x380): undefined reference to `mappedMemoryFree'
/usr/bin/ld: bitmap-cache.c:(.text+0x39e): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/serialize.c.o: in function `mCoreExtractState':
serialize.c:(.text+0x7a2): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: serialize.c:(.text+0x7f2): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/serialize.c.o: in function `mCoreLoadStateNamed':
serialize.c:(.text+0x8bd): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: serialize.c:(.text+0x916): undefined reference to `mappedMemoryFree'
/usr/bin/ld: serialize.c:(.text+0xb7e): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o: in function `GBResizeSram':
gb.c:(.text+0x689): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: gb.c:(.text+0x6c8): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o: in function `GBLoadSave':
gb.c:(.text+0x983): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o: in function `GBSavedataMask':
gb.c:(.text+0xa81): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o: in function `GBSavedataUnmask':
gb.c:(.text+0xb9d): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o: in function `GBUnloadROM':
gb.c:(.text+0xe73): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o:gb.c:(.text+0xedb): more undefined references to `mappedMemoryFree' follow
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o: in function `GBApplyPatch':
gb.c:(.text+0x10ad): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: gb.c:(.text+0x1173): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/memory.c.o: in function `GBMemoryDeinit':
memory.c:(.text+0xdf5): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/memory.c.o: in function `GBMemoryReset':
memory.c:(.text+0xe3a): undefined reference to `mappedMemoryFree'
/usr/bin/ld: memory.c:(.text+0xe44): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/memory.c.o: in function `GBPatch8':
memory.c:(.text+0x14ac): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: memory.c:(.text+0x156f): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/memory.c.o: in function `GBMemoryDeinit':
memory.c:(.text+0xe0b): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/serialize.c.o: in function `GBSGBDeserialize':
serialize.c:(.text+0x806): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: serialize.c:(.text+0x836): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: serialize.c:(.text+0x866): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: serialize.c:(.text+0x896): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/video.c.o: in function `GBVideoInit':
video.c:(.text+0xaf6): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/video.c.o: in function `GBVideoReset':
video.c:(.text+0xf12): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0xf37): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0xf5c): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0xf81): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0xfc6): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: video.c:(.text+0xfeb): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: video.c:(.text+0x1010): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: video.c:(.text+0x1035): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/video.c.o: in function `GBVideoDeinit':
video.c:(.text+0x10ac): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0x10c6): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0x10eb): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0x1110): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0x1135): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/gba.c.o:gba.c:(.text+0x653): more undefined references to `mappedMemoryFree' follow
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/gba.c.o: in function `GBALoadNull':
gba.c:(.text+0x829): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/gba.c.o: in function `GBALoadROM':
gba.c:(.text+0xaa6): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: gba.c:(.text+0xbb9): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/gba.c.o: in function `GBAApplyPatch':
gba.c:(.text+0xe86): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: gba.c:(.text+0xf61): undefined reference to `mappedMemoryFree'
/usr/bin/ld: gba.c:(.text+0xf83): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/memory.c.o: in function `_pristineCow.part.0':
memory.c:(.text+0x19f): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/memory.c.o: in function `GBAStore16':
memory.c:(.text+0x980): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: memory.c:(.text+0x9fd): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/memory.c.o: in function `GBAMemoryInit':
memory.c:(.text+0x3feb): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/memory.c.o: in function `GBAMemoryDeinit':
memory.c:(.text+0x4082): undefined reference to `mappedMemoryFree'
/usr/bin/ld: memory.c:(.text+0x4097): undefined reference to `mappedMemoryFree'
/usr/bin/ld: memory.c:(.text+0x40ad): undefined reference to `mappedMemoryFree'
/usr/bin/ld: memory.c:(.text+0x40c3): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/memory.c.o: in function `GBAMemoryReset':
memory.c:(.text+0x42aa): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/memory.c.o:memory.c:(.text+0x42cb): more undefined references to `mappedMemoryFree' follow
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/savedata.c.o: in function `GBASavedataInitFlash':
savedata.c:(.text+0x794): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/savedata.c.o: in function `GBASavedataInitEEPROM':
savedata.c:(.text+0x8b9): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/savedata.c.o: in function `GBASavedataInitSRAM':
savedata.c:(.text+0x9e6): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/savedata.c.o: in function `GBASavedataInitSRAM512':
savedata.c:(.text+0xac6): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/savedata.c.o: in function `GBASavedataForceType':
savedata.c:(.text+0xc62): undefined reference to `mappedMemoryFree'
/usr/bin/ld: savedata.c:(.text+0xc7a): undefined reference to `mappedMemoryFree'
/usr/bin/ld: savedata.c:(.text+0xc92): undefined reference to `mappedMemoryFree'
/usr/bin/ld: savedata.c:(.text+0xcaa): undefined reference to `mappedMemoryFree'
/usr/bin/ld: savedata.c:(.text+0xcc2): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/savedata.c.o:savedata.c:(.text+0xe1a): more undefined references to `mappedMemoryFree' follow
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/video.c.o: in function `GBAVideoInit':
video.c:(.text+0x4b6): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/video.c.o: in function `GBAVideoDeinit':
video.c:(.text+0x630): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/core.c.o: in function `_GBCoreDeinit':
core.c:(.text+0x1f23): undefined reference to `mappedMemoryFree'
/usr/bin/ld: core.c:(.text+0x1f31): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/core.c.o: in function `_GBCoreInit':
core.c:(.text+0x1f81): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: core.c:(.text+0x1f8e): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/core.c.o: in function `_GBVLPDeinit':
core.c:(.text+0x252a): undefined reference to `mappedMemoryFree'
/usr/bin/ld: core.c:(.text+0x2538): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/renderers/software.c.o: in function `GBVideoSoftwareRendererFinishFrame':
software.c:(.text+0xa3a): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/cart/ereader.c.o: in function `GBACartEReaderDeinit':
ereader.c:(.text+0x67f): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/cart/ereader.c.o: in function `GBACartEReaderScan':
ereader.c:(.text+0x161d): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/core.c.o: in function `_GBACoreDeinit':
core.c:(.text+0x1283): undefined reference to `mappedMemoryFree'
/usr/bin/ld: core.c:(.text+0x1291): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/core.c.o: in function `_GBACoreInit':
core.c:(.text+0x13a1): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: core.c:(.text+0x13ae): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/core.c.o: in function `_GBAVLPDeinit':
core.c:(.text+0x1a0a): undefined reference to `mappedMemoryFree'
/usr/bin/ld: core.c:(.text+0x1a18): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/renderers/video-software.c.o: in function `GBAVideoSoftwareRendererFinishFrame':
video-software.c:(.text+0x164): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/configuration.c.o: in function `ConfigurationRead':
configuration.c:(.text+0x718): undefined reference to `ini_parse_stream'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/configuration.c.o: in function `ConfigurationReadVFile':
configuration.c:(.text+0x767): undefined reference to `ini_parse_stream'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o: in function `_vfmCloseFree':
vfs-mem.c:(.text+0x1f1): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o: in function `_vfmTruncate':
vfs-mem.c:(.text+0x253): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: vfs-mem.c:(.text+0x27f): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o: in function `_vfmSeekExpanding':
vfs-mem.c:(.text+0x363): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: vfs-mem.c:(.text+0x38c): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o: in function `VFileMemChunk':
vfs-mem.c:(.text+0x68d): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o: in function `_vfmExpand':
vfs-mem.c:(.text+0x7c3): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: vfs-mem.c:(.text+0x7ef): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/feature/video-logger.c.o: in function `mVideoLoggerRendererInit':
video-logger.c:(.text+0x920): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: video-logger.c:(.text+0x933): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: video-logger.c:(.text+0x946): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/feature/video-logger.c.o: in function `mVideoLoggerRendererDeinit':
video-logger.c:(.text+0x9d2): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video-logger.c:(.text+0x9e5): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video-logger.c:(.text+0x9f8): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/feature/video-logger.c.o: in function `mVideoLogContextCreate':
video-logger.c:(.text+0x100e): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/feature/video-logger.c.o: in function `_readHeader':
video-logger.c:(.text+0x1315): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video-logger.c:(.text+0x1335): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/feature/video-logger.c.o: in function `mVideoLogContextDestroy':
video-logger.c:(.text+0x1491): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/feature/video-logger.c.o: in function `mVideoLogContextRewind':
video-logger.c:(.text+0x160c): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: video-logger.c:(.text+0x1637): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/map-cache.c.o: in function `mMapCacheConfigure':
map-cache.c:(.text+0x66): undefined reference to `mappedMemoryFree'
/usr/bin/ld: map-cache.c:(.text+0x88): undefined reference to `mappedMemoryFree'
/usr/bin/ld: map-cache.c:(.text+0xcf): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: map-cache.c:(.text+0xe4): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/map-cache.c.o: in function `mMapCacheConfigureSystem':
map-cache.c:(.text+0x147): undefined reference to `mappedMemoryFree'
/usr/bin/ld: map-cache.c:(.text+0x169): undefined reference to `mappedMemoryFree'
/usr/bin/ld: map-cache.c:(.text+0x1d4): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: map-cache.c:(.text+0x1e9): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/map-cache.c.o: in function `mMapCacheDeinit':
map-cache.c:(.text+0x29c): undefined reference to `mappedMemoryFree'
/usr/bin/ld: map-cache.c:(.text+0x2be): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/tile-cache.c.o: in function `mTileCacheConfigure':
tile-cache.c:(.text+0x54f): undefined reference to `mappedMemoryFree'
/usr/bin/ld: tile-cache.c:(.text+0x572): undefined reference to `mappedMemoryFree'
/usr/bin/ld: tile-cache.c:(.text+0x613): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: tile-cache.c:(.text+0x629): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/tile-cache.c.o: in function `mTileCacheConfigureSystem':
tile-cache.c:(.text+0x6e4): undefined reference to `mappedMemoryFree'
/usr/bin/ld: tile-cache.c:(.text+0x708): undefined reference to `mappedMemoryFree'
/usr/bin/ld: tile-cache.c:(.text+0x798): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: tile-cache.c:(.text+0x7ae): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/tile-cache.c.o: in function `mTileCacheDeinit':
tile-cache.c:(.text+0x846): undefined reference to `mappedMemoryFree'
/usr/bin/ld: tile-cache.c:(.text+0x869): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/ring-fifo.c.o: in function `RingFIFOInit':
ring-fifo.c:(.text+0x14): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/ring-fifo.c.o: in function `RingFIFODeinit':
ring-fifo.c:(.text+0x50): undefined reference to `mappedMemoryFree'
collect2: error: ld returned 1 exit status
make[2]: *** [Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/build.make:227: Binaries/dolphin-emu-nogui] Error 1
make[1]: *** [CMakeFiles/Makefile2:2389: Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/bitmap-cache.c.o: in function `mBitmapCacheConfigure':
bitmap-cache.c:(.text+0xda): undefined reference to `mappedMemoryFree'
/usr/bin/ld: bitmap-cache.c:(.text+0xf8): undefined reference to `mappedMemoryFree'
/usr/bin/ld: bitmap-cache.c:(.text+0x15b): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: bitmap-cache.c:(.text+0x16c): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/bitmap-cache.c.o: in function `mBitmapCacheConfigureSystem':
bitmap-cache.c:(.text+0x20c): undefined reference to `mappedMemoryFree'
/usr/bin/ld: bitmap-cache.c:(.text+0x22a): undefined reference to `mappedMemoryFree'
/usr/bin/ld: bitmap-cache.c:(.text+0x2d2): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: bitmap-cache.c:(.text+0x2e3): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/bitmap-cache.c.o: in function `mBitmapCacheDeinit':
bitmap-cache.c:(.text+0x380): undefined reference to `mappedMemoryFree'
/usr/bin/ld: bitmap-cache.c:(.text+0x39e): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/serialize.c.o: in function `mCoreExtractState':
serialize.c:(.text+0x7a2): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: serialize.c:(.text+0x7f2): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/serialize.c.o: in function `mCoreLoadStateNamed':
serialize.c:(.text+0x8bd): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: serialize.c:(.text+0x916): undefined reference to `mappedMemoryFree'
/usr/bin/ld: serialize.c:(.text+0xb7e): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o: in function `GBResizeSram':
gb.c:(.text+0x689): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: gb.c:(.text+0x6c8): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o: in function `GBLoadSave':
gb.c:(.text+0x983): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o: in function `GBSavedataMask':
gb.c:(.text+0xa81): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o: in function `GBSavedataUnmask':
gb.c:(.text+0xb9d): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o: in function `GBUnloadROM':
gb.c:(.text+0xe73): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o:gb.c:(.text+0xedb): more undefined references to `mappedMemoryFree' follow
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/gb.c.o: in function `GBApplyPatch':
gb.c:(.text+0x10ad): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: gb.c:(.text+0x1173): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/memory.c.o: in function `GBMemoryDeinit':
memory.c:(.text+0xdf5): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/memory.c.o: in function `GBMemoryReset':
memory.c:(.text+0xe3a): undefined reference to `mappedMemoryFree'
/usr/bin/ld: memory.c:(.text+0xe44): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/memory.c.o: in function `GBPatch8':
memory.c:(.text+0x14ac): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: memory.c:(.text+0x156f): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/memory.c.o: in function `GBMemoryDeinit':
memory.c:(.text+0xe0b): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/serialize.c.o: in function `GBSGBDeserialize':
serialize.c:(.text+0x806): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: serialize.c:(.text+0x836): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: serialize.c:(.text+0x866): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: serialize.c:(.text+0x896): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/video.c.o: in function `GBVideoInit':
video.c:(.text+0xaf6): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/video.c.o: in function `GBVideoReset':
video.c:(.text+0xf12): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0xf37): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0xf5c): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0xf81): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0xfc6): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: video.c:(.text+0xfeb): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: video.c:(.text+0x1010): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: video.c:(.text+0x1035): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/video.c.o: in function `GBVideoDeinit':
video.c:(.text+0x10ac): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0x10c6): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0x10eb): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0x1110): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video.c:(.text+0x1135): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/gba.c.o:gba.c:(.text+0x653): more undefined references to `mappedMemoryFree' follow
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/gba.c.o: in function `GBALoadNull':
gba.c:(.text+0x829): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/gba.c.o: in function `GBALoadROM':
gba.c:(.text+0xaa6): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: gba.c:(.text+0xbb9): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/gba.c.o: in function `GBAApplyPatch':
gba.c:(.text+0xe86): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: gba.c:(.text+0xf61): undefined reference to `mappedMemoryFree'
/usr/bin/ld: gba.c:(.text+0xf83): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/memory.c.o: in function `_pristineCow.part.0':
memory.c:(.text+0x19f): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/memory.c.o: in function `GBAStore16':
memory.c:(.text+0x980): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: memory.c:(.text+0x9fd): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/memory.c.o: in function `GBAMemoryInit':
memory.c:(.text+0x3feb): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/memory.c.o: in function `GBAMemoryDeinit':
memory.c:(.text+0x4082): undefined reference to `mappedMemoryFree'
/usr/bin/ld: memory.c:(.text+0x4097): undefined reference to `mappedMemoryFree'
/usr/bin/ld: memory.c:(.text+0x40ad): undefined reference to `mappedMemoryFree'
/usr/bin/ld: memory.c:(.text+0x40c3): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/memory.c.o: in function `GBAMemoryReset':
memory.c:(.text+0x42aa): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/memory.c.o:memory.c:(.text+0x42cb): more undefined references to `mappedMemoryFree' follow
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/savedata.c.o: in function `GBASavedataInitFlash':
savedata.c:(.text+0x794): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/savedata.c.o: in function `GBASavedataInitEEPROM':
savedata.c:(.text+0x8b9): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/savedata.c.o: in function `GBASavedataInitSRAM':
savedata.c:(.text+0x9e6): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/savedata.c.o: in function `GBASavedataInitSRAM512':
savedata.c:(.text+0xac6): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/savedata.c.o: in function `GBASavedataForceType':
savedata.c:(.text+0xc62): undefined reference to `mappedMemoryFree'
/usr/bin/ld: savedata.c:(.text+0xc7a): undefined reference to `mappedMemoryFree'
/usr/bin/ld: savedata.c:(.text+0xc92): undefined reference to `mappedMemoryFree'
/usr/bin/ld: savedata.c:(.text+0xcaa): undefined reference to `mappedMemoryFree'
/usr/bin/ld: savedata.c:(.text+0xcc2): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/savedata.c.o:savedata.c:(.text+0xe1a): more undefined references to `mappedMemoryFree' follow
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/video.c.o: in function `GBAVideoInit':
video.c:(.text+0x4b6): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/video.c.o: in function `GBAVideoDeinit':
video.c:(.text+0x630): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/core.c.o: in function `_GBCoreDeinit':
core.c:(.text+0x1f23): undefined reference to `mappedMemoryFree'
/usr/bin/ld: core.c:(.text+0x1f31): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/core.c.o: in function `_GBCoreInit':
core.c:(.text+0x1f81): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: core.c:(.text+0x1f8e): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/core.c.o: in function `_GBVLPDeinit':
core.c:(.text+0x252a): undefined reference to `mappedMemoryFree'
/usr/bin/ld: core.c:(.text+0x2538): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gb/renderers/software.c.o: in function `GBVideoSoftwareRendererFinishFrame':
software.c:(.text+0xa3a): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/cart/ereader.c.o: in function `GBACartEReaderDeinit':
ereader.c:(.text+0x67f): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/cart/ereader.c.o: in function `GBACartEReaderScan':
ereader.c:(.text+0x161d): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/core.c.o: in function `_GBACoreDeinit':
core.c:(.text+0x1283): undefined reference to `mappedMemoryFree'
/usr/bin/ld: core.c:(.text+0x1291): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/core.c.o: in function `_GBACoreInit':
core.c:(.text+0x13a1): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: core.c:(.text+0x13ae): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/core.c.o: in function `_GBAVLPDeinit':
core.c:(.text+0x1a0a): undefined reference to `mappedMemoryFree'
/usr/bin/ld: core.c:(.text+0x1a18): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/gba/renderers/video-software.c.o: in function `GBAVideoSoftwareRendererFinishFrame':
video-software.c:(.text+0x164): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/configuration.c.o: in function `ConfigurationRead':
configuration.c:(.text+0x718): undefined reference to `ini_parse_stream'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/configuration.c.o: in function `ConfigurationReadVFile':
configuration.c:(.text+0x767): undefined reference to `ini_parse_stream'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o: in function `_vfmCloseFree':
vfs-mem.c:(.text+0x1f1): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o: in function `_vfmTruncate':
vfs-mem.c:(.text+0x253): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: vfs-mem.c:(.text+0x27f): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o: in function `_vfmSeekExpanding':
vfs-mem.c:(.text+0x363): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: vfs-mem.c:(.text+0x38c): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o: in function `VFileMemChunk':
vfs-mem.c:(.text+0x68d): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o: in function `_vfmExpand':
vfs-mem.c:(.text+0x7c3): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: vfs-mem.c:(.text+0x7ef): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/feature/video-logger.c.o: in function `mVideoLoggerRendererInit':
video-logger.c:(.text+0x920): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: video-logger.c:(.text+0x933): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: video-logger.c:(.text+0x946): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/feature/video-logger.c.o: in function `mVideoLoggerRendererDeinit':
video-logger.c:(.text+0x9d2): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video-logger.c:(.text+0x9e5): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video-logger.c:(.text+0x9f8): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/feature/video-logger.c.o: in function `mVideoLogContextCreate':
video-logger.c:(.text+0x100e): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/feature/video-logger.c.o: in function `_readHeader':
video-logger.c:(.text+0x1315): undefined reference to `mappedMemoryFree'
/usr/bin/ld: video-logger.c:(.text+0x1335): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/feature/video-logger.c.o: in function `mVideoLogContextDestroy':
video-logger.c:(.text+0x1491): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/feature/video-logger.c.o: in function `mVideoLogContextRewind':
video-logger.c:(.text+0x160c): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: video-logger.c:(.text+0x1637): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/map-cache.c.o: in function `mMapCacheConfigure':
map-cache.c:(.text+0x66): undefined reference to `mappedMemoryFree'
/usr/bin/ld: map-cache.c:(.text+0x88): undefined reference to `mappedMemoryFree'
/usr/bin/ld: map-cache.c:(.text+0xcf): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: map-cache.c:(.text+0xe4): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/map-cache.c.o: in function `mMapCacheConfigureSystem':
map-cache.c:(.text+0x147): undefined reference to `mappedMemoryFree'
/usr/bin/ld: map-cache.c:(.text+0x169): undefined reference to `mappedMemoryFree'
/usr/bin/ld: map-cache.c:(.text+0x1d4): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: map-cache.c:(.text+0x1e9): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/map-cache.c.o: in function `mMapCacheDeinit':
map-cache.c:(.text+0x29c): undefined reference to `mappedMemoryFree'
/usr/bin/ld: map-cache.c:(.text+0x2be): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/tile-cache.c.o: in function `mTileCacheConfigure':
tile-cache.c:(.text+0x54f): undefined reference to `mappedMemoryFree'
/usr/bin/ld: tile-cache.c:(.text+0x572): undefined reference to `mappedMemoryFree'
/usr/bin/ld: tile-cache.c:(.text+0x613): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: tile-cache.c:(.text+0x629): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/tile-cache.c.o: in function `mTileCacheConfigureSystem':
tile-cache.c:(.text+0x6e4): undefined reference to `mappedMemoryFree'
/usr/bin/ld: tile-cache.c:(.text+0x708): undefined reference to `mappedMemoryFree'
/usr/bin/ld: tile-cache.c:(.text+0x798): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: tile-cache.c:(.text+0x7ae): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/tile-cache.c.o: in function `mTileCacheDeinit':
tile-cache.c:(.text+0x846): undefined reference to `mappedMemoryFree'
/usr/bin/ld: tile-cache.c:(.text+0x869): undefined reference to `mappedMemoryFree'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/ring-fifo.c.o: in function `RingFIFOInit':
ring-fifo.c:(.text+0x14): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/util/ring-fifo.c.o: in function `RingFIFODeinit':
ring-fifo.c:(.text+0x50): undefined reference to `mappedMemoryFree'
collect2: error: ld returned 1 exit status
make[2]: *** [Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/build.make:227: Binaries/dolphin-tool] Error 1
make[1]: *** [CMakeFiles/Makefile2:2444: Source/Core/DolphinTool/CMakeFiles/dolphin-tool.dir/all] Error 2
[ 87%] Built target dolphin-emu_autogen
make: *** [Makefile:156: all] Error 2
Code:
[ 87%] Linking CXX executable ../../../Binaries/dolphin-emu-nogui
[ 87%] Linking CXX executable ../../../Binaries/dolphin-tool
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/bitmap-cache.c.o: in function `mBitmapCacheConfigure':
bitmap-cache.c:(.text+0xda): undefined reference to `mappedMemoryFree'
/usr/bin/ld: bitmap-cache.c:(.text+0xf8): undefined reference to `mappedMemoryFree'
/usr/bin/ld: bitmap-cache.c:(.text+0x15b): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: bitmap-cache.c:(.text+0x16c): undefined reference to `anonymousMemoryMap'
/usr/bin/ld: ../../../Externals/mGBA/mgba/CMakeFiles/mgba.dir/src/core/bitmap-cache.c.o: in function `mBitmapCacheConfigureSystem':
bitmap-cache.c:(.text+0x20c): undefined reference to `mappedMemoryFree'