Skip to content

Cannot build on MacOS Sonoma 14.4.1 #143

@owenzsz

Description

@owenzsz
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!

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