Open Zabrane opened 1 year ago
Hi @dukebarman
I'm unable to compile the master branch on Mac:
master
$ git clone https://github.com/Darkkey/erlamsa.git $ cd erlamsa $ make which rebar3 || test -f rebar3 || (mkdir -p _build && cd _build && git clone https://github.com/erlang/rebar3.git && cd rebar3 && ./bootstrap && cp ./rebar3 ../../rebar3 && cd ../..) /usr/local/bin/rebar3 echo "-define(GITVER, \"; commit: `git log -1 --format=%cd --date=local` `git rev-parse HEAD`\")." > src/version.hrl echo "-define(PREFIXDIR, \"/usr/local\")." >> src/version.hrl mkdir -p priv `which rebar3 || echo ./rebar3` get-deps ===> Verifying dependencies... `which rebar3 || echo ./rebar3` compile ===> Verifying dependencies... /Applications/Xcode.app/Contents/Developer/usr/bin/make -f /private/tmp/erlamsa/_build/default/lib/procket/c_src/Makefile.ancillary make[2]: Nothing to be done for `all'. cc -m64 -g -Wall -o /private/tmp/erlamsa/_build/default/lib/procket/priv/procket -L/private/tmp/erlamsa/_build/default/lib/procket/c_src procket_cmd.c -lancillary ld: warning: ignoring file /private/tmp/erlamsa/_build/default/lib/procket/c_src/libancillary.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 ) Undefined symbols for architecture x86_64: "_ancil_send_fd", referenced from: _procket_pipe in procket_cmd-4b321f.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [cmd] Error 1 ===> Hook for compile failed! make: *** [compile] Error 1
My config:
$ sw_vers ProductName: macOS ProductVersion: 13.0.1 BuildVersion: 22A400 $ erl -version Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 12.2.
Hi @dukebarman
I'm unable to compile the
master
branch on Mac:My config: