Closed vicenteicc2008 closed 1 year ago
You should do a fully clean installation, remove the whole ps2dev folder and try it again
Or you just can download the package of the library and install it
I'm going to close this. The package in provided should work fine. I'd suggest taking a look at https://pspdev.github.io/ for documentation on how to install an updated PSPDEV toolchain.
hello i have a problem when compiling angelscript
log: Building angelscript ... ==> Making package: angelscript 2.28.2-1 (vie 02 sep 2022 10:51:10 -04) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found angelscript_2.28.2.zip -> Found angelscript_2.28.2.patch ==> Validating source files with sha256sums... angelscript_2.28.2.zip ... Passed angelscript_2.28.2.patch ... Skipped ==> Extracting sources... -> Extracting angelscript_2.28.2.zip with bsdtar ==> Starting prepare()... patching file angelscript/projects/cmake/CMakeLists.txt ==> Removing existing $pkgdir/ directory... ==> Starting build()... -- Could NOT find Threads (missing: Threads_FOUND) -- Configuring done -- Generating done -- Build files have been written to: /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/angelscript/projects/cmake/build [ 79%] Built target Angelscript [ 81%] Building CXX object game/CMakeFiles/game.dir/home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp.obj In file included from /usr/local/pspdev/psp/include/pthread.h:49, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sched.h:90:17: error: ‘SCHED_OTHER’ conflicts with a previous declaration 90 | SCHED_OTHER = 0, | ^ In file included from /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:22, from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/sched.h:58:3: note: previous declaration ‘ SCHED_OTHER’
58 | SCHED_OTHER = 0,
| ^ SCHED_FIFO’
59 | SCHED_FIFO,
| ^ SCHED_RR’
60 | SCHED_RR,
| ^ SCHED_MIN’
93 | SCHED_MIN = SCHED_OTHER,
| ^ SCHED_MIN’ previously defined here
61 | SCHED_MIN = SCHED_OTHER,
| ^ SCHED_MAX’
94 | SCHED_MAX = SCHED_RR
| ^ SCHED_MAX’ previously defined here
62 | SCHED_MAX = SCHED_RR
| ^ PTHREAD_MUTEX_FAST_NP’
70 | PTHREAD_MUTEX_FAST_NP,
| ^ PTHREAD_MUTEX_RECURSIVE_NP’
71 | PTHREAD_MUTEX_RECURSIVE_NP,
| ^ PTHREAD_MUTEX_ERRORCHECK_NP’
72 | PTHREAD_MUTEX_ERRORCHECK_NP,
| ^ PTHREAD_MUTEX_TIMED_NP’
533 | PTHREAD_MUTEX_TIMED_NP = PTHREAD_MUTEX_FAST_NP,
| ^ PTHREAD_MUTEX_TIMED_NP’ previously defined here
73 | PTHREAD_MUTEX_TIMED_NP = PTHREAD_MUTEX_FAST_NP,
| ^ PTHREAD_MUTEX_ADAPTIVE_NP’
534 | PTHREAD_MUTEX_ADAPTIVE_NP = PTHREAD_MUTEX_FAST_NP,
| ^ PTHREAD_MUTEX_ADAPTIVE_NP’ previously defined here
74 | PTHREAD_MUTEX_ADAPTIVE_NP = PTHREAD_MUTEX_FAST_NP,
| ^ PTHREAD_MUTEX_NORMAL’
536 | PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_FAST_NP,
| ^ PTHREAD_MUTEX_NORMAL’ previously defined here
76 | PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_FAST_NP,
| ^ PTHREAD_MUTEX_RECURSIVE’
537 | PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP,
| ^ PTHREAD_MUTEX_RECURSIVE’ previously defined here
77 | PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP,
| ^ PTHREAD_MUTEX_ERRORCHECK’
538 | PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
| ^ PTHREAD_MUTEX_ERRORCHECK’ previously defined here
78 | PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
| ^ PTHREAD_MUTEX_DEFAULT’
539 | PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
| ^ PTHREAD_MUTEX_DEFAULT’ previously defined here
79 | PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
| ^
~~In file included from /usr/local/pspdev/psp/include/pthread.h:49, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sched.h:91:3: error: ‘SCHED_FIFO’ conflicts with a previous declaration 91 | SCHED_FIFO, | ^~~~~~ In file included from /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:22, from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/sched.h:59:3: note: previous declaration ‘~~~~~ In file included from /usr/local/pspdev/psp/include/pthread.h:49, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sched.h:92:3: error: ‘SCHED_RR’ conflicts with a previous declaration 92 | SCHED_RR, | ^~~~ In file included from /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:22, from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/sched.h:60:3: note: previous declaration ‘~~~ In file included from /usr/local/pspdev/psp/include/pthread.h:49, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sched.h:93:3: error: redefinition of ‘~~~~ In file included from /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:22, from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/sched.h:61:3: note: ‘~~~~ In file included from /usr/local/pspdev/psp/include/pthread.h:49, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sched.h:94:3: error: redefinition of ‘~~~~ In file included from /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:22, from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/sched.h:62:3: note: ‘~~~~ In file included from /usr/local/pspdev/psp/include/pthread.h:49, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sched.h:97:8: error: redefinition of ‘struct sched_param’ 97 | struct sched_param | ^~~In file included from /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:22, from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/sched.h:65:8: note: previous definition of ‘struct sched_param’ 65 | struct sched_param | ^~~In file included from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:401:39: error: conflicting declaration ‘typedef void pthread_t’ 401 | typedef / pte_handle_t / void pthread_t; | ^~~~~ In file included from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:30:29: note: previous declaration as ‘typedef struct pthreadt pthread_t’ 30 | typedef struct pthreadt pthread_t; / identify a thread / | ^~~~~ /usr/local/pspdev/psp/include/pthread.h:428:7: error: expected identifier before numeric constant 428 | PTHREAD_CREATE_JOINABLE = 0, / Default / | ^~~~~~~ /usr/local/pspdev/psp/include/pthread.h:428:7: error: expected ‘}’ before numeric constant In file included from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:424:5: note: to match this ‘{’ 424 | { | ^ In file included from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:428:7: error: expected unqualified-id before numeric constant 428 | PTHREAD_CREATE_JOINABLE = 0, / Default / | ^~~~~~~ In file included from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:467:5: error: expected declaration before ‘}’ token 467 | }; | ^ /usr/local/pspdev/psp/include/pthread.h:488:12: error: redefinition of ‘struct pthread_oncet’ 488 | struct pthread_oncet | ^~~~~~~ In file included from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:102:8: note: previous definition of ‘struct pthread_oncet’ 102 | struct pthread_oncet { | ^~~~~~~ In file included from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:530:7: error: ‘PTHREAD_MUTEX_FAST_NP’ conflicts with a previous declaration 530 | PTHREAD_MUTEX_FAST_NP, | ^~~~~In file included from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:70:5: note: previous declaration ‘~~~~In file included from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:531:7: error: ‘PTHREAD_MUTEX_RECURSIVE_NP’ conflicts with a previous declaration 531 | PTHREAD_MUTEX_RECURSIVE_NP, | ^~~~~~In file included from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:71:5: note: previous declaration ‘~~~~~In file included from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:532:7: error: ‘PTHREAD_MUTEX_ERRORCHECK_NP’ conflicts with a previous declaration 532 | PTHREAD_MUTEX_ERRORCHECK_NP, | ^~~~~~~ In file included from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:72:5: note: previous declaration ‘~~~~~~ In file included from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:533:7: error: redefinition of ‘~~~~~ In file included from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:73:5: note: ‘~~~~~ In file included from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:534:7: error: redefinition of ‘~~~~~~~~ In file included from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:74:5: note: ‘~~~~~~~~ In file included from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:536:7: error: redefinition of ‘~~~~~~~ In file included from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:76:5: note: ‘~~~~~~~ In file included from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:537:7: error: redefinition of ‘~~~~~~ In file included from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:77:5: note: ‘~~~~~~ In file included from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:538:7: error: redefinition of ‘~~~~~~~ In file included from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:78:5: note: ‘~~~~~~~ In file included from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/pthread.h:539:7: error: redefinition of ‘~~~~In file included from /usr/local/pspdev/psp/include/sys/types.h:223, from /usr/local/pspdev/psp/include/pte_types.h:7, from /usr/local/pspdev/psp/include/pthread.h:47, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr-default.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/psp/bits/gthr.h:159, from /usr/local/pspdev/psp/include/c++/11.2.0/ext/atomicity.h:35, from /usr/local/pspdev/psp/include/c++/11.2.0/bits/basic_string.h:39, from /usr/local/pspdev/psp/include/c++/11.2.0/string:55, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.h:5, from /home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp:1: /usr/local/pspdev/psp/include/sys/_pthreadtypes.h:79:5: note: ‘~~~~game/CMakeFiles/game.dir/build.make:62: recipe for target 'game/CMakeFiles/game.dir/home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp.obj' failed make[2]: [game/CMakeFiles/game.dir/home/vicente/psp-homebrew/psp-packages/angelscript/src/sdk/samples/game/source/gamemgr.cpp.obj] Error 1 CMakeFiles/Makefile2:122: recipe for target 'game/CMakeFiles/game.dir/all' failed make[1]: [game/CMakeFiles/game.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2can you help me to resolve this problem?