After I run ./build.sh, it gives me this. i've been trouble shoot for hours but can't get a work around.
I'm pretty sure i have gcc installed and compiler worked.
Making clean in compat
Making clean in jansson
test -z "libjansson.a" || rm -f libjansson.a
rm -f *.o
make[2]: Nothing to be done for `clean-am'.
test -z "cpuminer" || rm -f cpuminer
rm -f *.o
rm -f algo/*.o
rm -f asm/*.o
rm -f compat/*.o
rm -f crypto/*.o
rm -f lyra2/*.o
rm -f sha3/*.o
rm -f yescrypt/*.o
configure.ac:4: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:4: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:4: the top level
configure.ac:15: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:15: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:15: the top level
configure.ac:23: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:23: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:23: the top level
checking build system type... aarch64-apple-darwin20.3.0
checking host system type... aarch64-apple-darwin20.3.0
checking target system type... aarch64-apple-darwin20.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Users/jacklin/Documents/min_bin/cpuminer-multi':
configure: error: C compiler cannot create executables
See `config.log' for more details
/bin/sh ./config.status --recheck
/bin/sh: ./config.status: No such file or directory
make: *** [config.status] Error 127
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't open file: cpuminer (No such file or directory)
I've tried
./configure CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" --with-crypto=/opt/homebrew/opt/openssl@1.1 --with-curl
I'm not sure this is right, i'm not familiar with c compiling. but this will give me
...
checking for EVP_DigestFinal_ex in -lcrypto... no
configure: error: OpenSSL crypto library required
OpenSSL is also installed... is there anything I can do?
After I run ./build.sh, it gives me this. i've been trouble shoot for hours but can't get a work around.
I'm pretty sure i have gcc installed and compiler worked.
I've tried
./configure CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" --with-crypto=/opt/homebrew/opt/openssl@1.1 --with-curlI'm not sure this is right, i'm not familiar with c compiling. but this will give me
OpenSSL is also installed... is there anything I can do?