Author

Topic: Can't compile cybertza/cgminer - Multiple definition of variables (Read 145 times)

legendary
Activity: 4326
Merit: 8899
'The right to privacy matters'
I dont have energy cost... pretty much close to 0.. so I'm not counting on energy costs

Please start posting here

https://bitcointalk.org/index.php?topic=5505371.new#new


this thread is setup for you  it is in altcoin section.
member
Activity: 259
Merit: 85
So many numbers and so little time
LTC isn't something we're interested in around here, have a look in the alt-coin sections.

Sorry I couldn't help you get it going.

You might want to ping a message to Kano he might have a better idea than I do.

Anyway, Good luck!!
newbie
Activity: 18
Merit: 2
I dont have energy cost... pretty much close to 0.. so I'm not counting on energy costs



just buy this :

https://vmssecuritycloud.com/product/used-bitmain-oem-s19-100t-low-power-autotune-firmware/

this is like 10000 gpus.


the fastest gpu is under 10gh so a 1 th miner asic is 100 gpus

the one I showed you is 100th which means you will have the hashrate of 10000 gpus.

mining btc directly with a gpu should be a crime because it it ridiculously not efficient effective.


you could point the gpu rig to nicehash and pick an alt to rent and get paid in btc. it is not direct  but if you have cheap power you will earn a few dollars a day. or mybe a dollar a day.


I would love to buy it... a lots of. But I live in the worst place in the world to do so: Brazil. Basically any product that we import we pay equivalent of 2x the price itself..in taxes. Even so its hard to find any seller that ships asics miners to brazil. I haven't found one yet.


-SNIP-

I just cloned Kano's repo and I have the same error... I read the topic you mentioned about compilation issues but couldnt figure it out... do I have to change any files to work out?

Updated error is:


Code:
SNIP

Did you follow the build instructions on Kano's github to the letter?

I'm wondering if you have a conflicting set of cgminer data somewhere else on your system that appears in your path or perhaps somthing is misconfigured somewhere, maybe a missing package.

Its really hard to diagnose from the logs you posted.

Do a find on cgminer.c and see if there's more than one instance of it. If there is you'll need to find the pre-installed packages and remove it.

Which Ubuntu are you running and did that come from an official source?

I have ubuntu 24.04 server, downloaded from https://ubuntu.com/download/server

Yes, I did follow the build instructions - which is not that different from the previous repo.

I decided to mine LTC... do you guys think its a good coin to mine with GPUs?
member
Activity: 259
Merit: 85
So many numbers and so little time

-SNIP-

I just cloned Kano's repo and I have the same error... I read the topic you mentioned about compilation issues but couldnt figure it out... do I have to change any files to work out?

Updated error is:


Code:
SNIP

Did you follow the build instructions on Kano's github to the letter?

I'm wondering if you have a conflicting set of cgminer data somewhere else on your system that appears in your path or perhaps somthing is misconfigured somewhere, maybe a missing package.

Its really hard to diagnose from the logs you posted.

Do a find on cgminer.c and see if there's more than one instance of it. If there is you'll need to find the pre-installed packages and remove it.

Which Ubuntu are you running and did that come from an official source?







legendary
Activity: 4326
Merit: 8899
'The right to privacy matters'
I dont have energy cost... pretty much close to 0.. so I'm not counting on energy costs



just buy this :

https://vmssecuritycloud.com/product/used-bitmain-oem-s19-100t-low-power-autotune-firmware/

this is like 10000 gpus.


the fastest gpu is under 10gh so a 1 th miner asic is 100 gpus

the one I showed you is 100th which means you will have the hashrate of 10000 gpus.

mining btc directly with a gpu should be a crime because it it ridiculously not efficient effective.


you could point the gpu rig to nicehash and pick an alt to rent and get paid in btc. it is not direct  but if you have cheap power you will earn a few dollars a day. or mybe a dollar a day.
newbie
Activity: 18
Merit: 2
Where did you clone cgminer from?

If it wasn't Kano's github repo then there's no telling how broken it might be.

Kano is currently the only official maintainer for cgminer, the official repo is here:-

https://github.com/kanoi/cgminer/

I've run into compilation issues with this once before on a Raspberry PI5, Kano done some investigation on it and found it was the GCC that was broken, there's a thread on that here https://bitcointalksearch.org/topic/m.63287718

I wonder if that's something to do with it, maybe the later GCC versions are just buggy?

Anyway,

As for mining BTC using GPU's there really is no point, they're too expensive to run and too slow to compete with even entry level ASIC miners.

If you're really keen get one or more of Gekko Sciences Compac A1's or a Bitaxe or something similar.

I just cloned Kano's repo and I have the same error... I read the topic you mentioned about compilation issues but couldnt figure it out... do I have to change any files to work out?

Updated error is:


Code:
make[2]: Entering directory '/home/tretaa/cgminer/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/tretaa/cgminer/ccan'
make[2]: Entering directory '/home/tretaa/cgminer'
  CC       cgminer-cgminer.o
  CC       cgminer-util.o
util.c: In function ‘json_rpc_call’:
util.c:691:9: warning: ‘CURLINFO_SIZE_UPLOAD’ is deprecated: since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations]
  691 |         if (curl_easy_getinfo(curl, CURLINFO_SIZE_UPLOAD, &byte_count) == CURLE_OK)
      |         ^~
In file included from util.c:21:
/usr/include/x86_64-linux-gnu/curl/curl.h:2854:3: note: declared here
 2854 |   CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T")
      |   ^~~~~~~~~~~~~~~~~~~~
util.c:694:9: warning: ‘CURLINFO_SIZE_DOWNLOAD’ is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations]
  694 |         if (curl_easy_getinfo(curl, CURLINFO_SIZE_DOWNLOAD, &byte_count) == CURLE_OK)
      |         ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2857:3: note: declared here
 2857 |   CURLINFO_SIZE_DOWNLOAD
      |   ^~~~~~~~~~~~~~~~~~~~~~
  CC       cgminer-sha2.o
  CC       cgminer-api.o
