Bitcoin Forum
May 03, 2024, 09:21:31 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 5805218 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.)
bookstime6
Newbie
*
Offline Offline

Activity: 18
Merit: 0


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

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?
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714771291
Hero Member
*
Offline Offline

Posts: 1714771291

View Profile Personal Message (Offline)

Ignore
1714771291
Reply with quote  #2

1714771291
Report to moderator
1714771291
Hero Member
*
Offline Offline

Posts: 1714771291

View Profile Personal Message (Offline)

Ignore
1714771291
Reply with quote  #2

1714771291
Report to moderator
DNN
Member
**
Offline Offline

Activity: 176
Merit: 10


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

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: 4102
Merit: 1631


Ruu \o/


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

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
 #16524

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
 #16525

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: 4102
Merit: 1631


Ruu \o/


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

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
 #16527

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

Activity: 4102
Merit: 1631


Ruu \o/


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

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.

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, 08:31:11 AM
 #16529

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

Activity: 4102
Merit: 1631


Ruu \o/


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

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.

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

Activity: 686
Merit: 250


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

Thank you Which chip to suggest for Asic mining

aarons6
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006


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

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


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

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

Activity: 4102
Merit: 1631


Ruu \o/


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

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?

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

Activity: 15
Merit: 0


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

How many bitcoin per month?
DrakonX
Jr. Member
*
Offline Offline

Activity: 99
Merit: 4


View Profile
May 16, 2017, 09:00:10 PM
 #16536

Dear -ck,

I cloned the cgminer-repository onto my Raspberry Pi and tried to compile it using the make-command. But it says that the Makefile would be missing.
I then renamed "Makefile.am" to "Makefile". It now says I'd be using spaces instead of tabs.
I had a look at the makefile and it seems to be ok (no spaces).
Do you have any idea for me to get it work?

Yours sincerely
DrakonX
-ck (OP)
Legendary
*
Offline Offline

Activity: 4102
Merit: 1631


Ruu \o/


View Profile WWW
May 17, 2017, 03:03:48 AM
 #16537

Dear -ck,

I cloned the cgminer-repository onto my Raspberry Pi and tried to compile it using the make-command. But it says that the Makefile would be missing.
I then renamed "Makefile.am" to "Makefile". It now says I'd be using spaces instead of tabs.
I had a look at the makefile and it seems to be ok (no spaces).
Do you have any idea for me to get it work?

Yours sincerely
DrakonX
Read the readme please. You do not do what you're doing...
./autogen.sh if building from git
etc...

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

Activity: 12
Merit: 0


View Profile
June 04, 2017, 02:27:56 AM
 #16538

What is the get apt command for Linux (ubuntu) for installation?

 I used the following command: apt-get install cgminer and it downloaded version 4.9.2 I see a version 4.10.0 on the Git site however.
Gambler_btc
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
June 04, 2017, 04:58:19 PM
 #16539

best miner in the world!
-ck (OP)
Legendary
*
Offline Offline

Activity: 4102
Merit: 1631


Ruu \o/


View Profile WWW
June 04, 2017, 08:40:36 PM
 #16540

What is the get apt command for Linux (ubuntu) for installation?

 I used the following command: apt-get install cgminer and it downloaded version 4.9.2 I see a version 4.10.0 on the Git site however.
That is the correct apt command but it's up to the linux distribution to be up to date or not.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Pages: « 1 ... 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!