Author

Topic: "configure:5547: error: could not find crypto" when i compile cpuminer-multi (Read 1442 times)

newbie
Activity: 19
Merit: 0
config.log
Quote
configure:4898: result: no
configure:4913: checking whether le32dec is declared
configure:4913: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c: In function 'main':
conftest.c:68:10: error: 'le32dec' undeclared (first use in this function)
conftest.c:68:10: note: each undeclared identifier is reported only once for each function it appears in
configure:4913: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_DECL_BE32DEC 0
| /* end confdefs.h.  */
| #include
| #ifdef HAVE_SYS_TYPES_H
| # include
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include
| #endif
| #ifdef STDC_HEADERS
| # include
| # include
| #else
| # ifdef HAVE_STDLIB_H
| #  include
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include
| # endif
| # include
| #endif
| #ifdef HAVE_STRINGS_H
| # include
| #endif
| #ifdef HAVE_INTTYPES_H
| # include
| #endif
| #ifdef HAVE_STDINT_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| #ifdef HAVE_SYS_ENDIAN_H
| #include
| #endif
|
|
| int
| main ()
| {
| #ifndef le32dec
| #ifdef __cplusplus
|   (void) le32dec;
| #else
|   (void) le32dec;
| #endif
| #endif
|
|   ;
|   return 0;
| }
configure:4913: result: no
configure:4928: checking whether be32enc is declared
configure:4928: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c: In function 'main':
conftest.c:69:10: error: 'be32enc' undeclared (first use in this function)
conftest.c:69:10: note: each undeclared identifier is reported only once for each function it appears in
configure:4928: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| /* end confdefs.h.  */
| #include
| #ifdef HAVE_SYS_TYPES_H
| # include
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include
| #endif
| #ifdef STDC_HEADERS
| # include
| # include
| #else
| # ifdef HAVE_STDLIB_H
| #  include
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include
| # endif
| # include
| #endif
| #ifdef HAVE_STRINGS_H
| # include
| #endif
| #ifdef HAVE_INTTYPES_H
| # include
| #endif
| #ifdef HAVE_STDINT_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| #ifdef HAVE_SYS_ENDIAN_H
| #include
| #endif
|
|
| int
| main ()
| {
| #ifndef be32enc
| #ifdef __cplusplus
|   (void) be32enc;
| #else
|   (void) be32enc;
| #endif
| #endif
|
|   ;
|   return 0;
| }
configure:4928: result: no
configure:4943: checking whether le32enc is declared
configure:4943: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c: In function 'main':
conftest.c:70:10: error: 'le32enc' undeclared (first use in this function)
conftest.c:70:10: note: each undeclared identifier is reported only once for each function it appears in
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_DECL_BE32DEC 0
| #define HAVE_DECL_LE32DEC 0
| #define HAVE_DECL_BE32ENC 0
| /* end confdefs.h.  */
| #include
| #ifdef HAVE_SYS_TYPES_H
| # include
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include
| #endif
| #ifdef STDC_HEADERS
| # include
| # include
| #else
| # ifdef HAVE_STDLIB_H
| #  include
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include
| # endif
| # include
| #endif
| #ifdef HAVE_STRINGS_H
| # include
| #endif
| #ifdef HAVE_INTTYPES_H
| # include
| #endif
| #ifdef HAVE_STDINT_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| #ifdef HAVE_SYS_ENDIAN_H
| #include
| #endif
|
|
| int
| main ()
| {
| #ifndef le32enc
| #ifdef __cplusplus
|   (void) le32enc;
| #else
|   (void) le32enc;
| #endif
| #endif
|
|   ;
|   return 0;
| }
configure:4943: result: no
configure:4960: checking for size_t
configure:4960: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4960: $? = 0
configure:4960: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c: In function 'main':
conftest.c:62:21: error: expected expression before ')' token
configure:4960: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_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
| #ifdef HAVE_SYS_TYPES_H
| # include
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include
| #endif
| #ifdef STDC_HEADERS
| # include
| # include
| #else
| # ifdef HAVE_STDLIB_H
| #  include
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include
| # endif
| # include
| #endif
| #ifdef HAVE_STRINGS_H
| # include
| #endif
| #ifdef HAVE_INTTYPES_H
| # include
| #endif
| #ifdef HAVE_STDINT_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
|        return 0;
|   ;
|   return 0;
| }
configure:4960: result: yes
configure:4973: checking for working alloca.h
configure:4990: gcc -std=gnu99 -o conftest.exe -O3   conftest.c  >&5
conftest.c:26:20: fatal error: alloca.h: No such file or directory
compilation terminated.
configure:4990: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_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
| int
| main ()
| {
| char *p = (char *) alloca (2 * sizeof (int));
|            if (p) return 0;
|   ;
|   return 0;
| }
configure:4998: result: no
configure:5006: checking for alloca
configure:5043: gcc -std=gnu99 -o conftest.exe -O3   conftest.c  >&5
configure:5043: $? = 0
configure:5051: result: yes
configure:5162: checking for getopt_long
configure:5162: gcc -std=gnu99 -o conftest.exe -O3   conftest.c  >&5
configure:5162: $? = 0
configure:5162: result: yes
configure:5208: checking whether we can compile AVX code
configure:5221: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:5221: $? = 0
configure:5225: result: yes
configure:5227: checking whether we can compile XOP code
configure:5240: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:5240: $? = 0
configure:5244: result: yes
configure:5255: checking whether we can compile AVX2 code
configure:5268: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:5268: $? = 0
configure:5272: result: yes
configure:5294: checking for json_loads in -ljansson
configure:5319: gcc -std=gnu99 -o conftest.exe -O3   conftest.c -ljansson   >&5
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -ljansson
collect2: ld returned 1 exit status
configure:5319: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_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_ASM 1
| #define USE_AVX 1
| #define USE_XOP 1
| #define USE_AVX2 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:5328: result: no
configure:5336: checking for pthread_create in -lpthread
configure:5361: gcc -std=gnu99 -o conftest.exe -O3   conftest.c -lpthread   >&5
configure:5361: $? = 0
configure:5370: result: yes
configure:5501: checking for OPENSSL_init in -lcrypto
configure:5526: gcc -std=gnu99 -o conftest.exe -O3   conftest.c -lcrypto   >&5
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lcrypto
collect2: ld returned 1 exit status
configure:5526: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_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_ASM 1
| #define USE_AVX 1
| #define USE_XOP 1
| #define USE_AVX2 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 OPENSSL_init ();
| int
| main ()
| {
| return OPENSSL_init ();
|   ;
|   return 0;
| }
configure:5535: result: no
configure:5545: error: in `/e/cpuminer-multi-master':
configure:5547: error: could not find crypto

See `config.log' for more details

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

ac_cv_build=x86_64-w64-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=set
ac_cv_env_build_alias_value=x86_64-w64-mingw32
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_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=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
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=no
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-w64-mingw32
ac_cv_lib_crypto_OPENSSL_init=no
ac_cv_lib_jansson_json_loads=no
ac_cv_lib_pthread_pthread_create=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
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=x86_64-w64-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

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

ACLOCAL='${SHELL} /e/cpuminer-multi-master/missing --run aclocal-1.11'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /e/cpuminer-multi-master/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} /e/cpuminer-multi-master/missing --run autoconf'
AUTOHEADER='${SHELL} /e/cpuminer-multi-master/missing --run autoheader'
AUTOMAKE='${SHELL} /e/cpuminer-multi-master/missing --run automake-1.11'
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=''
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=''
LDFLAGS=''
LIBCURL=''
LIBCURL_CPPFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /e/cpuminer-multi-master/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
OBJEXT='o'
PACKAGE='cpuminer'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='cpuminer'
PACKAGE_STRING='cpuminer 1.0.4'
PACKAGE_TARNAME='cpuminer'
PACKAGE_URL=''
PACKAGE_VERSION='1.0.4'
PATH_SEPARATOR=':'
PTHREAD_FLAGS=''
PTHREAD_LIBS='-lpthread'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_ASM_FALSE=''
USE_ASM_TRUE=''
VERSION='1.0.4'
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__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-w64-mingw32'
build_alias='x86_64-w64-mingw32'
build_cpu='x86_64'
build_os='mingw32'
build_vendor='w64'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-w64-mingw32'
host_alias=''
host_cpu='x86_64'
host_os='mingw32'
host_vendor='w64'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /e/cpuminer-multi-master/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 "1.0.4"
#define PACKAGE_STRING "cpuminer 1.0.4"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "cpuminer"
#define VERSION "1.0.4"
#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_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PARAM_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_ASM 1
#define USE_AVX 1
#define USE_XOP 1
#define USE_AVX2 1

configure: exit 1
newbie
Activity: 19
Merit: 0
I compile cpuminer-multi in 64-bits Win7
https://github.com/lucasjones/cpuminer-multi
build instructions, using MinGW (64-bit):
http://pastebin.com/p2cRgHxd

when i execute instruction:
Quote
./configure --build=x86_64-w64-mingw32 CFLAGS=-O3
it reports error:
Quote
configure:5545: error: in `/e/cpuminer-multi-master':
configure:5547: error: could not find crypto

But i have installed msys-openssl and msys-libopenssl
Quote
mingw-get install msys-openssl
mingw-get install msys-libopenssl

How to do?

config.log
Quote
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 1.0.4, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ ./configure --build=x86_64-w64-mingw32 CFLAGS=-O3

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

hostname = Win7-PC
uname -m = i686
uname -r = 1.0.17(0.48/3/2)
uname -s = MINGW32_NT-6.1
uname -v = 2011-04-24 23:39

/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:2305: checking build system type
configure:2319: result: x86_64-w64-mingw32
configure:2339: checking host system type
configure:2352: result: x86_64-w64-mingw32
configure:2372: checking target system type
configure:2385: result: x86_64-w64-mingw32
configure:2429: checking for a BSD-compatible install
configure:2497: result: /bin/install -c
configure:2508: checking whether build environment is sane
configure:2558: result: yes
configure:2699: checking for a thread-safe mkdir -p
configure:2738: result: /bin/mkdir -p
configure:2751: checking for gawk
configure:2767: found /bin/gawk
configure:2778: result: gawk
configure:2789: checking whether make sets $(MAKE)
configure:2811: result: yes
configure:2895: checking whether to enable maintainer-specific portions of Makefiles
configure:2904: result: no
configure:2930: checking for style of include used by make
configure:2958: result: GNU
configure:3028: checking for gcc
configure:3044: found /mingw/bin/gcc
configure:3055: result: gcc
configure:3284: checking for C compiler version
configure:3293: gcc --version >&5
gcc.exe (GCC) 4.6.2
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:3304: $? = 0
configure:3293: gcc -v >&5
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.6.2/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.2 (GCC)
configure:3304: $? = 0
configure:3293: gcc -V >&5
gcc.exe: error: unrecognized option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3304: $? = 1
configure:3293: gcc -qversion >&5
gcc.exe: error: unrecognized option '-qversion'
gcc.exe: fatal error: no input files
compilation terminated.
configure:3304: $? = 1
configure:3324: checking whether the C compiler works
configure:3346: gcc -O3   conftest.c  >&5
configure:3350: $? = 0
configure:3398: result: yes
configure:3401: checking for C compiler default output file name
configure:3403: result: a.exe
configure:3409: checking for suffix of executables
configure:3416: gcc -o conftest.exe -O3   conftest.c  >&5
configure:3420: $? = 0
configure:3442: result: .exe
configure:3464: checking whether we are cross compiling
configure:3472: gcc -o conftest.exe -O3   conftest.c  >&5
configure:3476: $? = 0
configure:3483: ./conftest.exe
configure:3487: $? = 0
configure:3502: result: no
configure:3507: checking for suffix of object files
configure:3529: gcc -c -O3  conftest.c >&5
configure:3533: $? = 0
configure:3554: result: o
configure:3558: checking whether we are using the GNU C compiler
configure:3577: gcc -c -O3  conftest.c >&5
configure:3577: $? = 0
configure:3586: result: yes
configure:3595: checking whether gcc accepts -g
configure:3615: gcc -c -g  conftest.c >&5
configure:3615: $? = 0
configure:3656: result: yes
configure:3673: checking for gcc option to accept ISO C89
configure:3737: gcc  -c -O3  conftest.c >&5
configure:3737: $? = 0
configure:3750: result: none needed
configure:3772: checking dependency style of gcc
configure:3882: result: gcc3
configure:3897: checking for gcc option to accept ISO C99
configure:4046: gcc  -c -O3  conftest.c >&5
conftest.c:61:29: error: expected ';', ',' or ')' before 'text'
conftest.c: In function 'main':
conftest.c:115:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
conftest.c:115:18: error: 'newvar' undeclared (first use in this function)
conftest.c:115:18: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:125:3: error: 'for' loop initial declarations are only allowed in C99 mode
conftest.c:125:3: note: use option -std=c99 or -std=gnu99 to compile your code
configure:4046: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| /* end confdefs.h.  */
| #include
| #include
| #include
| #include
| #include
|
| // 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 * 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:4046: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4046: $? = 0
configure:4066: result: -std=gnu99
configure:4080: checking how to run the C preprocessor
configure:4111: gcc -std=gnu99 -E  conftest.c
configure:4111: $? = 0
configure:4125: gcc -std=gnu99 -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4125: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| /* end confdefs.h.  */
| #include
configure:4150: result: gcc -std=gnu99 -E
configure:4170: gcc -std=gnu99 -E  conftest.c
configure:4170: $? = 0
configure:4184: gcc -std=gnu99 -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4184: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| /* end confdefs.h.  */
| #include
configure:4213: checking for grep that handles long lines and -e
configure:4271: result: /bin/grep
configure:4276: checking for egrep
configure:4338: result: /bin/grep -E
configure:4344: checking whether gcc -std=gnu99 needs -traditional
conftest.c:11:19: fatal error: sgtty.h: No such file or directory
compilation terminated.
conftest.c:11:20: fatal error: termio.h: No such file or directory
compilation terminated.
configure:4378: result: no
configure:4386: checking whether gcc -std=gnu99 and cc understand -c and -o together
configure:4417: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:4421: $? = 0
configure:4427: gcc -std=gnu99 -c conftest.c -o conftest2.o >&5
configure:4431: $? = 0
configure:4442: cc -c conftest.c >&5
configure:4446: $? = 0
configure:4454: cc -c conftest.c -o conftest2.o >&5
configure:4458: $? = 0
configure:4464: cc -c conftest.c -o conftest2.o >&5
configure:4468: $? = 0
configure:4486: result: yes
configure:4520: checking dependency style of gcc -std=gnu99
configure:4628: result: gcc3
configure:4686: checking for ranlib
configure:4702: found /mingw/bin/ranlib
configure:4713: result: ranlib
configure:4736: checking for ANSI C header files
configure:4756: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4756: $? = 0
configure:4829: gcc -std=gnu99 -o conftest.exe -O3   conftest.c  >&5
configure:4829: $? = 0
configure:4829: ./conftest.exe
configure:4829: $? = 0
configure:4840: result: yes
configure:4853: checking for sys/types.h
configure:4853: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for sys/stat.h
configure:4853: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for stdlib.h
configure:4853: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for string.h
configure:4853: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for memory.h
configure:4853: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for strings.h
configure:4853: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for inttypes.h
configure:4853: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for stdint.h
configure:4853: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4853: checking for unistd.h
configure:4853: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4853: $? = 0
configure:4853: result: yes
configure:4868: checking sys/endian.h usability
configure:4868: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c:54:24: fatal error: sys/endian.h: No such file or directory
compilation terminated.
configure:4868: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include
| #ifdef HAVE_SYS_TYPES_H
| # include
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include
| #endif
| #ifdef STDC_HEADERS
| # include
| # include
| #else
| # ifdef HAVE_STDLIB_H
| #  include
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include
| # endif
| # include
| #endif
| #ifdef HAVE_STRINGS_H
| # include
| #endif
| #ifdef HAVE_INTTYPES_H
| # include
| #endif
| #ifdef HAVE_STDINT_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| #include
configure:4868: result: no
configure:4868: checking sys/endian.h presence
configure:4868: gcc -std=gnu99 -E  conftest.c
conftest.c:21:24: fatal error: sys/endian.h: No such file or directory
compilation terminated.
configure:4868: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include
configure:4868: result: no
configure:4868: checking for sys/endian.h
configure:4868: result: no
configure:4868: checking sys/param.h usability
configure:4868: gcc -std=gnu99 -c -O3  conftest.c >&5
configure:4868: $? = 0
configure:4868: result: yes
configure:4868: checking sys/param.h presence
configure:4868: gcc -std=gnu99 -E  conftest.c
configure:4868: $? = 0
configure:4868: result: yes
configure:4868: checking for sys/param.h
configure:4868: result: yes
configure:4868: checking syslog.h usability
configure:4868: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c:55:20: fatal error: syslog.h: No such file or directory
compilation terminated.
configure:4868: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| /* end confdefs.h.  */
| #include
| #ifdef HAVE_SYS_TYPES_H
| # include
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include
| #endif
| #ifdef STDC_HEADERS
| # include
| # include
| #else
| # ifdef HAVE_STDLIB_H
| #  include
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include
| # endif
| # include
| #endif
| #ifdef HAVE_STRINGS_H
| # include
| #endif
| #ifdef HAVE_INTTYPES_H
| # include
| #endif
| #ifdef HAVE_STDINT_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| #include
configure:4868: result: no
configure:4868: checking syslog.h presence
configure:4868: gcc -std=gnu99 -E  conftest.c
conftest.c:22:20: fatal error: syslog.h: No such file or directory
compilation terminated.
configure:4868: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| /* end confdefs.h.  */
| #include
configure:4868: result: no
configure:4868: checking for syslog.h
configure:4868: result: no
configure:4882: checking for sys/sysctl.h
configure:4882: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c:28:24: fatal error: sys/sysctl.h: No such file or directory
compilation terminated.
configure:4882: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| /* end confdefs.h.  */
| #include
| #ifdef HAVE_SYS_PARAM_H
| #include
| #endif
|
|
| #include
configure:4882: result: no
configure:4898: checking whether be32dec is declared
configure:4898: gcc -std=gnu99 -c -O3  conftest.c >&5
conftest.c: In function 'main':
conftest.c:67:10: error: 'be32dec' undeclared (first use in this function)
conftest.c:67:10: note: each undeclared identifier is reported only once for each function it appears in
configure:4898: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "cpuminer 1.0.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "1.0.4"
| #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_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| /* end confdefs.h.  */
| #include
| #ifdef HAVE_SYS_TYPES_H
| # include
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include
| #endif
| #ifdef STDC_HEADERS
| # include
| # include
| #else
| # ifdef HAVE_STDLIB_H
| #  include
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include
| # endif
| # include
| #endif
| #ifdef HAVE_STRINGS_H
| # include
| #endif
| #ifdef HAVE_INTTYPES_H
| # include
| #endif
| #ifdef HAVE_STDINT_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| #ifdef HAVE_SYS_ENDIAN_H
| #include
| #endif
|
|
| int
| main ()
| {
| #ifndef be32dec
| #ifdef __cplusplus
|   (void) be32dec;
| #else
|   (void) be32dec;
| #endif
| #endif
|
|   ;
|   return 0;
| }
Jump to: