Bitcoin Forum
December 05, 2016, 10:32:43 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 [137] 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4818003 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
January 04, 2012, 11:11:14 PM
 #2721

The git tree should now have a fix for this issue in it.

Got it running now on the machine I compile on and re-enabled donations on it, will let you know if I see any problems.
Thanks a lot. This all assumes the donor pool actually has trouble, so I've put it back to the one that has been unstable lately just now (which means you'd have to restart the miner, sorry). Funny how for a change I'm wishing for pool instability (shh! no one tell the admin  Wink)

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
1480933963
Hero Member
*
Offline Offline

Posts: 1480933963

View Profile Personal Message (Offline)

Ignore
1480933963
Reply with quote  #2

1480933963
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480933963
Hero Member
*
Offline Offline

Posts: 1480933963

View Profile Personal Message (Offline)

Ignore
1480933963
Reply with quote  #2

1480933963
Report to moderator
1480933963
Hero Member
*
Offline Offline

Posts: 1480933963

View Profile Personal Message (Offline)

Ignore
1480933963
Reply with quote  #2

1480933963
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
January 05, 2012, 03:48:54 AM
 #2722

The donor pool had two short outages today so you would have noticed a difference with the new code by now.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
January 05, 2012, 03:58:13 AM
 #2723

The donor pool had two short outages today so you would have noticed a difference with the new code by now.

"Today"?  I've been running the new code since Jan 4. 23:17 GMT without problems.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
January 05, 2012, 05:51:00 AM
 #2724

Donation site is completely down for the moment so if it works through this then all is well. I consider this bugfix big enough to warrant a new version entirely.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784


firstbits:1MinerQ


View Profile WWW
January 05, 2012, 05:57:12 AM
 #2725

Just reporting, after upgrading to 2.1.0 my reject rate has been lower over the last 3 hours average. Now between 0.7% and 1.2% instead of 3%-7%. Much better. Thanks!

-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
January 05, 2012, 05:59:54 AM
 #2726

Just reporting, after upgrading to 2.1.0 my reject rate has been lower over the last 3 hours average. Now between 0.7% and 1.2% instead of 3%-7%. Much better. Thanks!
Thanks for the feedback. This reject problem was a difficult bug to track and only affected people with multiple pools set up (which most of us do).

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
January 05, 2012, 06:19:58 AM
 #2727

Yes when the donation pool is down it leaks the failed work requests to other pools so that's the intended behaviour. Perhaps I should make it specifically use whatever is considered the current pool instead.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
January 05, 2012, 11:06:47 AM
 #2728

Done, updated git tree so the primary pool is not considered lagging if the donation pool falls over.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
meti
Newbie
*
Offline Offline

Activity: 28


View Profile
January 05, 2012, 01:25:13 PM
 #2729

Hi!

I'm just trying to build this on OsX 10.7.2 but get stuck in an error at
./configure if i'm using CFLAGS="-O2 -Wall -march=native" ./configure like in the Readme file.

Code:
noname:cgminer Matthias$ ./autogen.sh
configure.ac:52: installing `./compile'
configure.ac:17: installing `./config.guess'
configure.ac:17: installing `./config.sub'
configure.ac:22: installing `./install-sh'
configure.ac:22: installing `./missing'
ccan/Makefile.am: installing `./depcomp'
noname:cgminer Matthias$ CFLAGS="-O2 -Wall -march=native" ./configure
checking build system type... x86_64-apple-darwin11.2.0
checking host system type... x86_64-apple-darwin11.2.0
checking target system type... x86_64-apple-darwin11.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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... no
configure: error: in `/Users/Matthias/Desktop/Coins/btc/cgminer':
configure: error: C compiler cannot create executables
See `config.log' for more details

If I use ./configure without CFLAGS i get an error at make:
./configure :
Code:
noname:cgminer Matthias$ ./configure
checking build system type... x86_64-apple-darwin11.2.0
checking host system type... x86_64-apple-darwin11.2.0
checking target system type... x86_64-apple-darwin11.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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.out
checking for suffix of executables...
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... /usr/bin/grep
checking for egrep... /usr/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... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
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... yes
checking for sigaltstack... yes
checking for siginterrupt... yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking whether memmem works... no
checking for C/C++ restrict keyword... __restrict
checking for uid_t in sys/types.h... yes
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... no
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 64
checking for bit size of size_t... 64
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... l
checking for size_t integer literal suffix... ul
checking for sig_atomic_t integer literal suffix...
checking for wchar_t integer literal suffix...
checking for wint_t integer literal suffix...
checking whether memmem is declared without a macro... yes
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... yes
checking whether stpncpy is declared without a macro... yes
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... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... no
checking for memmem... (cached) yes
checking whether memmem works... (cached) no
checking for struct sigaction.sa_sigaction... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking whether sigaction is declared without a macro... yes
checking whether sigaddset is declared without a macro... yes
checking whether sigdelset is declared without a macro... yes
checking whether sigemptyset is declared without a macro... yes
checking whether sigfillset is declared without a macro... yes
checking whether sigismember is declared without a macro... yes
checking whether sigpending is declared without a macro... yes
checking whether sigprocmask is declared without a macro... yes
checking for sigprocmask... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for ANSI C header files... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for size_t... yes
checking for working alloca.h... yes
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... no
checking for library containing addstr... -lncurses
checking for addstr in -lncurses... yes
checking for addstr in -lpdcurses... no
checking for yasm... /opt/local/bin/yasm
checking if yasm version is greater than 1.0.1... yes
checking for pkg-config... /opt/local/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.1.1
------------------------------------------------------------------------


