Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - LittlSp3rling

#1
Technical Support / Re: makefile.unix stuck
January 10, 2014, 11:09:28 PM
YEAH!!! You're my hero!  :) w00t
#2
Technical Support / Re: makefile.unix stuck
January 10, 2014, 10:34:38 PM
Here's what I did:

So I fired up the ptsminer again.
Ctrl-A returned ^A
Ctrl-D returned nothing
Killed puTTY
After logging back in,
screen -r returned "There is no screen to be resumed."
Fired up ptsminer again
Ctrl-A returned ^A
Ctrl-D returned nothing
Ctrl-C returned the command line
Ctrl-a d with command line returned terminated by host/logout

I have a nagging feeling that I do something really simple and obvious wrong. :-[

root@ProtoSharesMining001:~# screen -r
There is no screen to be resumed.
root@ProtoSharesMining001:~# cd ptsminer/src
root@ProtoSharesMining001:~/ptsminer/src# ./ptsminer PnosDKr44FACsCVPDckEHZzeaCYAjoTkb7 2 27 sse4
********************************************
*** ptsminer - Pts Pool Miner v0.7 RC2 <experimental>
*** by xolokram/TB - www.beeeeer.org - glhf
***
*** press CTRL+C to exit
********************************************
using SSE4
spawning 2 worker thread(s)
[WORKER0] Hello, World!
[WORKER0] GoGoGo!
[WORKER1] Hello, World!
[WORKER1] GoGoGo!
connecting to 54.201.26.128:1337
[MASTER] work received - sharetarget: 03ffffffffffffffffffffffffffffffffffffffffffffffffffffffbeefde4d
[MASTER] work received - sharetarget: 03ffffffffffffffffffffffffffffffffffffffffffffffffffffffbeefde4d
^A^Croot@ProtoSharesMining001:~/ptsminer/src# logout
#3
Technical Support / Re: makefile.unix stuck
January 10, 2014, 08:40:16 PM
Again thank you for taking the time to answer my questions. I've made some major strides in understanding but still have much to comprehend... I prefer to learn it and be able to do it myself. I accumulated some of my questions here.

On the Digital Ocean 2CPU/2GB Droplet, how frequent should the PTS payouts be? I haven't seen any, yet.
Using puTTY, how can I close the session and let ptsminer run? Maybe it is running, but I can't tell. When I reconnect, it doesn't seem to be running.
Can MMC also be mined in the cloud - same way as PTS?
I haven't managed to mine any PTS yet, but what is customary when it comes to tipping helpful forum members?
#4
Technical Support / Re: makefile.unix stuck
January 10, 2014, 07:16:00 PM
It's fired up. Thank you, arcke!
How can I monitor it, and how do I know it's still running? The screen -d and screen -r commands don't seem to work when reconnecting.

root@ProtoSharesMining001:~/ptsminer/src# ./ptsminer PnosDKr44FACsCVPDckEHZzeaCYAjoTkb7 2 27 sse4
********************************************
*** ptsminer - Pts Pool Miner v0.7 RC2 <experimental>
*** by xolokram/TB - www.beeeeer.org - glhf
***
*** press CTRL+C to exit
********************************************
using SSE4
spawning 2 worker thread(s)
[WORKER0] Hello, World!
[WORKER0] GoGoGo!
[WORKER1] Hello, World!
[WORKER1] GoGoGo!
connecting to 54.201.26.128:1337
[MASTER] work received - sharetarget: 03ffffffffffffffffffffffffffffffffffffffffffffffffffffffbeefde4d
[MASTER] work received - sharetarget: 03ffffffffffffffffffffffffffffffffffffffffffffffffffffffbeefde4d
[WORKER] collision found: 44006518 <-> 58181381 #50 @ 1389380612 by 0
[MASTER] submitted share -> REJECTED
[STATS] 2014-Jan-10 14:03:47 | 14.1 c/m | 0.3 sh/m | VL: 0 (0.0%), RJ: 1 (100.0%), ST: 0 (0.0%)
[WORKER] collision found: 37395586 <-> 28848827 #72 @ 1389380722 by 0
[MASTER] submitted share -> REJECTED
[STATS] 2014-Jan-10 14:05:19 | 14.2 c/m | 0.4 sh/m | VL: 0 (0.0%), RJ: 2 (100.0%), ST: 0 (0.0%)
#5
Technical Support / Re: makefile.unix stuck
January 10, 2014, 03:33:05 PM
Thank you ZVS!
Here's where I get stuck...

root@ProtoSharesMining001:~/ptsminer/src# make -f makefile.unix && cd ~
g++ -c -O2  -fpermissive -o obj/cpuid.o cpuid.c
yasm -f elf64 -o obj/sha512_avx.o intel/sha512_avx.asm
yasm -f elf64 -o obj/sha512_sse4.o intel/sha512_sse4.asm
g++ -c -O2  -fpermissive -o obj/sha512.o sha512.c
g++ -c -O1  -fpermissive -o obj/sph_sha2.o sph_sha2.c
sph_sha2.c: In function 'void sph_sha224_init(void*)':
sph_sha2.c:628:5: warning: invalid conversion from 'void*' to 'sph_sha224_context*' [-fpermissive]
  sc = cc;
     ^
sph_sha2.c: In function 'void sph_sha256_init(void*)':
sph_sha2.c:643:5: warning: invalid conversion from 'void*' to 'sph_sha256_context* {aka sph_sha224_context*}' [-fpermissive]
  sc = cc;
     ^
In file included from sph_sha2.c:655:0:
sph_md_helper.c: In function 'void sha224_short(void*, const void*, size_t)':
sph_md_helper.c:136:5: warning: invalid conversion from 'void*' to 'sph_sha224_context*' [-fpermissive]
  sc = cc;
     ^
sph_md_helper.c: In function 'void sph_sha224(void*, const void*, size_t)':
sph_md_helper.c:186:5: warning: invalid conversion from 'void*' to 'sph_sha224_context*' [-fpermissive]
  sc = cc;
     ^
sph_md_helper.c:208:21: warning: invalid conversion from 'const void*' to 'const unsigned char*' [-fpermissive]
   RFUN(data, SPH_VAL);
                     ^
sph_sha2.c:615:1: warning:   initializing argument 1 of 'void sha2_round(const unsigned char*, sph_u32*)' [-fpermissive]
sha2_round(const unsigned char *data, sph_u32 r[8])
^
In file included from sph_sha2.c:655:0:
sph_md_helper.c: In function 'void sha224_addbits_and_close(void*, unsigned int, unsigned int, void*, unsigned int)':
sph_md_helper.c:250:5: warning: invalid conversion from 'void*' to 'sph_sha224_context*' [-fpermissive]
  sc = cc;
     ^
g++ -c -O1  -fpermissive -o obj/sph_sha2big.o sph_sha2big.c
sph_sha2big.c: In function 'void sph_sha384_init(void*)':
sph_sha2big.c:191:5: warning: invalid conversion from 'void*' to 'sph_sha384_context*' [-fpermissive]
  sc = cc;
     ^
sph_sha2big.c: In function 'void sph_sha512_init(void*)':
sph_sha2big.c:202:5: warning: invalid conversion from 'void*' to 'sph_sha512_context* {aka sph_sha384_context*}' [-fpermissive]
  sc = cc;
     ^
In file included from sph_sha2big.c:210:0:
sph_md_helper.c: In function 'void sha384_short(void*, const void*, size_t)':
sph_md_helper.c:136:5: warning: invalid conversion from 'void*' to 'sph_sha384_context*' [-fpermissive]
  sc = cc;
     ^
sph_md_helper.c: In function 'void sph_sha384(void*, const void*, size_t)':
sph_md_helper.c:186:5: warning: invalid conversion from 'void*' to 'sph_sha384_context*' [-fpermissive]
  sc = cc;
     ^
sph_md_helper.c:208:21: warning: invalid conversion from 'const void*' to 'const unsigned char*' [-fpermissive]
   RFUN(data, SPH_VAL);
                     ^
sph_sha2big.c:178:1: warning:   initializing argument 1 of 'void sha3_round(const unsigned char*, sph_u64*)' [-fpermissive]
sha3_round(const unsigned char *data, sph_u64 r[8])
^
In file included from sph_sha2big.c:210:0:
sph_md_helper.c: In function 'void sha384_addbits_and_close(void*, unsigned int, unsigned int, void*, unsigned int)':
sph_md_helper.c:250:5: warning: invalid conversion from 'void*' to 'sph_sha384_context*' [-fpermissive]
  sc = cc;
     ^
g++ -c -O2  -pthread -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/ptsminer/src -I/root/ptsminer/src/obj -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -o obj/main_poolminer.o main_poolminer.cpp
g++ -Wl,-z,relro -Wl,-z,now  -o ptsminer  obj/cpuid.o obj/sha512_avx.o obj/sha512_sse4.o obj/sha512.o obj/sph_sha2.o obj/sph_sha2big.o obj/main_poolminer.o  -Wl,-Bdynamic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l boost_chrono -Wl,-Bdynamic -l z -l dl -l pthread
root@ProtoSharesMining001:~# screen –S ptc
[screen is terminating]
root@ProtoSharesMining001:~#
#6
Technical Support / Re: makefile.unix stuck
January 10, 2014, 12:10:29 AM
I'm stuck at the same command but different error msg.

Also followed the instructions from http://www.protoshares.com/mining.html

This command:
make -f makefile.unix && cd ~

Returns this:
sph_sha2.c: In function 'void sph_sha224_init(void*)':
sph_sha2.c:628:5: warning: invalid conversion from 'void*' to 'sph_sha224_contex                                                                                        t*' [-fpermissive]

Ubuntu 13.10 x64

Please help