我正在尝试编译一个相当陈旧的矿工并解释为什么它不起作用,但我真的想让它发挥作用。这是kiyominer的cpu矿工:
Git tree:https://github.com/kiyominer/cpuminer
我正在遵循README文件中的构建说明,当我运行./configure命令时,我得到以下输出:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-k1om-linux-gnu
checking target system type... x86_64-k1om-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-k1om-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for x86_64-k1om-linux-gcc... icc
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... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether icc accepts -g... yes
checking for icc option to accept ISO C89... none needed
checking whether icc understands -c and -o together... yes
checking dependency style of icc... gcc3
checking for icc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... icc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether icc -std=gnu99 needs -traditional... no
checking dependency style of icc -std=gnu99... gcc3
checking for x86_64-k1om-linux-ranlib... no
checking for ranlib... ranlib
configure: WARNING: using cross tools not prefixed with host triplet
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 for json_loads in -ljansson... no
checking for pthread_create in -lpthread... yes
checking for gawk... (cached) mawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.35.0
checking for libcurl >= version 7.15.2... yes
checking whether libcurl is usable... no
configure: error: Missing required libcurl >= 7.15.2
并且你可以看到它找到了libcurl,但是说它无法使用。现在在README文件中,它说其中一个依赖项是libcurl,这里找到了“http://curl.haxx.se/libcurl/(为麦克风构建)”和“为麦克风构建”,我认为这是错误的。麦克风是否有特定的libcurl版本?我只是使用命令sudo apt-get install libcurl4-openssl-dev
任何想法?
答案 0 :(得分:-1)
我最近为k1om架构编译了最新版本的kiyominer / cpuminer。
您可以在此处下载RPM:https://drive.google.com/file/d/0ByMg9sbo5i4fYXBERE9hMEg4VWs/view?usp=sharing
享受。