4/6/2023 0 Comments Cgminer linux![]() ![]() usr/bin/ld: cgminer-util.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `klondike_drv' cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here usr/bin/ld: cgminer-util.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `knc_drv' cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here usr/bin/ld: cgminer-util.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `minion_drv' cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here usr/bin/ld: cgminer-util.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `sp10_drv' cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here usr/bin/ld: cgminer-util.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `sp30_drv' cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here usr/include/libusb-1.0/libusb.h:1352:18: note: declared hereġ352 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level) ĭriver-gekko.c: In function ‘compac_mine’:ĭriver-gekko.h:8:24: warning: implicit declaration of function ‘pthread_yield’ did you mean ‘thread_yield’? Ĩ | #define thread_yield() pthread_yield(NULL)ĭriver-gekko.c:579:4: note: in expansion of macro ‘thread_yield’ ![]() Usbutils.c:1580:4: warning: ‘libusb_set_debug’ is deprecated: Use libusb_set_option instead ġ580 | libusb_set_debug(NULL, opt_usbdump) Usbutils.c: In function ‘cgusb_check_init’: Make: Leaving directory '/home/tekcon/source/newpac_miner/ccan' Make: Entering directory '/home/tekcon/source/newpac_miner/ccan' Make: Leaving directory '/home/tekcon/source/newpac_miner/compat' Make: Entering directory '/home/tekcon/source/newpac_miner/compat' Make: Leaving directory '/home/tekcon/source/newpac_miner/lib' Make: Entering directory '/home/tekcon/source/newpac_miner/lib'Īr: `u' modifier ignored since `D' is the default (see `U') Make: Entering directory '/home/tekcon/source/newpac_miner' EDIT: See my NEXT message for most recent 'make' output -Īny help or suggestions are welcome. I can post the full build output if that helps, but it seems where 'make' starts to crap out is in the 'newpac_miner' folder part of the build: # This is where it craps out, but only on Pi OS ![]() Libcrypt-dev libgcrypt20-dev libusb-1.0-0 libusb-1.0-0-dev libusb-dev libncurses-dev libevent-dev libudev-dev libmicrohttpd-dev libi2c-dev \ Sudo apt-get install build-essential autoconf autogen automake libtool pkg-config libjansson-dev uthash-dev libcurl4-openssl-dev \ # Run the same on both Ubuntu Miner: (Ubuntu 20.04 LTS 64bit) or Raspbian Miner: (Raspbian Pi OS Lite 64bit): (See next post for the output).īelow is what I did, adapted from what I read here and in other threads. So I tried again with just '-enable-gekko' in config and got similar results. I was trying to run one pi to manage them all, but after reading another thread and playing with overclocking, I pulled the antminer U2 ASICs and S9s out of the mix. The config (I included below) originally added support for icarus, bitmain and gekko. I am sure others have done this, but I don't know if the more recent OS releases have changed anything. So, I followed the same steps I did on the Ubuntu setup after the OS install but I am getting errors on the compile. I did find some libs changed in the Ubuntu release so I kept those changes on the Pi OS. I would like to re-run this experiment on a Ras.Pi 3b running Pi OS Lite 64 bit. It's working great with an avg hash rate of 92Gh/s I am running 2 x 2Pacs on a powered USB hub at 200mhz. ![]() I managed to build the VH version of cgminer on a Raspberry Pi 4 running Ubuntu Server 20.04 LTS 64 bit using the same steps I quote below. So I think I can follow what is going on in the thread, but I know I have a lot to learn still. I am a total newb to ASIC mining, I have some experience in the Linux OS and some (light) experience as a coder and hardware tech. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |