Bitcoin Forum
November 24, 2017, 03:08:03 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 [832] 833 834 835 836 837 838 839 840 841 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.10.0  (Read 5667372 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
etherparty
Full Member
***
Offline Offline

Activity: 187



View Profile WWW
March 29, 2017, 06:19:31 AM
 #16621

hi guys! sorry for being noob for this one, Im not too particular with the jargons so im going to ask it directly.
>Do I need other hardware? or just my laptop is good?
>Do i need to be good in programming to work this one?
>do i need to invest to work this?

I really aprreciate if someone answer this on details. Sorry again for being noob  Sad

1. Yes ideally you would use ASIC miners for Bitcoin or gaming GPUs for other alts.
2. You don't need to be a programmer but you need to know how to install things on your PC and how to run software via command line.
3. Unless you have ASIC miners or GPUs already yes you will have to spend some money to get yourself some mining hardware.

JOIN ETHERPARTY ON WEB - TELEGRAM - REDDIT - TWITTER - FB
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511536083
Hero Member
*
Offline Offline

Posts: 1511536083

View Profile Personal Message (Offline)

Ignore
1511536083
Reply with quote  #2

1511536083
Report to moderator
1511536083
Hero Member
*
Offline Offline

Posts: 1511536083

View Profile Personal Message (Offline)

Ignore
1511536083
Reply with quote  #2

1511536083
Report to moderator
kenesu
Full Member
***
Offline Offline

Activity: 230


View Profile
March 30, 2017, 04:14:03 AM
 #16622

hi guys! sorry for being noob for this one, Im not too particular with the jargons so im going to ask it directly.
>Do I need other hardware? or just my laptop is good?
>Do i need to be good in programming to work this one?
>do i need to invest to work this?

I really aprreciate if someone answer this on details. Sorry again for being noob  Sad

1. Yes ideally you would use ASIC miners for Bitcoin or gaming GPUs for other alts.
2. You don't need to be a programmer but you need to know how to install things on your PC and how to run software via command line.
3. Unless you have ASIC miners or GPUs already yes you will have to spend some money to get yourself some mining hardware.
Thank you so much at least this help me to understand this Smiley
smartybones
Newbie
*
Offline Offline

Activity: 1


View Profile
March 30, 2017, 08:58:25 PM
 #16623

Hi there.

I have been learning bitcoin mining for the last few weeks now. I picked up some kit cheap and have been playing around with it. I have no problem setting up and running an antminer u2 and its hashing away happy as Larry. My plan is to biuld up over time a large mining rig, but I have got to learn on the cheap obsolete kit first.

I have got hold of half a dozen gridseed blades. just the bare boards, I have knocked together some heatsinks and fans to keep them cool. The boards run fine on a windows binary with gridseed drivers I downloaded, but I want to get it working on a raspberry pi3.

I have no problem compileing from sourcecode on my raspberry pi, but what I am having with is compiling with the gridseed drivers. I copied the driver-gridseed.c and driver-gridseed.h over the the cgmineer directory and run sudo ./configure --enable-gridseed but when make the binary it has a moan about a lack of driver "configure: error: No mining devices configured in"

I am assuming I need to add  a reference to driver-gridseed.c and driver-gridseed.h elsewhere in the sourcecode....

can anyone point me in the right direction to the files I need to edit?

Marty.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2352


Ruu \o/


View Profile WWW
March 30, 2017, 09:02:00 PM
 #16624

I have got hold of half a dozen gridseed blades. just the bare boards, I have knocked together some heatsinks and fans to keep them cool. The boards run fine on a windows binary with gridseed drivers I downloaded, but I want to get it working on a raspberry pi3.

I have no problem compileing from sourcecode on my raspberry pi, but what I am having with is compiling with the gridseed drivers. I copied the driver-gridseed.c and driver-gridseed.h over the the cgmineer directory and run sudo ./configure --enable-gridseed but when make the binary it has a moan about a lack of driver "configure: error: No mining devices configured in"

I am assuming I need to add  a reference to driver-gridseed.c and driver-gridseed.h elsewhere in the sourcecode....

can anyone point me in the right direction to the files I need to edit?
Unfortunately there is no gridseed code nor support in the official cgminer, it being primarily an altcoin mining device. You'll need to seek help from whoever maintains a fork of cgminer with gridseed support.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
smartybones
Newbie
*
Offline Offline

Activity: 1


View Profile
March 30, 2017, 09:12:22 PM
 #16625

Unfortunately there is no gridseed code nor support in the official cgminer, it being primarily an altcoin mining device. You'll need to seek help from whoever maintains a fork of cgminer with gridseed support.

Thanks for the prompt reply.  time to search for a fork,

Marty.
bookstime6
Newbie
*
Offline Offline

Activity: 10


View Profile
April 03, 2017, 09:47:19 AM
 #16626

I'm getting this error during make on raspbian:

  CC       cgminer-cgminer.o
gcc: error: ’-I/usr/include/curl’: No such file or directory
Makefile:869: recipe for target 'cgminer-cgminer.o' failed


I have a /usr/include/curl/ folder which contain curl.h etc.

Any idea what could be wrong here?
DNN
Member
**
Offline Offline

Activity: 97


View Profile
April 08, 2017, 08:32:38 AM
 #16627

Why for the Mac version is reads "unofficial" in the OP?
I guess not many people mine on a Mac hence why Windows and Linux are supported builds?
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2352


Ruu \o/


View Profile WWW
April 08, 2017, 09:28:47 AM
 #16628

Why for the Mac version is reads "unofficial" in the OP?
I guess not many people mine on a Mac hence why Windows and Linux are supported builds?
Because I build the binaries for linux and windows myself, but not Mac.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
n_p
Newbie
*
Offline Offline

Activity: 24


View Profile
April 12, 2017, 05:16:17 PM
 #16629

Any idea what is going on here (hope it is acceptable to include the entire build log)? Thank you in advance.

Code:
$ make
make  all-recursive
make[1]: Entering directory '/software/cgminer-4.10.0'
Making all in lib
make[2]: Entering directory '/software/cgminer-4.10.0/lib'
  GEN      arg-nonnull.h
  GEN      c++defs.h
  GEN      warn-on-use.h
  GEN      signal.h
  GEN      string.h
make  all-recursive
make[3]: Entering directory '/software/cgminer-4.10.0/lib'
make[4]: Entering directory '/software/cgminer-4.10.0/lib'
  CC       dummy.o
  AR       libgnu.a
make[4]: Leaving directory '/software/cgminer-4.10.0/lib'
make[3]: Leaving directory '/software/cgminer-4.10.0/lib'
make[2]: Leaving directory '/software/cgminer-4.10.0/lib'
Making all in compat
make[2]: Entering directory '/software/cgminer-4.10.0/compat'
Making all in jansson-2.9
make[3]: Entering directory '/software/cgminer-4.10.0/compat/jansson-2.9'
make  all-recursive
make[4]: Entering directory '/software/cgminer-4.10.0/compat/jansson-2.9'
Making all in doc
make[5]: Entering directory '/software/cgminer-4.10.0/compat/jansson-2.9/doc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/software/cgminer-4.10.0/compat/jansson-2.9/doc'
Making all in src
make[5]: Entering directory '/software/cgminer-4.10.0/compat/jansson-2.9/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c -o dump.lo dump.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c dump.c  -fPIC -DPIC -o .libs/dump.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c dump.c -o dump.o >/dev/null 2>&1
mv -f .deps/dump.Tpo .deps/dump.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c  -fPIC -DPIC -o .libs/error.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
mv -f .deps/error.Tpo .deps/error.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.lo hashtable.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c hashtable.c  -fPIC -DPIC -o .libs/hashtable.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c hashtable.c -o hashtable.o >/dev/null 2>&1
mv -f .deps/hashtable.Tpo .deps/hashtable.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c -o hashtable_seed.lo hashtable_seed.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c hashtable_seed.c  -fPIC -DPIC -o .libs/hashtable_seed.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c hashtable_seed.c -o hashtable_seed.o >/dev/null 2>&1
mv -f .deps/hashtable_seed.Tpo .deps/hashtable_seed.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT load.lo -MD -MP -MF .deps/load.Tpo -c -o load.lo load.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c  -fPIC -DPIC -o .libs/load.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c -o load.o >/dev/null 2>&1
mv -f .deps/load.Tpo .deps/load.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c -o memory.lo memory.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c memory.c  -fPIC -DPIC -o .libs/memory.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c memory.c -o memory.o >/dev/null 2>&1
mv -f .deps/memory.Tpo .deps/memory.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c -o pack_unpack.lo pack_unpack.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c pack_unpack.c  -fPIC -DPIC -o .libs/pack_unpack.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c pack_unpack.c -o pack_unpack.o >/dev/null 2>&1
mv -f .deps/pack_unpack.Tpo .deps/pack_unpack.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.lo strbuffer.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c strbuffer.c  -fPIC -DPIC -o .libs/strbuffer.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c strbuffer.c -o strbuffer.o >/dev/null 2>&1
mv -f .deps/strbuffer.Tpo .deps/strbuffer.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c -o strconv.lo strconv.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c strconv.c  -fPIC -DPIC -o .libs/strconv.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c strconv.c -o strconv.o >/dev/null 2>&1
mv -f .deps/strconv.Tpo .deps/strconv.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT utf.lo -MD -MP -MF .deps/utf.Tpo -c -o utf.lo utf.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT utf.lo -MD -MP -MF .deps/utf.Tpo -c utf.c  -fPIC -DPIC -o .libs/utf.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT utf.lo -MD -MP -MF .deps/utf.Tpo -c utf.c -o utf.o >/dev/null 2>&1
mv -f .deps/utf.Tpo .deps/utf.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT value.lo -MD -MP -MF .deps/value.Tpo -c -o value.lo value.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT value.lo -MD -MP -MF .deps/value.Tpo -c value.c  -fPIC -DPIC -o .libs/value.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -MT value.lo -MD -MP -MF .deps/value.Tpo -c value.c -o value.o >/dev/null 2>&1
mv -f .deps/value.Tpo .deps/value.Plo
/bin/sh ../libtool  --tag=CC   --mode=link gcc -Wall -Wextra -Wdeclaration-after-statement -O2 -Wall -march=native -no-undefined -export-symbols-regex '^json_' -version-info 13:0:9  -o libjansson.la -rpath /usr/local/lib dump.lo error.lo hashtable.lo hashtable_seed.lo load.lo memory.lo pack_unpack.lo strbuffer.lo strconv.lo utf.lo value.lo 
libtool: link: /usr/bin/nm -B  .libs/dump.o .libs/error.o .libs/hashtable.o .libs/hashtable_seed.o .libs/load.o .libs/memory.o .libs/pack_unpack.o .libs/strbuffer.o .libs/strconv.o .libs/utf.o .libs/value.o   | sed -n -e 's/^.*[         ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/libjansson.exp
libtool: link: /bin/grep -E -e "^json_" ".libs/libjansson.exp" > ".libs/libjansson.expT"
libtool: link: mv -f ".libs/libjansson.expT" ".libs/libjansson.exp"
libtool: link: echo "{ global:" > .libs/libjansson.ver
libtool: link:  cat .libs/libjansson.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libjansson.ver
libtool: link:  echo "local: *; };" >> .libs/libjansson.ver
libtool: link:  gcc -shared  -fPIC -DPIC  .libs/dump.o .libs/error.o .libs/hashtable.o .libs/hashtable_seed.o .libs/load.o .libs/memory.o .libs/pack_unpack.o .libs/strbuffer.o .libs/strconv.o .libs/utf.o .libs/value.o    -O2 -march=native   -Wl,-soname -Wl,libjansson.so.4 -Wl,-version-script -Wl,.libs/libjansson.ver -o .libs/libjansson.so.4.9.0
libtool: link: (cd ".libs" && rm -f "libjansson.so.4" && ln -s "libjansson.so.4.9.0" "libjansson.so.4")
libtool: link: (cd ".libs" && rm -f "libjansson.so" && ln -s "libjansson.so.4.9.0" "libjansson.so")
libtool: link: ar cru .libs/libjansson.a  dump.o error.o hashtable.o hashtable_seed.o load.o memory.o pack_unpack.o strbuffer.o strconv.o utf.o value.o
libtool: link: ranlib .libs/libjansson.a
libtool: link: ( cd ".libs" && rm -f "libjansson.la" && ln -s "../libjansson.la" "libjansson.la" )
make[5]: Leaving directory '/software/cgminer-4.10.0/compat/jansson-2.9/src'
Making all in test
make[5]: Entering directory '/software/cgminer-4.10.0/compat/jansson-2.9/test'
Making all in bin
make[6]: Entering directory '/software/cgminer-4.10.0/compat/jansson-2.9/test/bin'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/software/cgminer-4.10.0/compat/jansson-2.9/test/bin'
Making all in suites
make[6]: Entering directory '/software/cgminer-4.10.0/compat/jansson-2.9/test/suites'
Making all in api
make[7]: Entering directory '/software/cgminer-4.10.0/compat/jansson-2.9/test/suites/api'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/software/cgminer-4.10.0/compat/jansson-2.9/test/suites/api'
make[7]: Entering directory '/software/cgminer-4.10.0/compat/jansson-2.9/test/suites'
make[7]: Nothing to be done for 'all-am'.
make[7]: Leaving directory '/software/cgminer-4.10.0/compat/jansson-2.9/test/suites'
make[6]: Leaving directory '/software/cgminer-4.10.0/compat/jansson-2.9/test/suites'
make[6]: Entering directory '/software/cgminer-4.10.0/compat/jansson-2.9/test'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/software/cgminer-4.10.0/compat/jansson-2.9/test'
make[5]: Leaving directory '/software/cgminer-4.10.0/compat/jansson-2.9/test'
make[5]: Entering directory '/software/cgminer-4.10.0/compat/jansson-2.9'
make[5]: Leaving directory '/software/cgminer-4.10.0/compat/jansson-2.9'
make[4]: Leaving directory '/software/cgminer-4.10.0/compat/jansson-2.9'
make[3]: Leaving directory '/software/cgminer-4.10.0/compat/jansson-2.9'
make[3]: Entering directory '/software/cgminer-4.10.0/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/software/cgminer-4.10.0/compat'
make[2]: Leaving directory '/software/cgminer-4.10.0/compat'
Making all in ccan
make[2]: Entering directory '/software/cgminer-4.10.0/ccan'
  CC       opt/libccan_a-helpers.o
  CC       opt/libccan_a-opt.o
  CC       opt/libccan_a-parse.o
  CC       opt/libccan_a-usage.o
  AR       libccan.a
make[2]: Leaving directory '/software/cgminer-4.10.0/ccan'
make[2]: Entering directory '/software/cgminer-4.10.0'
  CC       cgminer-cgminer.o
  CC       cgminer-util.o
  CC       cgminer-sha2.o
  CC       cgminer-api.o
  CC       cgminer-logging.o
  CC       cgminer-klist.o
  CC       cgminer-noncedup.o
  CC       cgminer-usbutils.o
  CC       cgminer-driver-icarus.o
  CCLD     cgminer
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: cgminer-cgminer.o: undefined reference to symbol 'halfdelay'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:799: cgminer] Error 1
make[2]: Leaving directory '/software/cgminer-4.10.0'
make[1]: *** [Makefile:1512: all-recursive] Error 1
make[1]: Leaving directory '/software/cgminer-4.10.0'
make: *** [Makefile:702: all] Error 2
AngryDwarf
Hero Member
*****
Offline Offline

