Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"collect2: error: ld returned 1 exit status" when building on Debian 12 #856

Open
yhilgjff opened this issue Mar 15, 2024 · 0 comments
Open

Comments

@yhilgjff
Copy link

Am attempting to build the latest repo clone on a Debian 12 system. ./autogen.sh and ./configure both went thru successfully but make gave me the following:

make  all-recursive
make[1]: Entering directory '/opt/crypto/CGMiner'
Making all in lib
make[2]: Entering directory '/opt/crypto/CGMiner/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 '/opt/crypto/CGMiner/lib'
make[4]: Entering directory '/opt/crypto/CGMiner/lib'
  CC       dummy.o
  AR       libgnu.a
ar: `u' modifier ignored since `D' is the default (see `U')
make[4]: Leaving directory '/opt/crypto/CGMiner/lib'
make[3]: Leaving directory '/opt/crypto/CGMiner/lib'
make[2]: Leaving directory '/opt/crypto/CGMiner/lib'
Making all in compat
make[2]: Entering directory '/opt/crypto/CGMiner/compat'
Making all in jansson-2.9
make[3]: Entering directory '/opt/crypto/CGMiner/compat/jansson-2.9'
make  all-recursive
make[4]: Entering directory '/opt/crypto/CGMiner/compat/jansson-2.9'
Making all in doc
make[5]: Entering directory '/opt/crypto/CGMiner/compat/jansson-2.9/doc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/opt/crypto/CGMiner/compat/jansson-2.9/doc'
Making all in src
make[5]: Entering directory '/opt/crypto/CGMiner/compat/jansson-2.9/src'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c -o dump.lo dump.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c dump.c  -fPIC -DPIC -o .libs/dump.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c dump.c -o dump.o >/dev/null 2>&1
mv -f .deps/dump.Tpo .deps/dump.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c  -fPIC -DPIC -o .libs/error.o
error.c: In function 'jsonp_error_set_source':
error.c:31:9: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
   31 |         strncpy(error->source, "...", 3);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'jsonp_error_set_source',
    inlined from 'jsonp_error_set_source' at error.c:19:6:
error.c:28:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
   28 |         strncpy(error->source, source, length + 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c:26:14: note: length computed here
   26 |     length = strlen(source);
      |              ^~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
mv -f .deps/error.Tpo .deps/error.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.lo hashtable.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c hashtable.c  -fPIC -DPIC -o .libs/hashtable.o
In file included from hashtable.c:34:
lookup3.h: In function 'hashlittle':
lookup3.h:314:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
  314 |     case 12: c+=((uint32_t)k[11])<<24;
      |              ~^~~~~~~~~~~~~~~~~~~~~~~
lookup3.h:315:5: note: here
  315 |     case 11: c+=((uint32_t)k[10])<<16;
      |     ^~~~
lookup3.h:315:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
  315 |     case 11: c+=((uint32_t)k[10])<<16;
      |              ~^~~~~~~~~~~~~~~~~~~~~~~
lookup3.h:316:5: note: here
  316 |     case 10: c+=((uint32_t)k[9])<<8;
      |     ^~~~
lookup3.h:316:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
  316 |     case 10: c+=((uint32_t)k[9])<<8;
      |              ~^~~~~~~~~~~~~~~~~~~~~
lookup3.h:317:5: note: here
  317 |     case 9 : c+=k[8];
      |     ^~~~
lookup3.h:317:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
  317 |     case 9 : c+=k[8];
      |              ~^~~~~~
lookup3.h:318:5: note: here
  318 |     case 8 : b+=((uint32_t)k[7])<<24;
      |     ^~~~
lookup3.h:318:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
  318 |     case 8 : b+=((uint32_t)k[7])<<24;
      |              ~^~~~~~~~~~~~~~~~~~~~~~
lookup3.h:319:5: note: here
  319 |     case 7 : b+=((uint32_t)k[6])<<16;
      |     ^~~~
lookup3.h:319:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
  319 |     case 7 : b+=((uint32_t)k[6])<<16;
      |              ~^~~~~~~~~~~~~~~~~~~~~~
lookup3.h:320:5: note: here
  320 |     case 6 : b+=((uint32_t)k[5])<<8;
      |     ^~~~
lookup3.h:320:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
  320 |     case 6 : b+=((uint32_t)k[5])<<8;
      |              ~^~~~~~~~~~~~~~~~~~~~~
lookup3.h:321:5: note: here
  321 |     case 5 : b+=k[4];
      |     ^~~~
lookup3.h:321:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
  321 |     case 5 : b+=k[4];
      |              ~^~~~~~
lookup3.h:322:5: note: here
  322 |     case 4 : a+=((uint32_t)k[3])<<24;
      |     ^~~~
lookup3.h:322:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
  322 |     case 4 : a+=((uint32_t)k[3])<<24;
      |              ~^~~~~~~~~~~~~~~~~~~~~~
lookup3.h:323:5: note: here
  323 |     case 3 : a+=((uint32_t)k[2])<<16;
      |     ^~~~
lookup3.h:323:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
  323 |     case 3 : a+=((uint32_t)k[2])<<16;
      |              ~^~~~~~~~~~~~~~~~~~~~~~
lookup3.h:324:5: note: here
  324 |     case 2 : a+=((uint32_t)k[1])<<8;
      |     ^~~~
lookup3.h:324:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
  324 |     case 2 : a+=((uint32_t)k[1])<<8;
      |              ~^~~~~~~~~~~~~~~~~~~~~
lookup3.h:325:5: note: here
  325 |     case 1 : a+=k[0];
      |     ^~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c hashtable.c -o hashtable.o >/dev/null 2>&1
mv -f .deps/hashtable.Tpo .deps/hashtable.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c -o hashtable_seed.lo hashtable_seed.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c hashtable_seed.c  -fPIC -DPIC -o .libs/hashtable_seed.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT hashtable_seed.lo -MD -MP -MF .deps/hashtable_seed.Tpo -c hashtable_seed.c -o hashtable_seed.o >/dev/null 2>&1
mv -f .deps/hashtable_seed.Tpo .deps/hashtable_seed.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT load.lo -MD -MP -MF .deps/load.Tpo -c -o load.lo load.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c  -fPIC -DPIC -o .libs/load.o
load.c: In function 'error_set':
load.c:113:29: warning: ' near '' directive output may be truncated writing 7 bytes into a region of size between 1 and 160 [-Wformat-truncation=]
  113 |                          "%s near '%s'", msg_text, saved_text);
      |                             ^~~~~~~
load.c:112:17: note: 'snprintf' output 9 or more bytes (assuming 168) into a destination of size 160
  112 |                 snprintf(msg_with_context, JSON_ERROR_TEXT_LENGTH,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  113 |                          "%s near '%s'", msg_text, saved_text);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
load.c:126:29: warning: ' near end of file' directive output may be truncated writing 17 bytes into a region of size between 1 and 160 [-Wformat-truncation=]
  126 |                          "%s near end of file", msg_text);
      |                             ^~~~~~~~~~~~~~~~~
load.c:125:17: note: 'snprintf' output between 18 and 177 bytes into a destination of size 160
  125 |                 snprintf(msg_with_context, JSON_ERROR_TEXT_LENGTH,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  126 |                          "%s near end of file", msg_text);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c -o load.o >/dev/null 2>&1
mv -f .deps/load.Tpo .deps/load.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c -o memory.lo memory.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c memory.c  -fPIC -DPIC -o .libs/memory.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT memory.lo -MD -MP -MF .deps/memory.Tpo -c memory.c -o memory.o >/dev/null 2>&1
mv -f .deps/memory.Tpo .deps/memory.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c -o pack_unpack.lo pack_unpack.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c pack_unpack.c  -fPIC -DPIC -o .libs/pack_unpack.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT pack_unpack.lo -MD -MP -MF .deps/pack_unpack.Tpo -c pack_unpack.c -o pack_unpack.o >/dev/null 2>&1
mv -f .deps/pack_unpack.Tpo .deps/pack_unpack.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.lo strbuffer.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c strbuffer.c  -fPIC -DPIC -o .libs/strbuffer.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT strbuffer.lo -MD -MP -MF .deps/strbuffer.Tpo -c strbuffer.c -o strbuffer.o >/dev/null 2>&1
mv -f .deps/strbuffer.Tpo .deps/strbuffer.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c -o strconv.lo strconv.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c strconv.c  -fPIC -DPIC -o .libs/strconv.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT strconv.lo -MD -MP -MF .deps/strconv.Tpo -c strconv.c -o strconv.o >/dev/null 2>&1
mv -f .deps/strconv.Tpo .deps/strconv.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT utf.lo -MD -MP -MF .deps/utf.Tpo -c -o utf.lo utf.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT utf.lo -MD -MP -MF .deps/utf.Tpo -c utf.c  -fPIC -DPIC -o .libs/utf.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT utf.lo -MD -MP -MF .deps/utf.Tpo -c utf.c -o utf.o >/dev/null 2>&1
mv -f .deps/utf.Tpo .deps/utf.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT value.lo -MD -MP -MF .deps/value.Tpo -c -o value.lo value.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT value.lo -MD -MP -MF .deps/value.Tpo -c value.c  -fPIC -DPIC -o .libs/value.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -g -O2 -MT value.lo -MD -MP -MF .deps/value.Tpo -c value.c -o value.o >/dev/null 2>&1
mv -f .deps/value.Tpo .deps/value.Plo
/bin/bash ../libtool  --tag=CC   --mode=link gcc -Wall -Wextra -Wdeclaration-after-statement -g -O2 -no-undefined -export-symbols-regex '^json_' -version-info 13:0:9  -o libjansson.la -rpath /usr/local/lib dump.lo error.lo hashtable.lo hashtable_seed.lo load.lo memory.lo pack_unpack.lo strbuffer.lo strconv.lo utf.lo value.lo  
libtool: link: /usr/bin/nm -B  .libs/dump.o .libs/error.o .libs/hashtable.o .libs/hashtable_seed.o .libs/load.o .libs/memory.o .libs/pack_unpack.o .libs/strbuffer.o .libs/strconv.o .libs/utf.o .libs/value.o   | /usr/bin/sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libjansson.exp
libtool: link: /usr/bin/grep -E -e "^json_" ".libs/libjansson.exp" > ".libs/libjansson.expT"
libtool: link: mv -f ".libs/libjansson.expT" ".libs/libjansson.exp"
libtool: link: echo "{ global:" > .libs/libjansson.ver
libtool: link:  cat .libs/libjansson.exp | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/libjansson.ver
libtool: link:  echo "local: *; };" >> .libs/libjansson.ver
libtool: link:  gcc -shared  -fPIC -DPIC  .libs/dump.o .libs/error.o .libs/hashtable.o .libs/hashtable_seed.o .libs/load.o .libs/memory.o .libs/pack_unpack.o .libs/strbuffer.o .libs/strconv.o .libs/utf.o .libs/value.o    -g -O2   -Wl,-soname -Wl,libjansson.so.4 -Wl,-version-script -Wl,.libs/libjansson.ver -o .libs/libjansson.so.4.9.0
libtool: link: (cd ".libs" && rm -f "libjansson.so.4" && ln -s "libjansson.so.4.9.0" "libjansson.so.4")
libtool: link: (cd ".libs" && rm -f "libjansson.so" && ln -s "libjansson.so.4.9.0" "libjansson.so")
libtool: link: ar cr .libs/libjansson.a  dump.o error.o hashtable.o hashtable_seed.o load.o memory.o pack_unpack.o strbuffer.o strconv.o utf.o value.o
libtool: link: ranlib .libs/libjansson.a
libtool: link: ( cd ".libs" && rm -f "libjansson.la" && ln -s "../libjansson.la" "libjansson.la" )
make[5]: Leaving directory '/opt/crypto/CGMiner/compat/jansson-2.9/src'
Making all in test
make[5]: Entering directory '/opt/crypto/CGMiner/compat/jansson-2.9/test'
Making all in bin
make[6]: Entering directory '/opt/crypto/CGMiner/compat/jansson-2.9/test/bin'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/opt/crypto/CGMiner/compat/jansson-2.9/test/bin'
Making all in suites
make[6]: Entering directory '/opt/crypto/CGMiner/compat/jansson-2.9/test/suites'
Making all in api
make[7]: Entering directory '/opt/crypto/CGMiner/compat/jansson-2.9/test/suites/api'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/opt/crypto/CGMiner/compat/jansson-2.9/test/suites/api'
make[7]: Entering directory '/opt/crypto/CGMiner/compat/jansson-2.9/test/suites'
make[7]: Nothing to be done for 'all-am'.
make[7]: Leaving directory '/opt/crypto/CGMiner/compat/jansson-2.9/test/suites'
make[6]: Leaving directory '/opt/crypto/CGMiner/compat/jansson-2.9/test/suites'
make[6]: Entering directory '/opt/crypto/CGMiner/compat/jansson-2.9/test'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/opt/crypto/CGMiner/compat/jansson-2.9/test'
make[5]: Leaving directory '/opt/crypto/CGMiner/compat/jansson-2.9/test'
make[5]: Entering directory '/opt/crypto/CGMiner/compat/jansson-2.9'
make[5]: Leaving directory '/opt/crypto/CGMiner/compat/jansson-2.9'
make[4]: Leaving directory '/opt/crypto/CGMiner/compat/jansson-2.9'
make[3]: Leaving directory '/opt/crypto/CGMiner/compat/jansson-2.9'
make[3]: Entering directory '/opt/crypto/CGMiner/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/opt/crypto/CGMiner/compat'
make[2]: Leaving directory '/opt/crypto/CGMiner/compat'
Making all in ccan
make[2]: Entering directory '/opt/crypto/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 '/opt/crypto/CGMiner/ccan'
make[2]: Entering directory '/opt/crypto/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:2838:3: note: declared here
 2838 |   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:2841:3: note: declared here
 2841 |   CURLINFO_SIZE_DOWNLOAD
      |   ^~~~~~~~~~~~~~~~~~~~~~
  CC       cgminer-sha2.o
  CC       cgminer-api.o
  CC       cgminer-logging.o
  CC       cgminer-klist.o
  CC       cgminer-noncedup.o
  CCLD     cgminer
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitmain_soc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `sp30_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `sp10_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `minion_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `knc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `klondike_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `icarus_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bab_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon8_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants3_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants2_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `modminer_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-util.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitmain_soc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `sp30_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `sp10_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `minion_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `knc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `klondike_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `icarus_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bab_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon8_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants3_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants2_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `modminer_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-sha2.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitmain_soc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `sp30_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `sp10_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `minion_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `knc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `klondike_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `icarus_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bab_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon8_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants3_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants2_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `modminer_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-api.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitmain_soc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `sp30_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `sp10_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `minion_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `knc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `klondike_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `icarus_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bab_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon8_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants3_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants2_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `modminer_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-logging.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `bitmain_soc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `sp30_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `sp10_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `minion_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `knc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `klondike_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `icarus_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `bab_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `avalon8_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `avalon_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `ants3_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `ants2_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `ants1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `modminer_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-klist.o:/opt/crypto/CGMiner/./miner.h:287: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitmain_soc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `sp30_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `sp10_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `minion_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `knc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `klondike_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `icarus_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `hashratio_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `drillbit_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `hashfast_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `dragonmintT1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `cointerra_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `blockerupter_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitmineA1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitfury16_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitfury_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bflsc_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bab_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalonm_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon8_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon7_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon4_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon2_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `avalon_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants3_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants2_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `ants1_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `modminer_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
/usr/bin/ld: cgminer-noncedup.o:/opt/crypto/CGMiner/miner.h:287: multiple definition of `bitforce_drv'; cgminer-cgminer.o:/opt/crypto/CGMiner/./miner.h:287: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:903: cgminer] Error 1
make[2]: Leaving directory '/opt/crypto/CGMiner'
make[1]: *** [Makefile:1877: all-recursive] Error 1
make[1]: Leaving directory '/opt/crypto/CGMiner'
make: *** [Makefile:806: all] Error 2
# uname -a
Linux MYSYSTEM 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux
# lspci -s 01:00.0 -v
01:00.0 VGA compatible controller: NVIDIA Corporation GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU]
	Physical Slot: 0
	Flags: bus master, fast devsel, latency 0, IRQ 94, IOMMU group 12
	Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
	Memory at 7c00000000 (64-bit, prefetchable) [size=8G]
	Memory at 7e00000000 (64-bit, prefetchable) [size=32M]
	I/O ports at f000 [size=128]
	Expansion ROM at dd000000 [virtual] [disabled] [size=512K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Legacy Endpoint, MSI 00
	Capabilities: [b4] Vendor Specific Information: Len=14 <?>
	Capabilities: [100] Virtual Channel
	Capabilities: [250] Latency Tolerance Reporting
	Capabilities: [258] L1 PM Substates
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [420] Advanced Error Reporting
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Capabilities: [900] Secondary PCI Express
	Capabilities: [bb0] Physical Resizable BAR
	Capabilities: [c1c] Physical Layer 16.0 GT/s <?>
	Capabilities: [d00] Lane Margining at the Receiver <?>
	Capabilities: [e00] Data Link Feature <?>
	Kernel driver in use: nvidia
	Kernel modules: nvidia
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant