1
BitShares PTS / Re: [ANN] ptsweb.beeeeer.org - Protoshares mining sub-pool (incl. RJ-Fix&64Bit&OSX)
« on: January 26, 2014, 10:43:01 pm »'sudo port install yasm' should do the trick
well that worked but now i'm getting a different error.
yasm -f elf64 -o obj/sha512_avx.o intel/sha512_avx.asm
make: yasm: No such file or directory
make: *** [obj/sha512_avx.o] Error 1
I think it means that I have to install Yasm but I'm not exactly sure how to do that so if you could point me in the right direction or give me some tips on doing that it would be appreciated. thanks.
Well after doing all that I'm getting this really confusing error message that I have no idea what it means.
Code: [Select]
yasm -f elf64 -o obj/sha512_avx.o intel/sha512_avx.asm
yasm -f elf64 -o obj/sha512_sse4.o intel/sha512_sse4.asm
llvm-g++ -c -O2 -fpermissive -o obj/sha512.o sha512.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
clang: warning: argument unused during compilation: '-fpermissive'
llvm-g++ -c -O1 -fpermissive -o obj/sph_sha2.o sph_sha2.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
clang: warning: argument unused during compilation: '-fpermissive'
sph_sha2.c:33:32: warning: pragma diagnostic expected option name
(e.g. "-Wundef") [-Wunknown-pragmas]
#pragma GCC diagnostic ignored "-fpermissive"
^
sph_sha2.c:628:5: error: assigning to 'sph_sha224_context *' from incompatible
type 'void *'
sc = cc;
^ ~~
sph_sha2.c:643:5: error: assigning to 'sph_sha256_context *' (aka
'sph_sha224_context *') from incompatible type 'void *'
sc = cc;
^ ~~
In file included from sph_sha2.c:655:
./sph_md_helper.c:79:32: warning: pragma diagnostic expected option name
(e.g. "-Wundef") [-Wunknown-pragmas]
#pragma GCC diagnostic ignored "-fpermissive"
^
./sph_md_helper.c:136:5: error: assigning to 'sph_sha224_context *' from
incompatible type 'void *'
sc = cc;
^ ~~
./sph_md_helper.c:186:5: error: assigning to 'sph_sha224_context *' from
incompatible type 'void *'
sc = cc;
^ ~~
./sph_md_helper.c:208:3: error: no matching function for call to 'sha2_round'
RFUN(data, SPH_VAL);
^~~~
sph_sha2.c:652:16: note: expanded from macro 'RFUN'
#define RFUN sha2_round
^~~~~~~~~~
sph_sha2.c:615:1: note: candidate function not viable: cannot convert argument
of incomplete type 'const void *' to 'const unsigned char *'
sha2_round(const unsigned char *data, sph_u32 r[8])
^
In file included from sph_sha2.c:655:
./sph_md_helper.c:250:5: error: assigning to 'sph_sha224_context *' from
incompatible type 'void *'
sc = cc;
^ ~~
2 warnings and 6 errors generated.
make: *** [obj/sph_sha2.o] Error 1