![]() Sudo cp /etc/init.d/skeleton /etc/init.d/cgminerĭAEMON_ARGS=”-o -u your_user -p your_password -o –real-quiet –syslog –text-only”Īnd make sure start-stop-daemon backgrounds the process. Sudo adduser –system –home /var /local/lib/cgminer cgminer Follow along to setup on your own Raspberry Pi, cgminer, the bitcoin mining application of choice to work along in tandem with USB mining ASIC hardware. Run cgminer under its own user “cgminer”: Sudo cp /usr/src/cgminer/les /etc/udev/rules.d/ To run cgminer as a regular user you should also install the udev rules: Libusb-1.0-0-dev is already the newest version.Ġ upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Libusb-1.0-0 is already the newest version. Note, selecting ‘libusb-1.0-0-dev’ for regex ‘libusb-1.0’ After managing to win one on ebay I obviously decided to drop my previous BTC/Minepoen project. Note, selecting ‘libusb-1.0-0’ for regex ‘libusb-1.0’ While this is new to me I didn’t want to limit myself to just Bitcoin so the obvious choice was Hashra as it supports scrypt only (bfgminer), SHA-256 (cgminer) only or dual-mining mode (cpuminer + cgminer). :/home/pi/workarea/cgminer# sudo apt-get install libusb-1.0 :/home/pi/workarea/cgminer# sudo apt-get install libusb configure: line 11925: -pthread: command not foundĬonfigure: error: “udev support requested but libudev not installed”Ĭonfigure: error. The stream ends with:Ĭhecking whether gcc and cc understand -c and -o together… yes I fixed the -Wall switch and retried the command. | #define PACKAGE_BUGREPORT “ ”Ĭonfigure:3939: error: in `/home/pi/workarea/cgminer’:Ĭonfigure:3941: error: C compiler cannot create executablesĪny ideas? Be gentle, I am new to all this… Check your avalon status: Status -> Cgminer Status Setup password/using ssh. Gcc: error: unrecognized option ‘-qversion’Ĭonfigure:3870: checking whether the C compiler worksĬonfigure:3892: gcc -O2 -WAll -march=native conftest.c >&5Ĭc1: error: bad value (native) for -march switchĬc1: error: unrecognized command line option ‘-WAll’ 6.7.1 Flash SD Card for RPi(OS X) 6.7.2 Flash SD Card for RPi(Linux). The command will update system packages, which may take some time, so please be. This command will install dtbartle's CGMiner-gc3355 to the /miner directory, set CGMiner to run on boot inside a new screen, and finally detach that newly created screen. When I look at config.log, I see the following: Ensure that you are running this command as user pi, and that the user has root privileges. These instructions are for compiling cgminer on Raspian (a debian distro for the Raspberry Pi). configure –enable-bflscĬhecking build system type… armv6l-unknown-linux-gnueabihfĬhecking host system type… armv6l-unknown-linux-gnueabihfĬhecking target system type… armv6l-unknown-linux-gnueabihfĬhecking for a BSD-compatible install… /usr/bin/install -cĬhecking whether build environment is sane… yesĬhecking for a thread-safe mkdir -p… /bin/mkdir -pĬhecking whether make supports nested variables… yesĬhecking for style of include used by make… GNUĬhecking whether the C compiler works… noĬonfigure: error: in `/home/pi/workarea/cgminer’:Ĭonfigure: error: C compiler cannot create executables :/home/pi/workarea/cgminer# CFLAGS=”-O2 -WAll -march=native”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |