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

util.c:(.text+0x2395): undefined reference to curl_easy_cleanup', curl_easy_setopt'... #433

Open
itmagpro opened this issue Sep 27, 2024 · 0 comments

Comments

@itmagpro
Copy link

# make
...
o/x22/cpuminer-x22i-gate.o algo/x22/cpuminer-x25x.o algo/x22/cpuminer-x25x-4way.o algo/yespower/cpuminer-yespower-gate.o algo/yespower/cpuminer-yespower-blake2b.o algo/yespower/crypto/cpuminer-hmac-blake2b.o algo/yespower/cpuminer-yescrypt-r8g.o algo/yespower/cpuminer-yespower-opt.o algo/yespower/cpuminer-yespower-ref.o algo/yespower/cpuminer-yespower-blake2b-ref.o asm/cpuminer-neoscrypt_asm.o  -ljansson -lpthread  -lgmp
/usr/bin/ld: cpuminer-cpu-miner.o: in function `workio_thread':
cpu-miner.c:(.text+0x5742): undefined reference to `curl_easy_init'
/usr/bin/ld: cpu-miner.c:(.text+0x580b): undefined reference to `curl_easy_cleanup'
/usr/bin/ld: cpuminer-cpu-miner.o: in function `longpoll_thread':
cpu-miner.c:(.text+0x7c3f): undefined reference to `curl_easy_init'
/usr/bin/ld: cpu-miner.c:(.text+0x813f): undefined reference to `curl_easy_cleanup'
/usr/bin/ld: cpuminer-cpu-miner.o: in function `show_version_and_exit':
cpu-miner.c:(.text+0x9709): undefined reference to `curl_version'
/usr/bin/ld: cpuminer-cpu-miner.o: in function `main':
cpu-miner.c:(.text+0xb060): undefined reference to `curl_global_init'
/usr/bin/ld: cpuminer-util.o: in function `json_rpc_call':
util.c:(.text+0x236e): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x2395): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x23c8): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x23ed): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x2414): undefined reference to `curl_easy_setopt'
/usr/bin/ld: cpuminer-util.o:util.c:(.text+0x2439): more undefined references to `curl_easy_setopt' follow
/usr/bin/ld: cpuminer-util.o: in function `json_rpc_call':
util.c:(.text+0x26e3): undefined reference to `curl_slist_append'
/usr/bin/ld: util.c:(.text+0x26fa): undefined reference to `curl_slist_append'
/usr/bin/ld: util.c:(.text+0x2711): undefined reference to `curl_slist_append'
/usr/bin/ld: util.c:(.text+0x2739): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x2748): undefined reference to `curl_easy_perform'
/usr/bin/ld: util.c:(.text+0x2798): undefined reference to `curl_easy_getinfo'
/usr/bin/ld: util.c:(.text+0x2ca8): undefined reference to `curl_slist_free_all'
/usr/bin/ld: util.c:(.text+0x2cb7): undefined reference to `curl_easy_reset'
/usr/bin/ld: util.c:(.text+0x2d09): undefined reference to `curl_slist_free_all'
/usr/bin/ld: util.c:(.text+0x2d18): undefined reference to `curl_easy_reset'
/usr/bin/ld: cpuminer-util.o: in function `json_load_url':
util.c:(.text+0x2ec6): undefined reference to `curl_easy_init'
/usr/bin/ld: util.c:(.text+0x2f15): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x2f37): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x2f59): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x2f7d): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x2f9f): undefined reference to `curl_easy_setopt'
/usr/bin/ld: cpuminer-util.o:util.c:(.text+0x2fc1): more undefined references to `curl_easy_setopt' follow
/usr/bin/ld: cpuminer-util.o: in function `json_load_url':
util.c:(.text+0x3125): undefined reference to `curl_easy_perform'
/usr/bin/ld: util.c:(.text+0x31ab): undefined reference to `curl_easy_cleanup'
/usr/bin/ld: cpuminer-util.o: in function `send_line':
util.c:(.text+0x4a76): undefined reference to `curl_easy_send'
/usr/bin/ld: cpuminer-util.o: in function `stratum_recv_line':
util.c:(.text+0x4dd7): undefined reference to `curl_easy_recv'
/usr/bin/ld: cpuminer-util.o: in function `stratum_connect':
util.c:(.text+0x4ff2): undefined reference to `curl_easy_cleanup'
/usr/bin/ld: util.c:(.text+0x4ff7): undefined reference to `curl_easy_init'
/usr/bin/ld: util.c:(.text+0x51a9): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x51ce): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x51f0): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x5212): undefined reference to `curl_easy_setopt'
/usr/bin/ld: util.c:(.text+0x5237): undefined reference to `curl_easy_setopt'
/usr/bin/ld: cpuminer-util.o:util.c:(.text+0x5259): more undefined references to `curl_easy_setopt' follow
/usr/bin/ld: cpuminer-util.o: in function `stratum_connect':
util.c:(.text+0x5387): undefined reference to `curl_easy_perform'
/usr/bin/ld: util.c:(.text+0x53bd): undefined reference to `curl_easy_cleanup'
/usr/bin/ld: util.c:(.text+0x53f8): undefined reference to `curl_easy_getinfo'
/usr/bin/ld: cpuminer-util.o: in function `stratum_disconnect':
util.c:(.text+0x543e): undefined reference to `curl_easy_cleanup'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:2157: cpuminer] Error 1
make[2]: Leaving directory '/opt/cpuminer-opt-master'
make[1]: *** [Makefile:6219: all-recursive] Error 1
make[1]: Leaving directory '/opt/cpuminer-opt-master'
make: *** [Makefile:1188: all] Error 2
# 

;(

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