Activity: 476


View Profile
April 24, 2017, 05:15:29 PM
 #16630

JSON failed to decode GBT solo mining cgminer segmentation fault

Hi, I've found a bug in cgminer where it segmentation faults, possibly due to receiving an unexpected GBT format version. I couldn't seem to be able to open a github issue, so i thought I would report it here. The problem was found when attempting to solo mine against bitcoin classic. Issue raised can be found here:

https://github.com/bitcoinclassic/bitcoinclassic/issues/259

I don't think cgminer should segmentation fault.

Scaling and transaction rate: https://bitcointalk.org/index.php?topic=532.msg6306#msg6306
Do not allow demand to exceed capacity. Do not allow mempools to forget transactions. Relay all transactions. Eventually confirm all transactions.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2352


Ruu \o/


View Profile WWW
April 24, 2017, 10:38:12 PM
 #16631

JSON failed to decode GBT solo mining cgminer segmentation fault

Hi, I've found a bug in cgminer where it segmentation faults, possibly due to receiving an unexpected GBT format version. I couldn't seem to be able to open a github issue, so i thought I would report it here. The problem was found when attempting to solo mine against bitcoin classic. Issue raised can be found here:

https://github.com/bitcoinclassic/bitcoinclassic/issues/259

I don't think cgminer should segmentation fault.

