Bitcoin Forum
April 19, 2024, 09:56:38 PM *
News: Latest Bitcoin Core release: 26.0 [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 70 71 »
  Print  
Author Topic: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only)  (Read 1958262 times)
examiner
Newbie
*
Offline Offline

Activity: 7
Merit: 0


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

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




Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713563798
Hero Member
*
Offline Offline

Posts: 1713563798

View Profile Personal Message (Offline)

Ignore
1713563798
Reply with quote  #2

1713563798
Report to moderator
Mr.Dark-Core
Newbie
*
Offline Offline

Activity: 3
Merit: 0


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


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
 #883

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
 #884

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
 #885

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
 #886

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
 #887

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
 #888

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 (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


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

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
 #890

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
 #891

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
 #892

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 (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


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

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


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

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

Activity: 378
Merit: 250


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

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!
SandraSandrina
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 28, 2014, 11:19:11 PM
 #896

Hmm I get verry low power with this new version on same pool/coin.

Proof:

Version 2.3.3
http://s17.postimg.org/4naxuvaxb/Minerd_v2_3_3.jpg

Old Version 2.3.2
http://s15.postimg.org/tjugverq3/Minerd_v2_3_2.jpg

Let me know who have same problem.
pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
February 28, 2014, 11:21:05 PM
 #897

Ehhemmmmm,,,,cpuminer is also being used for non-CPU applications such as our 5 chip Gridseed ASIC miners.
Just like I said: there exist forks of this project that are modified to work with ASIC chips. But this is not the place to discuss them, as I don't maintain those forks.

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 ;]
Unfortunately it is not that simple. The fork you are talking about retains the same version numbering scheme of the original cpuminer, so you definitely can't distinguish the fork from the original by the version number alone.
What happened is that someone forked version 2.3.2 of the miner discussed in this thread (which is a CPU-only miner) and modified it so that it could interface with ASIC chips, but didn't bother to change the name of the program or even the version. Hence the confusion.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
February 28, 2014, 11:28:06 PM
 #898

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.
[...]
Code:
configure: error: C compiler cannot create executables
[...]
Code:
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '-03'
Q: When running configure I get the error "C compiler cannot create executables".
A: Make sure you typed CFLAGS="-O3" with a big O, not with a zero.

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

Activity: 302
Merit: 250


View Profile
March 01, 2014, 02:25:31 PM
 #899

Thanks pooler! 

I was trying to build from git and was running into some problems.

Using the tarball, it seems to get through ./configure fine now but getting an error on make.  Seems it can't find inttypes.h.

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.69.  Invocation command line was

  $ ./configure CFLAGS=-O3

## --------- ##
## 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/MinGW/bin
PATH: /usr


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

configure:2330: checking build system type
configure:2344: result: i686-pc-mingw32
configure:2364: checking host system type
configure:2377: result: i686-pc-mingw32
configure:2397: checking target system type
configure:2410: result: i686-pc-mingw32
configure:2454: checking for a BSD-compatible install
configure:2522: result: /bin/install -c
configure:2533: checking whether build environment is sane
configure:2588: result: yes
configure:2739: checking for a thread-safe mkdir -p
configure:2778: result: /bin/mkdir -p
configure:2785: checking for gawk
configure:2801: found /bin/gawk
configure:2812: result: gawk
configure:2823: checking whether make sets $(MAKE)
configure:2845: result: yes
configure:2874: checking whether make supports nested variables
configure:2891: result: yes
configure:2979: checking whether to enable maintainer-specific portions of Makefiles
configure:2988: result: no
configure:3014: checking for style of include used by make
configure:3042: result: GNU
configure:3113: checking for gcc
configure:3129: found /bin/gcc
configure:3140: result: gcc
configure:3369: checking for C compiler version
configure:3378: gcc --version >&5
gcc (GCC) 3.4.4 (msys special)
Copyright (C) 2004 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:3389: $? = 0
configure:3378: gcc -v >&5
Reading specs from /usr/lib/gcc/i686-pc-msys/3.4.4/specs
Configured with: /home/cstrauss/build/gcc3/gcc-3.4.4/configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=/share/info --mandir=/share/man --libexecdir=/lib --enable-languages=c,c++ --disable-nls --enable-threads=posix --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug --with-newlib
Thread model: posix
gcc version 3.4.4 (msys special)
configure:3389: $? = 0
configure:3378: gcc -V >&5
gcc: `-V' option must have argument
configure:3389: $? = 1
configure:3378: gcc -qversion >&5
gcc: unrecognized option `-qversion'
gcc: no input files
configure:3389: $? = 1
configure:3409: checking whether the C compiler works
configure:3431: gcc -O3   conftest.c  >&5
configure:3435: $? = 0
configure:3483: result: yes
configure:3486: checking for C compiler default output file name
configure:3488: result: a.exe
configure:3494: checking for suffix of executables
configure:3501: gcc -o conftest.exe -O3   conftest.c  >&5
configure:3505: $? = 0
configure:3527: result: .exe
configure:3549: checking whether we are cross compiling
configure:3557: gcc -o conftest.exe -O3   conftest.c  >&5
configure:3561: $? = 0
configure:3568: ./conftest.exe
configure:3572: $? = 0
configure:3587: result: no
configure:3592: checking for suffix of object files
configure:3614: gcc -c -O3  conftest.c >&5
configure:3618: $? = 0
configure:3639: result: o
configure:3643: checking whether we are using the GNU C compiler
configure:3662: gcc -c -O3  conftest.c >&5
configure:3662: $? = 0
configure:3671: result: yes
configure:3680: checking whether gcc accepts -g
configure:3700: gcc -c -g  conftest.c >&5
configure:3700: $? = 0
configure:3741: result: yes
configure:3758: checking for gcc option to accept ISO C89
configure:3821: gcc  -c -O3  conftest.c >&5
configure:3821: $? = 0
configure:3834: result: none needed
configure:3856: checking dependency style of gcc
configure:3967: result: gcc3
configure:3982: checking for gcc option to accept ISO C99
configure:4131: gcc  -c -O3  conftest.c >&5
conftest.c:61: error: parse error before "text"
conftest.c: In function `test_restrict':
conftest.c:66: error: 'for' loop initial declaration used outside C99 mode
conftest.c:66: error: `text' undeclared (first use in this function)
conftest.c:66: error: (Each undeclared identifier is reported only once
conftest.c:66: error: for each function it appears in.)
conftest.c: In function `main':
conftest.c:115: error: syntax error before "newvar"
conftest.c:125: error: 'for' loop initial declaration used outside C99 mode
conftest.c:141: error: `newvar' undeclared (first use in this function)
configure:4131: $? = 1
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.  */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
|   int x = 1234;
|   int y = 5678;
|   debug ("Flag");
|   debug ("X = %d\n", x);
|   showlist (The first, second, and third items.);
|   report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
|   your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
|   your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
|   int datasize;
|   double data[];
| };
|
| struct named_init {
|   int number;
|   const wchar_t *name;
|   double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
|   // See if C++-style comments work.
|   // Iterate through items via the restricted pointer.
|   // Also check for declarations in for loops.
|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
|     continue;
|   return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
|   va_list args;
|   va_start (args, format);
|   va_list args_copy;
|   va_copy (args_copy, args);
|
|   const char *str;
|   int number;
|   float fnumber;
|
|   while (*format)
|     {
|       switch (*format++)
| {
| case 's': // string
|   str = va_arg (args_copy, const char *);
|   break;
| case 'd': // int
|   number = va_arg (args_copy, int);
|   break;
| case 'f': // float
|   fnumber = va_arg (args_copy, double);
|   break;
| default:
|   break;
| }
|     }
|   va_end (args_copy);
|   va_end (args);
| }
|
| int
| main ()
| {
|
|   // Check bool.
|   _Bool success = false;
|
|   // Check restrict.
|   if (test_restrict ("String literal") == 0)
|     success = true;
|   char *restrict newvar = "Another string";
|
|   // Check varargs.
|   test_varargs ("s, d' f .", "string", 65, 34.234);
|   test_varargs_macros ();
|
|   // Check flexible array members.
|   struct incomplete_array *ia =
|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
|   ia->datasize = 10;
|   for (int i = 0; i < ia->datasize; ++i)
|     ia->data[i] = i * 1.234;
|
|   // Check named initializers.
|   struct named_init ni = {
|     .number = 34,
|     .name = L"Test wide string",
|     .average = 543.34343,
|   };
|
|   ni.number = 58;
|
|   int dynamic_array[ni.number];
|   dynamic_array[ni.number - 1] = 543;
|
|   // work around unused variable warnings
|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
|   || dynamic_array[ni.number - 1] != 543);
|
|   ;
|   return 0;
| }
configure:4131: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4131: $? = 0
configure:4151: result: -std=gnu99
configure:4165: checking how to run the C preprocessor
configure:4196: gcc -std=gnu99 -E  conftest.c
configure:4196: $? = 0
configure:4210: gcc -std=gnu99 -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:4210: $? = 1
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.  */
| #include <ac_nonexistent.h>
configure:4235: result: gcc -std=gnu99 -E
configure:4255: gcc -std=gnu99 -E  conftest.c
configure:4255: $? = 0
configure:4269: gcc -std=gnu99 -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:4269: $? = 1
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.  */
| #include <ac_nonexistent.h>
configure:4298: checking for grep that handles long lines and -e
configure:4356: result: /bin/grep
configure:4361: checking for egrep
configure:4423: result: /bin/grep -E
configure:4429: checking whether gcc -std=gnu99 needs -traditional
conftest.c:11:19: sgtty.h: No such file or directory
configure:4463: result: no
configure:4471: checking whether gcc -std=gnu99 and cc understand -c and -o together
configure:4502: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:4506: $? = 0
configure:4512: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:4516: $? = 0
configure:4527: cc -c conftest.c >&5
configure:4531: $? = 0
configure:4539: cc -c conftest.c -o conftest2.o >&5
configure:4543: $? = 0
configure:4549: cc -c conftest.c -o conftest2.o >&5
configure:4553: $? = 0
configure:4571: result: yes
configure:4605: checking dependency style of gcc -std=gnu99
configure:4714: result: gcc3
configure:4772: checking for ranlib
configure:4788: found /bin/ranlib
configure:4799: result: ranlib
configure:4822: checking for ANSI C header files
configure:4842: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4842: $? = 0
configure:4915: gcc -std=gnu99 -o conftest.exe -O3   conftest.c  >&5
configure:4915: $? = 0
configure:4915: ./conftest.exe
configure:4915: $? = 0
configure:4926: result: yes
configure:4939: checking for sys/types.h
configure:4939: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4939: $? = 0
configure:4939: result: yes
configure:4939: checking for sys/stat.h
configure:4939: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4939: $? = 0
configure:4939: result: yes
configure:4939: checking for stdlib.h
configure:4939: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4939: $? = 0
configure:4939: result: yes
configure:4939: checking for string.h
configure:4939: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4939: $? = 0
configure:4939: result: yes
configure:4939: checking for memory.h
configure:4939: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4939: $? = 0
configure:4939: result: yes
configure:4939: checking for strings.h
configure:4939: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4939: $? = 0
configure:4939: result: yes
configure:4939: checking for inttypes.h
configure:4939: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c:52:22: inttypes.h: No such file or directory
configure:4939: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <inttypes.h>
configure:4939: result: no
configure:4939: checking for stdint.h
configure:4939: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c:52:20: stdint.h: No such file or directory
configure:4939: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <stdint.h>
configure:4939: result: no
configure:4939: checking for unistd.h
configure:4939: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4939: $? = 0
configure:4939: result: yes
configure:4954: checking sys/endian.h usability
configure:4954: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c:52:24: sys/endian.h: No such file or directory
configure:4954: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/endian.h>
configure:4954: result: no
configure:4954: checking sys/endian.h presence
configure:4954: gcc -std=gnu99 -E  conftest.c
conftest.c:19:24: sys/endian.h: No such file or directory
configure:4954: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <sys/endian.h>
configure:4954: result: no
configure:4954: checking for sys/endian.h
configure:4954: result: no
configure:4954: checking sys/param.h usability
configure:4954: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4954: $? = 0
configure:4954: result: yes
configure:4954: checking sys/param.h presence
configure:4954: gcc -std=gnu99 -E  conftest.c
configure:4954: $? = 0
configure:4954: result: yes
configure:4954: checking for sys/param.h
configure:4954: result: yes
configure:4954: checking syslog.h usability
configure:4954: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4954: $? = 0
configure:4954: result: yes
configure:4954: checking syslog.h presence
configure:4954: gcc -std=gnu99 -E  conftest.c
configure:4954: $? = 0
configure:4954: result: yes
configure:4954: checking for syslog.h
configure:4954: result: yes
configure:4968: checking for sys/sysctl.h
configure:4968: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c:27:24: sys/sysctl.h: No such file or directory
configure:4968: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| #ifdef HAVE_SYS_PARAM_H
| #include <sys/param.h>
| #endif
|
|
| #include <sys/sysctl.h>
configure:4968: result: no
configure:4984: checking whether be32dec is declared
configure:4984: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c: In function `main':
conftest.c:66: error: `be32dec' undeclared (first use in this function)
conftest.c:66: error: (Each undeclared identifier is reported only once
conftest.c:66: error: for each function it appears in.)
configure:4984: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #ifdef HAVE_SYS_ENDIAN_H
| #include <sys/endian.h>
| #endif
|
|
| int
| main ()
| {
| #ifndef be32dec
| #ifdef __cplusplus
|   (void) be32dec;
| #else
|   (void) be32dec;
| #endif
| #endif
|
|   ;
|   return 0;
| }
configure:4984: result: no
configure:4999: checking whether le32dec is declared
configure:4999: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c: In function `main':
conftest.c:67: error: `le32dec' undeclared (first use in this function)
conftest.c:67: error: (Each undeclared identifier is reported only once
conftest.c:67: error: for each function it appears in.)
configure:4999: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_DECL_BE32DEC 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #ifdef HAVE_SYS_ENDIAN_H
| #include <sys/endian.h>
| #endif
|
|
| int
| main ()
| {
| #ifndef le32dec
| #ifdef __cplusplus
|   (void) le32dec;
| #else
|   (void) le32dec;
| #endif
| #endif
|
|   ;
|   return 0;
| }
configure:4999: result: no
configure:5014: checking whether be32enc is declared
configure:5014: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c: In function `main':
conftest.c:68: error: `be32enc' undeclared (first use in this function)
conftest.c:68: error: (Each undeclared identifier is reported only once
conftest.c:68: error: for each function it appears in.)
configure:5014: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #ifdef HAVE_SYS_ENDIAN_H
| #include <sys/endian.h>
| #endif
|
|
| int
| main ()
| {
| #ifndef be32enc
| #ifdef __cplusplus
|   (void) be32enc;
| #else
|   (void) be32enc;
| #endif
| #endif
|
|   ;
|   return 0;
| }
configure:5014: result: no
configure:5029: checking whether le32enc is declared
configure:5029: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c: In function `main':
conftest.c:69: error: `le32enc' undeclared (first use in this function)
conftest.c:69: error: (Each undeclared identifier is reported only once
conftest.c:69: error: for each function it appears in.)
configure:5029: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| #define HAVE_DECL_BE32ENC 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #ifdef HAVE_SYS_ENDIAN_H
| #include <sys/endian.h>
| #endif
|
|
| int
| main ()
| {
| #ifndef le32enc
| #ifdef __cplusplus
|   (void) le32enc;
| #else
|   (void) le32enc;
| #endif
| #endif
|
|   ;
|   return 0;
| }
configure:5029: result: no
configure:5046: checking for size_t
configure:5046: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:5046: $? = 0
configure:5046: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c: In function `main':
conftest.c:61: error: parse error before ')' token
configure:5046: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| #define HAVE_DECL_BE32ENC 0
| #define HAVE_DECL_LE32ENC 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
|     return 0;
|   ;
|   return 0;
| }
configure:5046: result: yes
configure:5059: checking for working alloca.h
configure:5076: gcc -std=gnu99 -o conftest.exe -O3   conftest.c  >&5
conftest.c:25:20: alloca.h: No such file or directory
conftest.c: In function `main':
conftest.c:29: warning: implicit declaration of function `alloca'
configure:5076: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| #define HAVE_DECL_BE32ENC 0
| #define HAVE_DECL_LE32ENC 0
| /* end confdefs.h.  */
| #include <alloca.h>
| int
| main ()
| {
| char *p = (char *) alloca (2 * sizeof (int));
|   if (p) return 0;
|   ;
|   return 0;
| }
configure:5084: result: no
configure:5092: checking for alloca
configure:5129: gcc -std=gnu99 -o conftest.exe -O3   conftest.c  >&5
configure:5129: $? = 0
configure:5137: result: yes
configure:5245: checking for getopt_long
configure:5245: gcc -std=gnu99 -o conftest.exe -O3   conftest.c  >&5
configure:5245: $? = 0
configure:5245: result: yes
configure:5280: checking whether we can compile AVX code
configure:5293: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:5293: $? = 0
configure:5297: result: yes
configure:5299: checking whether we can compile XOP code
configure:5312: gcc -std=gnu99 -c -O3  conftest.c >&5
/tmp/ccm1bt9O.s: Assembler messages:
/tmp/ccm1bt9O.s:16: Error: no such instruction: `vprotd $7,%xmm0,%xmm1'
configure:5312: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| #define HAVE_DECL_BE32ENC 0
| #define HAVE_DECL_LE32ENC 0
| #define HAVE_ALLOCA 1
| #define HAVE_GETOPT_LONG 1
| #define USE_AVX 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
| asm ("vprotd $7, %xmm0, %xmm1");
|   ;
|   return 0;
| }
configure:5320: result: no
configure:5322: WARNING: The assembler does not support the XOP instruction set.
configure:5327: checking whether we can compile AVX2 code
configure:5340: gcc -std=gnu99 -c -O3  conftest.c >&5
/tmp/ccEUJ2Jd.s: Assembler messages:
/tmp/ccEUJ2Jd.s:16: Error: suffix or operands invalid for `vpaddd'
configure:5340: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| #define HAVE_DECL_BE32ENC 0
| #define HAVE_DECL_LE32ENC 0
| #define HAVE_ALLOCA 1
| #define HAVE_GETOPT_LONG 1
| #define USE_AVX 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
| asm ("vpaddd %ymm0, %ymm1, %ymm2");
|   ;
|   return 0;
| }
configure:5348: result: no
configure:5350: WARNING: The assembler does not support the AVX2 instruction set.
configure:5366: checking for json_loads in -ljansson
configure:5391: gcc -std=gnu99 -o conftest.exe -O3   conftest.c -ljansson   >&5
/bin/ld: cannot find -ljansson
collect2: ld returned 1 exit status
configure:5391: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| #define HAVE_DECL_BE32ENC 0
| #define HAVE_DECL_LE32ENC 0
| #define HAVE_ALLOCA 1
| #define HAVE_GETOPT_LONG 1
| #define USE_AVX 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char json_loads ();
| int
| main ()
| {
| return json_loads ();
|   ;
|   return 0;
| }
configure:5400: result: no
configure:5408: checking for pthread_create in -lpthread
configure:5433: gcc -std=gnu99 -o conftest.exe -O3   conftest.c -lpthread   >&5
/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
configure:5433: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| #define HAVE_DECL_BE32ENC 0
| #define HAVE_DECL_LE32ENC 0
| #define HAVE_ALLOCA 1
| #define HAVE_GETOPT_LONG 1
| #define USE_AVX 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pthread_create ();
| int
| main ()
| {
| return pthread_create ();
|   ;
|   return 0;
| }
configure:5442: result: no
configure:5447: checking for pthread_create in -lpthreadGC2
configure:5472: gcc -std=gnu99 -o conftest.exe -O3   conftest.c -lpthreadGC2   >&5
/bin/ld: cannot find -lpthreadGC2
collect2: ld returned 1 exit status
configure:5472: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| #define HAVE_DECL_BE32ENC 0
| #define HAVE_DECL_LE32ENC 0
| #define HAVE_ALLOCA 1
| #define HAVE_GETOPT_LONG 1
| #define USE_AVX 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pthread_create ();
| int
| main ()
| {
| return pthread_create ();
|   ;
|   return 0;
| }
configure:5481: result: no
configure:5486: checking for pthread_create in -lpthreadGC1
configure:5511: gcc -std=gnu99 -o conftest.exe -O3   conftest.c -lpthreadGC1   >&5
/bin/ld: cannot find -lpthreadGC1
collect2: ld returned 1 exit status
configure:5511: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| #define HAVE_DECL_BE32ENC 0
| #define HAVE_DECL_LE32ENC 0
| #define HAVE_ALLOCA 1
| #define HAVE_GETOPT_LONG 1
| #define USE_AVX 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pthread_create ();
| int
| main ()
| {
| return pthread_create ();
|   ;
|   return 0;
| }
configure:5520: result: no
configure:5525: checking for pthread_create in -lpthreadGC
configure:5550: gcc -std=gnu99 -o conftest.exe -O3   conftest.c -lpthreadGC   >&5
/bin/ld: cannot find -lpthreadGC
collect2: ld returned 1 exit status
configure:5550: $? = 1
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"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| #define HAVE_DECL_BE32ENC 0
| #define HAVE_DECL_LE32ENC 0
| #define HAVE_ALLOCA 1
| #define HAVE_GETOPT_LONG 1
| #define USE_AVX 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pthread_create ();
| int
| main ()
| {
| return pthread_create ();
|   ;
|   return 0;
| }
configure:5559: result: no
configure:5660: checking for gawk
configure:5687: result: gawk
configure:5749: checking for curl-config
configure:5767: found /usr/local/bin/curl-config
configure:5779: result: /usr/local/bin/curl-config
configure:5790: checking for the version of libcurl
configure:5797: result: 7.35.0
configure:5804: checking for libcurl >= version 7.15.2
configure:5817: result: yes
configure:5858: checking whether libcurl is usable
configure:5892: gcc -std=gnu99 -o conftest.exe -O3 -DCURL_STATICLIB -I/usr/local/include   conftest.c -L/usr/local/lib -lcurl  >&5
configure:5892: $? = 0
configure:5906: result: yes
configure:5919: checking for curl_free
configure:5919: gcc -std=gnu99 -o conftest.exe -O3  -DCURL_STATICLIB -I/usr/local/include  conftest.c  -L/usr/local/lib -lcurl >&5
configure:5919: $? = 0
configure:5919: result: yes
configure:6122: checking that generated files are newer than configure
configure:6128: result: done
configure:6179: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by cpuminer config.status 2.3.3, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on George-PC

config.status:912: creating Makefile
config.status:912: creating compat/Makefile
config.status:912: creating compat/jansson/Makefile
config.status:912: creating cpuminer-config.h
config.status:1141: executing depfiles commands

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

ac_cv_build=i686-pc-mingw32
ac_cv_c_compiler_gnu=yes
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=-O3
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=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=.exe
ac_cv_func_alloca_works=yes
ac_cv_func_curl_free=yes
ac_cv_func_getopt_long=yes
ac_cv_have_decl_be32dec=no
ac_cv_have_decl_be32enc=no
ac_cv_have_decl_le32dec=no
ac_cv_have_decl_le32enc=no
ac_cv_header_inttypes_h=no
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=no
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_endian_h=no
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_sysctl_h=no
ac_cv_header_sys_types_h=yes
ac_cv_header_syslog_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-mingw32
ac_cv_lib_jansson_json_loads=no
ac_cv_lib_pthreadGC1_pthread_create=no
ac_cv_lib_pthreadGC2_pthread_create=no
ac_cv_lib_pthreadGC_pthread_create=no
ac_cv_lib_pthread_pthread_create=no
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path__libcurl_config=/usr/local/bin/curl-config
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -std=gnu99 -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=-std=gnu99
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_gcc_c_o=yes
ac_cv_prog_gcc_traditional=no
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-mingw32
ac_cv_type_size_t=yes
ac_cv_working_alloca_h=no
am_cv_CCAS_dependencies_compiler_type=gcc3
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
libcurl_cv_lib_curl_usable=yes
libcurl_cv_lib_curl_version=7.35.0
libcurl_cv_lib_version_ok=yes

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

ACLOCAL='${SHELL} /c/cpuminer/cpuminer-2.3.3/missing aclocal-1.13'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
ARCH_ARM_FALSE=''
ARCH_ARM_TRUE='#'
ARCH_x86_64_FALSE=''
ARCH_x86_64_TRUE='#'
ARCH_x86_FALSE='#'
ARCH_x86_TRUE=''
AUTOCONF='${SHELL} /c/cpuminer/cpuminer-2.3.3/missing autoconf'
AUTOHEADER='${SHELL} /c/cpuminer/cpuminer-2.3.3/missing autoheader'
AUTOMAKE='${SHELL} /c/cpuminer/cpuminer-2.3.3/missing automake-1.13'
AWK='gawk'
CC='gcc -std=gnu99'
CCAS='gcc -std=gnu99'
CCASDEPMODE='depmode=gcc3'
CCASFLAGS='-O3'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O3'
CPP='gcc -std=gnu99 -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT='.exe'
GREP='/bin/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='compat/jansson/libjansson.a'
LDFLAGS=''
LIBCURL='-L/usr/local/lib -lcurl'
LIBCURL_CPPFLAGS='-DCURL_STATICLIB -I/usr/local/include'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /c/cpuminer/cpuminer-2.3.3/missing makeinfo'
MKDIR_P='/bin/mkdir -p'
OBJEXT='o'
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='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='2.3.3'
WANT_JANSSON_FALSE='#'
WANT_JANSSON_TRUE=''
WS2_LIBS='-lws2_32'
_libcurl_config=''
ac_ct_CC='gcc'
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__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} 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='${prefix}'
host='i686-pc-mingw32'
host_alias=''
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /c/cpuminer/cpuminer-2.3.3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-mingw32'
target_alias=''
target_cpu='i686'
target_os='mingw32'
target_vendor='pc'

## ----------- ##
## 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"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_DECL_BE32DEC 0
#define HAVE_DECL_LE32DEC 0
#define HAVE_DECL_BE32ENC 0
#define HAVE_DECL_LE32ENC 0
#define HAVE_ALLOCA 1
#define HAVE_GETOPT_LONG 1
#define USE_AVX 1
#define HAVE_LIBCURL 1
#define LIBCURL_PROTOCOL_DICT 1
#define LIBCURL_PROTOCOL_FILE 1
#define LIBCURL_PROTOCOL_FTP 1
#define LIBCURL_PROTOCOL_GOPHER 1
#define LIBCURL_PROTOCOL_HTTP 1
#define LIBCURL_PROTOCOL_IMAP 1
#define LIBCURL_PROTOCOL_POP3 1
#define LIBCURL_PROTOCOL_RTSP 1
#define LIBCURL_PROTOCOL_SMTP 1
#define LIBCURL_PROTOCOL_TELNET 1
#define LIBCURL_PROTOCOL_TFTP 1

configure: exit 0

make:
Code:
George@George-PC /c/cpuminer/cpuminer-2.3.3
$ make
make  all-recursive
make[1]: Entering directory `/c/cpuminer/cpuminer-2.3.3'
Making all in compat
make[2]: Entering directory `/c/cpuminer/cpuminer-2.3.3/compat'
Making all in jansson
make[3]: Entering directory `/c/cpuminer/cpuminer-2.3.3/compat/jansson'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -O3 -MT dump.o -MD -MP -MF .deps/
dump.Tpo -c -o dump.o dump.c
In file included from dump.c:17:
utf.h:17:22: inttypes.h: No such file or directory
In file included from dump.c:17:
utf.h:23: error: parse error before "int32_t"
utf.h:24: error: parse error before "int32_t"
dump.c: In function `dump_string':
dump.c:72: error: `int32_t' undeclared (first use in this function)
dump.c:72: error: (Each undeclared identifier is reported only once
dump.c:72: error: for each function it appears in.)
dump.c:72: error: parse error before "codepoint"
dump.c:86: error: `codepoint' undeclared (first use in this function)
dump.c:132: error: parse error before "first"
dump.c:135: error: `first' undeclared (first use in this function)
dump.c:136: error: `last' undeclared (first use in this function)
make[3]: *** [dump.o] Error 1
make[3]: Leaving directory `/c/cpuminer/cpuminer-2.3.3/compat/jansson'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/cpuminer/cpuminer-2.3.3/compat'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/cpuminer/cpuminer-2.3.3'
make: *** [all] Error 2

I'm stuck now.
pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
March 01, 2014, 02:44:02 PM
 #900

Seems it can't find inttypes.h.
[...]
Code:
gcc (GCC) 3.4.4 (msys special)
Copyright (C) 2004 Free Software Foundation, Inc.

It looks like your compiler is pretty old. I would try using a more recent version (preferably 4.6 or later).

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
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 70 71 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!