Show Posts
|
Pages: [1] 2 »
|
It's still there... haven't you read the first post? https://github.com/ssvb/cpuminer$ git clone git://github.com/ssvb/cpuminer.git $ cd cpuminer $ export CFLAGS="-O3 -mcpu=G4 -maltivec -fstrict-aliasing" $ ./autogen.sh && ./configure && make
|
|
|
Nice ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
So hier noch mal meine Bestellung, da sie im vorigen Thread untergegangen ist:
Ich hätte gerne 6 Stück + Lieferung nach Östetrreich (Versandadresse dann per PM?)
Mfg Meti
|
|
|
Hi!
Ich hätte gerne 6 Stk. Was kostet der Versand nach Österreich??
Mfg Meti
Versand nach Österreich sind 0,25 BTC. Mein Lagerbestand geht allerdings gerade zu Ende, Versand von Sticks daher erst am Dienstag / Mittwoch für Neubestellungen, Nachschub von YXT ist quasi schon unterwegs ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) Gruß Menig Alles klar - gibst du mir bitte noch eine Zahlungsadresse!
|
|
|
Hi!
Ich hätte gerne 6 Stk. Was kostet der Versand nach Österreich??
Mfg Meti
|
|
|
ich würde auch gern 1 Anteil haben Falls noch was übrig ist!
Mfg Meti!
|
|
|
I have 12 Issues of LIF.CX. Bought them at about 0.496 BTC. Does that mean i have to sell them for 0.075 now and accept 5 BTC loss? At first i thought the whole Bitcoin Issue was a great idea and a revolutionary concept. Now that i'm trying some things out i realized that there are more people trying to steal peoples money than to actually provide some serious and useful services. ![Angry](https://bitcointalk.org/Smileys/default/angry.gif)
|
|
|
Ich würde wegen der hohen Anschaffungskosten derzeit lieber auf FPGAs verzichten oder zumindest warten bis die etwas billiger am Markt sind. Eine aktuelle Grafikkarte (evtl. gebraucht) kannst du sicher in 6 Monaten noch zu einem einigermaßen vernünftigen Preis weiterverkaufen. Das wird vielleicht ab Block 210 000 sehr interessant.
Neben der Schwierigkeit ist für dich wahrscheiich auch die Entwicklung des Kurses BTC/EUR sehr wichtig. Die ist zwar nicht wirklich vorhersehbar aber deine Stromrechnung kannst nicht in BTC zahlen.
MfG
|
|
|
blabla
Did you use pooler's expanded macro code? No. I don't really understand what you want me to do. I think I'll have to stay with the christmas binary.
|
|
|
Hi! I just tried to build this form github on OsX 10.7.2 and got an error at ./configure : checking pkg-config is at least version 0.9.0... yes ./configure: line 5107: syntax error near unexpected token `,' ./configure: line 5107: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,' I don't know if it's just my system as i quite often fail to build something from source ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) Hm I got ./configure to finish normally after removing everything from macports and installing fink and libcurl via fink. Now i'm getting these errors from make: noname:cpuminer Matthias$ make make all-recursive Making all in compat Making all in jansson gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o dump.c mv -f .deps/dump.Tpo .deps/dump.Po gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT hashtable.o -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.o hashtable.c mv -f .deps/hashtable.Tpo .deps/hashtable.Po gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c mv -f .deps/load.Tpo .deps/load.Po gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT strbuffer.o -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.o strbuffer.c mv -f .deps/strbuffer.Tpo .deps/strbuffer.Po gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT utf.o -MD -MP -MF .deps/utf.Tpo -c -o utf.o utf.c mv -f .deps/utf.Tpo .deps/utf.Po gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT value.o -MD -MP -MF .deps/value.Tpo -c -o value.o value.c mv -f .deps/value.Tpo .deps/value.Po rm -f libjansson.a ar cru libjansson.a dump.o hashtable.o load.o strbuffer.o utf.o value.o ranlib libjansson.a make[3]: Nothing to be done for `all-am'. gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -I/sw/include -g -O2 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c mv -f .deps/minerd-cpu-miner.Tpo .deps/minerd-cpu-miner.Po gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -I/sw/include -g -O2 -MT minerd-util.o -MD -MP -MF .deps/minerd-util.Tpo -c -o minerd-util.o `test -f 'util.c' || echo './'`util.c mv -f .deps/minerd-util.Tpo .deps/minerd-util.Po gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -I/sw/include -g -O2 -MT minerd-scrypt.o -MD -MP -MF .deps/minerd-scrypt.Tpo -c -o minerd-scrypt.o `test -f 'scrypt.c' || echo './'`scrypt.c mv -f .deps/minerd-scrypt.Tpo .deps/minerd-scrypt.Po gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -I/sw/include -g -O2 -MT minerd-scrypt-x86.o -MD -MP -MF .deps/minerd-scrypt-x86.Tpo -c -o minerd-scrypt-x86.o `test -f 'scrypt-x86.S' || echo './'`scrypt-x86.S mv -f .deps/minerd-scrypt-x86.Tpo .deps/minerd-scrypt-x86.Po gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -I/sw/include -g -O2 -MT minerd-scrypt-x64.o -MD -MP -MF .deps/minerd-scrypt-x64.Tpo -c -o minerd-scrypt-x64.o `test -f 'scrypt-x64.S' || echo './'`scrypt-x64.S scrypt-x64.S:147:Alignment too large: 15. assumed. scrypt-x64.S:11:expecting operand before ','; got nothing scrypt-x64.S:11:expecting operand before ','; got nothing scrypt-x64.S:11:expecting operand before ','; got nothing scrypt-x64.S:11:expecting operand before ','; got nothing scrypt-x64.S:11:suffix or operands invalid for `rol' scrypt-x64.S:11:suffix or operands invalid for `rol' scrypt-x64.S:11:suffix or operands invalid for `rol' scrypt-x64.S:11:suffix or operands invalid for `rol'
...and so on...
that was before from ./configure (looks ok to me) : noname:cpuminer Matthias$ aclocal noname:cpuminer Matthias$ ./autogen.sh configure.ac:15: installing `./compile' configure.ac:4: installing `./config.guess' configure.ac:4: installing `./config.sub' configure.ac:6: installing `./install-sh' configure.ac:6: installing `./missing' compat/jansson/Makefile.am: installing `./depcomp' Makefile.am: installing `./INSTALL' noname:cpuminer 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 whether to enable maintainer-specific portions of Makefiles... no 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 for style of include used by make... GNU 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 whether gcc needs -traditional... no checking whether gcc and cc understand -c and -o together... yes checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking 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 json_loads in -ljansson... no checking for pthread_create in -lpthread... yes checking for pkg-config... /sw/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gawk... (cached) awk checking for curl-config... /sw/bin/curl-config checking for the version of libcurl... 7.23.1 checking for libcurl >= version 7.10.1... yes checking whether libcurl is usable... yes checking for curl_free... yes configure: creating ./config.status config.status: creating Makefile config.status: creating compat/Makefile config.status: creating compat/jansson/Makefile config.status: creating cpuminer-config.h config.status: executing depfiles commands
|
|
|
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. Try building 2.0.8 but without yasm installed. It looks like it's dying on the (useless) CPU mining assembly code. That is unless you want to do CPU mining... Thanks! I removed everything from macports and installed libcurl, yasm and so on with fink. I didn't manage to make it either (2.0. ![Cool](https://bitcointalk.org/Smileys/default/cool.gif) . noname:cgminer-2.0.8 Matthias$ make make all-recursive Making all in lib GEN signal.h GEN stdint.h GEN string.h make all-recursive 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 make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in ccan make[2]: Nothing to be done for `all'. Making all in x86_64 make[2]: Nothing to be done for `all'. CC cgminer-main.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CC cgminer-util.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CC cgminer-ocl.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CC cgminer-findnonce.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CC cgminer-sha256_generic.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CC cgminer-sha256_4way.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CC cgminer-sha256_via.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CC cgminer-sha256_cryptopp.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CC cgminer-sha256_sse2_amd64.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CC cgminer-sha256_sse4_amd64.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CC cgminer-sha256_sse2_i386.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CC cgminer-sha256_altivec_4way.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CC cgminer-sha2.o i686-apple-darwin11-llvm-gcc-4.2: -lpthread: linker input file unused because linking not done CCLD cgminer ld: warning: ignoring file x86_64/libx8664.a, file was built for archive which is not the architecture being linked (x86_64) Undefined symbols for architecture x86_64: "_sha256_sse2_64_new", referenced from: _scanhash_sse2_64 in cgminer-sha256_sse2_amd64.o "_CalcSha256_x64_sse4", referenced from: _scanhash_sse4_64 in cgminer-sha256_sse4_amd64.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[2]: *** [cgminer] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Then i removed yasm and it finished fine and works now. Thanks for your help!!
|
|
|
@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.
|
|
|
Hi! I just tried to build this form github on OsX 10.7.2 and got an error at ./configure : checking pkg-config is at least version 0.9.0... yes ./configure: line 5107: syntax error near unexpected token `,' ./configure: line 5107: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,' I don't know if it's just my system as i quite often fail to build something from source ![Sad](https://bitcointalk.org/Smileys/default/sad.gif)
|
|
|
@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?
|
|
|
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. 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 : 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 : 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): 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.
|
|
|
Hey Folks, I have access to a pair of PowerMac G5 machines. I don't know the specific model(s) yet, but I found out that Ubuntu 11.10 will run on them with a little effort. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I'll be trying to install a persistent USB build for them and get them running. Once I have done that, and installed a few libraries and tools, I'll download and try to build pooler's most up-to-date/optimized miner. If that fails, I'll download an run the one mentioned here. Cheers, - Zed I think pooler's optimized miner is optimized especially for Intel processors. You'll probably have more kh/s with the one from ssvb.
|
|
|
That was my 2nd thought too ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) I have One but it isn't the type that can run Linux. Maybe i can find a cheap One at eBay ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) I think it would be quite good as it has 3 cores at 3,2ghz.
|
|
|
Can you do that for me as i don't see an option there to add data.
cat /proc/cpuinfo gives me
cpu: 7447A, altivec supported clock: 1066,666 MHz revision 1.1 bogomips: 73.72 model: PowerBook6,5 L2 cache: 512K unified
I can't measure the power consumption.
Cores: 1
Command line arguments: none
OS: Debian Squeeze ppc
Model: iBook G4 1Ghz
kHash/s: 1,66
miner: Cell/BE optimized cpuminer
Edit: my main system isn't in the list too... Its a MacBook Pro 6,2 (Mid 2010) 2,53 GHz Intel Core i5 (I5-540M) 2 Cores (4 with HT) OS: Mac OsX 10.7.2 kHash/s: 11,7 miner: Poolers optimized miner
|
|
|
Omg i just saw it myself... well i'm not surfing the web on the ibook therefore no copy&paste ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) thanks let's see what it will do! Now it's about 1.60!!
|
|
|
Hm i did as you told me but got nearly the same result. Now i'm at 0.04kh/s If it's too complicated/time-consuming for you to look into it i understand as i think nearly nobody has G4 hardware anymore (especially running Debian instead of OsX i think but i lost the Installation CD and it felt boring slow with 10.3 ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) ) but if you are interested i'll keep on testing ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Here is the Terminal output - maybe it helps. user@iBookG4:~$ cd Downloads user@iBookG4:~/Downloads$ ls cgminer-2.0.6 cgminer-2.0.7 libspe2-2_2.2.80-95-1_powerpc.deb cgminer-2.0.6.tar.bz2 cgminer-2.0.7.tar.bz2 pooler user@iBookG4:~/Downloads$ git clone git://github.com/ssvb/cpuminer.git Cloning into cpuminer... remote: Counting objects: 741, done. remote: Compressing objects: 100% (337/337), done. remote: Total 741 (delta 475), reused 646 (delta 400) Receiving objects: 100% (741/741), 199.86 KiB | 326 KiB/s, done. Resolving deltas: 100% (475/475), done. user@iBookG4:~/Downloads$ cd cpuminer user@iBookG4:~/Downloads/cpuminer$ ls AUTHORS COPYING miner.h scrypt-cell-spu.h autogen.sh cpu-miner.c mknsis.sh scrypt-simd-helpers.h ChangeLog elist.h NEWS sha256-helpers.h compat example-cfg.json README util.c compat.h LICENSE scrypt.c configure.ac Makefile.am scrypt-cell-spu.c user@iBookG4:~/Downloads/cpuminer$ export CFLAGS="-03 -mcpu=G4 -maltivec -fstrict-aliasing" user@iBookG4:~/Downloads/cpuminer$ ./autogen.sh && ./configure && make configure.ac:15: installing `./compile' configure.ac:4: installing `./config.guess' configure.ac:4: installing `./config.sub' configure.ac:6: installing `./install-sh' configure.ac:6: installing `./missing' compat/jansson/Makefile.am: installing `./depcomp' Makefile.am: installing `./INSTALL' checking build system type... powerpc-unknown-linux-gnu checking host system type... powerpc-unknown-linux-gnu checking target system type... powerpc-unknown-linux-gnu checking for a BSD-compatible install... /usr/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 whether to enable maintainer-specific portions of Makefiles... no 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 for style of include used by make... GNU 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 whether gcc needs -traditional... no checking whether gcc and cc understand -c and -o together... yes checking for ranlib... ranlib checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for working alloca.h... yes checking for alloca... yes checking for spe_context_create in -lspe2... no checking for spu-elf-gcc... no checking for spu-gcc... spu-gcc checking for embedspu... embedspu checking for json_loads in -ljansson... no checking for pthread_create in -lpthread... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gawk... (cached) gawk checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 7.21.0 checking for libcurl >= version 7.10.1... yes checking whether libcurl is usable... yes checking for curl_free... yes configure: creating ./config.status config.status: creating Makefile config.status: creating compat/Makefile config.status: creating compat/jansson/Makefile config.status: creating cpuminer-config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/home/user/Downloads/cpuminer' Making all in compat make[2]: Entering directory `/home/user/Downloads/cpuminer/compat' Making all in jansson make[3]: Entering directory `/home/user/Downloads/cpuminer/compat/jansson' gcc -DHAVE_CONFIG_H -I. -I../.. -03 -mcpu=G4 -maltivec -fstrict-aliasing -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o dump.c gcc: unrecognized option '-03' mv -f .deps/dump.Tpo .deps/dump.Po gcc -DHAVE_CONFIG_H -I. -I../.. -03 -mcpu=G4 -maltivec -fstrict-aliasing -MT hashtable.o -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.o hashtable.c gcc: unrecognized option '-03' mv -f .deps/hashtable.Tpo .deps/hashtable.Po gcc -DHAVE_CONFIG_H -I. -I../.. -03 -mcpu=G4 -maltivec -fstrict-aliasing -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c gcc: unrecognized option '-03' mv -f .deps/load.Tpo .deps/load.Po gcc -DHAVE_CONFIG_H -I. -I../.. -03 -mcpu=G4 -maltivec -fstrict-aliasing -MT strbuffer.o -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.o strbuffer.c gcc: unrecognized option '-03' mv -f .deps/strbuffer.Tpo .deps/strbuffer.Po gcc -DHAVE_CONFIG_H -I. -I../.. -03 -mcpu=G4 -maltivec -fstrict-aliasing -MT utf.o -MD -MP -MF .deps/utf.Tpo -c -o utf.o utf.c gcc: unrecognized option '-03' mv -f .deps/utf.Tpo .deps/utf.Po gcc -DHAVE_CONFIG_H -I. -I../.. -03 -mcpu=G4 -maltivec -fstrict-aliasing -MT value.o -MD -MP -MF .deps/value.Tpo -c -o value.o value.c gcc: unrecognized option '-03' mv -f .deps/value.Tpo .deps/value.Po rm -f libjansson.a ar cru libjansson.a dump.o hashtable.o load.o strbuffer.o utf.o value.o ranlib libjansson.a make[3]: Leaving directory `/home/user/Downloads/cpuminer/compat/jansson' make[3]: Entering directory `/home/user/Downloads/cpuminer/compat' make[3]: Für das Ziel »all-am« ist nichts zu tun. make[3]: Leaving directory `/home/user/Downloads/cpuminer/compat' make[2]: Leaving directory `/home/user/Downloads/cpuminer/compat' make[2]: Entering directory `/home/user/Downloads/cpuminer' gcc -DHAVE_CONFIG_H -I. -pthread -I./compat/jansson -03 -mcpu=G4 -maltivec -fstrict-aliasing -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c gcc: unrecognized option '-03' mv -f .deps/minerd-cpu-miner.Tpo .deps/minerd-cpu-miner.Po gcc -DHAVE_CONFIG_H -I. -pthread -I./compat/jansson -03 -mcpu=G4 -maltivec -fstrict-aliasing -MT minerd-util.o -MD -MP -MF .deps/minerd-util.Tpo -c -o minerd-util.o `test -f 'util.c' || echo './'`util.c gcc: unrecognized option '-03' mv -f .deps/minerd-util.Tpo .deps/minerd-util.Po gcc -DHAVE_CONFIG_H -I. -pthread -I./compat/jansson -03 -mcpu=G4 -maltivec -fstrict-aliasing -MT minerd-scrypt.o -MD -MP -MF .deps/minerd-scrypt.Tpo -c -o minerd-scrypt.o `test -f 'scrypt.c' || echo './'`scrypt.c gcc: unrecognized option '-03' mv -f .deps/minerd-scrypt.Tpo .deps/minerd-scrypt.Po gcc -03 -mcpu=G4 -maltivec -fstrict-aliasing -pthread -o minerd minerd-cpu-miner.o minerd-util.o minerd-scrypt.o -lcurl compat/jansson/libjansson.a -lpthread gcc: unrecognized option '-03' make[2]: Leaving directory `/home/user/Downloads/cpuminer' make[1]: Leaving directory `/home/user/Downloads/cpuminer' user@iBookG4:~/Downloads/cpuminer$ ls aclocal.m4 config.sub install-sh mknsis.sh AUTHORS configure LICENSE NEWS autogen.sh configure.ac Makefile README autom4te.cache COPYING Makefile.am scrypt.c ChangeLog cpu-miner.c Makefile.in scrypt-cell-spu.c compat cpuminer-config.h minerd scrypt-cell-spu.h compat.h cpuminer-config.h.in minerd-cpu-miner.o scrypt-simd-helpers.h compile depcomp minerd-scrypt.o sha256-helpers.h config.guess elist.h minerd-util.o stamp-h1 config.log example-cfg.json miner.h util.c config.status INSTALL missing user@iBookG4:~/Downloads/cpuminer$ ./minerd --userpass meti.2:2 --url http://litecoinpool.org:9332 --algo scrypt [2012-01-02 19:17:27] Binding thread 0 to cpu 0 [2012-01-02 19:17:27] Long-polling activated for http://litecoinpool.org:9332/LP [2012-01-02 19:17:28] 1 miner threads started, using SHA256 'scrypt' algorithm. [2012-01-02 19:17:31] LONGPOLL detected new block [2012-01-02 19:17:31] thread 0: 144 hashes, 0.04 khash/sec [2012-01-02 19:18:00] LONGPOLL detected new block [2012-01-02 19:18:00] thread 0: 1306 hashes, 0.04 khash/sec [2012-01-02 19:18:11] LONGPOLL detected new block [2012-01-02 19:18:12] thread 0: 488 hashes, 0.04 khash/sec [2012-01-02 19:19:12] thread 0: 2651 hashes, 0.04 khash/sec [2012-01-02 19:20:12] thread 0: 2661 hashes, 0.04 khash/sec [2012-01-02 19:21:16] thread 0: 2659 hashes, 0.04 khash/sec
Thanks for the quick reply btw!
|
|
|
|