Thanks for that. It doesn't do it in my environment so can you please reproduce it with debugging enabled to get me a useful backtrace?

Instructions here:
http://ck.kolivas.org/apps/cgminer/debug/README-debug

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
AngryDwarf
Hero Member
*****
Offline Offline

Activity: 476


View Profile
April 25, 2017, 07:35:48 AM
 #16632

JSON failed to decode GBT solo mining cgminer segmentation fault

Hi, I've found a bug in cgminer where it segmentation faults, possibly due to receiving an unexpected GBT format version. I couldn't seem to be able to open a github issue, so i thought I would report it here. The problem was found when attempting to solo mine against bitcoin classic. Issue raised can be found here:

https://github.com/bitcoinclassic/bitcoinclassic/issues/259

I don't think cgminer should segmentation fault.

Thanks for that. It doesn't do it in my environment so can you please reproduce it with debugging enabled to get me a useful backtrace?

Instructions here:
http://ck.kolivas.org/apps/cgminer/debug/README-debug

Bit concerned at the 'No symbol table info available' so maybe I haven't done it quite right.

Code:
(gdb) bt full
#0  0x00007f589268cd62 in curl_easy_reset ()
   from /usr/lib/x86_64-linux-gnu/libcurl.so.4
No symbol table info available.
#1  0x000000000042b432 in json_rpc_call (curl=0x0,
    url=0x7ffe5025e208 "http://127.0.0.1:31000", userpass=<optimised out>,
    rpc_req=rpc_req@entry=0x7f5889e0ead0 "{\"id\": 0, \"method\": \"getblockcount\"}\n", probe=probe@entry=true, longpoll=longpoll@entry=false,
    rolltime=0x7f5889e0e96c, pool=0x1c8e880, share=false) at util.c:779
        timeout = 60
        all_data = {buf = 0x0, len = 0}
        hi = {lp_path = 0x0, rolltime = 0, reason = 0x0, stratum_url = 0x0,
          hadrolltime = false, canroll = false, hadexpire = false}
        len_hdr = "Content-Length: 37\000\373\000\000\000\000\001\000\000\000\000\000\000\000\300\350\340\211X\177\000\000\n\375@\000\000\000\000\000\300\350\340\211X\177\000\000\333\350\340\211X\177\000"
        user_agent_hdr = "User-Agent: cgminer 4.10.0", '\000' <repeats 38 times>, "\020\351\340\211\004\000\000\000\036\aF\000\000\000\000\000\000\000\340\211X\177\000\000\000\000\000\000\000\000\000\000\360\346\340\211X\177\000\000\360\346\340\211X\177\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000"
        curl_err_str = "h\350\340\211X\177\000\000jui\221X\177\000\000\200\350\310\001\000\000\000\000L\002A", '\000' <repeats 13 times>, "\240Č\221X\177\000\000\000\000\000\000\000\000\000\000\320\352\340\211X\177\000\000\320\352\340\211X---Type <return> to continue, or q <return> to quit---

