Bitcoin Forum
June 21, 2024, 05:07:14 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need help compiling cgminer in Linux on Raspberry Pi OS 64bit  (Read 209 times)
UnKulMunki (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
February 19, 2022, 12:34:31 AM
 #1

Hi everyone,

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. So I think I can follow what is going on in the thread, but I know I have a lot to learn still.
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.
I am running 2 x 2Pacs on a powered USB hub at 200mhz.  It's working great with an avg hash rate of 92Gh/s

I would like to re-run this experiment on a Ras.Pi 3b running Pi OS Lite 64 bit.  I did find some libs changed in the Ubuntu release so I kept those changes on the Pi OS. 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 am sure others have done this, but I don't know if the more recent OS releases have changed anything.

The config (I included below) originally added support for icarus, bitmain and gekko. 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. So I tried again with just '--enable-gekko' in config and got similar results. (See next post for the output).

Below is what I did, adapted from what I read here and in other threads.

Quote
## Run the same on both Ubuntu Miner: (Ubuntu 20.04 LTS 64bit)  or  Raspbian Miner: (Raspbian Pi OS Lite 64bit):

# Install required crap
sudo apt-get install build-essential autoconf autogen automake libtool pkg-config libjansson-dev uthash-dev libcurl4-openssl-dev \
    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 \
    git curl mc tmux


# clone the repo
git clone https://github.com/vthoang/cgminer.git ~/source/newpac_miner
cd ~/source/newpac_miner

# build it all
### AUTOGEN -- NO ERRORS I NOTICED ###
./autogen.sh

### CONFIGURE -- NO ERRORS I NOTICED ###
./configure  --enable-gekko

## This is where it craps out, but only on Pi OS
make

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:

-- EDIT: See my NEXT message for most recent 'make' output ---

Any help or suggestions are welcome. Thanks for taking the time to read it.

I'm just a newb trying new stuff.
- UnkulMunki -
UnKulMunki (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
February 19, 2022, 12:54:34 AM
 #2

...
The config (I included below) originally added support for icarus, bitmain and gekko. 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. So I tried again with just '--enable-gekko' in config and got similar results. (See next post for the output).
...
- UnkulMunki -

I did a build of the VH repo without '--enable-gekko' and got the same errors around the same place.
So I did a vanilla build of cgminer (from luke-jr repo) and got the same errors around the same place.

So I must be missing SOMETHING on the Pi OS 64bit that is breaking this build process, right? I just don't see it...

Thanks again,
- UnKulMunki -



--- EDIT -- Including the full "make" output, errors included ---
Quote
### MAKE -- MANY BIG UGLY ERRORS ###
pico02:~/source/newpac_miner $ make

make  all-recursive
make[1]: Entering directory '/home/tekcon/source/newpac_miner'
Making all in lib
make[2]: Entering directory '/home/tekcon/source/newpac_miner/lib'
  GEN      arg-nonnull.h
  GEN      c++defs.h
  GEN      warn-on-use.h
  GEN      signal.h
  GEN      string.h
make  all-recursive
make[3]: Entering directory '/home/tekcon/source/newpac_miner/lib'
make[4]: Entering directory '/home/tekcon/source/newpac_miner/lib'
  CC       dummy.o
  AR       libgnu.a
ar: `u' modifier ignored since `D' is the default (see `U')
make[4]: Leaving directory '/home/tekcon/source/newpac_miner/lib'
make[3]: Leaving directory '/home/tekcon/source/newpac_miner/lib'
make[2]: Leaving directory '/home/tekcon/source/newpac_miner/lib'
Making all in compat
make[2]: Entering directory '/home/tekcon/source/newpac_miner/compat'
make[3]: Entering directory '/home/tekcon/source/newpac_miner/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tekcon/source/newpac_miner/compat'
make[2]: Leaving directory '/home/tekcon/source/newpac_miner/compat'
Making all in ccan
make[2]: Entering directory '/home/tekcon/source/newpac_miner/ccan'
  CC       opt/libccan_a-helpers.o
  CC       opt/libccan_a-opt.o
  CC       opt/libccan_a-parse.o
  CC       opt/libccan_a-usage.o
  AR       libccan.a
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/home/tekcon/source/newpac_miner/ccan'
make[2]: Entering directory '/home/tekcon/source/newpac_miner'
  CC       cgminer-cgminer.o
  CC       cgminer-util.o
  CC       cgminer-sha2.o
  CC       cgminer-api.o
  CC       cgminer-logging.o
  CC       cgminer-klist.o
  CC       cgminer-noncedup.o
  CC       cgminer-usbutils.o
usbutils.c: In function ‘cgusb_check_init’:
usbutils.c:1580:4: warning: ‘libusb_set_debug’ is deprecated: Use libusb_set_option instead [-Wdeprecated-declarations]
 1580 |    libusb_set_debug(NULL, opt_usbdump);
      |    ^~~~~~~~~~~~~~~~
In file included from miner.h:129,
                 from usbutils.c:18:
/usr/include/libusb-1.0/libusb.h:1352:18: note: declared here
 1352 | void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
      |                  ^~~~~~~~~~~~~~~~
  CC       cgminer-crc16.o
  CC       cgminer-driver-gekko.o
In file included from driver-gekko.c:1:
driver-gekko.c: In function ‘compac_mine’:
driver-gekko.h:8:24: warning: implicit declaration of function ‘pthread_yield’; did you mean ‘thread_yield’? [-Wimplicit-function-declaration]
    8 | #define thread_yield() pthread_yield(NULL)
      |                        ^~~~~~~~~~~~~
driver-gekko.c:579:4: note: in expansion of macro ‘thread_yield’
  579 |    thread_yield();
      |    ^~~~~~~~~~~~
  CCLD     cgminer
/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/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 `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 `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 `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 `icarus_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 `hashratio_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 `drillbit_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 `hashfast_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 `dragonmintT1_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 `gekko_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 `cointerra_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 `blockerupter_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 `bitmineA1_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 `bitfury16_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 `bitfury_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 `bflsc_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 `bab_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 `avalonm_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 `avalon7_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 `avalon4_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 `avalon2_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 `avalon_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 `ants3_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 `ants2_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 `ants1_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 `modminer_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 `bitforce_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.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/bin/ld: cgminer-sha2.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-sha2.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-sha2.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-sha2.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-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.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/bin/ld: cgminer-api.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-api.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-api.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-api.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-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-api.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.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/bin/ld: cgminer-logging.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-logging.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-logging.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-logging.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-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.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/bin/ld: cgminer-klist.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-klist.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-klist.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-klist.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-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tekcon/source/newpac_miner/./miner.h:286: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.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/bin/ld: cgminer-noncedup.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-noncedup.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-noncedup.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-noncedup.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-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.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/bin/ld: cgminer-usbutils.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-usbutils.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-usbutils.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-usbutils.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-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-usbutils.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.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/bin/ld: cgminer-driver-gekko.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-driver-gekko.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-driver-gekko.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-driver-gekko.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-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
/usr/bin/ld: cgminer-driver-gekko.o:/home/tekcon/source/newpac_miner/miner.h:286: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tekcon/source/newpac_miner/./miner.h:286: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:893: cgminer] Error 1
make[2]: Leaving directory '/home/tekcon/source/newpac_miner'
make[1]: *** [Makefile:1837: all-recursive] Error 1
make[1]: Leaving directory '/home/tekcon/source/newpac_miner'
make: *** [Makefile:796: all] Error 2
NotATether
Legendary
*
Offline Offline

