1、错误
extra.c:366: warning: pointer targets in assignment differ in signedness
extra.c: In function ‘test_file_headers’:
extra.c:636: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’
make[2]: *** [extra.o] Error 1
make[2]: Leaving directory `/opt/jiankong3/mcrypt-2.6.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/jiankong3/mcrypt-2.6.4'
make: *** [all] Error 2
2、解决
从系统中查找 mhash_config.h
将找到的 mhash_config.h 复制到 /usr/local/include/
locate mhash_config.h
/opt/jiankong/mhash-0.9.3/mhash_config.h
/opt/jiankong/mhash-0.9.3/mhash_config.h.in
cp /opt/jiankong/mhash-0.9.3/mhash_config.h /usr/local/include/
本文转自 妙曼 51CTO博客,原文链接:http://blog.51cto.com/yanruohan/1598044,如需转载请自行联系原作者