Scaling and transaction rate: https://bitcointalk.org/index.php?topic=532.msg6306#msg6306
Do not allow demand to exceed capacity. Do not allow mempools to forget transactions. Relay all transactions. Eventually confirm all transactions.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2352


Ruu \o/


View Profile WWW
April 25, 2017, 07:48:46 AM
 #16633

Bit concerned at the 'No symbol table info available' so maybe I haven't done it quite right.

Code:
(gdb) bt full
#0  0x00007f589268cd62 in curl_easy_reset ()
   from /usr/lib/x86_64-linux-gnu/libcurl.so.4
No symbol table info available.
#1  0x000000000042b432 in json_rpc_call (curl=0x0,
    url=0x7ffe5025e208 "http://127.0.0.1:31000", userpass=<optimised out>,
    rpc_req=rpc_req@entry=0x7f5889e0ead0 "{\"id\": 0, \"method\": \"getblockcount\"}\n", probe=probe@entry=true, longpoll=longpoll@entry=false,
    rolltime=0x7f5889e0e96c, pool=0x1c8e880, share=false) at util.c:779
        timeout = 60
        all_data = {buf = 0x0, len = 0}
        hi = {lp_path = 0x0, rolltime = 0, reason = 0x0, stratum_url = 0x0,
          hadrolltime = false, canroll = false, hadexpire = false}
        len_hdr = "Content-Length: 37\000\373\000\000\000\000\001\000\000\000\000\000\000\000\300\350\340\211X\177\000\000\n\375@\000\000\000\000\000\300\350\340\211X\177\000\000\333\350\340\211X\177\000"
        user_agent_hdr = "User-Agent: cgminer 4.10.0", '\000' <repeats 38 times>, "\020\351\340\211\004\000\000\000\036\aF\000\000\000\000\000\000\000\340\211X\177\000\000\000\000\000\000\000\000\000\000\360\346\340\211X\177\000\000\360\346\340\211X\177\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000"
        curl_err_str = "h\350\340\211X\177\000\000jui\221X\177\000\000\200\350\310\001\000\000\000\000L\002A", '\000' <repeats 13 times>, "\240Č\221X\177\000\000\000\000\000\000\000\000\000\000\320\352\340\211X\177\000\000\320\352\340\211X---Type <return> to continue, or q <return> to quit---
Thanks. Don't worry about the symbol table warning. Need the rest too, after <return> till it stops giving output.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
AngryDwarf
Hero Member
*****
Offline Offline

Activity: 476


View Profile
April 25, 2017, 08:31:11 AM
 #16634

Bit concerned at the 'No symbol table info available' so maybe I haven't done it quite right.

Code:
(gdb) bt full
#0  0x00007f589268cd62 in curl_easy_reset ()
   from /usr/lib/x86_64-linux-gnu/libcurl.so.4
No symbol table info available.
#1  0x000000000042b432 in json_rpc_call (curl=0x0,
    url=0x7ffe5025e208 "http://127.0.0.1:31000", userpass=<optimised out>,
    rpc_req=rpc_req@entry=0x7f5889e0ead0 "{\"id\": 0, \"method\": \"getblockcount\"}\n", probe=probe@entry=true, longpoll=longpoll@entry=false,
    rolltime=0x7f5889e0e96c, pool=0x1c8e880, share=false) at util.c:779
        timeout = 60
        all_data = {buf = 0x0, len = 0}
        hi = {lp_path = 0x0, rolltime = 0, reason = 0x0, stratum_url = 0x0,
          hadrolltime = false, canroll = false, hadexpire = false}
        len_hdr = "Content-Length: 37\000\373\000\000\000\000\001\000\000\000\000\000\000\000\300\350\340\211X\177\000\000\n\375@\000\000\000\000\000\300\350\340\211X\177\000\000\333\350\340\211X\177\000"
        user_agent_hdr = "User-Agent: cgminer 4.10.0", '\000' <repeats 38 times>, "\020\351\340\211\004\000\000\000\036\aF\000\000\000\000\000\000\000\340\211X\177\000\000\000\000\000\000\000\000\000\000\360\346\340\211X\177\000\000\360\346\340\211X\177\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000"
        curl_err_str = "h\350\340\211X\177\000\000jui\221X\177\000\000\200\350\310\001\000\000\000\000L\002A", '\000' <repeats 13 times>, "\240Č\221X\177\000\000\000\000\000\000\000\000\000\000\320\352\340\211X\177\000\000\320\352\340\211X---\177\000\000\033\353\340\211X\177\000\000\317\353\340\211X\177\000\000\320\352\340\211X\177\000\000\317\353\340\211X\177\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\277A\266L\347\004\306\004\000\000\000\000\000\000\000\300\350\340\211X\177\000\000\320\352\340\211X\177\000\000\272\333C\000\000\000\000\000\320\352\340\211X\177\000\000\200\350\310\001", '\000' <repeats 12 times>, "\b\374a\221X\177\000\000\003\b\000\000\000\000\000\000\060"...
        headers = 0x7f5874000910
        upload_data = {buf = 0x7f5889e0ead0, len = 37}
        val = <optimised out>
        err_val = <optimised out>
        res_val = <optimised out>
        probing = false
        byte_count = 6.9178205667131595e-310
        err = {line = 0, column = 0, position = 0,
          source = '\000' <repeats 79 times>,
          text = '\000' <repeats 159 times>}
        rc = <optimised out>
#2  0x0000000000420a21 in longpoll_thread (userdata=0x1c8e880)
    at cgminer.c:8426
        val = <optimised out>
        res_val = 0x0
        cp = 0x1c8e880
        start = {tv_sec = 1493105333, tv_usec = 94501}
        reply = {tv_sec = 0, tv_usec = 0}
        end = {tv_sec = 0, tv_usec = 0}
        pool = 0x1c8e880
        threadname = "0/Longpoll\000\000\000\000\000"
        curl = 0x0
        lpreq = "{\"id\": 0, \"method\": \"getblockcount\"}\n\000\060 detection via getblockcount polling", '\000' <repeats 948 times>
        lp_url = <optimised out>
        rolltime = 0
        __func__ = "longpoll_thread"
#3  0x00007f58924496ba in start_thread (arg=0x7f5889e0f700)
    at pthread_create.c:333
        __res = <optimised out>
        pd = 0x7f5889e0f700
        now = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140018247071488,
                -1427088155123090364, 0, 140018255460783, 140018247072192, 0,
                1333317430687595588, 1333296848420633668},
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
        pagesize_m1 = <optimised out>
        sp = <optimised out>
        freesize = <optimised out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x00007f589161082d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
(gdb)
Thanks. Don't worry about the symbol table warning. Need the rest too, after <return> till it stops giving output.

Edited above.

Scaling and transaction rate: https://bitcointalk.org/index.php?topic=532.msg6306#msg6306
Do not allow demand to exceed capacity. Do not allow mempools to forget transactions. Relay all transactions. Eventually confirm all transactions.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2352


Ruu \o/


View Profile WWW
April 25, 2017, 08:45:27 AM
 #16635

Bit concerned at the 'No symbol table info available' so maybe I haven't done it quite right.

Code:
(gdb) bt full
#0  0x00007f589268cd62 in curl_easy_reset ()
   from /usr/lib/x86_64-linux-gnu/libcurl.so.4
No symbol table info available.
#1  0x000000000042b432 in json_rpc_call (curl=0x0,
    url=0x7ffe5025e208 "http://127.0.0.1:31000", userpass=<optimised out>,
    rpc_req=rpc_req@entry=0x7f5889e0ead0 "{\"id\": 0, \"method\": \"getblockcount\"}\n", probe=probe@entry=true, longpoll=longpoll@entry=false,
    rolltime=0x7f5889e0e96c, pool=0x1c8e880, share=false) at util.c:779
        timeout = 60
        all_data = {buf = 0x0, len = 0}
        hi = {lp_path = 0x0, rolltime = 0, reason = 0x0, stratum_url = 0x0,
          hadrolltime = false, canroll = false, hadexpire = false}
        len_hdr = "Content-Length: 37\000\373\000\000\000\000\001\000\000\000\000\000\000\000\300\350\340\211X\177\000\000\n\375@\000\000\000\000\000\300\350\340\211X\177\000\000\333\350\340\211X\177\000"
        user_agent_hdr = "User-Agent: cgminer 4.10.0", '\000' <repeats 38 times>, "\020\351\340\211\004\000\000\000\036\aF\000\000\000\000\000\000\000\340\211X\177\000\000\000\000\000\000\000\000\000\000\360\346\340\211X\177\000\000\360\346\340\211X\177\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000"
        curl_err_str = "h\350\340\211X\177\000\000jui\221X\177\000\000\200\350\310\001\000\000\000\000L\002A", '\000' <repeats 13 times>, "\240Č\221X\177\000\000\000\000\000\000\000\000\000\000\320\352\340\211X\177\000\000\320\352\340\211X---\177\000\000\033\353\340\211X\177\000\000\317\353\340\211X\177\000\000\320\352\340\211X\177\000\000\317\353\340\211X\177\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\277A\266L\347\004\306\004\000\000\000\000\000\000\000\300\350\340\211X\177\000\000\320\352\340\211X\177\000\000\272\333C\000\000\000\000\000\320\352\340\211X\177\000\000\200\350\310\001", '\000' <repeats 12 times>, "\b\374a\221X\177\000\000\003\b\000\000\000\000\000\000\060"...
        headers = 0x7f5874000910
        upload_data = {buf = 0x7f5889e0ead0, len = 37}
        val = <optimised out>
        err_val = <optimised out>
        res_val = <optimised out>
        probing = false
        byte_count = 6.9178205667131595e-310
        err = {line = 0, column = 0, position = 0,
          source = '\000' <repeats 79 times>,
          text = '\000' <repeats 159 times>}
        rc = <optimised out>
#2  0x0000000000420a21 in longpoll_thread (userdata=0x1c8e880)
    at cgminer.c:8426
        val = <optimised out>
        res_val = 0x0
        cp = 0x1c8e880
        start = {tv_sec = 1493105333, tv_usec = 94501}
        reply = {tv_sec = 0, tv_usec = 0}
        end = {tv_sec = 0, tv_usec = 0}
        pool = 0x1c8e880
        threadname = "0/Longpoll\000\000\000\000\000"
        curl = 0x0
        lpreq = "{\"id\": 0, \"method\": \"getblockcount\"}\n\000\060 detection via getblockcount polling", '\000' <repeats 948 times>
        lp_url = <optimised out>
        rolltime = 0
        __func__ = "longpoll_thread"
#3  0x00007f58924496ba in start_thread (arg=0x7f5889e0f700)
    at pthread_create.c:333
        __res = <optimised out>
        pd = 0x7f5889e0f700
        now = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140018247071488,
                -1427088155123090364, 0, 140018255460783, 140018247072192, 0,
                1333317430687595588, 1333296848420633668},
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
        pagesize_m1 = <optimised out>
        sp = <optimised out>
        freesize = <optimised out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x00007f589161082d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
(gdb)

Thanks for that. Added a change to git master which should address this.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
baskanx
Sr. Member
****
Offline Offline

Activity: 280


INS Ecosystem


View Profile
April 26, 2017, 12:58:33 PM
 #16636

Thank you Which chip to suggest for Asic mining



███ █ █
███ █ █
███ █ █
███ █ █
███ █ █
███ █ █
███ █ █
███ █ █
███ █ █
███ █ █
███ █ █
███ █ █
███ █ █

█ █ ███
█ █ ███
█ █ ███
█ █ ███
█ █ ███
█ █ ███
█ █ ███
█ █ ███
█ █ ███
█ █ ███
█ █ ███
█ █ ███
█ █ ███
●  Whitepaper
●  ANN Thread
●  Reddit
●  Telegram
●  Twitter
●  Facebook

███
███
███
███
███
███
███
███
███
███
███
███
███
aarons6
Legendary
*
Offline Offline

Activity: 1232


View Profile
April 29, 2017, 12:01:32 PM
 #16637

question, maybe someone can help me..

is there any reason why cgminer-api -o devs just would return the version info and nothing else?

Code:
/usr/bin/cgminer-api -o devs 127.0.0.1 4029
STATUS=E,When=1493466783,Code=10,Msg=No ,Description=cgminer 4.10.0|

it used to return all the ID and pool and hardware errors on the compacs i have plugged in.

everything seems to be working, i just dont seem to have a way to see individual hardware errors.
n_p
Newbie
*
Offline Offline

Activity: 24


View Profile
April 29, 2017, 06:46:06 PM
 #16638

Hate to just repeat myself, but I haven't received any replies in two weeks. I can't get cgminer to compile (see ten posts up for build log). Any advice?
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2352


Ruu \o/


View Profile WWW
April 29, 2017, 09:40:34 PM
 #16639

Hate to just repeat myself, but I haven't received any replies in two weeks. I can't get cgminer to compile (see ten posts up for build log). Any advice?
Looks like a toolchain related phenomenon. Your specific compile environment is adding --as-needed to the linker and your specific version of libncurses seems to require libtinfo when that option is used yet it isn't including it, or it is including it in the wrong order. Are you adding LDFLAGS at all?

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
kimphan24197
Newbie
*
Offline Offline

Activity: 16


View Profile
May 05, 2017, 01:19:01 AM
 #16640

How many bitcoin per month?
Pages: « 1 ... 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 [832] 833 834 835 836 837 838 839 840 841 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!