![]() 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 Run cgminer under its own user “cgminer”: You will then click enter to return home. Go ahead and make a program, and you will be done with the installation process of your Cgminer. Sudo cp /usr/src/cgminer/les /etc/udev/rules.d/ To achieve this, you should key in this command. 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. How can I check if cgminer is running and also how can I see the activity of the program such as hash rate etc I can not even find cgminer in the start menu let alone see an icon or. This is the very first time I have used the pi really. Libusb-1.0-0 is already the newest version. I do have a remote connection to the pi desktop through my mac. Note, selecting ‘libusb-1.0-0-dev’ for regex ‘libusb-1.0’ Note, selecting ‘libusb-1.0-0’ for regex ‘libusb-1.0’ cgminer-3.1.1/cgminer -config /home/pi/nf -S /dev/ttyUSB0 -S /dev/ttyUSB1 >/dev/null 2>&1&. Qt for Raspberry pi: 'Could not find DRM device' Ive built Qt (with cross-compiler) from Ubuntu VM to Raspbian (Raspberry pi model 3 B+), so it can deploy apps via ssh. Edited the rc.local file: sudo nano /etc/rc.local. Next, we’ll need to install a number of packages to allow us to clone the bfgminer source code, configure and compile it. I am trying to make cgMiner auto-start when my Raspberry Pi (Raspbian Linux) starts. Now restart your Raspberry Pi using the following command to ensure the latest updates are in use: sudo shutdown -r now. :/home/pi/workarea/cgminer# sudo apt-get install libusbĮ: Unable to locate package sudo apt-get install libusb-1.0 To perform the updates, enter the following command: sudo rpi-update. After trying numerous times it finally worked No more need to download it from this website, got it. configure: line 11925: -pthread: command not foundĬonfigure: error: “udev support requested but libudev not installed”Ĭonfigure: error. 1 Update: sudo apt-get install bfgminer failed several times, as the same for sudo apt-get install cgminer. 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… 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’ When I look at config.log, I see the following: ![]() 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”. Well, I guess they say cgminer will work, too :P. Then cgminer loads up but there is no devices in there. 2 Answers Sorted by: 2 I recommend using bfgminer, and so does Butterfly Labs. Sys-kernel/linux-headers: 3.13 (virtual/os-headers)ĬONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"ĬONFIG_PROTECT_MASK="/etc/nf /etc/env.d /etc/fonts/nf /etc/gconf /etc/gentoo-release /etc/sandbox.This sequence doesn’t compile on my RPi. As dobey said I needed opencl, but the amd-sdk versions of opencl did not seem to work for me (I was probably installing them incorrectly). No devices detected Waiting for USB hotplug devices or press q to quit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |