Advertisement
Guest User

Problem in compiling Cfish with MSYS2

a guest
Aug 16th, 2023
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 12.37 KB | Software | 0 0
  1. In file included from In file included from C:/msys64/mingw64/include/minwinde
  2. f.h:163gcc -Wall -std=c11 -fprofile-generate -pedantic -Wextra -Wshadow -Wno-pedantic-ms-format -m64 -DNDEBUG -O3 -DIS_64BIT -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -msse -DUSE_SSE -DNNUE -DNNUE_EMBEDDED -flto   -c -o thread.o thread.c
  3.                                          C:/msys64/mingw64/include/minwindef.h:163,
  4.                  from ,gcc -Wall -std=c11 -fprofile-generate -pedantic -Wextra -Wshadow -Wno-pedantic-ms-format -m64 -DNDEBUG -O3 -DIS_64BIT -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -msse -DUSE_SSE -DNNUE -DNNUE_EMBEDDED -flto   -c -o timeman.o timeman.c
  5.  
  6.                  from ,
  7.                  from gcc -Wall -std=c11 -fprofile-generate -pedantic -Wextra -Wshadow -Wno-pedantic-ms-format -m64 -DNDEBUG -O3 -DIS_64BIT -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -msse -DUSE_SSE -DNNUE -DNNUE_EMBEDDED -flto   -c -o tt.o tt.c
  8. C:/msys64/mingw64/include/windef.h:9C:/msys64/mingw64/inclC:/msys64/mingw64/include/windef.h:9C:/msy
  9. s64/mingw64/include/windef.h:9,
  10.                  from gcc -Wall -std=c11 -fprofile-generate -pedantic -Wextra -Wshadow -Wno-pedantic-ms-format -m64 -DNDEBUG -O3 -DIS_64BIT -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -msse -DUSE_SSE -DNNUE -DNNUE_EMBEDDED -flto   -c -o uci.o uci.c
  11.                       ,
  12.                  from In file included from ,
  13.                  from                                       C:/msys64/mingw64/include/windows.h:69C:
  14. /msys64/mingw64/include/minwindef.h:163C:/msys64/mingw64/include/windows.h:69gcc -Wall -std=c11 -fprofile-generate -pedantic -Wextra -Wshadow -Wno-pedantic-ms-format -m64 -DNDEBUG -O3 -DIS_64BIT -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -msse -DUSE_SSE -DNNUE -DNNUE_EMBEDDED -flto   -c -o ucioption.o ucioption.c
  15. ,
  16.                  from ,gcc -Wall -std=c11 -fprofile-generate -pedantic -Wextra -Wshadow -Wno-pedantic-ms-format -m64 -DNDEBUG -O3 -DIS_64BIT -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -msse -DUSE_SSE -DNNUE -DNNUE_EMBEDDED -flto   -c -o numa.o numa.c
  17.  
  18.                  from                       ,
  19.                  from ,
  20.                  from                                           C:/msys64/mingw64/include/minwindef.
  21. h:163gcc -Wall -std=c11 -fprofile-generate -pedantic -Wextra -Wshadow -Wno-pedantic-ms-format -m64 -DNDEBUG -O3 -DIS_64BIT -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -msse -DUSE_SSE -DNNUE -DNNUE_EMBEDDED -flto   -c -o settings.o settings.c
  22.      ,
  23.                  from           C:/msys64/mingw64/include/windef.h:9,
  24.                  from gcc -Wall -std=c11 -fprofile-generate -pedantic -Wextra -Wshadow -Wno-pedantic-ms-format -m64 -DNDEBUG -O3 -DIS_64BIT -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -msse -DUSE_SSE -DNNUE -DNNUE_EMBEDDED -flto   -c -o polybook.o polybook.c
  25.                       ,
  26.                  from                                                      gcc -Wall -std=c11 -fprofile-generate -pedantic -Wextra -Wshadow -Wno-pedantic-ms-format -m64 -DNDEBUG -O3 -DIS_64BIT -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -msse -DUSE_SSE -DNNUE -DNNUE_EMBEDDED -flto   -c -o nnue.o nnue.c
  27.                                                                            ,
  28.                  from ,
  29.                  from ,
  30.                  from                                     bitboard.h:26C:/msys64/mingw64/include/win
  31. def.h:9                      ,
  32.                  from ,
  33.                  from ,
  34.                  from ,
  35.                  from                                       evaluate.c:23C:/msys64/mingw64/include/w
  36. indows.h:69                                         bitboard.h:26                      benchmark.c:2
  37. 6C:/msys64/mingw64/include/windows.h:69,
  38.                  from                                             :
  39. types.h:53,
  40.                  from C:/msys64/mingw64/include/minwindef.h:163C:/msys64/mingw64/include/minwindef.h
  41. :163:
  42. ,
  43.                       ,
  44.                  from C:/msys64/mingw64/include/minwindef.h:163thread.h:50:62:               types.h
  45. :53                                    ,
  46.                  from ,
  47.                  from ,
  48.                  from misc.c:27C:/msys64/mingw64/include/windef.h:9,
  49.                  from main.c:23 ,
  50.                  from ,
  51.                  from ,
  52.                  from C:/msys64/mingw64/include/windef.h:9bitboard.h:26:
  53. movegen.h:24C:/msys64/mingw64/include/windef.h:9:
  54.                                               thread.h:50:62:,
  55.                  from error: thread.h:50:62:,
  56.                  from ,
  57.                  from ,
  58.                  from expected identifier before 'movepick.h:26,
  59.                 from C:/msys64/mingw64/include/windows.h:69C:/msys64/mingw64/include/windows.h:69ex
  60. pected identifier before ' ,
  61.                  from C:/msys64/mingw64/include/windows.h:69( pawns.c:25          ,
  62.                  from ,
  63.                  from  error: types.h:53,
  64.                  from error: ' token
  65.   50 |   THREAD_SLEEP, THREAD_SEARCH, THREAD_TT_CLEAR, THREAD_EXIT, :
  66. ,
  67.                 from ,
  68.                 from types.h:53thread.h:50:62:                            movepick.c:23types.h:53ex
  69. pected identifier before '             ' token
  70.   50 |   THREAD_SLEEP, THREAD_SEARCH,                                           (,
  71.                 from THREAD_RESUME(:
  72. ,
  73.                      ,
  74.                 from
  75.      |                                                              thread.h:50:62:,
  76.                 from misc.h:33bitboard.h:26
  77.      |                                                              ' token
  78.    50 |   THREAD_SLEEP, THREAD_SEARCH, THREAD_TT_CLEAR, THREAD_EXIT,  bitboard.h:26^~~~~~~~~~~~~^~~~
  79. ~~~~~~~~~error:            ,
  80.                  from ,
  81.                  from ' token
  82.   50 |   THREAD_SLEEP                                               THREAD_RESUMEsearch.h:24,
  83.                 from THREAD_RESUME
  84. expected identifier before ':
  85.  position.c:6(
  86.       |                                                              error: In file included from tb
  87. probe.c:12
  88.       |
  89. thread.h:50:62:,
  90.                  from :
  91. ' token
  92.                                                                     ^~~~~~~~~~~~~timeman.c:24C:/msy
  93. s64/mingw64/include/minwindef.h:163THREAD_RESUME                                          thread.h:5
  94. 0:62::
  95.       :
  96. ,
  97.                 from
  98.      |
  99.  
  100. C:/msys64/mingw64/include/windef.h:9                expected identifier before '       (^~~~~~~~~~~~
  101. ~,
  102.                       thread.h:50:62:error:                 ' token
  103.   50 |   THREAD_SLEEP, THREAD_SEARCH, THREAD_TT_CLEAR, THRE         error: C:/msys64/mingw64/includ
  104. e/windows.h:69print_engine_info
  105. ':
  106.  (                            ,
  107.                  from ' token
  108.   50 |   THREAD_SLEEP, THREAD_SEARCH, THREAD_TT_CLEAR, THREAD_EXIT,              misc.c:60:21:types
  109. .h:53' token
  110.    50                                                                (error: THREAD_RESUME
  111.       |                                                               ,
  112.                  from              ' token
  113.   50 |   THREAD_SLEEP, THREAD_SEARCH, THREAD_TT_CLEAR, THREAD_EXIT,
  114.      |                                                              ^~~~~~~~~~~~~expected identifie
  115. r before 'endgame.h:24
  116.       |                                                              THREAD_RESUMEvariable '^~~~~~~~
  117. ~~~~~
  118. (,
  119.                 from ^~~~~~~~~~~~~
  120.      |                                                              year
  121. ' token
  122.    50 |   THREAD_SLEEP, THREAD_SEARCH, THREAD_TT_CLEAR, THREAD_EXIT, material.h:24
  123.              THREAD_RESUME                    ,
  124.                  from
  125.  
  126.                                                                      -Wunused-but-set-variablethread
  127. .c:23^~~~~~~~~~~~~]
  128.    60 |     int day, month, :
  129.  
  130. yearthread.h:50:62:;
  131.       |                      ^~~~error:
  132. expected identifier before 'misc.c:60:9:( ' token
  133.    50 |   THREAD_SLEEP, THREAD_SEARCH, THREAD_TT_CLEAR, THREAD_EXIT, warning: THREAD_RESUMEvariable
  134. '
  135.      |                                                              day^~~~~~~~~~~~~' set but not u
  136. sed [
  137. -Wunused-but-set-variable]
  138.    60 |     int day, month, year;
  139.       |         ^~~
  140. In file included from C:/msys64/mingw64/include/minwindef.h:163,
  141.                  from C:/msys64/mingw64/include/windef.h:9,
  142.                  from C:/msys64/mingw64/include/windows.h:69,
  143.                  from types.h:53,
  144.                  from bitboard.h:26,
  145.                  from tt.c:28:
  146. thread.h:50:62: error: expected identifier before '(' token
  147.    50 |   THREAD_SLEEP, THREAD_SEARCH, THREAD_TT_CLEAR, THREAD_EXIT, THREAD_RESUME
  148.       |                                                              ^~~~~~~~~~~~~make[2]: *** [<builtin>: evaluate.o] Error 1
  149. make[2]: *** Waiting for unfinished jobs....
  150. make[2]: *** [<builtin>: position.o] Error 1
  151. make[2]: *** [<builtin>: timeman.o] Error 1
  152. make[2]: *** [<builtin>: search.o] Error 1
  153. make[2]: *** [<builtin>: movepick.o] Error 1
  154. make[2]: *** [<builtin>: pawns.o] Error 1
  155. make[2]: *** [<builtin>: benchmark.o] Error 1
  156. make[2]: *** [<builtin>: thread.o] Error 1
  157.  
  158. make[2]: *** [<builtin>: main.o] Error 1
  159. make[2]: *** [<builtin>: tbprobe.o] Error 1
  160. make[2]: *** [<builtin>: misc.o] Error 1
  161. make[2]: *** [<builtin>: tt.o] Error 1
  162. In file included from C:/msys64/mingw64/include/minwindef.h:163,
  163.                  from C:/msys64/mingw64/include/windef.h:9,
  164.                  from C:/msys64/mingw64/include/windows.h:69,
  165.                  from types.h:53,
  166.                  from evaluate.h:4,
  167.                  from uci.c:23:
  168. thread.h:50:62: error: expected identifier before '(' token
  169.    50 |   THREAD_SLEEP, THREAD_SEARCH, THREAD_TT_CLEAR, THREAD_EXIT, THREAD_RESUME
  170.       |                                                              ^~~~~~~~~~~~~
  171. make[2]: *** [<builtin>: uci.o] Error 1
  172. In file included from C:/msys64/mingw64/include/minwindef.h:163,
  173.                  from C:/msys64/mingw64/include/windef.h:9,
  174.                  from C:/msys64/mingw64/include/windows.h:69,
  175.                  from types.h:53,
  176.                  from nnue.h:7,
  177.                  from settings.c:2:
  178. thread.h:50:62: error: expected identifier before '(' token
  179.    50 |   THREAD_SLEEP, THREAD_SEARCH, THREAD_TT_CLEAR, THREAD_EXIT, THREAD_RESUME
  180.       |                                                              ^~~~~~~~~~~~~
  181. In file included from C:/msys64/mingw64/include/minwindef.h:163,
  182.                  from C:/msys64/mingw64/include/windef.h:9,
  183.                  from C:/msys64/mingw64/include/windows.h:69,
  184.                  from types.h:53,
  185.                  from evaluate.h:4,
  186.                  from ucioption.c:30:
  187. thread.h:50:62: error: expected identifier before '(' token
  188.    50 |   THREAD_SLEEP, THREAD_SEARCH, THREAD_TT_CLEAR, THREAD_EXIT, THREAD_RESUME
  189.       |                                                              ^~~~~~~~~~~~~
  190. make[2]: *** [<builtin>: settings.o] Error 1
  191. make[2]: *** [<builtin>: ucioption.o] Error 1
  192. In file included from C:/msys64/mingw64/include/minwindef.h:163,
  193.                  from C:/msys64/mingw64/include/windef.h:9,
  194.                  from C:/msys64/mingw64/include/windows.h:69,
  195.                  from types.h:53,
  196.                  from misc.h:33,
  197.                  from polybook.c:5:
  198. thread.h:50:62: error: expected identifier before '(' token
  199.    50 |   THREAD_SLEEP, THREAD_SEARCH, THREAD_TT_CLEAR, THREAD_EXIT, THREAD_RESUME
  200.       |                                                              ^~~~~~~~~~~~~
  201. make[2]: *** [<builtin>: polybook.o] Error 1
  202. make[2]: Leaving directory '/home/massimilianogoi/cfish'
  203. make[1]: *** [Makefile:1000: gcc-profile-make] Error 2
  204. make[1]: Leaving directory '/home/massimilianogoi/cfish'
  205. make: *** [Makefile:871: profile-build] Error 2
  206.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement