Skip to content

How to compile for Linux? #2

Description

@shitpoet

I was trying cmake . and then make but I've get a lot of errors:

Output of cmake ., everything seems good:

$ cmake .
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 12.2.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
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: ./engines/2048_14_badchessengine-0.4.4

But output of make is full of problems in the linking stage:

$ make
[  5%] Building C object CMakeFiles/badchessengine.dir/main.c.o
[ 11%] Building C object CMakeFiles/badchessengine.dir/init.c.o
[ 16%] Building C object CMakeFiles/badchessengine.dir/bitboards.c.o
[ 22%] Building C object CMakeFiles/badchessengine.dir/hashkeys.c.o
[ 27%] Building C object CMakeFiles/badchessengine.dir/board.c.o
[ 33%] Building C object CMakeFiles/badchessengine.dir/attack.c.o
[ 38%] Building C object CMakeFiles/badchessengine.dir/io.c.o
[ 44%] Building C object CMakeFiles/badchessengine.dir/movegen.c.o
[ 50%] Building C object CMakeFiles/badchessengine.dir/validate.c.o
[ 55%] Building C object CMakeFiles/badchessengine.dir/makemove.c.o
[ 61%] Building C object CMakeFiles/badchessengine.dir/perft.c.o
[ 66%] Building C object CMakeFiles/badchessengine.dir/search.c.o
[ 72%] Building C object CMakeFiles/badchessengine.dir/util.c.o
[ 77%] Building C object CMakeFiles/badchessengine.dir/tt.c.o
[ 83%] Building C object CMakeFiles/badchessengine.dir/evaluate.c.o
[ 88%] Building C object CMakeFiles/badchessengine.dir/uci.c.o
[ 94%] Building C object CMakeFiles/badchessengine.dir/types.c.o
[100%] Linking C executable badchessengine
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x0): multiple definition of `pceChar'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x8): multiple definition of `sideChar'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x8): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x10): multiple definition of `rankChar'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x10): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x18): multiple definition of `fileChar'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x18): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x20): multiple definition of `sq120tosq64';CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x200): multiple definition of `sq64tosq120'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x200): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x300): multiple definition of `setMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x300): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x500): multiple definition of `clearMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x500): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x700): multiple definition of `pieceKeys'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x700): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x37c0): multiple definition of `sideKey'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x37c0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x37e0): multiple definition of `castleKeys'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x37e0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x3860): multiple definition of `filesBrd'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3860): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x3a40): multiple definition of `ranksBrd'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3a40): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x3c20): multiple definition of `fileBBMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3c20): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x3c60): multiple definition of `rankBBMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3c60): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x3ca0): multiple definition of `blackPassedMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3ca0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x3ea0): multiple definition of `whitePassedMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3ea0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.bss+0x40a0): multiple definition of `isolatedMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x40a0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0x0): multiple definition of `pieceVal'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0x40): multiple definition of `pieceBig';CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x40): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0x80): multiple definition of `pieceMaj';CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x80): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0xc0): multiple definition of `pieceMin';CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0xc0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0x100): multiple definition of `pieceCol'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x100): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0x140): multiple definition of `piecePawn'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x140): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0x180): multiple definition of `pieceKnight'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x180): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0x1c0): multiple definition of `pieceKing'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x1c0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0x200): multiple definition of `pieceRookQueen'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x200): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0x240): multiple definition of `pieceBishopQueen'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x240): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0x280): multiple definition of `pieceSlides'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x280): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0x2c0): multiple definition of `Mirror64'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x2c0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/init.c.o:(.rodata+0x3c0): multiple definition of `Tempo'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x3c0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x0): multiple definition of `pceChar';CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x8): multiple definition of `sideChar'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x8): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x10): multiple definition of `rankChar'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x10): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x18): multiple definition of `fileChar'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x18): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x20): multiple definition of `sq120tosq64'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x200): multiple definition of `sq64tosq120'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x200): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x300): multiple definition of `setMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x300): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x500): multiple definition of `clearMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x500): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x700): multiple definition of `pieceKeys'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x700): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x37c0): multiple definition of `sideKey'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x37c0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x37e0): multiple definition of `castleKeys'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x37e0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x3860): multiple definition of `filesBrd'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3860): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x3a40): multiple definition of `ranksBrd'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3a40): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x3c20): multiple definition of `fileBBMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3c20): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x3c60): multiple definition of `rankBBMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3c60): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x3ca0): multiple definition of `blackPassedMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3ca0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x3ea0): multiple definition of `whitePassedMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3ea0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.bss+0x40a0): multiple definition of `isolatedMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x40a0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0x0): multiple definition of `pieceVal'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0x40): multiple definition of `pieceBig'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x40): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0x80): multiple definition of `pieceMaj'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x80): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0xc0): multiple definition of `pieceMin'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0xc0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0x100): multiple definition of `pieceCol'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x100): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0x140): multiple definition of `piecePawn'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x140): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0x180): multiple definition of `pieceKnight'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x180): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0x1c0): multiple definition of `pieceKing'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x1c0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0x200): multiple definition of `pieceRookQueen'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x200): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0x240): multiple definition of `pieceBishopQueen'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x240): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0x280): multiple definition of `pieceSlides'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x280): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0x2c0): multiple definition of `Mirror64'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x2c0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/bitboards.c.o:(.rodata+0x3c0): multiple definition of `Tempo'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x3c0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x0): multiple definition of `pceChar'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x8): multiple definition of `sideChar';CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x8): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x10): multiple definition of `rankChar'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x10): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x18): multiple definition of `fileChar'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x18): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x20): multiple definition of `sq120tosq64'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x20): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x200): multiple definition of `sq64tosq120'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x200): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x300): multiple definition of `setMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x300): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x500): multiple definition of `clearMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x500): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x700): multiple definition of `pieceKeys'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x700): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x37c0): multiple definition of `sideKey'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x37c0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x37e0): multiple definition of `castleKeys'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x37e0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x3860): multiple definition of `filesBrd'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3860): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x3a40): multiple definition of `ranksBrd'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3a40): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x3c20): multiple definition of `fileBBMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3c20): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x3c60): multiple definition of `rankBBMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3c60): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x3ca0): multiple definition of `blackPassedMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3ca0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x3ea0): multiple definition of `whitePassedMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x3ea0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.bss+0x40a0): multiple definition of `isolatedMask'; CMakeFiles/badchessengine.dir/main.c.o:(.bss+0x40a0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.rodata+0x0): multiple definition of `pieceVal'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.rodata+0x40): multiple definition of `pieceBig'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x40): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.rodata+0x80): multiple definition of `pieceMaj'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x80): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.rodata+0xc0): multiple definition of `pieceMin'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0xc0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.rodata+0x100): multiple definition of `pieceCol'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x100): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.rodata+0x140): multiple definition of `piecePawn'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x140): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.rodata+0x180): multiple definition of `pieceKnight'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x180): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.rodata+0x1c0): multiple definition of `pieceKing'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x1c0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.rodata+0x200): multiple definition of `pieceRookQueen'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x200): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.rodata+0x240): multiple definition of `pieceBishopQueen'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x240): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/hashkeys.c.o:(.rodata+0x280): multiple definition of `pieceSlides'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x280): first defined here
...
...
...
and so on and so on
...
...
...
/usr/bin/ld: CMakeFiles/badchessengine.dir/types.c.o:(.rodata+0x2c0): multiple definition of `pieceSlides'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x280): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/types.c.o:(.rodata+0x300): multiple definition of `Mirror64'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x2c0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/types.c.o:(.rodata+0x400): multiple definition of `Tempo'; CMakeFiles/badchessengine.dir/main.c.o:(.rodata+0x3c0): first defined here
/usr/bin/ld: CMakeFiles/badchessengine.dir/search.c.o: in function `initReductions':
search.c:(.text+0x34): undefined reference to `log'
/usr/bin/ld: search.c:(.text+0x51): undefined reference to `log'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/badchessengine.dir/build.make:353: badchessengine] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/badchessengine.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions