jalen
Newbie
Offline
Activity: 6
Merit: 0
|
|
May 05, 2011, 08:21:20 AM |
|
LOL this miner runs times better in my Win7 VM than my native official client on Mac OS. Is there a way to run it native on Mac OS?
I'd like to second this. I'm having one heck of a time getting this compiled and running on Mac OS. Ver 10.6.x with xcode tools installed. It keeps hanging on jwasm, but that doesn't seem to be set to run a make that OSX could handle. 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 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 for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for g++... /usr/bin/g++ checking build system type... i386-apple-darwin10.7.0 checking for jwasm... no configure: error: Cannot find jwasm.
|
|
|
|
|
|
|
|
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
thedrs
Newbie
Offline
Activity: 40
Merit: 0
|
|
May 05, 2011, 03:24:39 PM |
|
After some work with luke-jr, I can now say that ufasoft now works with his pool (Eligius). Typical command line bitcoin-miner.exe -a 5 -o http://pool.bitcoin.dashjr.org:8337 -u <your bitcoin address> -p <whatever> what i like about luke's pool is that you can use port 80 too (great for NATs) and you don't need to register on a website, you just send the payment address in the user and you receive payments when they go above 1 BTC. I saw there were posts here having problems with bitpenny pool too so i will write what solved the issue here (it might be the same problem there). The problem used to be: after running bitcoin-miner.exe, it would just get stuck on 0 MH/sec. the problem was with the pool because it didn't obey this requirement: "The response MUST include a WWW-Authenticate header field (section 14.47) containing a challenge applicable to the requested resource." This was fixed.
|
|
|
|
sinkillerj
Newbie
Offline
Activity: 36
Merit: 0
|
|
May 05, 2011, 10:15:26 PM |
|
Under 32 bit linux the program appears to compile without any problems, but I get "Error 80004001" when I try to actually use it. Any chance of a precompiled working binary? I have had no problems with the program in windows.
|
|
|
|
Zenitur
|
|
May 06, 2011, 09:51:25 AM |
|
checking for gcc 4.5... configure: error: requires gcc 4.5 or later I need precompiled Linux binary (32 and 64 bit versions).
|
|
|
|
singpolyma
|
|
May 06, 2011, 01:29:35 PM |
|
I got jwasm installed but I have to modify the generated Makefile to add -Gc or -Gz to the flags in order for jwasm to run happily, and then I get: g++-4.5 -std=c++0x -funsigned-char -fno-stack-protector -Wno-invalid-offsetof -I . -I el/inc -g -O2 -o bitcoin-miner bitcoin-miner.o bitcoin-client.o bitcoin-sha256.o bitcoin-sha256-x86x64.o sha256sse.o sha256x86.o ext-text.o ext-protocols.o ext-handlers.o ext-encoding.o threader.o regex.o ext-file.o ext-fw.o datetime.o ext-base.o ext-os.o ext-app.o ext-string.o ext-blob.o ext-stream.o ext-core.o http.o -lrt -ldl -lcurl -lpthread -lpcre bitcoin-sha256-x86x64.o: In function `SseBitcoinSha256::FindNonce(unsigned int&)': /home/singpolyma/.bitcoin/ufasoft_bitcoin-miner-0.8/bitcoin-sha256-x86x64.cpp:63: undefined reference to `CalcSha256Sse' sha256sse.o: In function `_CalcSha256Sse@48': sha256sse.asm:(.text+0x161): undefined reference to `_g_4sha256_k' sha256sse.asm:(.text+0x2be): undefined reference to `_g_sha256_hinit' sha256sse.asm:(.text+0x2cb): undefined reference to `_g_sha256_hinit' sha256x86.o: In function `_CalcSha256@40': sha256x86.asm:(.text+0x96): undefined reference to `_g_sha256_k' sha256x86.asm:(.text+0x183): undefined reference to `_g_sha256_hinit' sha256x86.asm:(.text+0x18e): undefined reference to `_g_sha256_hinit' collect2: ld returned 1 exit status make: *** [bitcoin-miner] Error 1
help?
|
|
|
|
singpolyma
|
|
May 06, 2011, 01:40:21 PM |
|
I tried commenting out the if X64 non-declaration of language like others have and can confirm Error 80004001
|
|
|
|
Dayofswords
Member
Offline
Activity: 138
Merit: 11
Exchange BTC in Telegram https://bit.ly/2MEfiw8
|
|
May 06, 2011, 09:35:22 PM Last edit: May 07, 2011, 01:18:31 AM by Dayofswords |
|
I love you OP
My mining went from ~14mhash/s with 4way on my phenom ll x6 1055T
to ~40-50mhash/s!! Desktop is unusable, but I'll use it when i'm not using the computer
(and thanks thedrs for showing a usable command line, i was clueless on it's use)
I've sent you a tiny donation to ya OP. I'm bitcoin poor but it's something.
EDIT: It's seems to be using my GPU too... how can I turn that off? I want to see how fast it is with sse2 compared to like 4way
|
|
|
|
ufasoft (OP)
|
|
May 07, 2011, 06:15:04 AM |
|
It's seems to be using my GPU too... how can I turn that off? I want to see how fast it is with sse2 compared to like 4way
|
Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
|
|
|
Red Dragon
Newbie
Offline
Activity: 32
Merit: 0
|
|
May 07, 2011, 11:38:39 PM |
|
Пocтaвил нa CentOS 5.5 в кaчecтвe aльтepнaтивнoгo gcc-4.6.0, нo нe пoлyчaeтcя cкoмпилиpoвaть, чтo peкoмeндyeтe? make g++460 -DPACKAGE_NAME=\"ufasoft_bitcoin-miner\" -DPACKAGE_TARNAME=\"ufasoft_bitcoin-miner\" -DPACKAGE_VERSION=\"0.8\" -DPACKAGE_STRING=\"ufasoft_bitcoin-miner\ 0.8\" -DPACKAGE_BUGREPORT=\"support@ufasoft.com\" -DPACKAGE_URL=\"http://ufasoft.com/open/bitcoin\" -DPACKAGE=\"ufasoft_bitcoin-miner\" -DVERSION=\"0.8\" -DHAVE_LIBPCRE=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBCURL=1 -DHAVE_LIBDL=1 -DHAVE_LIBRT=1 -I. -std=c++0x -funsigned-char -fno-stack-protector -Wno-invalid-offsetof -I . -I el/inc -g -O2 -MT bitcoin-miner.o -MD -MP -MF .deps/bitcoin-miner.Tpo -c -o bitcoin-miner.o bitcoin-miner.cpp In file included from el/inc/../libext/ext-cpp.h:75:0, from el/inc/libext.h:1660, from el/inc/ext.h:28, from bitcoin-miner.cpp:19: el/inc/../libext/cpp-old.h:64:22: error: expected unqualified-id before ‘nullptr’ In file included from /opt/gcc460/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../include/c++/4.6.0/utility:69:0, from /opt/gcc460/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../include/c++/4.6.0/algorithm:61, from el/inc/../libext/ext-cpp.h:119, from el/inc/libext.h:1660, from el/inc/ext.h:28, from bitcoin-miner.cpp:19: /opt/gcc460/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../include/c++/4.6.0/x86_64-unknown-linux-gnu/bits/c++config.h:159:29: error: conflicting declaration ‘typedefstd::nullptr_t std::nullptr_t’ el/inc/../libext/cpp-old.h:52:7: error: ‘class std::nullptr_t’ has a previous declaration as ‘class std::nullptr_t’ In file included from el/inc/../libext/ext-cpp.h:537:0, from el/inc/libext.h:1660, from el/inc/ext.h:28, from bitcoin-miner.cpp:19: el/inc/../libext/ext-string.h: In member function ‘Ext::String& Ext::String::TrimLeft()’: el/inc/../libext/ext-string.h:220:48: error: conversion from ‘std::nullptr_t’ to ‘const Ext::String’ is ambiguous el/inc/../libext/ext-string.h:220:48: note: candidates are: el/inc/../libext/ext-string.h:137:2: note: Ext::String::String(const Char*) el/inc/../libext/ext-string.h:136:2: note: Ext::String::String(const char*) el/inc/../libext/ext-string.h:218:9: error: in passing argument 1 of ‘Ext::String Ext::String::TrimStart(Ext::RCString) const’ el/inc/../libext/ext-string.h: In member function ‘Ext::String& Ext::String::TrimRight()’: el/inc/../libext/ext-string.h:221:47: error: conversion from ‘std::nullptr_t’ to ‘const Ext::String’ is ambiguous el/inc/../libext/ext-string.h:221:47: note: candidates are: el/inc/../libext/ext-string.h:137:2: note: Ext::String::String(const Char*) el/inc/../libext/ext-string.h:136:2: note: Ext::String::String(const char*) el/inc/../libext/ext-string.h:219:9: error: in passing argument 1 of ‘Ext::String Ext::String::TrimEnd(Ext::RCString) const’ el/inc/../libext/ext-string.h: In member function ‘Ext::String Ext::String::Trim() const’: el/inc/../libext/ext-string.h:222:41: error: conversion from ‘std::nullptr_t’ to ‘const Ext::String’ is ambiguous el/inc/../libext/ext-string.h:222:41: note: candidates are: el/inc/../libext/ext-string.h:137:2: note: Ext::String::String(const Char*) el/inc/../libext/ext-string.h:136:2: note: Ext::String::String(const char*) el/inc/../libext/ext-string.h:218:9: error: in passing argument 1 of ‘Ext::String Ext::String::TrimStart(Ext::RCString) const’ el/inc/../libext/ext-string.h:222:51: error: conversion from ‘std::nullptr_t’ to ‘const Ext::String’ is ambiguous el/inc/../libext/ext-string.h:222:51: note: candidates are: el/inc/../libext/ext-string.h:137:2: note: Ext::String::String(const Char*) el/inc/../libext/ext-string.h:136:2: note: Ext::String::String(const char*) el/inc/../libext/ext-string.h:219:9: error: in passing argument 1 of ‘Ext::String Ext::String::TrimEnd(Ext::RCString) const’ In file included from el/inc/../libext/ext-cpp.h:823:0, from el/inc/libext.h:1660, from el/inc/ext.h:28, from bitcoin-miner.cpp:19: el/inc/../libext/ext-fw.h: In member function ‘Ext::String Ext::NameValueCollection::Get(Ext::RCString)’: el/inc/../libext/ext-fw.h:874:65: error: operands to ?: have different types ‘Ext::String’ and ‘std::nullptr_t’ In file included from el/inc/../libext/ext-cpp.h:824:0, from el/inc/libext.h:1660, from el/inc/ext.h:28, from bitcoin-miner.cpp:19: el/inc/../libext/ext-net.h: In copy constructor ‘Ext::IPAddress::IPAddress(const Ext::IPAddress&)’: el/inc/../libext/ext-net.h:151:25: error: call of overloaded ‘String(std::nullptr_t)’ is ambiguous el/inc/../libext/ext-net.h:151:25: note: candidates are: el/inc/../libext/ext-string.h:138:10: note: Ext::String::String(const string&) el/inc/../libext/ext-string.h:137:2: note: Ext::String::String(const Char*) el/inc/../libext/ext-string.h:136:2: note: Ext::String::String(const char*) el/inc/../libext/ext-string.h:108:2: note: Ext::String::String(Ext::RCString) In file included from el/inc/../libext/ext-cpp.h:827:0, from el/inc/libext.h:1660, from el/inc/ext.h:28, from bitcoin-miner.cpp:19: el/inc/../libext/ext-http.h: In constructor ‘Ext::WebRequest::WebRequest()’: el/inc/../libext/ext-http.h:246:17: error: conversion from ‘std::nullptr_t’ to ‘const Ext::String’ is ambiguous el/inc/../libext/ext-http.h:246:17: note: candidates are: el/inc/../libext/ext-string.h:137:2: note: Ext::String::String(const Char*) el/inc/../libext/ext-string.h:136:2: note: Ext::String::String(const char*) el/inc/../libext/ext-http.h:231:2: error: in passing argument 1 of ‘Ext::NetworkCredentials::NetworkCredentials(Ext::RCString, Ext::RCString)’ el/inc/../libext/ext-http.h:246:17: error: conversion from ‘std::nullptr_t’ to ‘const Ext::String’ is ambiguous el/inc/../libext/ext-http.h:246:17: note: candidates are: el/inc/../libext/ext-string.h:137:2: note: Ext::String::String(const Char*) el/inc/../libext/ext-string.h:136:2: note: Ext::String::String(const char*) el/inc/../libext/ext-http.h:231:2: error: in passing argument 2 of ‘Ext::NetworkCredentials::NetworkCredentials(Ext::RCString, Ext::RCString)’ el/inc/../libext/ext-http.h: In constructor ‘Ext::WebClient::WebClient()’: el/inc/../libext/ext-http.h:506:34: error: conversion from ‘std::nullptr_t’ to ‘const Ext::String’ is ambiguous el/inc/../libext/ext-http.h:506:34: note: candidates are: el/inc/../libext/ext-string.h:137:2: note: Ext::String::String(const Char*) el/inc/../libext/ext-string.h:136:2: note: Ext::String::String(const char*) el/inc/../libext/ext-http.h:231:2: error: in passing argument 1 of ‘Ext::NetworkCredentials::NetworkCredentials(Ext::RCString, Ext::RCString)’ el/inc/../libext/ext-http.h:506:34: error: conversion from ‘std::nullptr_t’ to ‘const Ext::String’ is ambiguous el/inc/../libext/ext-http.h:506:34: note: candidates are: el/inc/../libext/ext-string.h:137:2: note: Ext::String::String(const Char*) el/inc/../libext/ext-string.h:136:2: note: Ext::String::String(const char*) el/inc/../libext/ext-http.h:231:2: error: in passing argument 2 of ‘Ext::NetworkCredentials::NetworkCredentials(Ext::RCString, Ext::RCString)’ el/inc/../libext/ext-http.h:506:34: error: call of overloaded ‘String(std::nullptr_t)’ is ambiguous el/inc/../libext/ext-http.h:506:34: note: candidates are: el/inc/../libext/ext-string.h:138:10: note: Ext::String::String(const string&) el/inc/../libext/ext-string.h:137:2: note: Ext::String::String(const Char*) el/inc/../libext/ext-string.h:136:2: note: Ext::String::String(const char*) el/inc/../libext/ext-string.h:108:2: note: Ext::String::String(Ext::RCString) el/inc/../libext/ext-http.h:506:34: error: conversion from ‘std::nullptr_t’ to ‘const Ext::String’ is ambiguous el/inc/../libext/ext-http.h:506:34: note: candidates are: el/inc/../libext/ext-string.h:137:2: note: Ext::String::String(const Char*) el/inc/../libext/ext-string.h:136:2: note: Ext::String::String(const char*) el/inc/../libext/ext-http.h:439:2: error: in passing argument 1 of ‘Ext::HttpWebRequest::HttpWebRequest(Ext::RCString)’ In file included from bitcoin-miner.cpp:23:0: bitcoin-client.h: In member function ‘virtual Ext::String WorkerThreadBase::GetDeviceName()’: bitcoin-client.h:78:43: error: conversion from ‘std::nullptr_t’ to ‘Ext::String’ is ambiguous bitcoin-client.h:78:43: note: candidates are: el/inc/../libext/ext-string.h:137:2: note: Ext::String::String(const Char*) el/inc/../libext/ext-string.h:136:2: note: Ext::String::String(const char*) make: *** [bitcoin-miner.o] Error 1
|
|
|
|
ufasoft (OP)
|
|
May 08, 2011, 12:25:45 AM |
|
Пocтaвил нa CentOS 5.5 в кaчecтвe aльтepнaтивнoгo gcc-4.6.0, нo нe пoлyчaeтcя cкoмпилиpoвaть, чтo peкoмeндyeтe?
I guess the code compatible with g++ 4.5, but not with 4.6 yet. Thank you, I will improve it soon.
|
Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
|
|
|
thedrs
Newbie
Offline
Activity: 40
Merit: 0
|
|
May 08, 2011, 06:28:03 PM |
|
ufasoft - so many of us are having trouble compiling the Linux sources, how about just posting a link to binaries for core2duo on linux. I am having the same JWASM problems as mentioned in a few posts before. I am trying to compile on a machine which i don't have root on too. Please just post a linux binary. Thanks, thedrs
|
|
|
|
ufasoft (OP)
|
|
May 08, 2011, 06:32:14 PM |
|
|
Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
|
|
|
ufasoft (OP)
|
|
May 08, 2011, 06:35:59 PM |
|
ufasoft - so many of us are having trouble compiling the Linux sources, how about just posting a link to binaries for core2duo on linux.
There are problems with -static building of application. Without -static it will work only on system, where it was compiled.
|
Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
|
|
|
winnetou
|
|
May 08, 2011, 06:39:27 PM |
|
I want to compile it by myself for windows but I am a coding beginner. I think I can not use the linux source without modifications ? Is the windows source available too?
|
|
|
|
thedrs
Newbie
Offline
Activity: 40
Merit: 0
|
|
May 08, 2011, 06:47:37 PM |
|
There are problems with -static building of application. Without -static it will work only on system, where it was compiled.
what are the problems ? you don't have the static libs to link with ?
|
|
|
|
ufasoft (OP)
|
|
May 08, 2011, 06:53:21 PM |
|
I want to compile it by myself for windows but I am a coding beginner. I think I can not use the linux source without modifications ? Is the windows source available too?
Really sources are common for both Windows and Linux, but compilation under VS 2010 requires additional libs: pcre, and may be some other dependencies.
|
Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
|
|
|
winnetou
|
|
May 08, 2011, 06:55:19 PM |
|
I want to compile it by myself for windows but I am a coding beginner. I think I can not use the linux source without modifications ? Is the windows source available too?
Really sources are common for both Windows and Linux, but compilation under VS 2010 requires additional libs: pcre, and may be some other dependencies. thank you for your answer. so do you compile it without modifications with an other compiler!?
|
|
|
|
Zenitur
|
|
May 08, 2011, 10:15:23 PM Last edit: May 09, 2011, 12:19:30 AM by Zenitur |
|
jwasm -DX64=1 -10 -elf64 -zcw -c -Fosha256sse.o sha256sse.asm JWasm v2.05, Mar 2 2011, Masm-compatible assembler. Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved. Source code is available under the Sybase Open Watcom Public License.
sha256sse.asm(48) : Error A2091: Language type must be specified sha256sse.asm(314) : Error A2142: Unmatched block nesting: CalcSha256Sse sha256sse.asm: 316 lines, 1 passes, 0 ms, 0 warnings, 2 errors make: *** [sha256sse.o] Error 1 Update: same error with jwasm and fix. Tried to apply it with this miner and I haven't success. Update 2: The trouble is only for 64 bit OS. Update 3: I read this http://bitcointalk.org/index.php?topic=3486.msg102211#msg102211 and change IF X64 ELSE OPTION LANGUAGE: C .XMM ENDIF to this All compiles fine. CC="gcc-4.5.2" CXX="g++-4.5.2" ./configure You don''t need to compile 64 bit jwasm. 32 bit official binary can build 64 bit binaries too. I build 64-bit jwasm and got: g++-4.5.2 -std=c++0x -funsigned-char -fno-stack-protector -Wno-invalid-offsetof -I . -I el/inc -g -O2 -o bitcoin-miner bitcoin-miner.o bitcoin-client.o bitcoin-sha256.o bitcoin-sha256-x86x64.o sha256sse.o sha256x86.o ext-text.o ext-protocols.o ext-handlers.o ext-encoding.o threader.o regex.o ext-file.o ext-fw.o datetime.o ext-base.o ext-os.o ext-app.o ext-string.o ext-blob.o ext-stream.o ext-core.o http.o stack-trace.o -lrt -ldl -lcurl -lpthread -lpcre sha256sse.o: file not recognized: File format not recognized collect2: выпoлнeниe ld зaвepшилocь c кoдoм вoзвpaтa 1 make: *** [bitcoin-miner] Oшибкa 1 zenitur@athlon64x2 ~/Downloads/ufasoft_bitcoin-miner-0.10.tar/ufasoft_bitcoin-miner-0.10 $ file sha256sse.o sha256sse.o: ELF 64-bit LSB relocatable, x86-64, invalid version, corrupted section header size
|
|
|
|
SleepMachine
Member
Offline
Activity: 118
Merit: 10
|
|
May 08, 2011, 11:56:12 PM |
|
Does anyone know how i can configure a computer to run this miner only when the computer is otherwise idle? (and stop mining when computer is being used) Would i have to compile the miner into a .scr or are there better ways? This is for windows btw.
|
|
|
|
xenon481
|
|
May 08, 2011, 11:59:47 PM |
|
Does anyone know how i can configure a computer to run this miner only when the computer is otherwise idle? (and stop mining when computer is being used) Would i have to compile the miner into a .scr or are there better ways? This is for windows btw.
Go into Task Manager and set the process to Below Normal priority.
|
Tips Appreciated: 171TQ2wJg7bxj2q68VNibU75YZB22b7ZDr
|
|
|
|