Bitcoin Forum
November 07, 2024, 01:00:09 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Cgminer compiling on windows - fail  (Read 10918 times)
rav3n_pl (OP)
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
October 13, 2012, 06:48:43 PM
 #1

I open thread to not mess much in main cgminer thread and allow to easy find windows compiling related troubles.
I`m trying to compile it on win7, do everything like it is in windows-build.txt file but hit wall.

I want cpu+gpu+scrypt and nothing more:
$ CFLAGS="-O2 -msse2" ./configure --enable-cpumining --enable-scrypt --without-libudev

It is not detecting Opencl...
Code:
------------------------------------------------------------------------
cgminer 2.8.3
------------------------------------------------------------------------


Configuration Options Summary:

  curses.TUI...........: FOUND: pdcurses
  OpenCL...............: NOT FOUND. GPU mining support DISABLED
  scrypt...............: Disabled (needs OpenCL)
  ADL..................: SDK NOT found, GPU monitoring support DISABLED

  BitForce.FPGAs.......: Disabled
  Icarus.FPGAs.........: Disabled
  ModMiner.FPGAs.......: Disabled
  Ztex.FPGAs...........: Disabled

  CPU Mining...........: Enabled
  ASM.(for CPU mining).: false

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -O2 -msse2
  LDFLAGS..............:
  LDADD................:  -LC:/MinGW/lib -lcurl -lcurldll   compat/jansson/libjansson.a -lpthread    -lws2_32 -lm

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local
Tried git zip, and source tarballs...
Code:
$ set|grep AMD
AMDAPPSDKROOT='E:\Program Files (x86)\AMD APP\'
(...)
It is installed, ADL files copied etc...

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
wind
Member
**
Offline Offline

Activity: 125
Merit: 10


View Profile
October 14, 2012, 02:21:18 PM
 #2

https://bitcointalk.org/index.php?topic=28402.msg1260062#msg1260062
rav3n_pl (OP)
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
October 15, 2012, 10:34:59 AM
 #3

Thanks, it works on one machine (win7 32)Smiley on Win7 64 still no workie. I`ll try reinstall mingw and stuff.

Compiled, running, but LTC CPU mining performance is less than I expected.
CPU miner minerd (https://bitcointalk.org/index.php?topic=55038.0) is making about 3kh/core where cgminer only about 1kh/core.
Tried different -O2 -O3 -Wall, even added yasm to my mingw installation - same results.
When yasm is present I can not use -msse2 option because it fails on make.
As far I know cgminer include pooler cpu miner code, why so much difference?

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
wind
Member
**
Offline Offline

Activity: 125
Merit: 10


View Profile
October 15, 2012, 11:05:00 AM
 #4

rav3n_pl
Try to play with this key
Code:
--algo|-a <arg>     Specify sha256 implementation for CPU mining:
        auto            Benchmark at startup and pick fastest algorithm
        c               Linux kernel sha256, implemented in C
        4way            tcatm's 4-way SSE2 implementation
        via             VIA padlock implementation
        cryptopp        Crypto++ C/C++ implementation
        sse2_64         SSE2 64 bit implementation for x86_64 machines
        sse4_64         SSE4.1 64 bit implementation for x86_64 machines (default: sse2_64)
auto is not always the best choice
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
October 15, 2012, 11:11:45 AM
 #5

None of those matter for scrypt mining. No CPU mining in cgminer is optimal, and that's intentional as it is only there for legacy reasons and testing and I don't wish anyone to mine on CPU with cgminer for anything other than an academic experience.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
wind
Member
**
Offline Offline

Activity: 125
Merit: 10


View Profile
October 15, 2012, 11:22:44 AM
 #6

ckolivas
Can you fix the issue with compiling on Windows machines in next releases?
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
October 15, 2012, 12:23:26 PM
 #7

ckolivas
Can you fix the issue with compiling on Windows machines in next releases?
It compiles fine on windows. There is an extensive readme on how to do it included in the source. Don't guess, follow the instructions.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
wind
Member
**
Offline Offline

Activity: 125
Merit: 10


View Profile
October 15, 2012, 12:42:15 PM
 #8

Why 2.7.x are compiled well and 2.8.x only after modification of configure.ac?
rav3n_pl (OP)
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
October 15, 2012, 12:53:30 PM
 #9

ckolivas
Can you fix the issue with compiling on Windows machines in next releases?
It compiles fine on windows. There is an extensive readme on how to do it included in the source. Don't guess, follow the instructions.
ckolivas, this great info (windows-build.txt) is missing something...
Tried to make it "from scratch" on 2 "clean" machines and both are not detecting opencl properly w/o manual edit of configure file.
I think there is some small thing (additional change in "set" maybe? missed slash/backslash?) that need to be done on compiling machine to make it working.

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
rav3n_pl (OP)
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
October 15, 2012, 12:56:34 PM
 #10

rav3n_pl
Try to play with this key
Code:
--algo|-a <arg>     Specify sha256 implementation for CPU mining:
        auto            Benchmark at startup and pick fastest algorithm
        c               Linux kernel sha256, implemented in C
        4way            tcatm's 4-way SSE2 implementation
        via             VIA padlock implementation
        cryptopp        Crypto++ C/C++ implementation
        sse2_64         SSE2 64 bit implementation for x86_64 machines
        sse4_64         SSE4.1 64 bit implementation for x86_64 machines (default: sse2_64)
auto is not always the best choice
"cgminer: -a: Can only use scrypt algorithm" Smiley I`m mining litecoins.

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
October 16, 2012, 03:28:54 AM
 #11

This is the sum total of the configure changes

Code:
git diff v2.7.7 v2.8.3 configure.ac
diff --git a/configure.ac b/configure.ac
index d0de0c8..0d77b97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_define([v_maj], [2])
-m4_define([v_min], [7])
-m4_define([v_mic], [7])
+m4_define([v_min], [8])
+m4_define([v_mic], [3])
 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
 m4_define([v_ver], [v_maj.v_min.v_mic])
 m4_define([lt_rev], m4_eval(v_maj + v_min))
@@ -92,6 +92,7 @@ case $target in
     PTHREAD_FLAGS=""
     DLOPEN_FLAGS=""
     WS2_LIBS="-lws2_32"
+    AC_DEFINE([_WIN32_WINNT], [0x0501], "WinNT version for XP+ support")
     ;;
   powerpc-*-darwin*)
     CFLAGS="$CFLAGS -faltivec"
@@ -351,8 +352,7 @@ fi
 
 PKG_PROG_PKG_CONFIG()
 
-PKG_CHECK_MODULES([LIBCURL], [libcurl >= 7.15.6], [AC_DEFINE([CURL_HAS_SOCKOPT], [1], [Defined if version of curl supports sockopts.])],
-[PKG_CHECK_MODULES([LIBCURL], [libcurl >= 7.10.1], ,[AC_MSG_ERROR([Missing required libcurl dev >= 7.10.1])])])
+PKG_CHECK_MODULES([LIBCURL], [libcurl >= 7.18.2], ,[AC_MSG_ERROR([Missing required libcurl dev >= 7.18.2])])
 AC_SUBST(LIBCURL_LIBS)
 
 dnl CCAN wants to know a lot of vars.

See anything?

Otherwise, yeah of course scrypt can only do scrypt when scrypt cpu mining. Besides, cpu mining is deprecated and unsupported.

Please stick to the main cgminer thread with issues.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
wind
Member
**
Offline Offline

Activity: 125
Merit: 10


View Profile
October 16, 2012, 06:44:22 AM
 #12

ckolivas
I've just checked:  2.7.6 and 2.7.7 don't compile but 2.7.5 and before does
So from 2.7.6 it doesn't compile
This is key configure changes:
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
October 16, 2012, 07:56:20 AM
 #13

ckolivas
I've just checked:  2.7.6 and 2.7.7 don't compile but 2.7.5 and before does
So from 2.7.6 it doesn't compile
Thanks, that helps a lot.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
rav3n_pl (OP)
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
November 05, 2012, 03:33:44 PM
 #14

ADL detection bug is fixed.

I step into another one right now. No errors on .configure but make fails:
Code:
Leszek@domowy ~/cgminer-master
$ make
make  all-recursive
make[1]: Entering directory `/home/Leszek/cgminer-master'
Making all in lib
make[2]: Entering directory `/home/Leszek/cgminer-master/lib'
  GEN    signal.h
  GEN    string.h
make  all-recursive
make[3]: Entering directory `/home/Leszek/cgminer-master/lib'
make[4]: Entering directory `/home/Leszek/cgminer-master/lib'
  CC     memmem.o
  CC     sigaction.o
  CC     sigprocmask.o
  AR     libgnu.a
make[4]: Leaving directory `/home/Leszek/cgminer-master/lib'
make[3]: Leaving directory `/home/Leszek/cgminer-master/lib'
make[2]: Leaving directory `/home/Leszek/cgminer-master/lib'
Making all in compat
make[2]: Entering directory `/home/Leszek/cgminer-master/compat'
Making all in jansson
make[3]: Entering directory `/home/Leszek/cgminer-master/compat/jansson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Leszek/cgminer-master/compat/jansson'
make[3]: Entering directory `/home/Leszek/cgminer-master/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Leszek/cgminer-master/compat'
make[2]: Leaving directory `/home/Leszek/cgminer-master/compat'
Making all in ccan
make[2]: Entering directory `/home/Leszek/cgminer-master/ccan'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Leszek/cgminer-master/ccan'
make[2]: Entering directory `/home/Leszek/cgminer-master'
  CC     cgminer-cgminer.o
gcc.exe: error: @CPPFLAG_CURL_STATICLIB@: No such file or directory
make[2]: *** [cgminer-cgminer.o] Error 1
make[2]: Leaving directory `/home/Leszek/cgminer-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Leszek/cgminer-master'
make: *** [all] Error 2
I made no changes to my compiling config, just loaded fresh code from git  "latest commit ab1fa25344"

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
rav3n_pl (OP)
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
November 06, 2012, 01:35:53 AM
 #15

Ok, latest git 2.9.0 is compiling again Smiley

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
November 06, 2012, 01:48:26 AM
 #16

Ok, latest git 2.9.0 is compiling again Smiley
Smiley

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
rav3n_pl (OP)
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
November 06, 2012, 07:10:00 PM
 #17

And current git again failing :/
Code:
$ make
make  all-recursive
make[1]: Entering directory `/home/Rafal/cgminer-master'
Making all in lib
make[2]: Entering directory `/home/Rafal/cgminer-master/lib'
  GEN    signal.h
  GEN    string.h
make  all-recursive
make[3]: Entering directory `/home/Rafal/cgminer-master/lib'
make[4]: Entering directory `/home/Rafal/cgminer-master/lib'
  CC     memmem.o
  CC     sigaction.o
  CC     sigprocmask.o
  AR     libgnu.a
make[4]: Leaving directory `/home/Rafal/cgminer-master/lib'
make[3]: Leaving directory `/home/Rafal/cgminer-master/lib'
make[2]: Leaving directory `/home/Rafal/cgminer-master/lib'
Making all in compat
make[2]: Entering directory `/home/Rafal/cgminer-master/compat'
Making all in jansson
make[3]: Entering directory `/home/Rafal/cgminer-master/compat/jansson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Rafal/cgminer-master/compat/jansson'
make[3]: Entering directory `/home/Rafal/cgminer-master/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Rafal/cgminer-master/compat'
make[2]: Leaving directory `/home/Rafal/cgminer-master/compat'
Making all in ccan
make[2]: Entering directory `/home/Rafal/cgminer-master/ccan'
  CC     helpers.o
  CC     opt.o
  CC     parse.o
  CC     usage.o
  AR     libccan.a
make[2]: Leaving directory `/home/Rafal/cgminer-master/ccan'
make[2]: Entering directory `/home/Rafal/cgminer-master'
  CC     cgminer-cgminer.o
gcc.exe: error: @CPPFLAG_CURL_STATICLIB@: No such file or directory
make[2]: *** [cgminer-cgminer.o] Error 1
make[2]: Leaving directory `/home/Rafal/cgminer-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Rafal/cgminer-master'
make: *** [all] Error 2

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
November 06, 2012, 08:11:35 PM
 #18

lol which git checkout did build then since it's pretty much identical?

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
rav3n_pl (OP)
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
November 07, 2012, 12:53:37 AM
 #19

lol which git checkout did build then since it's pretty much identical?
I have no idea.
Trying to compile commit dd671baaa1
Code:
$ ./autogen.sh && autoreconf -fvi && CFLAGS="-O2 -msse2" ./configure --enable-scrypt --without-libudev && make
Running autoreconf -if...
Configuring...
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking whether gcc needs -traditional... no
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... (cached) ranlib
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for mprotect... yes
checking for sigaction... no
checking for sigaltstack... no
checking for siginterrupt... no
checking for mmap... no
checking whether memchr works... yes
checking whether memmem is declared... no
checking for memmem... no
checking for C/C++ restrict keyword... __restrict
checking for uid_t in sys/types.h... no
checking for inline... inline
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for wchar_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether memmem is declared without a macro... no
checking whether mempcpy is declared without a macro... no
checking whether memrchr is declared without a macro... no
checking whether rawmemchr is declared without a macro... no
checking whether stpcpy is declared without a macro... no
checking whether stpncpy is declared without a macro... no
checking whether strchrnul is declared without a macro... no
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... no
checking whether strnlen is declared without a macro... no
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... no
checking whether strcasestr is declared without a macro... no
checking whether strtok_r is declared without a macro... no
checking whether strerror_r is declared without a macro... no
checking whether strsignal is declared without a macro... no
checking whether strverscmp is declared without a macro... no
checking for memmem... (cached) no
checking for siginfo_t... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking whether sigaction is declared without a macro... no
checking whether sigaddset is declared without a macro... no
checking whether sigdelset is declared without a macro... no
checking whether sigemptyset is declared without a macro... no
checking whether sigfillset is declared without a macro... no
checking whether sigismember is declared without a macro... no
checking whether sigpending is declared without a macro... no
checking whether sigprocmask is declared without a macro... no
checking for sigset_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for ANSI C header files... (cached) yes
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for OpenCL... yes
checking for pthread_create in -lpthread... yes
checking for json_loads in -ljansson... no
checking for ADL_SDK/adl_sdk.h... yes
checking for library containing addstr... -lpdcurses
checking for yasm... /mingw/bin/yasm
checking if yasm version is greater than 1.0.1... yes
checking for pkg-config... /mingw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating x86_64/Makefile
config.status: creating x86_32/Makefile
config.status: creating ccan/Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: executing depfiles commands



------------------------------------------------------------------------
cgminer 2.9.1
------------------------------------------------------------------------


Configuration Options Summary:

  curses.TUI...........: FOUND: -lpdcurses
  OpenCL...............: FOUND. GPU mining support enabled
  scrypt...............: Disabled
  ADL..................: SDK found, GPU monitoring support enabled

  BitForce.FPGAs.......: Disabled
  Icarus.FPGAs.........: Disabled
  ModMiner.FPGAs.......: Disabled
  Ztex.FPGAs...........: Disabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -g -O2
  LDFLAGS..............:
  LDADD................:  -LC:/MinGW/lib -lcurl -lcurldll   compat/jansson/libja
nsson.a -lpthread -lOpenCL   -lws2_32 -lm

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local

autoreconf-2.68: Entering directory `.'
autoreconf-2.68: configure.ac: not using Gettext
autoreconf-2.68: running: aclocal --force -I m4
autoreconf-2.68: configure.ac: tracing
autoreconf-2.68: configure.ac: not using Libtool
autoreconf-2.68: running: /mingw/bin/autoconf-2.68 --force
autoreconf-2.68: running: /mingw/bin/autoheader-2.68 --force
autoreconf-2.68: running: automake --add-missing --copy --force-missing
autoreconf-2.68: Leaving directory `.'
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking whether gcc needs -traditional... no
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... (cached) ranlib
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for mprotect... yes
checking for sigaction... no
checking for sigaltstack... no
checking for siginterrupt... no
checking for mmap... no
checking whether memchr works... yes
checking whether memmem is declared... no
checking for memmem... no
checking for C/C++ restrict keyword... __restrict
checking for uid_t in sys/types.h... no
checking for inline... inline
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for wchar_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether memmem is declared without a macro... no
checking whether mempcpy is declared without a macro... no
checking whether memrchr is declared without a macro... no
checking whether rawmemchr is declared without a macro... no
checking whether stpcpy is declared without a macro... no
checking whether stpncpy is declared without a macro... no
checking whether strchrnul is declared without a macro... no
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... no
checking whether strnlen is declared without a macro... no
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... no
checking whether strcasestr is declared without a macro... no
checking whether strtok_r is declared without a macro... no
checking whether strerror_r is declared without a macro... no
checking whether strsignal is declared without a macro... no
checking whether strverscmp is declared without a macro... no
checking for memmem... (cached) no
checking for siginfo_t... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking whether sigaction is declared without a macro... no
checking whether sigaddset is declared without a macro... no
checking whether sigdelset is declared without a macro... no
checking whether sigemptyset is declared without a macro... no
checking whether sigfillset is declared without a macro... no
checking whether sigismember is declared without a macro... no
checking whether sigpending is declared without a macro... no
checking whether sigprocmask is declared without a macro... no
checking for sigset_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for ANSI C header files... (cached) yes
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for OpenCL... yes
checking for pthread_create in -lpthread... yes
checking for json_loads in -ljansson... no
checking for ADL_SDK/adl_sdk.h... yes
checking for library containing addstr... -lpdcurses
checking for yasm... /mingw/bin/yasm
checking if yasm version is greater than 1.0.1... yes
checking for pkg-config... /mingw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating x86_64/Makefile
config.status: creating x86_32/Makefile
config.status: creating ccan/Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: executing depfiles commands



------------------------------------------------------------------------
cgminer 2.9.1
------------------------------------------------------------------------


Configuration Options Summary:

  curses.TUI...........: FOUND: -lpdcurses
  OpenCL...............: FOUND. GPU mining support enabled
  scrypt...............: Enabled
  ADL..................: SDK found, GPU monitoring support enabled

  BitForce.FPGAs.......: Disabled
  Icarus.FPGAs.........: Disabled
  ModMiner.FPGAs.......: Disabled
  Ztex.FPGAs...........: Disabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -O2 -msse2
  LDFLAGS..............:
  LDADD................:  -LC:/MinGW/lib -lcurl -lcurldll   compat/jansson/libja
nsson.a -lpthread -lOpenCL   -lws2_32 -lm

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local

make  all-recursive
make[1]: Entering directory `/home/Rafal/cgminer'
Making all in lib
make[2]: Entering directory `/home/Rafal/cgminer/lib'
  GEN    signal.h
  GEN    string.h
make  all-recursive
make[3]: Entering directory `/home/Rafal/cgminer/lib'
make[4]: Entering directory `/home/Rafal/cgminer/lib'
  CC     memmem.o
  CC     sigaction.o
  CC     sigprocmask.o
  AR     libgnu.a
make[4]: Leaving directory `/home/Rafal/cgminer/lib'
make[3]: Leaving directory `/home/Rafal/cgminer/lib'
make[2]: Leaving directory `/home/Rafal/cgminer/lib'
Making all in compat
make[2]: Entering directory `/home/Rafal/cgminer/compat'
Making all in jansson
make[3]: Entering directory `/home/Rafal/cgminer/compat/jansson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Rafal/cgminer/compat/jansson'
make[3]: Entering directory `/home/Rafal/cgminer/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Rafal/cgminer/compat'
make[2]: Leaving directory `/home/Rafal/cgminer/compat'
Making all in ccan
make[2]: Entering directory `/home/Rafal/cgminer/ccan'
  CC     helpers.o
  CC     opt.o
  CC     parse.o
  CC     usage.o
  AR     libccan.a
make[2]: Leaving directory `/home/Rafal/cgminer/ccan'
make[2]: Entering directory `/home/Rafal/cgminer'
  CC     cgminer-cgminer.o
gcc.exe: error: @CPPFLAG_CURL_STATICLIB@: No such file or directory
make[2]: *** [cgminer-cgminer.o] Error 1
make[2]: Leaving directory `/home/Rafal/cgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Rafal/cgminer'
make: *** [all] Error 2

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
rav3n_pl (OP)
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
November 07, 2012, 01:04:26 AM
 #20

Same thing when download
http://ck.kolivas.org/apps/cgminer/cgminer-2.9.1.tar.bz2
Code:
Rafal@doomek ~/cgminer-2.9.1
$ autoreconf -fvi && CFLAGS="-O2 -msse2" ./configure --enable-scrypt --without-libudev && make
autoreconf-2.68: Entering directory `.'
autoreconf-2.68: configure.ac: not using Gettext
autoreconf-2.68: running: aclocal --force -I m4
autoreconf-2.68: configure.ac: tracing
autoreconf-2.68: configure.ac: not using Libtool
autoreconf-2.68: running: /mingw/bin/autoconf-2.68 --force
autoreconf-2.68: running: /mingw/bin/autoheader-2.68 --force
autoreconf-2.68: running: automake --add-missing --copy --force-missing
autoreconf-2.68: Leaving directory `.'
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking whether gcc needs -traditional... no
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... (cached) ranlib
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for mprotect... yes
checking for sigaction... no
checking for sigaltstack... no
checking for siginterrupt... no
checking for mmap... no
checking whether memchr works... yes
checking whether memmem is declared... no
checking for memmem... no
checking for C/C++ restrict keyword... __restrict
checking for uid_t in sys/types.h... no
checking for inline... inline
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for wchar_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether memmem is declared without a macro... no
checking whether mempcpy is declared without a macro... no
checking whether memrchr is declared without a macro... no
checking whether rawmemchr is declared without a macro... no
checking whether stpcpy is declared without a macro... no
checking whether stpncpy is declared without a macro... no
checking whether strchrnul is declared without a macro... no
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... no
checking whether strnlen is declared without a macro... no
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... no
checking whether strcasestr is declared without a macro... no
checking whether strtok_r is declared without a macro... no
checking whether strerror_r is declared without a macro... no
checking whether strsignal is declared without a macro... no
checking whether strverscmp is declared without a macro... no
checking for memmem... (cached) no
checking for siginfo_t... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking whether sigaction is declared without a macro... no
checking whether sigaddset is declared without a macro... no
checking whether sigdelset is declared without a macro... no
checking whether sigemptyset is declared without a macro... no
checking whether sigfillset is declared without a macro... no
checking whether sigismember is declared without a macro... no
checking whether sigpending is declared without a macro... no
checking whether sigprocmask is declared without a macro... no
checking for sigset_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for ANSI C header files... (cached) yes
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for OpenCL... yes
checking for pthread_create in -lpthread... yes
checking for json_loads in -ljansson... no
checking for ADL_SDK/adl_sdk.h... yes
checking for library containing addstr... -lpdcurses
checking for yasm... /mingw/bin/yasm
checking if yasm version is greater than 1.0.1... yes
checking for pkg-config... /mingw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating x86_64/Makefile
config.status: creating x86_32/Makefile
config.status: creating ccan/Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: executing depfiles commands



------------------------------------------------------------------------
cgminer 2.9.1
------------------------------------------------------------------------


Configuration Options Summary:

  curses.TUI...........: FOUND: -lpdcurses
  OpenCL...............: FOUND. GPU mining support enabled
  scrypt...............: Enabled
  ADL..................: SDK found, GPU monitoring support enabled

  BitForce.FPGAs.......: Disabled
  Icarus.FPGAs.........: Disabled
  ModMiner.FPGAs.......: Disabled
  Ztex.FPGAs...........: Disabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -O2 -msse2
  LDFLAGS..............:
  LDADD................:  -LC:/MinGW/lib -lcurl -lcurldll   compat/jansson/libja
nsson.a -lpthread -lOpenCL   -lws2_32 -lm

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local

make  all-recursive
make[1]: Entering directory `/home/Rafal/cgminer-2.9.1'
Making all in lib
make[2]: Entering directory `/home/Rafal/cgminer-2.9.1/lib'
  GEN    arg-nonnull.h
  GEN    c++defs.h
  GEN    warn-on-use.h
  GEN    signal.h
  GEN    string.h
make  all-recursive
make[3]: Entering directory `/home/Rafal/cgminer-2.9.1/lib'
make[4]: Entering directory `/home/Rafal/cgminer-2.9.1/lib'
  CC     dummy.o
  CC     memmem.o
  CC     sigaction.o
  CC     sigprocmask.o
  AR     libgnu.a
make[4]: Leaving directory `/home/Rafal/cgminer-2.9.1/lib'
make[3]: Leaving directory `/home/Rafal/cgminer-2.9.1/lib'
make[2]: Leaving directory `/home/Rafal/cgminer-2.9.1/lib'
Making all in compat
make[2]: Entering directory `/home/Rafal/cgminer-2.9.1/compat'
Making all in jansson
make[3]: Entering directory `/home/Rafal/cgminer-2.9.1/compat/jansson'
  CC     dump.o
  CC     hashtable.o
  CC     load.o
  CC     strbuffer.o
  CC     utf.o
  CC     value.o
  CC     memory.o
  CC     error.o
  AR     libjansson.a
make[3]: Leaving directory `/home/Rafal/cgminer-2.9.1/compat/jansson'
make[3]: Entering directory `/home/Rafal/cgminer-2.9.1/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Rafal/cgminer-2.9.1/compat'
make[2]: Leaving directory `/home/Rafal/cgminer-2.9.1/compat'
Making all in ccan
make[2]: Entering directory `/home/Rafal/cgminer-2.9.1/ccan'
  CC     helpers.o
  CC     opt.o
  CC     parse.o
  CC     usage.o
  AR     libccan.a
make[2]: Leaving directory `/home/Rafal/cgminer-2.9.1/ccan'
make[2]: Entering directory `/home/Rafal/cgminer-2.9.1'
  CC     cgminer-cgminer.o
gcc.exe: error: @CPPFLAG_CURL_STATICLIB@: No such file or directory
make[2]: *** [cgminer-cgminer.o] Error 1
make[2]: Leaving directory `/home/Rafal/cgminer-2.9.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Rafal/cgminer-2.9.1'
make: *** [all] Error 2

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
Pages: [1] 2 »  All
  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!