i run ./configure CFLAGS="-O3" in centos vps,and get configure: error: Missing required libcurl >= 7.15.2
so i yum install libcurl and get
Package libcurl-7.19.7-37.el6_4.x86_64 already installed and latest version
Nothing to do
yum install libcurl-dev
or
yum install curl-devel
thank u so much,but when i make i get this
# make
make all-recursive
make[1]: Entering directory `/root/darkcoin-cpuminer-1.2c'
Making all in compat
make[2]: Entering directory `/root/darkcoin-cpuminer-1.2c/compat'
Making all in jansson
make[3]: Entering directory `/root/darkcoin-cpuminer-1.2c/compat/jansson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/darkcoin-cpuminer-1.2c/compat/jansson'
make[3]: Entering directory `/root/darkcoin-cpuminer-1.2c/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/darkcoin-cpuminer-1.2c/compat'
make[2]: Leaving directory `/root/darkcoin-cpuminer-1.2c/compat'
make[2]: Entering directory `/root/darkcoin-cpuminer-1.2c'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -O3 -MT minerd-xcoin.o -MD -MP -MF .deps/minerd-xcoin.Tpo -c -o minerd-xcoin.o `test -f 'xcoin.c' || echo './'`xcoin.c
In file included from xcoin.c:25:
x6/jh_sse2_opt64.h:32: error: redefinition of typedef ‘BitSequence’
x5/defs_x5.h:5: note: previous declaration of ‘BitSequence’ was here
x6/jh_sse2_opt64.h:33: error: redefinition of typedef ‘DataLength’
x5/defs_x5.h:6: note: previous declaration of ‘DataLength’ was here
xcoin.c: In function ‘Xhash’:
xcoin.c:97: warning: assignment discards qualifiers from pointer target type
xcoin.c:112: warning: right shift count >= width of type
xcoin.c:112: warning: right shift count >= width of type
xcoin.c:112: warning: right shift count >= width of type
xcoin.c:112: warning: right shift count >= width of type
make[2]: *** [minerd-xcoin.o] Error 1
make[2]: Leaving directory `/root/darkcoin-cpuminer-1.2c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/darkcoin-cpuminer-1.2c'
make: *** [all] Error 2