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 - tony29

#1
为什么我的卖空单一直无法成交呢, 我挂的价格比最高买价要低呢
#2
to: jabbaah
thanks you , I got it work now!
#3
hi,jabbaah
I follow your steps ,butt still get this:

g++ -Wl,-z,relro -Wl,-z,now  -o ptsminer  obj/cpuid.o obj/sha512_avx.o obj/sha51                                             2_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

(i just installed glibc-static ,but still not work)
#4
hi, i am build ptsminer on centos 6 , it seems better now, bot i got this information:

/usr/bin/ld: cannot find -lboost_thread


what can i do? i have already installed boost-devel
#5
OK,thanks  jabbaah, I will send you 1 pts.
#6
I am running a CentOS 5.7 64 on cloud server , does it matter?
#7

yes i have installed yasm ,it give me this information when i execute :

[root@AY131122190016007b5aZ src]# yasm
yasm: No input files specified

just now I found a patch from google, and added belowing code to sha512.c:
#include <sys/param.h>
#ifdef _BSD
#include <sys/endian.h>
#elif defined(__linux__)
#include <byteswap.h>
# if __BYTE_ORDER == __LITTLE_ENDIAN
# ifndef htobe64
# define htobe64(x) bswap_64 (x)
# endif
# ifndef be64toh
# define be64toh(x) bswap_64 (x)
# endif
# else
# ifndef htobe64
# define htobe64(x) (x)
# endif
# ifndef be64toh
# define be64toh(x) (x)
# endif
# endif
#endif

  #ifdef HAVE_CONFIG_H
  #include "config.h"
  #endif

but when i make it againg ,
it shows me a lot of  "*** has not been declared" and
"*** was not declared in this scope"
#8
hi, i am not familar with linux, could anyone help me plz. when i make the linux source code on centos6.2-64 ,it give me this information:


[root@AY131122190016007b5aZ src]# make -f makefile.unix
g++ -c -O2  -fpermissive -o obj/sha512.o sha512.c
sha512.c: In function ‘void _final(SHA512_Context*, uint8_t*, int, int)’:
sha512.c:257: error: ‘be64toh’ was not declared in this scope
make: *** [obj/sha512.o] Error 1

how can i make it work?
#9
I want join ,please give a chane! thank you very very much!