Bitcoin Forum
July 12, 2025, 11:02:26 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 776 777 778 779 780 781 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 842 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5806388 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. (3 posts by 1+ user deleted.)
splat44
Sr. Member
****
Offline Offline

Activity: 384
Merit: 250



View Profile
March 12, 2017, 08:49:15 PM
 #16501

This is in relation to version 4.9.2

Does version support gridseed 80 chips blades miner?
I see nothing on readme!
That hardware support scrypt

I hope that version support scrypt and that miner hardware!

I need know the following setting in command line:
1) enable scrypt
2) auto detect gridseed 80 chips blades and as well other related settings I need providing
3) Pool information

Will be great receiving code containing the above!

If latest version support the above let  me know as well!
os2sam
Legendary
*
Offline Offline

Activity: 3586
Merit: 1099


Think for yourself


View Profile
March 12, 2017, 11:04:14 PM
 #16502

CGMiner is for Bitcoin only.  It doesn't support altcoins.  Although some use it to mine sha256 altcoins, it's still not supported.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
toptek
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
March 13, 2017, 02:17:38 AM
Last edit: March 13, 2017, 02:46:13 AM by toptek
 #16503

16.10 Ubuntu only ?  i have it running on a RPI 3 controlling my A6 using Minera as the GUI on ubuntu 16.4.02. Smiley .... and can use it  with any of my PI types that run Ubuntu 16.4 with minera 7.0 not the beta version but can use it with the Minera beta version and have ..sense it came out in Jan Smiley ...CGMINER 4.10.0

For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
toptek
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000


View Profile
March 13, 2017, 02:40:21 AM
 #16504

This is in relation to version 4.9.2

Does version support gridseed 80 chips blades miner?
I see nothing on readme!
That hardware support scrypt

I hope that version support scrypt and that miner hardware!

I need know the following setting in command line:
1) enable scrypt
2) auto detect gridseed 80 chips blades and as well other related settings I need providing
3) Pool information

Will be great receiving code containing the above!

If latest version support the above let  me know as well!

like he said CGMINER in it present state only does SHA256 coins with no support offered for ALt coins or any kind of Script coins beyond your version but you can mine SHa256 alt coins with CGMNIER even this version with out issue i do it all the time, but I use it mostly to mine BTC ,,  I'm being nice SO, don't ask for support here for alt coins, you more then likely won't get any support for any kind of alt coins here and told you won't in worse words then mine .  just a heads up before you try to push the Issue ....

For security, your account has been locked. Email acctcomp15@theymos.e4ward.com
Mikestang
Legendary
*
Offline Offline

Activity: 1274
Merit: 1001



View Profile
March 13, 2017, 05:49:22 PM
 #16505

It appears that with v4.10.0, cgminer no longer runs on WinXP machines, is this correct?  I realize that XP is old and outdated and not supported by most stuff any more, but I just wanted to be sure, thanks.
angkasaz
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
March 15, 2017, 12:37:12 PM
 #16506

thanks for the software, its a bit complicated tho for me xD

tuaris
Hero Member
*****
Offline Offline

Activity: 801
Merit: 543



View Profile WWW
March 27, 2017, 02:11:49 AM
 #16507

I'm trying to build on BSD but I'm getting the following error:

Code:
cc  -O2 -pipe  -Wall -march=native -fstack-protector -fno-strict-aliasing   -fstack-protector -o cgminer cgminer-cgminer.o cgminer-util.o  cgminer-sha2.o cgminer-api.o  cgminer-logging.o cgminer-klist.o  cgminer-noncedup.o  cgminer-usbutils.o                                   cgminer-driver-bitmain.o     -L/usr/local/lib -lcurl  -ljansson  -lpthread     -lusb     -lm lib/libgnu.a ccan/libccan.a  -lncurses -lpthread
cgminer-cgminer.o:(.data+0x468): undefined reference to `opt_bitmain_auto'
cgminer-cgminer.o:(.data+0x4a0): undefined reference to `opt_bitmain_overheat'
cgminer-cgminer.o:(.data+0x4c8): undefined reference to `set_bitmain_fan'
cgminer-cgminer.o:(.data+0x548): undefined reference to `opt_bitmain_hwerror'
cgminer-cgminer.o:(.data+0x5b8): undefined reference to `opt_bitmain_temp'
cgminer-cgminer.o:(.data+0x5f0): undefined reference to `opt_bitmain_workdelay'
cgminer-cgminer.o:(.data+0x660): undefined reference to `opt_bitmain_beeper'
cgminer-cgminer.o:(.data+0x698): undefined reference to `opt_bitmain_checkall'
cgminer-cgminer.o:(.data+0x6d0): undefined reference to `opt_bitmain_checkn2diff'
cgminer-cgminer.o:(.data+0x708): undefined reference to `opt_bitmain_tempoverctrl'

kenesu
Full Member
***
Offline Offline

Activity: 272
Merit: 100


View Profile
March 27, 2017, 02:33:07 PM
 #16508

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
etherparty
Full Member
***
Offline Offline

Activity: 419
Merit: 101



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

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
kenesu
Full Member
***
Offline Offline

Activity: 272
Merit: 100


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

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: 2
Merit: 0


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

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 (OP)
Legendary
*
Offline Offline

Activity: 4508
Merit: 1668


Ruu \o/


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

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
smartybones
Newbie
*
Offline Offline

Activity: 2
Merit: 0


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

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: 18
Merit: 0


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

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: 176
Merit: 10


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

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 (OP)
Legendary
*
Offline Offline

Activity: 4508
Merit: 1668


Ruu \o/


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

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
n_p
Newbie
*
Offline Offline

Activity: 28
Merit: 0


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

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
Sr. Member
****
Offline Offline

Activity: 476
Merit: 501


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

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 (OP)
Legendary
*
Offline Offline

Activity: 4508
Merit: 1668


Ruu \o/


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

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

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
AngryDwarf
Sr. Member
****
Offline Offline

Activity: 476
Merit: 501


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

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.
Pages: « 1 ... 776 777 778 779 780 781 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 842 843 »
  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!