1
BitShares PTS / Re: ★Giveaway I★ Claim your free PTS - rule inside
« on: December 21, 2013, 11:26:06 am »
PnzfnrFK4r6wrEtTCDuDnzqai5ZSXoAyu5
Gracias!
Gracias!
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.
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-mt -Wl,-Bdynamic -l z -l dl -l pthread
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [ptsminer] Error 1
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
stepping : 10
cpu MHz : 2659.942
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 xsave lahf_lm dts tpr_shadow vnmi flexpriority
bogomips : 5319.88
clflush size : 64
cache_alignment : 64
address sizes : 38 bits physical, 48 bits virtual
@MrDiscordia:
g++ (the C++ compiler) is missing!
It would be helpful for new people working under linux to have the following instruction stated in first post:Code: [Select]sudo apt-get update
sudo apt-get install yasm -y git make g++ build-essential libminiupnpc-dev
sudo apt-get install -y libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix
git clone https://github.com/thbaumbach/ptsminer
cd ~/ptsminer/src
make -f makefile.unix
./ptsminer <your PTS address> <number of threads>
make -f makefile.unix
g++ -c -O2 -fpermissive -o obj/cpuid.o cpuid.c
make: g++: Command not found
make: *** [obj/cpuid.o] Error 127
I checked the ptsminer compilation on a CentOS 6.3 VM now. Following is the way it works...
Use the makefile.unix.no-chrono - fire up your favourite editor and change line 27 as follows:
Old:
-l boost_thread$(BOOST_LIB_SUFFIX)
New:
-l boost_thread-mt$(BOOST_LIB_SUFFIX)
Now compile using
make -f makefile.unix.no-chrono clean
make -f makefile.unix.no-chrono
Voilà! You should get a brand new ptsminer on CentOS. ;-)