Activity: 1638
Merit: 6907


bitcoincleanup.com / bitmixlist.org


View Profile WWW
February 23, 2022, 03:08:17 PM
 #3

See my reply to your other post here.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
100knot2dae
Member
**
Offline Offline

Activity: 100
Merit: 29


View Profile
March 02, 2022, 05:07:35 PM
Merited by NotATether (3), paid2 (2)
 #4

Hi everyone,

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. So I think I can follow what is going on in the thread, but I know I have a lot to learn still.
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.
I am running 2 x 2Pacs on a powered USB hub at 200mhz.  It's working great with an avg hash rate of 92Gh/s

I would like to re-run this experiment on a Ras.Pi 3b running Pi OS Lite 64 bit.  I did find some libs changed in the Ubuntu release so I kept those changes on the Pi OS. 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 am sure others have done this, but I don't know if the more recent OS releases have changed anything.

The config (I included below) originally added support for icarus, bitmain and gekko. 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. So I tried again with just '--enable-gekko' in config and got similar results. (See next post for the output).

Below is what I did, adapted from what I read here and in other threads.

Quote
## Run the same on both Ubuntu Miner: (Ubuntu 20.04 LTS 64bit)  or  Raspbian Miner: (Raspbian Pi OS Lite 64bit):

# Install required crap
sudo apt-get install build-essential autoconf autogen automake libtool pkg-config libjansson-dev uthash-dev libcurl4-openssl-dev \
    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 \
    git curl mc tmux


# clone the repo
git clone https://github.com/vthoang/cgminer.git ~/source/newpac_miner
cd ~/source/newpac_miner

# build it all
### AUTOGEN -- NO ERRORS I NOTICED ###
./autogen.sh

### CONFIGURE -- NO ERRORS I NOTICED ###
./configure  --enable-gekko

## This is where it craps out, but only on Pi OS
make

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:

-- EDIT: See my NEXT message for most recent 'make' output ---

Any help or suggestions are welcome. Thanks for taking the time to read it.

I'm just a newb trying new stuff.
- UnkulMunki -

Code:
cd cgminer
CFLAGS="-O2 -fcommon" ./autogen.sh --enable-gekko
make

Background: GCC 10 is using -fno-common as default flag (https://gcc.gnu.org/gcc-10/porting_to.html), so you have to explicitly use -fcommon when compiling cgminer.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!