Post
Topic
Board Announcements (Altcoins)
Re: [EKN] Elektron - EKN - ElektronFoundation TOR ANON - AutoCheckpoints - C-cex!
by
MBonev
on 20/04/2015, 20:21:39 UTC
Yes, i solved the problem with missing obj/tor directory by myself - it's a common issue with other coins too.
I'm talking about the following part of memarea.c
Code:
#define MEMAREA_ALIGN SIZEOF_VOID_P

#if MEMAREA_ALIGN == 4
#define MEMAREA_ALIGN_MASK 3lu
#elif MEMAREA_ALIGN == 8
#define MEMAREA_ALIGN_MASK 7lu
#else
#error "void* is neither 4 nor 8 bytes long. I don't know how to align stuff."
#endif
For some reason on my 32-bit distro MEMAREA_ALIGN is 8 so MEMAREA_ALIGN_MASK  is 7lu.
I have to manually hardcode 3lu there so the wallet doesn't crash.
Disclaimer: I'm a truly noob C programmer  Smiley