bsdiff icon indicating copy to clipboard operation
bsdiff copied to clipboard

Can't build on Mac (Catalina)

Open Taygair opened this issue 5 years ago • 1 comments

Hello When I try to make build bsdiff or bspatch on Mac (Catalina) I got this error:

cc bspatch.c -o bspatch Undefined symbols for architecture x86_64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [bspatch] Error 1

Taygair avatar Jul 28 '20 20:07 Taygair

You need to define BSDIFF_EXECUTABLE and BSPATCH_EXECUTABLE macro to build the executable.

drake127 avatar Sep 21 '20 10:09 drake127