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.


Messages - MarcusDe

Pages: [1]
1
Its simple, there are no lines with:
[MASTER] submitted share -> SHARE

2
@erko

Thanks for help!

Well, there is no endian.h and be64toh in (recursive saerch)
/usr/include
/usr/local/include
or anywhere else ;-/

OS is old suse enterprise, without support.
Any more ideas?

edit:
Heh, I found those defines in system which have them, I will try to put them manually in ptsminer files.
edit2:
Helped myself and others with problem like this:
in sha512.c added:
#include <byteswap.h>
#define be64toh(x) __bswap_64 (x)

Works, on defaults c/m moved from 190 to 200.

3
Hi,

I could biuld all miners before without problems;
but 0.7 gives me this:

g++ -c -O2  -fpermissive -o obj/sha512.o sha512.c
sha512.c: In function ‘void _final(SHA512_Context*, uint8_t*, int, int)’:
sha512.c:103:32: error: ‘be64toh’ was not declared in this scope
 #define BYTESWAP64(x) be64toh(x)
                                ^
sha512.c:257:17: note: in expansion of macro ‘BYTESWAP64’
  lengthPad[0] = BYTESWAP64(sc->totalLength[0]);
                 ^
make: *** [obj/sha512.o] Error 1


I even compiled yasm + gcc from source and that didnt help lol.

Pages: [1]