intel compiler

だと、jansson が一発 make できなかった。
icc

 $ CC=icc ./configure --prefix=$HOME
 $ make
 ...
 Making all in src
 /bin/sh ../libtool --tag=CC   --mode=compile icc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Werror -g -O2 -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.lo hashtable.c
 libtool: compile:  icc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -g -O2 -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c hashtable.c  -fno-common -DPIC -o .libs/hashtable.o
 icc: command line warning #10156: ignoring option '-W'; no argument required
 hashtable.c(66): error #177: variable "num_primes" was declared but never referenced
   static const unsigned int num_primes = sizeof(primes) / sizeof(unsigned int);
                            ^

 compilation aborted for hashtable.c (code 2)

icc が 宣言されてないけど一度も参照されてないよ。っていうことで
コンパイルオプションで -Werror がついていて、通常 warning ですむのがエラーになっているだけ。
ソースを読むほど時間は無いので*1

 $ sed -i.orig 's/-Werror//g' src/Makefile
 $ make
 $ make install

ですます。

*1:ほんとに正しいのは patch つけて報告しとくだよね。