Pages:
Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 17. (Read 5805299 times)

jr. member
Activity: 99
Merit: 4
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
newbie
Activity: 15
Merit: 0
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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?
n_p
newbie
Activity: 28
Merit: 0
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?
legendary
Activity: 1736
Merit: 1006
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.
sr. member
Activity: 686
Merit: 250
Thank you Which chip to suggest for Asic mining

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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=,
    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' , "\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' , "\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' , "\b\374a\221X\177\000\000\003\b\000\000\000\000\000\000\060"...
        headers = 0x7f5874000910
        upload_data = {buf = 0x7f5889e0ead0, len = 37}
        val =
        err_val =
        res_val =
        probing = false
        byte_count = 6.9178205667131595e-310
        err = {line = 0, column = 0, position = 0,
          source = '\000' ,
          text = '\000' }
        rc =
#2  0x0000000000420a21 in longpoll_thread (userdata=0x1c8e880)
    at cgminer.c:8426
        val =
        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'
        lp_url =
        rolltime = 0
        __func__ = "longpoll_thread"
#3  0x00007f58924496ba in start_thread (arg=0x7f5889e0f700)
    at pthread_create.c:333
        __res =
        pd = 0x7f5889e0f700
        now =
        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 =
        pagesize_m1 =
        sp =
        freesize =
        __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.
sr. member
Activity: 476
Merit: 501
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=,
    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' , "\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' , "\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' , "\b\374a\221X\177\000\000\003\b\000\000\000\000\000\000\060"...
        headers = 0x7f5874000910
        upload_data = {buf = 0x7f5889e0ead0, len = 37}
        val =
        err_val =
        res_val =
        probing = false
        byte_count = 6.9178205667131595e-310
        err = {line = 0, column = 0, position = 0,
          source = '\000' ,
          text = '\000' }
        rc =
#2  0x0000000000420a21 in longpoll_thread (userdata=0x1c8e880)
    at cgminer.c:8426
        val =
        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'
        lp_url =
        rolltime = 0
        __func__ = "longpoll_thread"
#3  0x00007f58924496ba in start_thread (arg=0x7f5889e0f700)
    at pthread_create.c:333
        __res =
        pd = 0x7f5889e0f700
        now =
        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 =
        pagesize_m1 =
        sp =
        freesize =
        __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 till it stops giving output.

Edited above.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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=,
    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' , "\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' , "\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 to continue, or q to quit---
Thanks. Don't worry about the symbol table warning. Need the rest too, after till it stops giving output.
sr. member
Activity: 476
Merit: 501
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=,
    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' , "\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' , "\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 to continue, or q to quit---
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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
sr. member
Activity: 476
Merit: 501
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.
n_p
newbie
Activity: 28
Merit: 0
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
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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.
DNN
member
Activity: 176
Merit: 10
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?
newbie
Activity: 18
Merit: 0
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?
newbie
Activity: 2
Merit: 0
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.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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.
newbie
Activity: 2
Merit: 0
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.
full member
Activity: 272
Merit: 100
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
Pages:
Jump to: