You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ make
gcc -O3 -std=gnu11 -Wall -Wextra -Wshadow -flto -march=native -static *.c -o berserk
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccO5hkMQ.o (symbol from plugin):(.text+0x0): multiple definition of `zobristPieces'; C:\msys64\tmp\cc8m3SUt.o (symbol from plugin):(.text+0x0): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccO5hkMQ.o (symbol from plugin):(.text+0x0): multiple definition of `zobristEpKeys'; C:\msys64\tmp\cc8m3SUt.o (symbol from plugin):(.text+0x0): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccO5hkMQ.o (symbol from plugin):(.text+0x0): multiple definition of `zobristCastleKeys'; C:\msys64\tmp\cc8m3SUt.o (symbol from plugin):(.text+0x0): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccO5hkMQ.o (symbol from plugin):(.text+0x0): multiple definition of `zobristSideKey'; C:\msys64\tmp\cc8m3SUt.o (symbol from plugin):(.text+0x0): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\cc7aEOno.o (symbol from plugin):(.text+0x0): multiple definition of `baseMaterialValues'; C:\msys64\tmp\cc8m3SUt.o (symbol from plugin):(.text+0x0): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccIVGumi.o (symbol from plugin):(.text+0x0): multiple definition of `baseMaterialValues'; C:\msys64\tmp\cc8m3SUt.o (symbol from plugin):(.text+0x0): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccxfj1SO.o (symbol from plugin):(.text+0x0): multiple definition of `baseMaterialValues'; C:\msys64\tmp\cc8m3SUt.o (symbol from plugin):(.text+0x0): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccPPcc0T.o (symbol from plugin):(.text+0x0): multiple definition of `baseMaterialValues'; C:\msys64\tmp\cc8m3SUt.o (symbol from plugin):(.text+0x0): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccC6o3Ig.o (symbol from plugin):(.text+0x0): multiple definition of `zobristPieces'; C:\msys64\tmp\cc8m3SUt.o (symbol from plugin):(.text+0x0): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccC6o3Ig.o (symbol from plugin):(.text+0x0): multiple definition of `zobristEpKeys'; C:\msys64\tmp\cc8m3SUt.o (symbol from plugin):(.text+0x0): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccC6o3Ig.o (symbol from plugin):(.text+0x0): multiple definition of `zobristCastleKeys'; C:\msys64\tmp\cc8m3SUt.o (symbol from plugin):(.text+0x0): first defined here
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\msys64\tmp\ccC6o3Ig.o (symbol from plugin):(.text+0x0): multiple definition of `zobristSideKey'; C:\msys64\tmp\cc8m3SUt.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:9: all] Error 1
Multiple definition of is a typical error for newer gcc versions. (it dislikes header redefining used in various c files)
Hi Jay,
Multiple definition of
is a typical error for newer gcc versions. (it dislikes header redefining used in various c files)https://stackoverflow.com/questions/17764661/multiple-definition-of-linker-error
https://mersenneforum.org/showthread.php?p=565756
I would like to compile a non-popcnt version for my hardware and already received requests for hardware
just using ssse3. (w and w/o popcnt)
Guenther
The text was updated successfully, but these errors were encountered: