Skip to content

Instantly share code, notes, and snippets.

@sharkwouter
Created April 25, 2020 15:59
Show Gist options
  • Save sharkwouter/f39f9e9891f95ed5855b302d5831df75 to your computer and use it in GitHub Desktop.
Save sharkwouter/f39f9e9891f95ed5855b302d5831df75 to your computer and use it in GitHub Desktop.
Build errors OpenAL Debian 10
ls: cannot access '/usr/local/pspdev/psp/lib/libopenal.a': No such file or directory
ls: cannot access '/usr/local/pspdev/psp/include/AL/al.h': No such file or directory
ls: cannot access '/usr/local/pspdev/psp/include/AL/alc.h': No such file or directory
--2020-04-25 17:53:00-- http://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2
Resolving kcat.strangesoft.net (kcat.strangesoft.net)... 107.170.232.238
Connecting to kcat.strangesoft.net (kcat.strangesoft.net)|107.170.232.238|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2 [following]
--2020-04-25 17:53:00-- https://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2
Connecting to kcat.strangesoft.net (kcat.strangesoft.net)|107.170.232.238|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 221579 (216K) [application/x-bzip2]
Saving to: ‘openal-soft-1.14.tar.bz2’
openal-soft-1.14.tar.bz2 100%[================================================================>] 216.39K 391KB/s in 0.6s
2020-04-25 17:53:02 (391 KB/s) - ‘openal-soft-1.14.tar.bz2’ saved [221579/221579]
Extracting openal-soft-1.14.tar.bz2...
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- The C compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/local/pspdev/bin/psp-gcc
-- Check for working C compiler: /usr/local/pspdev/bin/psp-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- 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 long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Performing Test HAVE_RESTRICT
-- Performing Test HAVE_RESTRICT - Success
-- Performing Test HAVE___RESTRICT
-- Performing Test HAVE___RESTRICT - Success
-- Checking if C compiler supports -Wextra
-- Checking if C compiler supports -Wextra - Success
-- Performing Test HAVE_GCC_DESTRUCTOR
-- Performing Test HAVE_GCC_DESTRUCTOR - Success
-- Performing Test HAVE_GCC_PROTECTED_VISIBILITY
-- Performing Test HAVE_GCC_PROTECTED_VISIBILITY - Success
-- Checking if C compiler supports -fvisibility=internal
-- Checking if C compiler supports -fvisibility=internal - Success
-- Performing Test HAVE_GCC_FORMAT
-- Performing Test HAVE_GCC_FORMAT - Success
-- Looking for fenv.h
-- Looking for fenv.h - not found
-- Looking for fpu_control.h
-- Looking for fpu_control.h - not found
-- Looking for float.h
-- Looking for float.h - found
-- Looking for ieeefp.h
-- Looking for ieeefp.h - found
-- Looking for guiddef.h
-- Looking for guiddef.h - not found
-- Looking for initguid.h
-- Looking for initguid.h - not found
-- Looking for arm_neon.h
-- Looking for arm_neon.h - not found
-- Looking for pow in m
-- Looking for pow in m - found
-- Looking for powf
-- Looking for powf - found
-- Looking for sqrtf
-- Looking for sqrtf - found
-- Looking for cosf
-- Looking for cosf - found
-- Looking for sinf
-- Looking for sinf - found
-- Looking for acosf
-- Looking for acosf - found
-- Looking for asinf
-- Looking for asinf - found
-- Looking for atanf
-- Looking for atanf - found
-- Looking for atan2f
-- Looking for atan2f - found
-- Looking for fabsf
-- Looking for fabsf - found
-- Looking for log10f
-- Looking for log10f - found
-- Looking for floorf
-- Looking for floorf - found
-- Looking for strtof
-- Looking for strtof - found
-- Looking for _controlfp
-- Looking for _controlfp - found
-- Looking for stat
-- Looking for stat - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for isfinite
-- Looking for isfinite - found
-- Looking for isnan
-- Looking for isnan - found
-- Looking for dlfcn.h
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/CheckIncludeFile.cmake:70 (message):
Policy CMP0075 is not set: Include file check macros honor
CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
CMAKE_REQUIRED_LIBRARIES is set to:
m
For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack (most recent call first):
CMakeLists.txt:325 (CHECK_INCLUDE_FILE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for dlfcn.h - not found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Checking if C compiler supports -pthread
-- Checking if C compiler supports -pthread - Failed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for include files pthread.h, pthread_np.h
-- Looking for include files pthread.h, pthread_np.h - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_setschedparam in pthread
-- Looking for pthread_setschedparam in pthread - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for timeGetTime in winmm
-- Looking for timeGetTime in winmm - not found.
-- Looking for alsa/asoundlib.h
-- Looking for alsa/asoundlib.h - not found
-- Looking for sys/soundcard.h
-- Looking for sys/soundcard.h - not found
-- Looking for sys/audioio.h
-- Looking for sys/audioio.h - not found
-- Looking for sndio.h
-- Looking for sndio.h - not found
-- Looking for dsound.h
-- Looking for dsound.h - not found
-- Looking for portaudio.h
-- Looking for portaudio.h - not found
-- Looking for pulse/pulseaudio.h
-- Looking for pulse/pulseaudio.h - not found
-- Looking for /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h
-- Looking for /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h - not found
-- Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h
-- Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h - not found
CMake Warning (dev) at CMakeLists.txt:692 (ADD_LIBRARY):
ADD_LIBRARY called with SHARED option but the target platform does not
support dynamic linking. Building a STATIC library instead. This may lead
to problems.
This warning is for project developers. Use -Wno-dev to suppress it.
--
-- Building OpenAL with support for the following backends:
-- WaveFile, Null
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wouter/Sources/psplibraries/build/openal-soft-1.14
Scanning dependencies of target openal
[ 14%] Building C object CMakeFiles/openal.dir/OpenAL32/alEffect.c.obj
[ 14%] Building C object CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.c.obj
[ 14%] Building C object CMakeFiles/openal.dir/OpenAL32/alBuffer.c.obj
[ 17%] Building C object CMakeFiles/openal.dir/OpenAL32/alListener.c.obj
[ 21%] Building C object CMakeFiles/openal.dir/OpenAL32/alError.c.obj
[ 14%] Building C object CMakeFiles/openal.dir/OpenAL32/alExtension.c.obj
[ 25%] Building C object CMakeFiles/openal.dir/OpenAL32/alSource.c.obj
[ 28%] Building C object CMakeFiles/openal.dir/OpenAL32/alFilter.c.obj
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alListener.c:23:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:111:9: error: unknown type name ‘pthread_mutex_t’
111 | typedef pthread_mutex_t CRITICAL_SECTION;
| ^~~~~~~~~~~~~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alExtension.c:28:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:111:9: error: unknown type name ‘pthread_mutex_t’
111 | typedef pthread_mutex_t CRITICAL_SECTION;
| ^~~~~~~~~~~~~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alFilter.c:27:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:111:9: error: unknown type name ‘pthread_mutex_t’
111 | typedef pthread_mutex_t CRITICAL_SECTION;
| ^~~~~~~~~~~~~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alAuxEffectSlot.c:28:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:111:9: error: unknown type name ‘pthread_mutex_t’
111 | typedef pthread_mutex_t CRITICAL_SECTION;
| ^~~~~~~~~~~~~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alBuffer.c:28:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:111:9: error: unknown type name ‘pthread_mutex_t’
111 | typedef pthread_mutex_t CRITICAL_SECTION;
| ^~~~~~~~~~~~~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alEffect.c:28:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:111:9: error: unknown type name ‘pthread_mutex_t’
111 | typedef pthread_mutex_t CRITICAL_SECTION;
| ^~~~~~~~~~~~~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:345,
from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alListener.c:23:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘SetMixerFPUMode’:
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:345,
from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alAuxEffectSlot.c:28:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘SetMixerFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:240:16: warning: implicit declaration of function ‘_controlfp’ [-Wimplicit-function-declaration]
240 | fpuState = _controlfp(0, 0);
| ^~~~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:240:16: warning: implicit declaration of function ‘_controlfp’ [-Wimplicit-function-declaration]
240 | fpuState = _controlfp(0, 0);
| ^~~~~~~~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:345,
from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alExtension.c:28:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘SetMixerFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:240:16: warning: implicit declaration of function ‘_controlfp’ [-Wimplicit-function-declaration]
240 | fpuState = _controlfp(0, 0);
| ^~~~~~~~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:345,
from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alEffect.c:28:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘SetMixerFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: error: ‘_RC_CHOP’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:240:16: warning: implicit declaration of function ‘_controlfp’ [-Wimplicit-function-declaration]
240 | fpuState = _controlfp(0, 0);
| ^~~~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: note: each undeclared identifier is reported only once for each function it appears in
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:345,
from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alFilter.c:27:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘SetMixerFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:240:16: warning: implicit declaration of function ‘_controlfp’ [-Wimplicit-function-declaration]
240 | fpuState = _controlfp(0, 0);
| ^~~~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: error: ‘_RC_CHOP’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:31: error: ‘_PC_24’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: error: ‘_RC_CHOP’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: note: each undeclared identifier is reported only once for each function it appears in
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: note: each undeclared identifier is reported only once for each function it appears in
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:345,
from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alBuffer.c:28:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘SetMixerFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:240:16: warning: implicit declaration of function ‘_controlfp’ [-Wimplicit-function-declaration]
240 | fpuState = _controlfp(0, 0);
| ^~~~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: error: ‘_RC_CHOP’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: note: each undeclared identifier is reported only once for each function it appears in
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: error: ‘_RC_CHOP’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: note: each undeclared identifier is reported only once for each function it appears in
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:31: error: ‘_PC_24’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:39: error: ‘_MCW_RC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:31: error: ‘_PC_24’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:31: error: ‘_PC_24’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:39: error: ‘_MCW_RC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: error: ‘_RC_CHOP’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: note: each undeclared identifier is reported only once for each function it appears in
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:39: error: ‘_MCW_RC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:31: error: ‘_PC_24’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:47: error: ‘_MCW_PC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:39: error: ‘_MCW_RC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:31: error: ‘_PC_24’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:47: error: ‘_MCW_PC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:39: error: ‘_MCW_RC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘RestoreFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:23: error: ‘_MCW_RC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:47: error: ‘_MCW_PC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘RestoreFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:23: error: ‘_MCW_RC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:47: error: ‘_MCW_PC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:39: error: ‘_MCW_RC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:31: error: ‘_MCW_PC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:31: error: ‘_MCW_PC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:47: error: ‘_MCW_PC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘RestoreFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:23: error: ‘_MCW_RC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:47: error: ‘_MCW_PC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:31: error: ‘_MCW_PC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘RestoreFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:23: error: ‘_MCW_RC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘RestoreFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:23: error: ‘_MCW_RC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘RestoreFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:23: error: ‘_MCW_RC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:31: error: ‘_MCW_PC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alSource.c:26:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:111:9: error: unknown type name ‘pthread_mutex_t’
111 | typedef pthread_mutex_t CRITICAL_SECTION;
| ^~~~~~~~~~~~~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alError.c:25:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:111:9: error: unknown type name ‘pthread_mutex_t’
111 | typedef pthread_mutex_t CRITICAL_SECTION;
| ^~~~~~~~~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:31: error: ‘_MCW_PC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alExtension.c:25:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alExtension.c: In function ‘alIsExtensionPresent’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alExtension.c:359:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
359 | (ptr[len] == '\0' || isspace(ptr[len])))
| ~~~^~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alExtension.c:368:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
368 | } while(isspace(*ptr));
| ^~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:345,
from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alSource.c:26:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘SetMixerFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:240:16: warning: implicit declaration of function ‘_controlfp’ [-Wimplicit-function-declaration]
240 | fpuState = _controlfp(0, 0);
| ^~~~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: error: ‘_RC_CHOP’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: note: each undeclared identifier is reported only once for each function it appears in
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:31: error: ‘_MCW_PC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:31: error: ‘_PC_24’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~
make[2]: *** [CMakeFiles/openal.dir/build.make:115: CMakeFiles/openal.dir/OpenAL32/alExtension.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:39: error: ‘_MCW_RC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
In file included from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:345,
from /home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/alError.c:25:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘SetMixerFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:240:16: warning: implicit declaration of function ‘_controlfp’ [-Wimplicit-function-declaration]
240 | fpuState = _controlfp(0, 0);
| ^~~~~~~~~~
make[2]: *** [CMakeFiles/openal.dir/build.make:128: CMakeFiles/openal.dir/OpenAL32/alFilter.c.obj] Error 1
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:47: error: ‘_MCW_PC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: error: ‘_RC_CHOP’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:22: note: each undeclared identifier is reported only once for each function it appears in
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘RestoreFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:23: error: ‘_MCW_RC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:31: error: ‘_PC_24’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:31: error: ‘_MCW_PC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
make[2]: *** [CMakeFiles/openal.dir/build.make:141: CMakeFiles/openal.dir/OpenAL32/alListener.c.obj] Error 1
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:39: error: ‘_MCW_RC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:241:47: error: ‘_MCW_PC’ undeclared (first use in this function)
241 | (void)_controlfp(_RC_CHOP|_PC_24, _MCW_RC|_MCW_PC);
| ^~~~~~~
make[2]: *** [CMakeFiles/openal.dir/build.make:63: CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.c.obj] Error 1
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘RestoreFPUMode’:
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:23: error: ‘_MCW_RC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
/home/wouter/Sources/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:256:31: error: ‘_MCW_PC’ undeclared (first use in this function)
256 | _controlfp(state, _MCW_RC|_MCW_PC);
| ^~~~~~~
make[2]: *** [CMakeFiles/openal.dir/build.make:102: CMakeFiles/openal.dir/OpenAL32/alError.c.obj] Error 1
make[2]: *** [CMakeFiles/openal.dir/build.make:89: CMakeFiles/openal.dir/OpenAL32/alEffect.c.obj] Error 1
make[2]: *** [CMakeFiles/openal.dir/build.make:154: CMakeFiles/openal.dir/OpenAL32/alSource.c.obj] Error 1
make[2]: *** [CMakeFiles/openal.dir/build.make:76: CMakeFiles/openal.dir/OpenAL32/alBuffer.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/openal.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Failed installing openal!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment