![]() The Pool configuration which is used in the example above should be replaced by your own pool configuration data. cgminer -o stratum+tcp://:3333 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr -p x -suggest-diff 32 -gekko-2pac-freq 150 The following command will start up the CGMiner Software (example): cd ~/mining/2pac/cgminer We achieved best results with Arctic Breeze Mobile 92 mm (quiet, performant, high-quality). We recommend a quality USB fan for operating clock rates greater than 150 MHz. For more details please check the following link on. This USB Stick Miner requires a actively powered USB Hub which can independently provide 2 A for each USB port We have achieved good results with several USB 2.0 Hubs from Anker or Orico while Users reported several compatibility issues with USB 3.0 Hubs with Intel chipsets. This command returns a list of detected miners. autogen.sh -enable-gekkoĮxplanation notes: The build parameter –enable-gekko activates the GekkoScience drivers both for Compac (single ASIC) and 2Pac (dual ASIC). ![]() The build command for Ubuntu 16.04.1 LTS (or higher) is slightly different: CFLAGS="-O2 -march=native". Now you can clone the GekkoScience CGMiner branch from GIT: mkdir -p mining/2pac cd mining/2pacĪfter successful cloning you can start to build CGMiner. Sudo apt-get install -y build-essential git autoconf automake libtool pkg-config libcurl4-openssl-dev libudev-dev libusb-1.0-0-dev libncurses5-dev libncurses5-dev: text base user interface for CGMiner.libusb-1.0-0-dev: USB support for CGMiner.libcurl4-openssl-dev: http connectivity for CGMiner.libtool: provides shared library access for CGMiner.build-essential: Compiler and Compile Tools.The following packages are mandatory to properly build CGMiner: It’s not necessary to use root.įirst steps: update and upgrade of system and reqired packages: sudo apt-get update This installation guide describes setup, configuration and build based on a freshly installed Raspbian (Debian) or Ubuntu installation. 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.Preparation, Package Dependencies, Configuration and Build for Raspbian – Kernel version: 4.4 (Debian 8.7.1) or higher of for Ubuntu 16.04.1 LTS or higher Preparation 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/ 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 the make failed with: 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’ I retried sudo apt-get install libusbĮ: Unable to locate package sudo apt-get install libusb-1.0 configure failed for had already installed 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… 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’ See `config.log’ for more 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 I get the following CFLAGS=”-O2 -WAll -march=native”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |