2017年5月15日,centos更新了jaspe-devel包為jasper-devel.x86_64 0:1.900.1-30.el7_3(舊版本為jasper-devel-1.900.1-29.el7.x86_64),這將導致該問題。
解決方案:
vi /usr/include/jasper/jas_math.h
#在 #include <stdint.h> 後添加
#ifndef SIZE_MAX
#define SIZE_MAX (4294967295U)
#endif