api.c: In function ‘message’:
api.c:1513:49: warning: format not a string literal and no format arguments [-Wformat-security]
 1513 |                                                 );
      |                                                 ^
  CC       cgminer-logging.o
  CC       cgminer-klist.o
  CC       cgminer-noncedup.o
  CCLD     cgminer
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitmain_soc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `sp30_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `sp10_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `minion_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `knc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `klondike_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `flow_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon8_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-util.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitmain_soc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `sp30_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `sp10_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `minion_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `knc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `klondike_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `flow_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon8_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-sha2.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitmain_soc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `sp30_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `sp10_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `minion_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `knc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `klondike_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `flow_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon8_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-api.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitmain_soc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `sp30_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `sp10_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `minion_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `knc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `klondike_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `flow_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon8_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-logging.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `bitmain_soc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `sp30_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `sp10_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `minion_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `knc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `klondike_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `flow_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `avalon8_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-klist.o:/home/tretaa/cgminer/./miner.h:304: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitmain_soc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `sp30_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `sp10_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `minion_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `knc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `klondike_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `icarus_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `gekko_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `flow_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bab_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon8_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `avalon_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants3_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants2_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `ants1_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `modminer_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
/usr/bin/ld: cgminer-noncedup.o:/home/tretaa/cgminer/miner.h:304: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/home/tretaa/cgminer/./miner.h:304: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:912: cgminer] Error 1
make[2]: Leaving directory '/home/tretaa/cgminer'
make[1]: *** [Makefile:1916: all-recursive] Error 1
make[1]: Leaving directory '/home/tretaa/cgminer'
make: *** [Makefile:815: all] Error 2
root@sv-tretaa:/home/tretaa/cgminer#
member
Activity: 259
Merit: 85
So many numbers and so little time
Where did you clone cgminer from?

If it wasn't Kano's github repo then there's no telling how broken it might be.

Kano is currently the only official maintainer for cgminer, the official repo is here:-

https://github.com/kanoi/cgminer/

I've run into compilation issues with this once before on a Raspberry PI5, Kano done some investigation on it and found it was the GCC that was broken, there's a thread on that here https://bitcointalksearch.org/topic/m.63287718

I wonder if that's something to do with it, maybe the later GCC versions are just buggy?

Anyway,

As for mining BTC using GPU's there really is no point, they're too expensive to run and too slow to compete with even entry level ASIC miners.

If you're really keen get one or more of Gekko Sciences Compac A1's or a Bitaxe or something similar.
newbie
Activity: 18
Merit: 2
I dont have energy cost... pretty much close to 0.. so I'm not counting on energy costs
legendary
Activity: 4326
Merit: 8899
'The right to privacy matters'
Yeah I was trying to mine BTC. My intetion is to buy a custom rig with 10+ GPUs. Let me just understand... it not possible to mine BTC on custom rigs due to software limitations or it will be an impossible game against ASIC units?

Direct Gpu mining of Btc is simply not efficient. way too much power used for the hashrate.

Going to nicehash and renting out your gpu hashrate will get paid in btc.


but the gpus are mining some altcoin for some renter that pays you in btc.

at this moment no rental pays a lot of btc so you would lose money unless the power you use is free.

What is your power cost?

I can tell you if it is worth mining ⛏️.
newbie
Activity: 18
Merit: 2
Yeah I was trying to mine BTC. My intetion is to buy a custom rig with 10+ GPUs. Let me just understand... it not possible to mine BTC on custom rigs due to software limitations or it will be an impossible game against ASIC units?
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
What exactly you are trying to mine with your PC? Mining Bitcoin will never be able to mine with PC or GPU if you want to mine BTC you need ASIC unit usually from Bitmain.com or canaan.io units unless you are planning to mine altcoins?

If yes, then here's the right section for you altcoin mining

- https://bitcointalk.org/index.php?board=159.0
newbie
Activity: 18
Merit: 2
Hi guys.. i'm new here.

Trying to setup a machine to start mining BTC. Current I have a humble rig but im trying to make this work in order to invest more money on it. I have tried HiveOS before but couldn't make it work.
I'm pretty new to this crypto universe, i'm a software developer (0 knowledge of C / C++) so I might have a couple of skills that could be helpfull.

So what I did was install ubutu server on my machine, downloaded all dependencies listed on readme. Tried to run ./autogen and then ./configure --disable-opencl and lastly: make
Everythin as a root.

This is the output:

Code:
root@sv-tretaa:/home/tretaa/cgminer# make
make  all-recursive
make[1]: Entering directory '/home/tretaa/cgminer'
Making all in lib
make[2]: Entering directory '/home/tretaa/cgminer/lib'
  GEN      signal.h
  GEN      string.h
make  all-recursive
make[3]: Entering directory '/home/tretaa/cgminer/lib'
make[4]: Entering directory '/home/tretaa/cgminer/lib'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/tretaa/cgminer/lib'
make[3]: Leaving directory '/home/tretaa/cgminer/lib'
make[2]: Leaving directory '/home/tretaa/cgminer/lib'
Making all in compat
make[2]: Entering directory '/home/tretaa/cgminer/compat'
make[3]: Entering directory '/home/tretaa/cgminer/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tretaa/cgminer/compat'
make[2]: Leaving directory '/home/tretaa/cgminer/compat'
Making all in ccan
make[2]: Entering directory '/home/tretaa/cgminer/ccan'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tretaa/cgminer/ccan'
make[2]: Entering directory '/home/tretaa/cgminer'
  CC       cgminer-cgminer.o
  CC       cgminer-util.o
util.c: In function ‘initiate_stratum’:
util.c:1355:9: warning: ‘CURLINFO_LASTSOCKET’ is deprecated: since 7.45.0. Use CURLINFO_ACTIVESOCKET [-Wdeprecated-declarations]
 1355 |         curl_easy_getinfo(curl, CURLINFO_LASTSOCKET, (long *)&pool->sock);
      |         ^~~~~~~~~~~~~~~~~
In file included from util.c:20:
/usr/include/x86_64-linux-gnu/curl/curl.h:2896:3: note: declared here
 2896 |   CURLINFO_LASTSOCKET  CURL_DEPRECATED(7.45.0, "Use CURLINFO_ACTIVESOCKET")
      |   ^~~~~~~~~~~~~~~~~~~
  CC       cgminer-sha2.o
  CC       cgminer-api.o
api.c: In function ‘message’:
api.c:1145:49: warning: format not a string literal and no format arguments [-Wformat-security]
 1145 |                                                 );
      |                                                 ^
api.c: In function ‘api’:
api.c:3656:75: warning: ‘%s’ directive writing up to 8191 bytes into a region of size 99 [-Wformat-overflow=]
 3656 |                                                         sprintf(cmdbuf, "|%s|", cmd);
      |                                                                           ^~
In file included from /usr/include/stdio.h:980,
                 from api.c:17:
In function ‘sprintf’,
    inlined from ‘api’ at api.c:3656:8:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 8194 bytes into a destination of size 100
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
  CC       cgminer-logging.o
  CC       cgminer-driver-opencl.o
  CCLD     cgminer
/usr/bin/ld: cgminer-driver-opencl.o:/home/tretaa/cgminer/driver-opencl.c:612: multiple definition of `cpus'; cgminer-cgminer.o:/home/tretaa/cgminer/cgminer.c:1683: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:739: cgminer] Error 1
make[2]: Leaving directory '/home/tretaa/cgminer'
make[1]: *** [Makefile:1206: all-recursive] Error 1
make[1]: Leaving directory '/home/tretaa/cgminer'
make: *** [Makefile:642: all] Error 2

I have no idea how to solve this... I'm sorry if I posted on the wrong section.. I just want some guidance here.. if you please help me
Jump to: