Bitcoin Forum
June 06, 2020, 03:18:44 PM *
News: Latest Bitcoin Core release: 0.19.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 [45] 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 »
  Print  
Author Topic: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only)  (Read 1955238 times)
Vaheliex
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 18, 2014, 06:11:49 AM
 #881

So i have been having a serious problem with cpuminer for the past couple of days and have asked around a couple of places and have yet to get a fix. Whenever i try to run the minerd or a batch file that uses it the command window shows up for a brief second, displays the file path of minerd, then closes itself and minerd proceeds to vanish from the folder. No error messages, just opens and then closes. My only real method of mining is with my cpu so without this program i really have no other way to efficiently mine. If anyone has a solution for this that would be great.
1591456724
Hero Member
*
Offline Offline

Posts: 1591456724

View Profile Personal Message (Offline)

Ignore
1591456724
Reply with quote  #2

1591456724
Report to moderator
1591456724
Hero Member
*
Offline Offline

Posts: 1591456724

View Profile Personal Message (Offline)

Ignore
1591456724
Reply with quote  #2

1591456724
Report to moderator
1591456724
Hero Member
*
Offline Offline

Posts: 1591456724

View Profile Personal Message (Offline)

Ignore
1591456724
Reply with quote  #2

1591456724
Report to moderator
100% First Deposit Bonus Instant Withdrawals Best Odds 10+ Sports Since 2014 No KYC Asked Play Now
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1591456724
Hero Member
*
Offline Offline

Posts: 1591456724

View Profile Personal Message (Offline)

Ignore
1591456724
Reply with quote  #2

1591456724
Report to moderator
derbrause
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
February 23, 2014, 05:21:57 PM
 #882

I absolutely need a 64 bit CPU Miner for mining vertcoin (scrypt-n). Any way to get one? :-))

EMC2: ESnKiK1Bbd1qt8h2bUNPvymy4aFPoAuQRo
Join the Einsteinium - Community! - Einsteinium.org - bitcointalk.org/index.php?topic=494708
examiner
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 23, 2014, 06:27:07 PM
Last edit: February 23, 2014, 08:44:40 PM by examiner
 #883

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

Mr.Dark-Core
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 24, 2014, 12:26:55 PM
 #884

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
darkfriend77
Sr. Member
****
Offline Offline

Activity: 504
Merit: 250


View Profile
February 24, 2014, 05:27:13 PM
 #885

hmmm .... any one an idear why I'm getting no ... hashrate?

on the pool it's working but in the log I see always 0.000

cpuminer-2.3.2-GC3355-win32


 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
CryptoTalk.org| 
MAKE POSTS AND EARN BTC!
🏆
examiner
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 24, 2014, 07:03:57 PM
 #886

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




Mr.Dark-Core
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 24, 2014, 08:32:32 PM
 #887


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



Thank you for reply

i tried what you said:

used  ./configure --enable-static --disable-shared then make

but i got this error in make install command:

Code:
Making install in lib
make[1]: Entering directory `/c/Documents and settings/administrateur/bureau/curl-7.35.0/lib'
make[2]: Entering directory `/c/Documents and settings/administrateur/bureau/curl-7.35.0/lib'
 /bin/mkdir -p '/usr/local/lib'
 /bin/sh ../libtool   --mode=install /bin/install -c   libcurl.la '/usr/local/lib'
libtool: install: /bin/install -c .libs/libcurl.lai /usr/local/lib/libcurl.la
libtool: install: /bin/install -c .libs/libcurl.a /usr/local/lib/libcurl.a
libtool: install: chmod 644 /usr/local/lib/libcurl.a
libtool: install: ranlib /usr/local/lib/libcurl.a
/bin/sh: /c/Documents: No such file or directory
make[2]: *** [install-libLTLIBRARIES] Error 127
make[2]: Leaving directory `/c/Documents and settings/administrateur/bureau/curl-7.35.0/lib'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/c/Documents and settings/administrateur/bureau/curl-7.35.0/lib'
make: *** [install-recursive] Error 1
examiner
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 25, 2014, 06:59:57 PM
 #888

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"
Mr.Dark-Core
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 26, 2014, 05:27:45 PM
 #889

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"

Yep, That was the point !!

the configure script completed successfully !! Grin

but all things are messed up ! -_-

please answer the personal message i sent to you !

waiting you !

your my only hope now ! Roll Eyes
ammi84
Sr. Member
****
Offline Offline

Activity: 462
Merit: 251


View Profile
February 26, 2014, 08:15:48 PM
 #890

hi,

is there any pre-compiled cpu miner for scrypt-jane online?
can't deal with the compiling stuff ..

thanks
HenriH
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
February 26, 2014, 10:13:52 PM
 #891

How can I compile a statically linked version of CPUMiner? I have heard that one only has to edit Makefile somehow. How?

Thanks!

Henri.
mxlx
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile WWW
February 26, 2014, 11:52:41 PM
 #892

I have a gridseed with me and i'm trying to figure out how can I mine with it without using a controller, just to connect to the usb and creates a virtual com port, any ideas. (litecoin)

thanks
HenriH
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
February 27, 2014, 07:58:32 AM
 #893

How can I compile a statically linked version of CPUMiner? I have heard that one only has to edit Makefile somehow. How?

Thanks!

Henri.

If I compile CPUMiner statically linked, do I still have to provide the library files along with the binary (minerd)? Or are the libraries going to be inside the minerd binary?

Henri.
pooler
Hero Member
*****
Offline Offline

Activity: 791
Merit: 505


View Profile
February 27, 2014, 10:20:24 PM
 #894

Version 2.3.3

This is a very minor update, mostly consisting of small bug fixes. It introduces no new functionalities or speed improvements.

  • The --url/-o option is now mandatory. (The miner no longer defaults to connecting to localhost:9332.)
  • The miner will no longer try to switch to Stratum if it is connecting via an HTTP proxy, as it is impossible to use Stratum over HTTP.
  • Fixed CPU affinity on FreeBSD and scheduling policy change on Linux.
  • Compatibility fixes for ICC and for compiling on various platforms, including old versions of Solaris and OS X.
  • A man page for minerd has been added.

The source code is, as always, available at GitHub. Source tarball and binaries are available at Sourceforge.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
abbeytim
Sr. Member
****
Offline Offline

Activity: 438
Merit: 250


View Profile
February 28, 2014, 01:12:16 AM
 #895

anyone know how to mine both litecoin and bitcoin on a gridseed 5 chip miner in windows
sickhouse
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
February 28, 2014, 03:26:59 AM
 #896

Thank you a lot!

Turn off the news and read. Watch Psywar, learn something important about our society and PR, why and how it got started and how it brainwashes you.
wolfey2014
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile WWW
February 28, 2014, 03:49:20 AM
 #897

Hello
Will the latest version speed up the hash rate of my GC3355 5 chip ASIC miners?
Sounds interesting too that this can be run on a common PC's CPU as well. Is this correct?
Fantastic upgrades.
But, are there other command line options one can use to change or monitor fan speed? Monitor temp of each unit? and so on?
Thanks
Wolfey2014

I Modify Miners Professionally! PM me for details!
pooler
Hero Member
*****
Offline Offline

Activity: 791
Merit: 505


View Profile
February 28, 2014, 07:58:35 AM
 #898

I have a gridseed with me and i'm trying to figure out how can I mine with it without using a controller, just to connect to the usb and creates a virtual com port, any ideas. (litecoin)
anyone know how to mine both litecoin and bitcoin on a gridseed 5 chip miner in windows
Will the latest version speed up the hash rate of my GC3355 5 chip ASIC miners?

I'm sorry, but you are all in the wrong thread.
This is the thread for cpuminer, which (as the name suggests) is a CPU-only miner.
There are forks of this project that are modified to handle Gridseed chips, but this is not the right thread to discuss them. Please try here or here or here, or open your own thread.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
btcrich
Sr. Member
****
Offline Offline

Activity: 302
Merit: 250


Any store can buy, sell, and accept Crypto


View Profile
February 28, 2014, 09:58:31 PM
Last edit: February 28, 2014, 10:42:29 PM by btcrich
 #899

I'm trying to compile the latest version released yesterday and running into an issue.  I'm getting the "checking whether the C compiler works... no" error.  I thought it could have to do with my paths, but I can't find the issue there.  Wondering if anyone can point me in the right direction?

Code:
$ ./configure --host=x86_64-w64-mingw32 CFLAGS="-03"
configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
checking build system type... i686-pc-mingw32
checking host system type... x86_64-w64-mingw32
checking target system type... x86_64-w64-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-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 x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... no
configure: error: in `/c/cpuminer':
configure: error: C compiler cannot create executables
See `config.log' for more details

Config.log

Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by cpuminer configure 2.3.3, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ ./configure --host=x86_64-w64-mingw32 CFLAGS=-03

## --------- ##
## Platform. ##
## --------- ##

hostname = George-PC
uname -m = i686
uname -r = 1.0.18(0.48/3/2)
uname -s = MINGW32_NT-6.1
uname -v = 2012-11-21 22:34

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /c/MinGW64/bin
PATH: /mingw/bin
PATH: /usr


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2301: checking build system type
configure:2315: result: i686-pc-mingw32
configure:2335: checking host system type
configure:2348: result: x86_64-w64-mingw32
configure:2368: checking target system type
configure:2381: result: x86_64-w64-mingw32
configure:2425: checking for a BSD-compatible install
configure:2493: result: /bin/install -c
configure:2504: checking whether build environment is sane
configure:2554: result: yes
configure:2603: checking for x86_64-w64-mingw32-strip
configure:2619: found /c/MinGW64/bin/x86_64-w64-mingw32-strip
configure:2630: result: x86_64-w64-mingw32-strip
configure:2695: checking for a thread-safe mkdir -p
configure:2734: result: /bin/mkdir -p
configure:2747: checking for gawk
configure:2763: found /bin/gawk
configure:2774: result: gawk
configure:2785: checking whether make sets $(MAKE)
configure:2807: result: yes
configure:2891: checking whether to enable maintainer-specific portions of Makefiles
configure:2900: result: no
configure:2926: checking for style of include used by make
configure:2954: result: GNU
configure:2984: checking for x86_64-w64-mingw32-gcc
configure:3000: found /c/MinGW64/bin/x86_64-w64-mingw32-gcc
configure:3011: result: x86_64-w64-mingw32-gcc
configure:3280: checking for C compiler version
configure:3289: x86_64-w64-mingw32-gcc --version >&5
x86_64-w64-mingw32-gcc.exe (GCC) 4.7.0 20111220 (experimental)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3300: $? = 0
configure:3289: x86_64-w64-mingw32-gcc -v >&5
Using built-in specs.
COLLECT_GCC=c:\MinGW64\bin\x86_64-w64-mingw32-gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.7.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../build/gcc/src/configure --target=x86_64-w64-mingw32 --prefix=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root --with-sysroot=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root --enable-languages=all,obj-c++ --enable-fully-dynamic-string --disable-multilib
Thread model: win32
gcc version 4.7.0 20111220 (experimental) (GCC)
configure:3300: $? = 0
configure:3289: x86_64-w64-mingw32-gcc -V >&5
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '-V'
x86_64-w64-mingw32-gcc.exe: fatal error: no input files
compilation terminated.
configure:3300: $? = 1
configure:3289: x86_64-w64-mingw32-gcc -qversion >&5
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '-qversion'
x86_64-w64-mingw32-gcc.exe: fatal error: no input files
compilation terminated.
configure:3300: $? = 1
configure:3320: checking whether the C compiler works
configure:3342: x86_64-w64-mingw32-gcc -03   conftest.c  >&5
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '-03'
configure:3346: $? = 1
configure:3384: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "2.3.3"
| #define PACKAGE_STRING "cpuminer 2.3.3"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "2.3.3"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3389: error: in `/c/cpuminer':
configure:3391: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-mingw32
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-03
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-w64-mingw32
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-w64-mingw32
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-w64-mingw32-gcc
ac_cv_prog_STRIP=x86_64-w64-mingw32-strip
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-w64-mingw32

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /c/cpuminer/missing --run aclocal-1.11'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /c/cpuminer/missing --run tar'
ARCH_ARM_FALSE=''
ARCH_ARM_TRUE=''
ARCH_x86_64_FALSE=''
ARCH_x86_64_TRUE=''
ARCH_x86_FALSE=''
ARCH_x86_TRUE=''
AUTOCONF='${SHELL} /c/cpuminer/missing --run autoconf'
AUTOHEADER='${SHELL} /c/cpuminer/missing --run autoheader'
AUTOMAKE='${SHELL} /c/cpuminer/missing --run automake-1.11'
AWK='gawk'
CC='x86_64-w64-mingw32-gcc'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS='-03'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
HAVE_WINDOWS_FALSE=''
HAVE_WINDOWS_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JANSSON_LIBS=''
LDFLAGS=''
LIBCURL=''
LIBCURL_CPPFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /c/cpuminer/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
OBJEXT=''
PACKAGE='cpuminer'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='cpuminer'
PACKAGE_STRING='cpuminer 2.3.3'
PACKAGE_TARNAME='cpuminer'
PACKAGE_URL=''
PACKAGE_VERSION='2.3.3'
PATH_SEPARATOR=':'
PTHREAD_FLAGS=''
PTHREAD_LIBS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='x86_64-w64-mingw32-strip'
VERSION='2.3.3'
WANT_JANSSON_FALSE=''
WANT_JANSSON_TRUE=''
WS2_LIBS=''
_libcurl_config=''
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-w64-mingw32'
host_alias='x86_64-w64-mingw32'
host_cpu='x86_64'
host_os='mingw32'
host_vendor='w64'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /c/cpuminer/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-w64-mingw32'
target_alias=''
target_cpu='x86_64'
target_os='mingw32'
target_vendor='w64'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "cpuminer"
#define PACKAGE_TARNAME "cpuminer"
#define PACKAGE_VERSION "2.3.3"
#define PACKAGE_STRING "cpuminer 2.3.3"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "cpuminer"
#define VERSION "2.3.3"

configure: exit 77

Thanks.

EDIT:  Just noticed in config.log that path to /mingw/bin is appearing both before and after /mingw64/bin.  I'm not sure why that is since I don't have it set up like that in my environment variables.

EDIT 2:  Apparently gcc version 4.7 has caused problems for others when compiling C code.  (http://stackoverflow.com/questions/11067283/msys-error-c-compiler-cannot-create-executables)  Any solution to this?

██████████████████████████████████████████████████████████████████▄   ▄
███████████████████████████████████████████████████████████████████▀▄▀
██████████████████████████████████████████████████████████████████▄▀ ▀▄

  ▄▄▄▄▄▄▄▄      ▄▄▄        ▄▄▄  ▄▄▄           ▄▄▄  ▄▄▄▄▄▄▄▄▄       ▄▄▄
  ██████████▄   ███        ███  ████▄         ███  ███████████▄    ███
  ███     ▀███  ███        ███  ██████▄       ███  ███      ▀███   ███
  ███      ███  ███        ███  ███ ▀███▄     ███  ███        ███  ███
  ███     ▄███  ███        ███  ███   ▀███▄   ███  ███        ███  ███
  ██████████▀   ███▄      ▄███  ███     ▀███▄ ███  ███       ▄███  ███
  ███▀▀▀▀▀       ███▄▄▄▄▄▄███   ███       ▀██████  ███▄▄▄▄▄▄███▀   ███
  ███             ▀████████▀    ███         ▀████  █████████▀▀     ███
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
.
Whitepaper   Twitter   Facebook
Telegram     Medium    Youtube
wolfey2014
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile WWW
February 28, 2014, 10:14:57 PM
 #900

I have a gridseed with me and i'm trying to figure out how can I mine with it without using a controller, just to connect to the usb and creates a virtual com port, any ideas. (litecoin)
anyone know how to mine both litecoin and bitcoin on a gridseed 5 chip miner in windows
Will the latest version speed up the hash rate of my GC3355 5 chip ASIC miners?

I'm sorry, but you are all in the wrong thread.
This is the thread for cpuminer, which (as the name suggests) is a CPU-only miner.
There are forks of this project that are modified to handle Gridseed chips, but this is not the right thread to discuss them. Please try here or here or here, or open your own thread.

Ehhemmmmm,,,,cpuminer is also being used for non-CPU applications such as our 5 chip Gridseed ASIC miners.
Different versions, ours - 2.3.2 , yours - 2.3.3
They don't make it clear that 2.3.3 is strictly for CPU in the data about it so...one is left to figure it out for ones self via extrapolation - guessing ;]
But I get where you're coming from...

What's up with all the compilation mess? I mean wow! 2.3.3 is definitely for the programming language literate Wink Not of interest to me at this point. The learning curves in this game are already almost overwhelming at times. Thank god for hackers! Wink I mean the good ones! Cheesy

I'd like to give CPU mining a shot myself. Can I run CPU mining and run my 5 chip pods at the same time thereby getting my hash rate up even higher? Wink

I Modify Miners Professionally! PM me for details!
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 [45] 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!