Compilation failure on Centos 7.2
160307153648:guest:tmt:~/tmp/mpw:$ ./build -DDEBUG
Will build targets: mpw mpw-bench mpw-tests...
Checking dependency: scrypt...
~/tmp/mpw/lib/scrypt ~/tmp/mpw
Configuring dependency: scrypt...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for clock_gettime in -lrt... yes
checking for clock_gettime... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking for sysinfo... yes
checking for struct sysinfo... yes
checking for struct sysinfo.totalram... yes
checking for struct sysinfo.mem_unit... yes
./configure: line 4437: CHECK_SYSCTL_HW_USERMEM: command not found
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for posix_memalign... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Building dependency: scrypt...
make all-am
make[1]: Entering directory `/home/guest/tmp/mpw/lib/scrypt'
gcc -DHAVE_CONFIG_H -I. -I ./lib/util -I ./lib/scryptenc -I ./lib/crypto -I ./libcperciva/alg -I ./libcperciva/crypto -I
./libcperciva/util -I ./libcperciva/cpusupport -I . -D CPUSUPPORT_CONFIG_FILE=\"cpusupport-config.h\" `. cpusupport-config.h; echo
${CFLAGS_X86_AESNI}` -g -O2 -MT libcperciva_aesni_a-crypto_aes_aesni.o -MD -MP -MF .deps/libcperciva_aesni_a-crypto_aes_aesni.Tpo -
c -o libcperciva_aesni_a-crypto_aes_aesni.o `test -f 'libcperciva/crypto/crypto_aes_aesni.c' || echo './'`libcperciva/crypto/crypto
_aes_aesni.c
/bin/sh: line 0: .: cpusupport-config.h: file not found
In file included from libcperciva/crypto/crypto_aes_aesni.c:7:0:
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/wmmintrin.h:34:3: error: #error "AES/PCLMUL instructions not enabled"
# error "AES/PCLMUL instructions not enabled"
^
libcperciva/crypto/crypto_aes_aesni.c: In function ‘crypto_aes_key_expand_128_aesni’:
libcperciva/crypto/crypto_aes_aesni.c:27:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:63:2: note: in expansion of macro ‘MKRKEY128’
MKRKEY128(rkeys, 1, 0x01);
^
libcperciva/crypto/crypto_aes_aesni.c:27:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:64:2: note: in expansion of macro ‘MKRKEY128’
MKRKEY128(rkeys, 2, 0x02);
^
libcperciva/crypto/crypto_aes_aesni.c:27:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:65:2: note: in expansion of macro ‘MKRKEY128’
MKRKEY128(rkeys, 3, 0x04);
^
libcperciva/crypto/crypto_aes_aesni.c:27:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:66:2: note: in expansion of macro ‘MKRKEY128’
MKRKEY128(rkeys, 4, 0x08);
^
libcperciva/crypto/crypto_aes_aesni.c:27:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:67:2: note: in expansion of macro ‘MKRKEY128’
MKRKEY128(rkeys, 5, 0x10);
^
libcperciva/crypto/crypto_aes_aesni.c:27:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:68:2: note: in expansion of macro ‘MKRKEY128’
MKRKEY128(rkeys, 6, 0x20);
^
libcperciva/crypto/crypto_aes_aesni.c:27:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:69:2: note: in expansion of macro ‘MKRKEY128’
MKRKEY128(rkeys, 7, 0x40);
^
libcperciva/crypto/crypto_aes_aesni.c:27:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:70:2: note: in expansion of macro ‘MKRKEY128’
MKRKEY128(rkeys, 8, 0x80);
^
libcperciva/crypto/crypto_aes_aesni.c:27:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:71:2: note: in expansion of macro ‘MKRKEY128’
MKRKEY128(rkeys, 9, 0x1b);
^
libcperciva/crypto/crypto_aes_aesni.c:27:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:72:2: note: in expansion of macro ‘MKRKEY128’
MKRKEY128(rkeys, 10, 0x36);
^
libcperciva/crypto/crypto_aes_aesni.c: In function ‘crypto_aes_key_expand_256_aesni’:
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:121:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 2, 0xff, 0x01);
^
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:122:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 3, 0xaa, 0x00);
^
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:123:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 4, 0xff, 0x02);
^
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:124:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 5, 0xaa, 0x00);
^
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:125:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 6, 0xff, 0x04);
^
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:126:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 7, 0xaa, 0x00);
^
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:127:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 8, 0xff, 0x08);
^
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:128:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 9, 0xaa, 0x00);
^
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:129:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 10, 0xff, 0x10);
^
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:130:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 11, 0xaa, 0x00);
^
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:131:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 12, 0xff, 0x20);
^
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:132:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 13, 0xaa, 0x00);
^
libcperciva/crypto/crypto_aes_aesni.c:81:5: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
_t = _mm_aeskeygenassist_si128(_t, rcon); \
^
libcperciva/crypto/crypto_aes_aesni.c:133:2: note: in expansion of macro ‘MKRKEY256’
MKRKEY256(rkeys, 14, 0xff, 0x40);
^
libcperciva/crypto/crypto_aes_aesni.c: In function ‘crypto_aes_encrypt_block_aesni’:
libcperciva/crypto/crypto_aes_aesni.c:198:12: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[1]);
^
libcperciva/crypto/crypto_aes_aesni.c:199:12: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[2]);
^
libcperciva/crypto/crypto_aes_aesni.c:200:12: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[3]);
^
libcperciva/crypto/crypto_aes_aesni.c:201:12: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[4]);
^
libcperciva/crypto/crypto_aes_aesni.c:202:12: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[5]);
^
libcperciva/crypto/crypto_aes_aesni.c:203:12: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[6]);
^
libcperciva/crypto/crypto_aes_aesni.c:204:12: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[7]);
^
libcperciva/crypto/crypto_aes_aesni.c:205:12: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[8]);
^
libcperciva/crypto/crypto_aes_aesni.c:206:12: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[9]);
^
libcperciva/crypto/crypto_aes_aesni.c:208:13: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[10]);
^
libcperciva/crypto/crypto_aes_aesni.c:209:13: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[11]);
^
libcperciva/crypto/crypto_aes_aesni.c:212:14: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[12]);
^
libcperciva/crypto/crypto_aes_aesni.c:213:14: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenc_si128(aes_state, aes_key[13]);
^
libcperciva/crypto/crypto_aes_aesni.c:217:12: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
aes_state = _mm_aesenclast_si128(aes_state, aes_key[nr]);
^
make[1]: *** [libcperciva_aesni_a-crypto_aes_aesni.o] Error 1
make[1]: Leaving directory `/home/guest/tmp/mpw/lib/scrypt'
make: *** [all] Error 2
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Maarten Billemo... on 07 Mar, 2016 08:49 PM
Looks like you're having issues building
scrypt
. This should probably be addressed at https://github.com/Tarsnap/scrypt instead.Maarten Billemont closed this discussion on 07 Mar, 2016 08:49 PM.