alecsandrofs

Error compiling m-cpuminer-v2.1-armv8

May 31st, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 10.68 KB | None | 0 0
  1. root@amlogic:~/build/m-cpuminer-v2.1-armv8# ls
  2. 777             compat         config.sub         cpuminer-config.h.in  install-sh    Makefile     m-minerd.bat                     m_minerd-sha2.o  scrypt.c                sha2-x64.S
  3. aclocal.m4      compat.h       configure          depcomp               LICENSE       Makefile.am  m_minerd-cpu-miner.o             m_minerd-util.o  scrypt-x64.S            sha2-x86.S
  4. AUTHORS         compile        configure.ac       Dockerfile            m7            Makefile.in  m_minerd-m7mhash.o               NEWS             scrypt-x86.S            stamp-h1
  5. autogen.sh      config.guess   COPYING            elist.h               m7mhash.c     miner.h      m_minerd-scrypt.o                nomacro.pl       sha256-armv8-aarch64.S  util.c
  6. autom4te.cache  config.log     cpu-miner.c        example-cfg.json      magimath.cpp  missing      m-minerd.sh                      README           sha2-arm.S              wolf-m7m-cpuminer-V2
  7. ChangeLog       config.status  cpuminer-config.h  INSTALL               magimath.h    m-minerd.1   m_minerd-sha256-armv8-aarch64.o  scrypt-arm.S     sha2.c
  8. root@amlogic:~/build/m-cpuminer-v2.1-armv8# ./configure
  9. checking build system type... aarch64-unknown-linux-gnu
  10. checking host system type... aarch64-unknown-linux-gnu
  11. checking target system type... aarch64-unknown-linux-gnu
  12. checking for a BSD-compatible install... /usr/bin/install -c
  13. checking whether build environment is sane... yes
  14. checking for a thread-safe mkdir -p... /bin/mkdir -p
  15. checking for gawk... no
  16. checking for mawk... mawk
  17. checking whether make sets $(MAKE)... yes
  18. checking whether make supports nested variables... yes
  19. checking whether to enable maintainer-specific portions of Makefiles... no
  20. checking for style of include used by make... GNU
  21. checking for gcc... gcc
  22. checking whether the C compiler works... yes
  23. checking for C compiler default output file name... a.out
  24. checking for suffix of executables...
  25. checking whether we are cross compiling... no
  26. checking for suffix of object files... o
  27. checking whether we are using the GNU C compiler... yes
  28. checking whether gcc accepts -g... yes
  29. checking for gcc option to accept ISO C89... none needed
  30. checking whether gcc understands -c and -o together... yes
  31. checking dependency style of gcc... gcc3
  32. checking for gcc option to accept ISO C99... none needed
  33. checking how to run the C preprocessor... gcc -E
  34. checking for grep that handles long lines and -e... /bin/grep
  35. checking for egrep... /bin/grep -E
  36. checking whether gcc needs -traditional... no
  37. checking dependency style of gcc... gcc3
  38. checking for ranlib... ranlib
  39. checking for g++... g++
  40. checking whether we are using the GNU C++ compiler... yes
  41. checking whether g++ accepts -g... yes
  42. checking dependency style of g++... gcc3
  43. checking for ANSI C header files... yes
  44. checking for sys/types.h... yes
  45. checking for sys/stat.h... yes
  46. checking for stdlib.h... yes
  47. checking for string.h... yes
  48. checking for memory.h... yes
  49. checking for strings.h... yes
  50. checking for inttypes.h... yes
  51. checking for stdint.h... yes
  52. checking for unistd.h... yes
  53. checking sys/endian.h usability... no
  54. checking sys/endian.h presence... no
  55. checking for sys/endian.h... no
  56. checking sys/param.h usability... yes
  57. checking sys/param.h presence... yes
  58. checking for sys/param.h... yes
  59. checking syslog.h usability... yes
  60. checking syslog.h presence... yes
  61. checking for syslog.h... yes
  62. checking for sys/sysctl.h... yes
  63. checking whether be32dec is declared... no
  64. checking whether le32dec is declared... no
  65. checking whether be32enc is declared... no
  66. checking whether le32enc is declared... no
  67. checking for size_t... yes
  68. checking for working alloca.h... yes
  69. checking for alloca... yes
  70. checking for getopt_long... yes
  71. checking for json_loads in -ljansson... yes
  72. checking for pthread_create in -lpthread... yes
  73. checking for __gmpz_init in -lgmp... yes
  74. checking gmp.h usability... yes
  75. checking gmp.h presence... yes
  76. checking for gmp.h... yes
  77. checking for gawk... (cached) mawk
  78. checking for curl-config... /usr/bin/curl-config
  79. checking for the version of libcurl... 7.47.0
  80. checking for libcurl >= version 7.15.2... yes
  81. checking whether libcurl is usable... yes
  82. checking for curl_free... yes
  83. checking that generated files are newer than configure... done
  84. configure: creating ./config.status
  85. config.status: creating Makefile
  86. config.status: creating compat/Makefile
  87. config.status: creating compat/jansson/Makefile
  88. config.status: creating m7/Makefile
  89. config.status: creating cpuminer-config.h
  90. config.status: cpuminer-config.h is unchanged
  91. config.status: executing depfiles commands
  92. root@amlogic:~/build/m-cpuminer-v2.1-armv8# make
  93. make  all-recursive
  94. make[1]: Entering directory '/root/build/m-cpuminer-v2.1-armv8'
  95. Making all in compat
  96. make[2]: Entering directory '/root/build/m-cpuminer-v2.1-armv8/compat'
  97. make[3]: Entering directory '/root/build/m-cpuminer-v2.1-armv8/compat'
  98. make[3]: Nothing to be done for 'all-am'.
  99. make[3]: Leaving directory '/root/build/m-cpuminer-v2.1-armv8/compat'
  100. make[2]: Leaving directory '/root/build/m-cpuminer-v2.1-armv8/compat'
  101. Making all in m7
  102. make[2]: Entering directory '/root/build/m-cpuminer-v2.1-armv8/m7'
  103. make[2]: Nothing to be done for 'all'.
  104. make[2]: Leaving directory '/root/build/m-cpuminer-v2.1-armv8/m7'
  105. make[2]: Entering directory '/root/build/m-cpuminer-v2.1-armv8'
  106. gcc  -g -O2 -pthread -flto -fuse-linker-plugin -Ofast  -o m-minerd m_minerd-cpu-miner.o m_minerd-util.o m_minerd-sha2.o m_minerd-scrypt.o m_minerd-m7mhash.o    m_minerd-sha256-armv8-aarch64.o -L/usr/lib/aarch64-linux-gnu -lcurl -ljansson -lpthread  m7/libm7m.a -lgmp -lcurl -lm -lgmp
  107. lto1: warning: -fassociative-math disabled; other options take precedence
  108. lto1: warning: -fassociative-math disabled; other options take precedence
  109. lto1: warning: -fassociative-math disabled; other options take precedence
  110. lto1: warning: -fassociative-math disabled; other options take precedence
  111. lto1: warning: -fassociative-math disabled; other options take precedence
  112. lto1: warning: -fassociative-math disabled; other options take precedence
  113. lto1: warning: -fassociative-math disabled; other options take precedence
  114. lto1: warning: -fassociative-math disabled; other options take precedence
  115. lto1: warning: -fassociative-math disabled; other options take precedence
  116. lto1: warning: -fassociative-math disabled; other options take precedence
  117. lto1: warning: -fassociative-math disabled; other options take precedence
  118. /tmp/ccZ3SVvH.ltrans4.ltrans.o: In function `scanhash_m7m_hash_t':
  119. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:358: undefined reference to `sph_sha256_init'
  120. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:360: undefined reference to `sph_sha256_init'
  121. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:361: undefined reference to `sph_sha224'
  122. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:366: undefined reference to `sph_keccak512_init'
  123. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:367: undefined reference to `sph_keccak512'
  124. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:372: undefined reference to `sph_haval256_5_init'
  125. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:373: undefined reference to `sph_haval256_5'
  126. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:378: undefined reference to `sph_ripemd160_init'
  127. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:379: undefined reference to `sph_ripemd160'
  128. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:412: undefined reference to `sph_sha224'
  129. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:413: undefined reference to `sph_sha256_close'
  130. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:420: undefined reference to `sph_keccak512'
  131. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:421: undefined reference to `sph_keccak512_close'
  132. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:428: undefined reference to `sph_haval256_5'
  133. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:429: undefined reference to `sph_haval256_5_close'
  134. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:436: undefined reference to `sph_ripemd160'
  135. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:437: undefined reference to `sph_ripemd160_close'
  136. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:453: undefined reference to `sph_sha224'
  137. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:454: undefined reference to `sph_sha256_close'
  138. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:488: undefined reference to `sph_sha224'
  139. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:489: undefined reference to `sph_sha256_close'
  140. /tmp/ccZ3SVvH.ltrans7.ltrans.o: In function `scanhash_m7m_hash':
  141. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:154: undefined reference to `sph_sha256_init'
  142. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:156: undefined reference to `sph_sha256_init'
  143. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:157: undefined reference to `sph_sha224'
  144. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:162: undefined reference to `sph_keccak512_init'
  145. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:163: undefined reference to `sph_keccak512'
  146. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:168: undefined reference to `sph_haval256_5_init'
  147. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:169: undefined reference to `sph_haval256_5'
  148. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:174: undefined reference to `sph_ripemd160_init'
  149. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:175: undefined reference to `sph_ripemd160'
  150. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:208: undefined reference to `sph_sha224'
  151. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:209: undefined reference to `sph_sha256_close'
  152. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:216: undefined reference to `sph_keccak512'
  153. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:217: undefined reference to `sph_keccak512_close'
  154. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:224: undefined reference to `sph_haval256_5'
  155. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:225: undefined reference to `sph_haval256_5_close'
  156. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:232: undefined reference to `sph_ripemd160'
  157. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:233: undefined reference to `sph_ripemd160_close'
  158. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:249: undefined reference to `sph_sha224'
  159. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:250: undefined reference to `sph_sha256_close'
  160. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:284: undefined reference to `sph_sha224'
  161. /root/build/m-cpuminer-v2.1-armv8/m7mhash.c:285: undefined reference to `sph_sha256_close'
  162. collect2: error: ld returned 1 exit status
  163. Makefile:522: recipe for target 'm-minerd' failed
  164. make[2]: *** [m-minerd] Error 1
  165. make[2]: Leaving directory '/root/build/m-cpuminer-v2.1-armv8'
  166. Makefile:790: recipe for target 'all-recursive' failed
  167. make[1]: *** [all-recursive] Error 1
  168. make[1]: Leaving directory '/root/build/m-cpuminer-v2.1-armv8'
  169. Makefile:426: recipe for target 'all' failed
  170. make: *** [all] Error 2
  171. root@amlogic:~/build/m-cpuminer-v2.1-armv8#
Advertisement
Add Comment
Please, Sign In to add comment