Bitcoin Forum
December 03, 2016, 11:47:12 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 [628] 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4815074 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.
kentt
Member
**
Offline Offline

Activity: 103


View Profile
September 20, 2013, 09:04:49 PM
 #12541

I don't have the expertise to evaluate this, but I'm wondering about your thoughts on this:
https://github.com/adamvillena/cgminer/commit/ea532254829d8f57dd561eb223129b4f88a41c61#diff-0ff4390339955f5d81e4a259179a42cd
1480765632
Hero Member
*
Offline Offline

Posts: 1480765632

View Profile Personal Message (Offline)

Ignore
1480765632
Reply with quote  #2

1480765632
Report to moderator
1480765632
Hero Member
*
Offline Offline

Posts: 1480765632

View Profile Personal Message (Offline)

Ignore
1480765632
Reply with quote  #2

1480765632
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480765632
Hero Member
*
Offline Offline

Posts: 1480765632

View Profile Personal Message (Offline)

Ignore
1480765632
Reply with quote  #2

1480765632
Report to moderator
aa
Hero Member
*****
Offline Offline

Activity: 490


Litecoin is right coin


View Profile WWW
September 20, 2013, 09:11:20 PM
 #12542

I don't have the expertise to evaluate this, but I'm wondering about your thoughts on this:
https://github.com/adamvillena/cgminer/commit/ea532254829d8f57dd561eb223129b4f88a41c61#diff-0ff4390339955f5d81e4a259179a42cd
The conclusion that my friend has come to is that this isn't shit. Other people who have tested this guy's modified file have reported identical speeds as before. The thing we don't know is what driver versions people are using. We suspect that the coder is using a newer driver while everyone else who tested this is using an older version. We know for a fact that 12.8 drivers are faster than newer versions, so this could be making up for a bug or crappy change AMD made in their newer drivers.

-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
September 20, 2013, 09:18:22 PM
 #12543

I don't have the expertise to evaluate this, but I'm wondering about your thoughts on this:
https://github.com/adamvillena/cgminer/commit/ea532254829d8f57dd561eb223129b4f88a41c61#diff-0ff4390339955f5d81e4a259179a42cd
That code is simply unrolling the code as the compiler is already told to do. That means the code generated will be identical.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
techman05
Hero Member
*****
Offline Offline

Activity: 546


View Profile WWW
September 20, 2013, 09:43:49 PM
 #12544

One of the most frustrating parts about mining...

And fun/interesting! Smiley

...is the vast number of versions of libraries, SDKs, etc that can be mixed and matched.

No doubt. 

It is just that what I thought would be a simple upgrade ended bringing the whole rig down... no longer works at all.

AND, on top of it all, all the old sources I used to build the working machine are no longer available online. (Teaches me to rely on other people hosting stuff. :p)

What error are you getting ? If it linux  I'd think  you'd just do app-get update -- fix missing and let it run .Maybe next update.to cg miner , it should run the commands to get what it wants and the auto file before it starts to check. If I hit this I would have coppied the config file and re cloned, enabled and made fresh. look for the link to butterfly labs in posts I've been talking in. It has the command files needed for 4.3.3 and where to put them.

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
village.idiot
Sr. Member
****
Offline Offline

Activity: 271


View Profile
September 23, 2013, 07:40:22 PM
 #12545