Configuration Options Summary:

  OpenCL...............: FOUND. GPU mining support enabled
  ADL..................: SDK NOT found, GPU monitoring support DISABLED
  ASM.(for CPU mining).: true

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -g -O2
  LDFLAGS..............: 
  LDADD................:  -L/opt/local/lib -lcurl   compat/jansson/libjansson.a -lpthread -framework OpenCL -lncurses   -lm

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


make :
Code:
noname:cgminer Matthias$ make
make  all-recursive
Making all in lib
  GEN    arg-nonnull.h
  GEN    c++defs.h
  GEN    warn-on-use.h
  GEN    signal.h
  GEN    stdint.h
  GEN    string.h
make  all-recursive
  CC     dummy.o
  CC     memmem.o
  AR     libgnu.a
/usr/bin/ranlib: file: libgnu.a(dummy.o) has no symbols
ranlib: file: libgnu.a(dummy.o) has no symbols
Making all in compat
Making all in 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]: Nothing to be done for `all-am'.
Making all in ccan
  CC     helpers.o
  CC     opt.o
  CC     parse.o
  CC     usage.o
  AR     libccan.a
Making all in x86_64
/opt/local/bin/yasm -f elf64 sha256_xmm_amd64.asm
/opt/local/bin/yasm -f elf64 sha256_sse4_amd64.asm
  AR     libx8664.a
ranlib: warning for library: libx8664.a the table of contents is empty (no object file members in the library define global symbols)
  CC     cgminer-main.o
  CC     cgminer-util.o
  CC     cgminer-ocl.o
  CC     cgminer-findnonce.o
  CC     cgminer-sha256_generic.o
  CC     cgminer-sha256_4way.o
  CC     cgminer-sha256_via.o
  CC     cgminer-sha256_cryptopp.o
  CC     cgminer-sha256_sse2_amd64.o
  CC     cgminer-sha256_sse4_amd64.o
  CC     cgminer-sha256_sse2_i386.o
  CC     cgminer-sha256_altivec_4way.o
  CC     cgminer-adl.o
  CC     cgminer-sha2.o
  CC     cgminer-api.o
api.c:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sock’
api.c:359: error: expected ‘)’ before ‘c’
api.c:452: error: expected ‘)’ before ‘c’
api.c:487: error: expected ‘)’ before ‘c’
api.c:520: error: expected ‘)’ before ‘c’
api.c:553: error: expected ‘)’ before ‘c’
api.c:615: error: expected ‘)’ before ‘c’
api.c:642: error: expected ‘)’ before ‘c’
api.c:688: error: expected ‘)’ before ‘c’
api.c:718: error: expected ‘)’ before ‘c’
api.c:743: error: expected ‘)’ before ‘c’
api.c:757: error: expected ‘)’ before ‘c’
api.c:771: error: expected ‘)’ before ‘c’
api.c:773: error: expected ‘)’ before ‘c’
api.c:788: error: expected ‘)’ before ‘char’
api.c:789: warning: no semicolon at end of struct or union
api.c:790: error: ‘apiversion’ undeclared here (not in a function)
api.c:790: warning: excess elements in struct initializer
api.c:790: warning: (near initialization for ‘cmds[0]’)
api.c:791: error: ‘devstatus’ undeclared here (not in a function)
api.c:791: warning: excess elements in struct initializer
api.c:791: warning: (near initialization for ‘cmds[1]’)
api.c:792: error: ‘poolstatus’ undeclared here (not in a function)
api.c:792: warning: excess elements in struct initializer
api.c:792: warning: (near initialization for ‘cmds[2]’)
api.c:793: error: ‘summary’ undeclared here (not in a function)
api.c:793: warning: excess elements in struct initializer
api.c:793: warning: (near initialization for ‘cmds[3]’)
api.c:794: error: ‘gpuenable’ undeclared here (not in a function)
api.c:794: warning: excess elements in struct initializer
api.c:794: warning: (near initialization for ‘cmds[4]’)
api.c:795: error: ‘gpudisable’ undeclared here (not in a function)
api.c:795: warning: excess elements in struct initializer
api.c:795: warning: (near initialization for ‘cmds[5]’)
api.c:796: error: ‘gpurestart’ undeclared here (not in a function)
api.c:796: warning: excess elements in struct initializer
api.c:796: warning: (near initialization for ‘cmds[6]’)
api.c:797: error: ‘gpudev’ undeclared here (not in a function)
api.c:797: warning: excess elements in struct initializer
api.c:797: warning: (near initialization for ‘cmds[7]’)
api.c:798: error: ‘cpudev’ undeclared here (not in a function)
api.c:798: warning: excess elements in struct initializer
api.c:798: warning: (near initialization for ‘cmds[8]’)
api.c:799: error: ‘gpucount’ undeclared here (not in a function)
api.c:799: warning: excess elements in struct initializer
api.c:799: warning: (near initialization for ‘cmds[9]’)
api.c:800: error: ‘cpucount’ undeclared here (not in a function)
api.c:800: warning: excess elements in struct initializer
api.c:800: warning: (near initialization for ‘cmds[10]’)
api.c:801: error: ‘doquit’ undeclared here (not in a function)
api.c:801: warning: excess elements in struct initializer
api.c:801: warning: (near initialization for ‘cmds[11]’)
api.c:805: error: expected ‘)’ before ‘c’
api.c: In function ‘tidyup’:
api.c:834: error: ‘sock’ undeclared (first use in this function)
api.c:834: error: (Each undeclared identifier is reported only once
api.c:834: error: for each function it appears in.)
api.c:834: error: ‘INVSOCK’ undeclared (first use in this function)
api.c: In function ‘api’:
api.c:856: error: ‘SOCKETTYPE’ undeclared (first use in this function)
api.c:856: error: expected ‘;’ before ‘c’
api.c:862: error: storage size of ‘serv’ isn’t known
api.c:863: error: storage size of ‘cli’ isn’t known
api.c:883: error: ‘sock’ undeclared (first use in this function)
api.c:884: error: ‘INVSOCK’ undeclared (first use in this function)
api.c:885: error: ‘SOCKERRMSG’ undeclared (first use in this function)
api.c:895: error: ‘INVINETADDR’ undeclared (first use in this function)
api.c:941: error: ‘c’ undeclared (first use in this function)
api.c:949: warning: assignment makes pointer from integer without a cast
api.c:954: warning: assignment makes pointer from integer without a cast
api.c:1029: error: ‘struct CMDS’ has no member named ‘func’
make[2]: *** [cgminer-api.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Here are the dependencies i installed previously (I hope there is nothing missing):
Code:
noname:cgminer Matthias$ port installed
The following ports are currently installed:
  autoconf @2.68_2 (active)
  automake @1.11.2_0 (active)
  curl @7.23.1_0+ssl (active)
  curl-ca-bundle @7.23.1_0 (active)
  expat @2.0.1_1 (active)
  gdbm @1.10_1 (active)
  gettext @0.18.1.1_2 (active)
  glib2 @2.30.2_2 (active)
  gperf @3.0.4_2 (active)
  help2man @1.40.4_1 (active)
  jansson @2.1_0 (active)
  libffi @3.0.10_2 (active)
  libiconv @1.14_0 (active)
  libidn @1.22_0 (active)
  m4 @1.4.16_0 (active)
  ncurses @5.9_1 (active)
  ncursesw @5.8_0 (active)
  openssl @1.0.0e_1 (active)
  p5.12-locale-gettext @1.50.0_6 (active)
  perl5 @5.12.3_1+perl5_12 (active)
  perl5.12 @5.12.3_3 (active)
  pkgconfig @0.26_1 (active)
  xz @5.0.3_0 (active)
  yasm @1.1.0_0 (active)
  zlib @1.2.5_0 (active)

Can anyone help me please? I'd really like to get this running.

1CwizNne7EM7E1jk9qBcrZwc9huCvKiooM Smiley
slush
Legendary
*
Offline Offline

Activity: 1358



View Profile WWW
January 05, 2012, 01:36:38 PM
 #2730

ckolivas, if I'm reading source code correctly, only "data" and "target" fields are necessary in getwork request, right? The rest can be calculated directly by the miner.

I also see that you're requesting 128 bytes of "data", although only first 80 bytes is really used for hashing. Can you please modify the miner that 80 bytes (160 chars in hex in getwork stream) will be enough for hashing? I'm working on some pool update and found that both poclbm and phoenix will work with 80 bytes in data already, but I would like to support your miner with this extension as well...

BkkCoins
Hero Member
*****
Offline Offline

Activity: 784


firstbits:1MinerQ


View Profile WWW
January 05, 2012, 01:41:01 PM
 #2731

@meti
You will need to copy the SDK header files into the ADL_SDK subdir.
You should have files like this,

adl_defines.h
adl_sdk.h
adl_structures.h

usually found in ADL_SDK/includes from the SDK install.

meti
Newbie
*
Offline Offline

Activity: 28


View Profile
January 05, 2012, 01:48:15 PM
 #2732

@meti
You will need to copy the SDK header files into the ADL_SDK subdir.
You should have files like this,

adl_defines.h
adl_sdk.h
adl_structures.h

usually found in ADL_SDK/includes from the SDK install.


does this apply to nvidia graphics too?

1CwizNne7EM7E1jk9qBcrZwc9huCvKiooM Smiley
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
January 05, 2012, 02:23:44 PM
 #2733

@meti
You will need to copy the SDK header files into the ADL_SDK subdir.
You should have files like this,

adl_defines.h
adl_sdk.h
adl_structures.h

usually found in ADL_SDK/includes from the SDK install.


does this apply to nvidia graphics too?
No, the ADL is the ATI Display Library, and it only works on linux and windows.

Your build failure is due to the new api code. I'll have to refer this to kano for him to fix the build problems in osx. 2.0.8 may be the last version that compiles on osx for now.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
January 05, 2012, 02:34:47 PM
 #2734

ckolivas, if I'm reading source code correctly, only "data" and "target" fields are necessary in getwork request, right? The rest can be calculated directly by the miner.

I also see that you're requesting 128 bytes of "data", although only first 80 bytes is really used for hashing. Can you please modify the miner that 80 bytes (160 chars in hex in getwork stream) will be enough for hashing? I'm working on some pool update and found that both poclbm and phoenix will work with 80 bytes in data already, but I would like to support your miner with this extension as well...
Should work already without midstate and smaller data type.

See this commit:
https://github.com/ckolivas/cgminer/commit/e8720b908428fabac59da161b0648091179688b1

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
slush
Legendary
*
Offline Offline

Activity: 1358



View Profile WWW
January 05, 2012, 02:45:23 PM
 #2735

Should work already without midstate and smaller data type.

Excellent, thanks!

meti
Newbie
*
Offline Offline

Activity: 28


View Profile
January 05, 2012, 02:57:11 PM
 #2736

@meti
You will need to copy the SDK header files into the ADL_SDK subdir.
You should have files like this,

adl_defines.h
adl_sdk.h
adl_structures.h

usually found in ADL_SDK/includes from the SDK install.


does this apply to nvidia graphics too?
No, the ADL is the ATI Display Library, and it only works on linux and windows.

Your build failure is due to the new api code. I'll have to refer this to kano for him to fix the build problems in osx. 2.0.8 may be the last version that compiles on osx for now.

Hm couldn't get to finish 2.0.8 either. But thanks for your reply! Maybe a future version will support osx again.

1CwizNne7EM7E1jk9qBcrZwc9huCvKiooM Smiley
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
January 05, 2012, 03:29:03 PM
 #2737

...
Can anyone help me please? I'd really like to get this running.
Firstly the fact that "configure" says "checking whether the C compiler works... no"
suggests that you need to fix your compile environment so it actually works normally.

Only Suggestion I have for api.c
(since I do not have OSX and the Apple license says that if I buy OSX, I must not install it on my Linux computer - Apple are a bunch of fags)
is that at line 24 it says "#if defined(unix)"
Now OSX is a "unix" OS (it's based on BSD) so I guess whatever compiler you are using doesn't know that Tongue
So if you just remove that line 24 and the matching "#endif" that may fix it?

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
mmortal03
Legendary
*
Offline Offline

Activity: 1395


View Profile
January 05, 2012, 05:22:45 PM
 #2738

One other thing, is anyone able to start cgminer from a remote desktop session and have it detect their gpus? I can monitor what cgminer is doing on my machine over remote desktop, but if I close cgminer remotely and then try to start it back up from the remote session, it doesn't detect the gpu.

I don't know about windows, but with linux you need DISPLAY=:0 before your launch string if starting over vnc/ssh to detect the GPU's. 

Is there anyone who knows if there is a Windows equivalent?
P4man
Hero Member
*****
Offline Offline

Activity: 504



View Profile
January 05, 2012, 05:23:55 PM
 #2739

Dont use remote desktop. Try VNC.

-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
January 05, 2012, 08:36:05 PM
 #2740

...
Can anyone help me please? I'd really like to get this running.
Firstly the fact that "configure" says "checking whether the C compiler works... no"
suggests that you need to fix your compile environment so it actually works normally.
from FAQ:

Q: The build fails with gcc is unable to build a binary.
A: Remove the "-march=native" component of your CFLAGS as your version of gcc
does not support it.

His build problems are elsewhere though. I haven't had anyone who could help me on osx for a while so I've been unable to keep the osx build working.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Pages: « 1 ... 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 [137] 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 ... 830 »
  Print  
 
Jump to:  

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