Bitcoin Forum
May 06, 2024, 10:40:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Local / Mining (Italiano) / Re: ASIC MINER Block Erupter ....Non riesco. on: March 16, 2014, 08:58:23 AM
Hai installato i moduli linux dell'erupter? Dovresti trovarli sulsito del produttore
2  Bitcoin / Pools / Re: [850 TH] Slush's Pool (mining.bitcoin.cz); TX FEES + VarDiff on: March 07, 2014, 06:28:58 PM
Ehi the pool is down or very slow now? My worker is not able to login on stratum.bitcoin.cz:3333. Wth?
3  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer on: February 25, 2014, 06:59:57 PM
i think that the problem is in the path of your working directory

 the spaces in "Documents and settings" are not escaped and so the path is invalid. try to use a path like "/c/something"
4  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer on: February 24, 2014, 07:03:57 PM
Hi !  Smiley

I'm Trying to Compile cpuminer on windows xp 32-bit  Roll Eyes

i've downloaded "curl-7.35.0.tar.gz" and compiled it, copied "libcurl.m4" and "curl-config"

when i run this command in MSYS Shell:

LIBCURL="-lcurldll" ./configure CFLAGS="-O3"

It Gives me this Error: "configure: error: Missing required libcurl >= 7.15.2"  Undecided

i know that i hadn't installed the curl lib properly in my system that's why this error shows up  Embarrassed

can someone tell me the right way to install libcurl in windows ? ( Note: I'm a newbie with C/C++ and compiling and all related things )  Roll Eyes

Thanks in advance !   Cheesy

configure script results:

Code:
checking build system type... i686-pc-mingw32
checking host system type... i686-w64-mingw32
checking target system type... i686-w64-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for i686-w64-mingw32-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i686-w64-mingw32-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc -std=gnu99 needs -traditional... no
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking dependency style of gcc -std=gnu99... gcc3
checking for i686-w64-mingw32-ranlib... no
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking for sys/sysctl.h... no
checking whether be32dec is declared... no
checking whether le32dec is declared... no
checking whether be32enc is declared... no
checking whether le32enc is declared... no
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for getopt_long... yes
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... yes
checking for json_loads in -ljansson... no
checking for pthread_create in -lpthread... no
checking for pthread_create in -lpthreadGC2... no
checking for pthread_create in -lpthreadGC1... no
checking for pthread_create in -lpthreadGC... no
checking for gawk... (cached) gawk
checking for curl-config... /mingw/bin/curl-config
checking for the version of libcurl... 7.35.0
checking for libcurl >= version 7.15.2... yes
checking whether libcurl is usable... no
configure: error: Missing required libcurl >= 7.15.2

how did you compiled libcurl?

1) build libcurl with this:

 ./configure --enable-static --disable-shared
 make
 make install

2) you have also to install lpthread with MiniGW Intaller

3) to build cpuminer use only:
    ./configure CFLAGS="-O3"  (as you builded a static version of libcurl before)
    make




5  Alternate cryptocurrencies / Mining (Altcoins) / Re: An (even more) optimized version of cpuminer on: February 23, 2014, 06:27:07 PM
Hi,

I am trying to compile on XP 32bit (that's all I currently have available) and I am having some problems:

I have installed MinGW32, MSYS, C, and C++ compilers.
Downloaded and compiled curl-7.30.0.tar.gz, and copied over the libcurl.m4 and curl-config files.
Downloaded 'pooler-cpuminer-2.3.2.tar.gz' from Sourceforge (I am assuming this is the source to use?).

I am trying to build for 32bit Windows, so I use the config command:

Code:
./configure --host=i686-w64-mingw32 CFLAGS="-O3"

This appears to complete without any issues, so I issue the make command and get the following error message:

Code:
noveske@xp /c/cpuminer-2.3.2
$ make
make  all-recursive
make[1]: Entering directory `/c/cpuminer-2.3.2'
Making all in compat
make[2]: Entering directory `/c/cpuminer-2.3.2/compat'
Making all in jansson
make[3]: Entering directory `/c/cpuminer-2.3.2/compat/jansson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/cpuminer-2.3.2/compat/jansson'
make[3]: Entering directory `/c/cpuminer-2.3.2/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/c/cpuminer-2.3.2/compat'
make[2]: Leaving directory `/c/cpuminer-2.3.2/compat'
make[2]: Entering directory `/c/cpuminer-2.3.2'
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing -I./compat/jansson -I/c/MinGW/include   -O3 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
In file included from c:\mingw\include\curl\curlbuild.h:124:0,
                 from c:\mingw\include\curl\curl.h:34,
                 from cpu-miner.c:37:
c:\mingw\include\ws2tcpip.h:38:2: error: #error "ws2tcpip.h is not compatible with winsock.h. Include winsock2.h instead."
 #error "ws2tcpip.h is not compatible with winsock.h. Include winsock2.h instead."
  ^
In file included from c:\mingw\include\curl\curlbuild.h:124:0,
                 from c:\mingw\include\curl\curl.h:34,
                 from cpu-miner.c:37:
c:\mingw\include\ws2tcpip.h:147:8: error: redefinition of 'struct ip_mreq'
 struct ip_mreq {
        ^
In file included from c:\mingw\include\windows.h:93:0,
                 from cpu-miner.c:23:
c:\mingw\include\winsock.h:315:8: note: originally defined here
 struct ip_mreq {
        ^
In file included from cpu-miner.c:39:0:
miner.h:9:21: fatal error: pthread.h: No such file or directory
 #include <pthread.h>
                     ^
compilation terminated.
make[2]: *** [minerd-cpu-miner.o] Error 1
make[2]: Leaving directory `/c/cpuminer-2.3.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/cpuminer-2.3.2'
make: *** [all] Error 2

noveske@xp /c/cpuminer-2.3.2

Any help would be great, thanks

Ihave the same issue. I'm trying to compile with static curl.
Please Help

thanks.

*** SOLVED ***

change code at line 22 of cpu-miner.c with:

#ifdef WIN32
#define WIN32_LEAN_AND_MEAN 1

now i compile withot errors

6  Bitcoin / Mining software (miners) / Re: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB, HFA on: February 18, 2014, 10:55:19 PM
I Know that bfgminer is not intended to be used as scrypt miner, but it has scrypt support. I need to use it as scrypt-proxy for its proxy capabilites. It's possible to do so? And if yes, how ?

Tnxs
7  Local / Mining (Italiano) / Problema autenticazione proxy miner on: February 17, 2014, 09:39:16 PM
ciao ragazzi, ho un certo numero di postazioni con installato minerd. Vorrei proxare i minatori in modo da switchare su un determinato pool a seconda delle esigenze in un solo colpo. Il problema e' nell'autenticazione. I vari pool ignorano le credenziali impostate sul proxy e quindi sono costretto a modificarle a mano su ciascun miner ogni volta che effettuo il cambio di pool. Vorrei doverle cambiare solo sul proxy e fare in modo che i minatori si connettano a quest'ultimo senza credenziali. E' possibile? Spero di essere stato abbastanza chiaro. Qualcuno puņ aiutarmi?

Grazie in anticipo
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!