unit-wasm icon indicating copy to clipboard operation
unit-wasm copied to clipboard

Error adding symbols: archive has no index

Open alexugthub opened this issue 1 year ago • 4 comments

When I try to build some of the examples with clang, using clang -o myapp.wasm luw-echo-request.c -lunit-wasm, I get this error:

/usr/bin/ld: /lib/x86_64-linux-gnu/libunit-wasm.a: error adding symbols: archive has no index; run ranlib to add one
clang: error: linker command failed with exit code 1 (use -v to see invocation)

alexugthub avatar Oct 19 '24 17:10 alexugthub