
it looks like it hasn’t done anything at all after running for 3 hrs.

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.I too is experimenting raspi + usb erupter. Sudo adduser –system –home /var /local/lib/cgminer cgminer Run cgminer under its own user “cgminer”: Sudo cp /usr/src/cgminer/les /etc/udev/rules.d/
Raspberry pi cgminer not finding device install#
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’ Note, selecting ‘libusb-1.0-0’ for regex ‘libusb-1.0’ :/home/pi/workarea/cgminer# sudo apt-get install libusbĮ: Unable to locate package sudo apt-get install libusb-1.0 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…

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”.
