Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure with apple clang 14.0.3 on macOS 13.4 #6

Open
xu-shawn opened this issue Jun 4, 2023 · 0 comments
Open

Build failure with apple clang 14.0.3 on macOS 13.4 #6

xu-shawn opened this issue Jun 4, 2023 · 0 comments

Comments

@xu-shawn
Copy link

xu-shawn commented Jun 4, 2023

$ make
g++ -pthread -std=c++11 -Wall -Wextra -pipe obj/bitboard.o obj/eval.o obj/magic_moves.o obj/main.o obj/move.o obj/move_gen.o obj/perft.o obj/position.o obj/search.o obj/tt.o obj/uci.o -o bin/monochrome -pthread -Wl,--no-as-needed
ld: warning: directory not found for option '-L/Users/user/.local/lib'
ld: unknown option: --no-as-needed
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [all] Error 1

Removing -Wl,--no-as-needed in makefile fixes the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant