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

Cannot build on MacOS Sonoma 14.4.1 #143

Open
owenzsz opened this issue Mar 26, 2024 · 0 comments
Open

Cannot build on MacOS Sonoma 14.4.1 #143

owenzsz opened this issue Mar 26, 2024 · 0 comments

Comments

@owenzsz
Copy link

owenzsz commented Mar 26, 2024

LINK      luajit
ld: warning: Linking with PIE, -image_base will be ignored
OK        Successfully built LuaJIT
CC src/wrk.c
src/wrk.c:834:13: warning: unused function 'print_stats_latency' [-Wunused-function]
static void print_stats_latency(stats *stats) {
            ^
1 warning generated.
CC src/net.c
CC src/ssl.c
src/ssl.c:13:13: warning: unused function 'ssl_lock' [-Wunused-function]
static void ssl_lock(int mode, int n, const char *file, int line) {
            ^
src/ssl.c:22:22: warning: unused function 'ssl_id' [-Wunused-function]
static unsigned long ssl_id() {
                     ^
2 warnings generated.
CC src/aprintf.c
CC src/stats.c
CC src/script.c
CC src/units.c
CC src/ae.c
CC src/zmalloc.c
CC src/http_parser.c
CC src/tinymt64.c
CC src/hdr_histogram.c
LUAJIT src/wrk.lua
LINK wrk
ld: warning: Linking with PIE, -image_base will be ignored
ld: LINKEDIT overlap of start of LINKEDIT and symbol table in '/Users/xxx/Desktop/OpenSource/wrk2/obj/bytecode.o' in '/Users/xxx/Desktop/OpenSource/wrk2/obj/bytecode.o'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [wrk] Error 1

I tried to go over the issue list and found no similar error messages. I have a Mac with intel chip and the OS version is Sonoma 14.4.1. Any help will be greatly appreciated! Thanks!

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