Bitcoin Forum
June 18, 2024, 12:08:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Quark mining on Alternative Platform (NOT Intel/AMD)  (Read 2080 times)
xplorr (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 13, 2014, 02:54:08 PM
Last edit: June 16, 2014, 07:32:54 AM by xplorr
 #1

This topic is for exchange of experience of mining on platforms, different from x86 and x86_64

Interesting platform:
AIX (IBM POWER)     SOLARIS (SUN SPARK)    HP-UX (ITANIUM)


HI to all.

I try to compile minerd for SPARK platform.

Hardware: SPARK T5-2
OS : Solaris 11.1

Source minerd: https://github.com/palmd/Cp3u

Maybe somebody had experience?

Currently have a problem in step "make"

Code:
ld: fatal: symbol referencing errors. No output written to minerd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `minerd'
Current working directory /usr/local/src/qrk/minerd/cpuminer-2.3.2-quarkcoin-src-dist
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='compat'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/qrk/minerd/cpuminer-2.3.2-quarkcoin-src-dist
*** Error code 1
make: Fatal error: Command failed for target `all'

Thank you all for answers
digitalindustry
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


‘Try to be nice’


View Profile WWW
June 14, 2014, 01:03:49 AM
 #2

wish i could help - i have used that miner but have next to zero experience with SOLARIS .

If all else fails check dependencies ?  try Stack exchange?

- Twitter @Kolin_Quark
xplorr (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 16, 2014, 07:11:57 AM
 #3

Good afternoon.

With dependencies there is a nuance.

When I run the autogen.sh, an error occurs:

Code:
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'
configure.ac:114: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Line 114 in configure.ac is:
Code:
LIBCURL_CHECK_CONFIG(, 7.15.2, ,
  [AC_MSG_ERROR([Missing required libcurl >= 7.15.2])])

In my system I have :
  • curl 7.21.2 (sparc-sun-solaris2.11)
  • libcurl/7.21.2
  • OpenSSL/1.0.0k
  • zlib/1.2.3-T4mods
  • libidn/1.19

I can comment out the check libcurl in file configure.ac:
After editing configure.acautogen.sh running  without errors.
I can move on to the next step.

./configure
Code:
checking build system type... sparc-sun-solaris2.11
checking host system type... sparc-sun-solaris2.11
checking target system type... sparc-sun-solaris2.11
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/gmkdir -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... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -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... no
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
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

Then I run make and have a problem, like in first post.

What do you mean when talking about "try Stack exchange"?

Thank you so much.

digitalindustry
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


‘Try to be nice’


View Profile WWW
June 16, 2014, 10:40:25 AM
 #4

ok before we mess this topic up i meant try stack overflow  - http://stackoverflow.com/

post your question here and some nice coder may help you .   you could just link to this topic or cut your errors into the forum there.

obviously you need to sign up but in this case i think its well worth it. : )

here is a link to Tag Solaris  https://stackoverflow.com/questions/tagged/solaris

- Twitter @Kolin_Quark
xplorr (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 16, 2014, 12:29:47 PM
 #5

Thank you very much for your help.

Question is published by: https://stackoverflow.com/questions/24243480
digitalindustry
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


‘Try to be nice’


View Profile WWW
June 16, 2014, 12:46:48 PM
 #6

Thank you very much for your help.

Question is published by: https://stackoverflow.com/questions/24243480

maybe post your system specs - as per here also i.e your dependencies and versions , hope you get an answer. 

- Twitter @Kolin_Quark
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!