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:~#