Bitcoin Forum
June 16, 2025, 12:13:29 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Beginners & Help / linux cgminer-1.4.0 compilation does not work on: July 24, 2011, 08:16:20 AM
Hallo.
i am trying to compile cgminer-1.4.0 on linux_x86-64.
 ./configure CFLAGS="-O3 -Wall" seams to work, but make breaks with:

Code:
util.c
util.c:254: error: syntax error before "curl_socket_t"
util.c: In function `json_rpc_call_sockopt_cb':
util.c:263: error: `fd' undeclared (first use in this function)
util.c:263: error: (Each undeclared identifier is reported only once
util.c:263: error: for each function it appears in.)
util.c: In function `json_rpc_call':
util.c:348: error: `CURLOPT_SOCKOPTFUNCTION' undeclared (first use in this function)
make[2]: *** [cgminer-util.o] Error 1
make[2]: Leaving directory `/home/xxxxxx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xxxxxxx'
make: *** [all] Error 2

cgminer-1.3.1 was still able to compile on the system, so i think curl is ok.
and i uesed this source-code http://ck.kolivas.org/apps/cgminer/cgminer-1.4.0.tar.bz2 with jansson included.
any ideas?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!