cpuminer possibly undefined macro: AC_MSG_ERROR
thufir
hawat.thufir at gmail.com
Thu Dec 19 14:43:38 UTC 2013
so far as I can tell, I have all required dependencies and, apparently,
the make worked(?). However, no minerd as the README suggests.
I updated, upgraded, fixed blocked packages, dist-upgraded, installed
packages. Not sure what's missing.
thufir at dur:~/cpuminer$
thufir at dur:~/cpuminer$ ./autogen.sh
configure.ac:15: installing `./compile'
configure.ac:4: installing `./config.guess'
configure.ac:4: installing `./config.sub'
configure.ac:6: installing `./install-sh'
configure.ac:6: installing `./missing'
compat/jansson/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
thufir at dur:~/cpuminer$
thufir at dur:~/cpuminer$ ./configure CFLAGS="-O3"
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 style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc -std=gnu99 needs -traditional... no
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking dependency style of gcc -std=gnu99... gcc3
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 sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for sys/sysctl.h... yes
checking whether be32dec is declared... no
checking whether le32dec is declared... no
checking whether be32enc is declared... no
checking whether le32enc is declared... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for getopt_long... yes
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... yes
checking for json_loads in -ljansson... no
checking for pthread_create in -lpthread... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.22.0
checking for libcurl >= version 7.15.2... 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 cpuminer-config.h
config.status: executing depfiles commands
thufir at dur:~/cpuminer$
thufir at dur:~/cpuminer$ make
make all-recursive
make[1]: Entering directory `/home/thufir/cpuminer'
Making all in compat
make[2]: Entering directory `/home/thufir/cpuminer/compat'
Making all in jansson
make[3]: Entering directory `/home/thufir/cpuminer/compat/jansson'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT dump.o -MD -MP -
MF .deps/dump.Tpo -c -o dump.o dump.c
mv -f .deps/dump.Tpo .deps/dump.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT hashtable.o -MD -MP
-MF .deps/hashtable.Tpo -c -o hashtable.o hashtable.c
mv -f .deps/hashtable.Tpo .deps/hashtable.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT load.o -MD -MP -
MF .deps/load.Tpo -c -o load.o load.c
mv -f .deps/load.Tpo .deps/load.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT strbuffer.o -MD -MP
-MF .deps/strbuffer.Tpo -c -o strbuffer.o strbuffer.c
mv -f .deps/strbuffer.Tpo .deps/strbuffer.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT utf.o -MD -MP -
MF .deps/utf.Tpo -c -o utf.o utf.c
mv -f .deps/utf.Tpo .deps/utf.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -O3 -MT value.o -MD -MP -
MF .deps/value.Tpo -c -o value.o value.c
mv -f .deps/value.Tpo .deps/value.Po
rm -f libjansson.a
ar cru libjansson.a dump.o hashtable.o load.o strbuffer.o utf.o value.o
ranlib libjansson.a
make[3]: Leaving directory `/home/thufir/cpuminer/compat/jansson'
make[3]: Entering directory `/home/thufir/cpuminer/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/thufir/cpuminer/compat'
make[2]: Leaving directory `/home/thufir/cpuminer/compat'
make[2]: Entering directory `/home/thufir/cpuminer'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./
compat/jansson -O3 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-
miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-
miner.c
mv -f .deps/minerd-cpu-miner.Tpo .deps/minerd-cpu-miner.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./
compat/jansson -O3 -MT minerd-util.o -MD -MP -MF .deps/minerd-util.Tpo -
c -o minerd-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/minerd-util.Tpo .deps/minerd-util.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./
compat/jansson -O3 -MT minerd-sha2.o -MD -MP -MF .deps/minerd-sha2.Tpo -
c -o minerd-sha2.o `test -f 'sha2.c' || echo './'`sha2.c
mv -f .deps/minerd-sha2.Tpo .deps/minerd-sha2.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./
compat/jansson -O3 -MT minerd-scrypt.o -MD -MP -MF .deps/minerd-
scrypt.Tpo -c -o minerd-scrypt.o `test -f 'scrypt.c' || echo './'`scrypt.c
mv -f .deps/minerd-scrypt.Tpo .deps/minerd-scrypt.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./
compat/jansson -O3 -MT minerd-sha2-x86.o -MD -MP -MF .deps/minerd-sha2-
x86.Tpo -c -o minerd-sha2-x86.o `test -f 'sha2-x86.S' || echo './'`sha2-
x86.S
mv -f .deps/minerd-sha2-x86.Tpo .deps/minerd-sha2-x86.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./
compat/jansson -O3 -MT minerd-scrypt-x86.o -MD -MP -MF .deps/minerd-
scrypt-x86.Tpo -c -o minerd-scrypt-x86.o `test -f 'scrypt-x86.S' || echo
'./'`scrypt-x86.S
mv -f .deps/minerd-scrypt-x86.Tpo .deps/minerd-scrypt-x86.Po
gcc -std=gnu99 -O3 -pthread -o minerd minerd-cpu-miner.o minerd-util.o
minerd-sha2.o minerd-scrypt.o minerd-sha2-x86.o minerd-scrypt-x86.o -L/
usr/lib/i386-linux-gnu -lcurl -Wl,-Bsymbolic-functions -Wl,-z,relro compat/
jansson/libjansson.a -lpthread
make[2]: Leaving directory `/home/thufir/cpuminer'
make[1]: Leaving directory `/home/thufir/cpuminer'
thufir at dur:~/cpuminer$
thufir at dur:~/cpuminer$ minerd --help
No command 'minerd' found, did you mean:
Command 'mined' from package 'mined' (universe)
minerd: command not found
thufir at dur:~/cpuminer$
thufir at dur:~/cpuminer$
I downloaded the zip file instead of using git, as some websites suggest.
I don't see any errors, or nothing that looks like an error to me. I see
mention of minerd and scrypt, which are the particular programs. Don't
get it.
thanks,
Thufir
More information about the ubuntu-users
mailing list