I'm trying to install CGminer on a Pi.
My mining device is a BFL Little Single.
I found the post (#7259) by ChipGeek and it went just great until I got to 'sudo make'
(if it matters, I used the same thing he did at the Configure CGminer step 'sudo ./autogen.sh --enable-bitforce --with-libudev')
it ran for a little while looking good until it spit out
Code:
  CC     libusb_1_0_la-io.lo
In file included from /usr/include/signal.h:356:0,
                 from io.c:23:
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:1:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'definitions'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:5:40: error: unknown type name 'you'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:5:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'redistribute'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:5:48: error: unknown type name 'redistribute'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:7:58: error: unknown type name 'either'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:8:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:11:30: error: unknown type name 'without'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:11:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'the'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:11:43: error: unknown type name 'the'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:16:42: error: expected identifier or '(' before 'if'
make[5]: *** [libusb_1_0_la-io.lo] Error 1
make[5]: Leaving directory `/usr/src/cgminer/compat/libusb-1.0/libusb'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/cgminer/compat/libusb-1.0'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/cgminer/compat/libusb-1.0'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/cgminer/compat'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cgminer'
make: *** [all] Error 2

I realize this is an old post and things in the software world evolve.
I don't speak whatever language this stuff is.
Someone please tell me what I need to make this successful.
Or is there a later post in the thread I haven't found that would work better?
gristlelump
Member
**
Offline Offline

Activity: 105


View Profile
September 23, 2013, 07:42:19 PM
 #12546

Decided to just use the prebuilt Binaries instead of compiling it for Windows XP 32bit because I ran into too many problems.  I can get CGminer to load but it is only recognizing the card in the first PCI-E slot.  I have a dual card system with an Invidia gt520 in the first PCI-E slot and the XFX 5870 HD.  Cgminer will only mine on the Nvidia card although it gives and error of Multiple OpenCl devices and ADL devices being misdetected/mismatched.  I tried to use the -n function in a bat file but I get a brief flash of readout and then the program shuts down.  I have been able to mine BTC on OpenCL via GIUminer on the ATI card but for some reason it's giving me errors for scrypt mining with CGminer.  Any suggestions?

1.  Is there anyway to generate a Log file so I can read the error output message?

2.  Is there a command to put in the Bat file to ignore the primary card (nvidia) and only work off the secondary card (ati).  Since I can't get -n command to function it I don't even know if it is being detected?  It is being detected by cpuz and the system registry and I have been able to mine BTC with it but not Litecoin in scrypt?
Add a "pause" to your batch file, e.g.:
cgminer.exe -c gristle.conf -n
pause
exit

It will wait for you to hit any key before it exits cmd window.
In your gristle.conf file add the line:
"device" : "1",
and cgminer will only enable device 1.

TY  I'll give it a try tonight. I think my problem is system RAM.  As I have read it is critical to scrypt mining..I'm only running 2GB on an old socket 939 ASUS board with a XFX 5870 HD 1GB memory.

AniceInovation
Donator
Sr. Member
*
Offline Offline

Activity: 314


Interesting.


View Profile
September 23, 2013, 07:44:43 PM
 #12547

Hello,
I'm running cgminer3.4.3 on windows.
I have 24 bitburners XX and 1 X, total 25 boards and 490 chips.

I try to run with the options:
 --avalon-options 115200:49:10:d:300 --bitburner-voltage 1290 --avalon-temp 55 --avalon-cutoff 65 --avalon-fan 80 --queue 4
And cgminer just closes with no error no nothing outputted (nothing also on a cmd line)

But running:
 --bitburner-voltage 1290 --avalon-temp 55 --avalon-cutoff 65 --avalon-fan 80 --queue 4
It mines ok, no problems whatsoever.

What am i doing wrong?

kano
Legendary
*
Online Online

Activity: 1918


Linux since 1997 RedHat 4


View Profile
September 23, 2013, 10:21:20 PM
 #12548

Hello,
I'm running cgminer3.4.3 on windows.
I have 24 bitburners XX and 1 X, total 25 boards and 490 chips.

I try to run with the options:
 --avalon-options 115200:49:10:d:300 --bitburner-voltage 1290 --avalon-temp 55 --avalon-cutoff 65 --avalon-fan 80 --queue 4
And cgminer just closes with no error no nothing outputted (nothing also on a cmd line)

But running:
 --bitburner-voltage 1290 --avalon-temp 55 --avalon-cutoff 65 --avalon-fan 80 --queue 4
It mines ok, no problems whatsoever.

What am i doing wrong?
Are they chained or USB each one? i.e. '49'.

--avalon-freq 300

Also, you need to run it in a command line and log the output - coz it will tell you what is wrong

cgminer ....... blah ...... blah ..... 2> cgminer.log

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
kano
Legendary
*
Online Online

Activity: 1918


Linux since 1997 RedHat 4


View Profile
September 23, 2013, 10:25:39 PM
 #12549

I'm trying to install CGminer on a Pi.
...
Or is there a later post in the thread I haven't found that would work better?
Use current cgminer.
It compiles fine on an RPi (though all earlier versions did also - so I've no idea what is corrupted on your RPi)
RPi binaries up to 3.4.2 are also here: https://github.com/kanoi/cgminer-binaries

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
village.idiot
Sr. Member
****
Offline Offline

Activity: 271


View Profile
September 24, 2013, 12:25:47 AM
 #12550

I'm trying to install CGminer on a Pi.
...
Or is there a later post in the thread I haven't found that would work better?
Use current cgminer.
It compiles fine on an RPi (though all earlier versions did also - so I've no idea what is corrupted on your RPi)
RPi binaries up to 3.4.2 are also here: https://github.com/kanoi/cgminer-binaries
I thought I was using the current CGminer.
There may, indeed, be something wrong with my Pi. Many people say Minepeon works great but it has never worked on mine.
I've been wondering if it's some kind of firmware version or something.
Thanks for pointing out the RPi binaries.  Not sure what to do with them but I'll give it a try.
The Mafia
Jr. Member
*
Offline Offline

Activity: 50


View Profile
September 24, 2013, 12:34:52 AM
 #12551


New debug executables uploaded.

All done and started, now we just have to play the waiting game.

I haven't seen it crash for at least 2-3 days on 3.4.3
Appreciated. That's no problem as no new release is scheduled any time soon unless I find some hotfix bug worth fixing.

I'm currently swamped with other work and probably need a small break from regular cgminer coding anyway.

Still running without that crash non stop since the 17th lol.

3.4.3 seems to be the most stable so fair. Still running the debug version though, so if/when it does we will catch it.
techman05
Hero Member
*****
Offline Offline

Activity: 546


View Profile WWW
September 24, 2013, 01:17:41 AM
 #12552

I'm trying to install CGminer on a Pi.
My mining device is a BFL Little Single.
I found the post (#7259) by ChipGeek and it went just great until I got to 'sudo make'
(if it matters, I used the same thing he did at the Configure CGminer step 'sudo ./autogen.sh --enable-bitforce --with-libudev')
it ran for a little while looking good until it spit out
Code:
 CC     libusb_1_0_la-io.lo
In file included from /usr/include/signal.h:356:0,
                 from io.c:23:
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:1:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'definitions'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:5:40: error: unknown type name 'you'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:5:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'redistribute'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:5:48: error: unknown type name 'redistribute'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:7:58: error: unknown type name 'either'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:8:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:11:30: error: unknown type name 'without'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:11:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'the'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:11:43: error: unknown type name 'the'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:16:42: error: expected identifier or '(' before 'if'
make[5]: *** [libusb_1_0_la-io.lo] Error 1
make[5]: Leaving directory `/usr/src/cgminer/compat/libusb-1.0/libusb'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/cgminer/compat/libusb-1.0'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/cgminer/compat/libusb-1.0'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/cgminer/compat'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cgminer'
make: *** [all] Error 2

I realize this is an old post and things in the software world evolve.
I don't speak whatever language this stuff is.
Someone please tell me what I need to make this successful.
Or is there a later post in the thread I haven't found that would work better?

You did it wrong. You do the enables to the configure file step not the auto.sh file. they are 2 different steps 1. run the auto sh file and when its done then do the configure. Both steps may feel like forever on the pi.
After the .\configure --[enable this and that] then you do the make install.

If the auto file finds all the files you should see alot of scrolling text ("does it have this , does it work there") and then some more when you do the enables.

This is still my reference for my install to the pi . Hopefully if you make sure you've got all the files and spots made this should get you in the right direction, just wake me when you figure out whats wrong with their autostart command and get it to work.
https://forums.butterflylabs.com/bitcoin-discussion/3238-super-tutorial-raspberry-pi-raspbian-cgminer-tightvnc-wifi-boot.html
Code:
10- The last step is to install the miner, CGMiner seems to work very well with the Raspberry Pi so these are the steps:
- Before to install CGMiner we need to install this dependencies: sudo aptitude install git autoconf libtool libcurl4-openssl-dev libncurses5-dev pkg-config yasm make libusb-1.0-0-dev Will ask "Do you want to continue?", "Y" to say Yes and wait until finish.
- Now we can start installing CGMiner:
- git clone git://github.com/ckolivas/cgminer.git cgminer
- cd cgminer
- ./autogen.sh
- export LIBCURL_CFLAGS='-I/usr/include/curl'
- export LIBCURL_LIBS='-L/usr/lib -lcurl'
- ./configure --enable-bflsc
- make
- sudo make install
- The last step is to autostart CGMiner every time we turn on the Raspberry Pi:
-We need to edit autostart with this command: sudo nano /etc/xdg/lxsession/LXDE/autostart
-At the end add the line: @/usr/bin/lxterminal --geometry=90x35 -e cgminer (The parameter "geometry" is to set the size of CGMiner, so adjust the parameter to your needs)
-Reboot using: sudo reboot

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
September 24, 2013, 01:23:21 AM
 #12553

Actually you can pass options to the autogen.sh stage as well, instead of doing it with the ./configure. His problem appears to be something else.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
techman05
Hero Member
*****
Offline Offline

Activity: 546


View Profile WWW
September 24, 2013, 01:55:07 AM
 #12554

Actually you can pass options to the autogen.sh stage as well, instead of doing it with the ./configure. His problem appears to be something else.

Did not know that. O.k , I'd just be curious how far along they got before receiving this error. When I  ran the file originally to try installing cgminer I got 6 or 7 not founds and it terminated.

 I'm going to use my next wammy card and say make sure you've installed all the files and made the lib driver . The first time I installed cg Miner files I did it on wireless and it didn't hit that step. even the clone github needed lan or it times out on you.

Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
village.idiot
Sr. Member
****
Offline Offline

Activity: 271


View Profile
September 24, 2013, 03:42:41 AM
 #12555

Did not know that. O.k , I'd just be curious how far along they got before receiving this error. When I  ran the file originally to try installing cgminer I got 6 or 7 not founds and it terminated.

 I'm going to use my next wammy card and say make sure you've installed all the files and made the lib driver . The first time I installed cg Miner files I did it on wireless and it didn't hit that step. even the clone github needed lan or it times out on you.

I tried to show in my original post https://bitcointalk.org/index.php?topic=28402.msg3219580#msg3219580 how far I got before it broke.
It looks to me like it's saying there's a syntax error in some file it was processing.
The post I was trying to follow for the install is https://bitcointalk.org/index.php?topic=28402.msg1229746#msg1229746
Since I don't know what the h' I'm doing I follow instructions verbatim.  Actually I use copy and paste to avoid tedious typing and typos so I installed whatever files it said.
I expect, because of the time difference, the files I downloaded were not the same as what he had at the time.

Thank you for trying to help
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
September 24, 2013, 03:57:48 AM
 #12556

Did not know that. O.k , I'd just be curious how far along they got before receiving this error. When I  ran the file originally to try installing cgminer I got 6 or 7 not founds and it terminated.

 I'm going to use my next wammy card and say make sure you've installed all the files and made the lib driver . The first time I installed cg Miner files I did it on wireless and it didn't hit that step. even the clone github needed lan or it times out on you.

I tried to show in my original post https://bitcointalk.org/index.php?topic=28402.msg3219580#msg3219580 how far I got before it broke.
It looks to me like it's saying there's a syntax error in some file it was processing.
The post I was trying to follow for the install is https://bitcointalk.org/index.php?topic=28402.msg1229746#msg1229746
Since I don't know what the h' I'm doing I follow instructions verbatim.  Actually I use copy and paste to avoid tedious typing and typos so I installed whatever files it said.
I expect, because of the time difference, the files I downloaded were not the same as what he had at the time.

Thank you for trying to help
--with-libudev is not a valid command for cgminer configuration

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
SebastianJu
Legendary
*
Offline Offline

Activity: 1624


Free Legendary Escrow Service - Tip Jar in Profile


View Profile WWW
September 24, 2013, 05:46:48 PM
 #12557

Hello,
I'm running cgminer3.4.3 on windows.
I have 24 bitburners XX and 1 X, total 25 boards and 490 chips.

I try to run with the options:
 --avalon-options 115200:49:10:d:300 --bitburner-voltage 1290 --avalon-temp 55 --avalon-cutoff 65 --avalon-fan 80 --queue 4
And cgminer just closes with no error no nothing outputted (nothing also on a cmd line)

But running:
 --bitburner-voltage 1290 --avalon-temp 55 --avalon-cutoff 65 --avalon-fan 80 --queue 4
It mines ok, no problems whatsoever.

What am i doing wrong?

You wrote you managed it now but like you found... only 16 miners can be chained at once and i think --avalon-options 115200:20:49:d:300 would be correct, first the number of chips on a bitburner, even 20 for bitburner X and the second value is the amount of miners stacked x 2. At least i run it that way. Its not starting when i change the order of values.

 

██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
 
Get Free Bitcoin Now!
  ¦¯¦¦¯¦    ¦¯¦¦¯¦    ¦¯¦¦¯¦    ¦¯¦¦¯¦   
0.8%-1% House Edge
[/
village.idiot
Sr. Member
****
Offline Offline

Activity: 271


View Profile
September 25, 2013, 07:22:45 AM
 #12558

--with-libudev is not a valid command for cgminer configuration
Tried it again without '--with-libudev' and still got what looks like the syntax error.
Code:
sudo make
make  all-recursive
make[1]: Entering directory `/usr/src/cgminer'
Making all in lib
make[2]: Entering directory `/usr/src/cgminer/lib'
  GEN    arg-nonnull.h
  GEN    c++defs.h
  GEN    warn-on-use.h
  GEN    signal.h
  GEN    stdint.h
  GEN    string.h
make  all-recursive
make[3]: Entering directory `/usr/src/cgminer/lib'
make[4]: Entering directory `/usr/src/cgminer/lib'
  CC     dummy.o
  CC     memmem.o
  AR     libgnu.a
make[4]: Leaving directory `/usr/src/cgminer/lib'
make[3]: Leaving directory `/usr/src/cgminer/lib'
make[2]: Leaving directory `/usr/src/cgminer/lib'
Making all in compat
make[2]: Entering directory `/usr/src/cgminer/compat'
Making all in jansson
make[3]: Entering directory `/usr/src/cgminer/compat/jansson'
  CC     dump.o
  CC     error.o
  CC     hashtable.o
  CC     load.o
  CC     memory.o
  CC     pack_unpack.o
  CC     strbuffer.o
  CC     strconv.o
  CC     utf.o
  CC     value.o
  AR     libjansson.a
make[3]: Leaving directory `/usr/src/cgminer/compat/jansson'
Making all in libusb-1.0
make[3]: Entering directory `/usr/src/cgminer/compat/libusb-1.0'
make  all-recursive
make[4]: Entering directory `/usr/src/cgminer/compat/libusb-1.0'
Making all in libusb
make[5]: Entering directory `/usr/src/cgminer/compat/libusb-1.0/libusb'
  CC     libusb_1_0_la-core.lo
  CC     libusb_1_0_la-descriptor.lo
  CC     libusb_1_0_la-io.lo
In file included from /usr/include/signal.h:356:0,
                 from io.c:23:
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:1:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'definitions'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:5:40: error: unknown type name 'you'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:5:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'redistribute'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:5:48: error: unknown type name 'redistribute'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:7:58: error: unknown type name 'either'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:8:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:11:30: error: unknown type name 'without'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:11:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'the'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:11:43: error: unknown type name 'the'
/usr/include/arm-linux-gnueabihf/bits/sigstack.h:16:42: error: expected identifier or '(' before 'if'
make[5]: *** [libusb_1_0_la-io.lo] Error 1
make[5]: Leaving directory `/usr/src/cgminer/compat/libusb-1.0/libusb'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/cgminer/compat/libusb-1.0'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/cgminer/compat/libusb-1.0'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/cgminer/compat'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cgminer'
make: *** [all] Error 2
pi@raspberrypi /usr/src/cgminer $

I've also tried to use the Super Tutorial Raspberry Pi+Raspbian+CGMiner+TightVNC+WIFI at boot
https://bitcointalk.org/index.php?topic=233392.0
but the command git clone git://github.com/ckolivas/cgminer.git cgminer
gives me
Cloning into 'cgminer'...
fatal: unable to connect to github.com:
github.com: No address associated with hostname

I've asked for help on that thread, but so far had no response.

Since all I want is to get CGminer running on my Pi,
seems like the binaries kano referenced are what I would need.
I downloaded the repository and extracted the cgminer-3.4.2 directory and the cgminer-3.4.2a file
but can't figure out how to make them run.
Still need a little help.
kano
Legendary
*
Online Online

Activity: 1918


Linux since 1997 RedHat 4


View Profile
September 25, 2013, 08:34:33 AM
 #12559

Your errors look like something (sigstack.h ?) is corrupt.

First, get the appropriate cgminer-3.4.2a binary for whichever RPi OS you are using then:

chmod +x cgminer-3.4.2a
./cgminer-3.4.2a blah blah ....


or
mv cgminer-3.4.2a cgminer
chmod +x cgminer
./cgminer blah blah ....


Also - how to get Arch (use 2013-06-06) onto a RPi and compile cgminer:
http://www.kano-kun.net/?p=87

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Chalkbot
Legendary
*
Offline Offline

Activity: 892



View Profile
September 25, 2013, 01:18:53 PM
 #12560

I'm trying to run separate cgminer instances on my machine using "-d" and "--remove-disabled" in each batch file, but regardless, the second instance always say's "devices in use" and closes. (The devices are BFL Singles)

Is there a way to accomplish this?
Pages: « 1 ... 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 [628] 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 ... 830 »
  Print  
 
Jump to:  

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