Post
Topic
Board Announcements (Altcoins)
Re: [ANN][YAC] YACoin ongoing development
by
crendore
on 27/05/2013, 12:46:30 UTC
...

Thanks hanzac! that defintiely did the trick, i feel like i am a lot closer now, but stuck on one other small ASM related thing.
Code:
/scrypt-jane-portable-x86.h:226: warning: implicit declaration of function 'asm_gcc'
/scrypt-jane-portable-x86.h:227: error: expected ';' before 'a1'

EDIT: so then i realized that X86_64ASM was no longer being defined, so then asm_gcc wasn't getting initialized properly.  So instead i only commented out part of the block you suggested, and left the definition for X86_64ASM
Code:
#if defined(CPU_X86_64) && defined(COMPILER_GCC)
    #define X86_64ASM
// #define X86_64ASM_SSE2
// #if (COMPILER_GCC >= 40102)
// #define X86_64ASM_SSSE3
// #endif
// #if (COMPILER_GCC >= 40400)
// #define X86_64ASM_AVX
// #endif
#endif

And it built with no errors, but a whole bunch of warnings, do these warnings matter??
Code:
src/scrypt-jane/code/scrypt-jane-chacha.h:12: In file included from ../altcoins/yacoin/src/scrypt-jane/code/scrypt-jane-chacha.h:12,
src/scrypt-jane/code/scrypt-jane-romix.h:2: from ../altcoins/yacoin/src/scrypt-jane/code/scrypt-jane-romix.h:2,
src/scrypt-jane/scrypt-jane.c:12: from ../altcoins/yacoin/src/scrypt-jane/scrypt-jane.c:12:
src/scrypt-jane/code/scrypt-jane-romix-basic.h:-1: In function 'scrypt_romix_nop':
src/scrypt-jane/code/scrypt-jane-romix-basic.h:8: warning: unused parameter 'blocks'
src/scrypt-jane/code/scrypt-jane-romix-basic.h:8: warning: unused parameter 'nblocks'
src/scrypt-jane/code/scrypt-jane-romix-basic.h:-1: In function 'scrypt_romix_convert_endian':
src/scrypt-jane/code/scrypt-jane-romix-basic.h:13: warning: unused parameter 'blocks'
src/scrypt-jane/code/scrypt-jane-romix-basic.h:13: warning: unused parameter 'nblocks'
src/scrypt-jane/code/scrypt-jane-romix.h:2: In file included from ../altcoins/yacoin/src/scrypt-jane/code/scrypt-jane-romix.h:2,
src/scrypt-jane/scrypt-jane.c:12: from ../altcoins/yacoin/src/scrypt-jane/scrypt-jane.c:12:
src/scrypt-jane/code/scrypt-jane-chacha.h:-1: In function 'scrypt_getROMix':
src/scrypt-jane/code/scrypt-jane-chacha.h:56: warning: unused variable 'cpuflags'
src/scrypt-jane/code/scrypt-jane-chacha.h:-1: In function 'scrypt_test_mix':
src/scrypt-jane/code/scrypt-jane-chacha.h:109: warning: unused variable 'cpuflags'
src/scrypt-jane/scrypt-jane.c:13: In file included from ../altcoins/yacoin/src/scrypt-jane/scrypt-jane.c:13:
src/scrypt-jane/code/scrypt-jane-test-vectors.h:-1: At top level:
src/scrypt-jane/code/scrypt-jane-test-vectors.h:9: warning: missing initializer
src/scrypt-jane/code/scrypt-jane-test-vectors.h:9: warning: (near initialization for 'post_settings[2].salt')
src/scrypt-jane/code/scrypt-jane-romix-basic.h:8: warning: 'scrypt_romix_nop' defined but not used

Thanks!