This project has moved and is read-only. For the latest updates, please go here.

Issues compiling on Mac OS X El Capitan 10.11.5

Topics: Technical Issues
Sep 13, 2016 at 8:22 PM
Edited Sep 21, 2016 at 8:12 PM
I'm compiling on OS X and I keep getting this compilation error:

../Crypto/Whirlpool.c:511:3: error: unknown token in expression
            KSH(2, 3, 2, 1, 0, 7)
            ^
../Crypto/Whirlpool.c:452:2: note: expanded from macro 'KSH'
    KSH##op(b, [AS_REG_6+2*2048+8*WORD_REG(di)])\
    ^
<scratch space>:264:1: note: expanded from here
KSH2
^
../Crypto/Whirlpool.c:445:2: note: expanded from macro 'KSH2'
    AS2(movq        [SSE2_workspace+8*a], mm##a)
    ^
/Users/render001/Desktop/legioncrypt/src/Crypto/cpu.h:149:23: note: expanded from macro 'AS2'
#define AS2(x, y) GNU_AS2(x, y)
                  ^
/Users/render001/Desktop/legioncrypt/src/Crypto/cpu.h:144:27: note: expanded from macro 'GNU_AS2'
#define GNU_AS2(x, y) #x ", " #y ";" NEW_LINE
                      ^
<scratch space>:270:2: note: expanded from here
"movq [%3+81]"
^
<inline asm>:162:7: note: instantiated into assembly here
movq [%r10+8
1], mm1;
  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

Can anyone help with this?