[root@localhost cpuminer-1.0.2]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for json_loads in -ljansson... yes
checking for pthread_create in -lpthread... yes
checking for yasm... false
configure: yasm is required for the sse2_64 algorithm. It will be skipped.
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.15.5
checking for libcurl >= version 7.10.1... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating x86_64/Makefile
config.status: creating cpuminer-config.h
config.status: executing depfiles commands
[root@localhost cpuminer-1.0.2]# make
make all-recursive
make[1]: Entering directory /root/bitcoin/cpuminer-1.0.2' Making all in compat make[2]: Entering directory/root/bitcoin/cpuminer-1.0.2/compat'
make[3]: Entering directory /root/bitcoin/cpuminer-1.0.2/compat' make[3]: Nothing to be done forall-am'.
make[3]: Leaving directory /root/bitcoin/cpuminer-1.0.2/compat' make[2]: Leaving directory/root/bitcoin/cpuminer-1.0.2/compat'
make[2]: Entering directory /root/bitcoin/cpuminer-1.0.2' gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -g -O2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.otest -f 'cpu-miner.c' || e
cho './'cpu-miner.c cpu-miner.c: In function parse_arg: cpu-miner.c:786: warning: passing argument 2 of json_load_file makes integer from pointer without a cast cpu-miner.c:786: error: too few arguments to function json_load_file make[2]: *** [minerd-cpu-miner.o] Error 1 make[2]: Leaving directory/root/bitcoin/cpuminer-1.0.2'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/root/bitcoin/cpuminer-1.0.2'
make: * [all] Error 2
See output
[root@localhost cpuminer-1.0.2]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking whether gcc and cc understand -c and -o together... yes checking for ranlib... ranlib checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for working alloca.h... yes checking for alloca... yes checking for json_loads in -ljansson... yes checking for pthread_create in -lpthread... yes checking for yasm... false configure: yasm is required for the sse2_64 algorithm. It will be skipped. checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gawk... (cached) gawk checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 7.15.5 checking for libcurl >= version 7.10.1... yes checking whether libcurl is usable... yes checking for curl_free... yes configure: creating ./config.status config.status: creating Makefile config.status: creating compat/Makefile config.status: creating compat/jansson/Makefile config.status: creating x86_64/Makefile config.status: creating cpuminer-config.h config.status: executing depfiles commands [root@localhost cpuminer-1.0.2]# make make all-recursive make[1]: Entering directory
/root/bitcoin/cpuminer-1.0.2' Making all in compat make[2]: Entering directory
/root/bitcoin/cpuminer-1.0.2/compat' make[3]: Entering directory/root/bitcoin/cpuminer-1.0.2/compat' make[3]: Nothing to be done for
all-am'. make[3]: Leaving directory/root/bitcoin/cpuminer-1.0.2/compat' make[2]: Leaving directory
/root/bitcoin/cpuminer-1.0.2/compat' make[2]: Entering directory/root/bitcoin/cpuminer-1.0.2' gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -g -O2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o
test -f 'cpu-miner.c' || e cho './'cpu-miner.c cpu-miner.c: In function parse_arg: cpu-miner.c:786: warning: passing argument 2 of json_load_file makes integer from pointer without a cast cpu-miner.c:786: error: too few arguments to function json_load_file make[2]: *** [minerd-cpu-miner.o] Error 1 make[2]: Leaving directory
/root/bitcoin/cpuminer-1.0.2' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/root/bitcoin/cpuminer-1.0.2' make: * [all] Error 2