在编译php的bcmath模块时,会出现类似下面的错误:
error: '_zero_' undeclared (first use in this function)
这是因为bcmath的代码bug引起的,编辑bcmath的“libbcmath/src/bcmath.h”文件,在“#include "bcmath.h”之前插入以下内容:
#include "../../config.h"
这样就能顺利通过编译了。
在编译php的bcmath模块时,会出现类似下面的错误:
error: '_zero_' undeclared (first use in this function)
这是因为bcmath的代码bug引起的,编辑bcmath的“libbcmath/src/bcmath.h”文件,在“#include "bcmath.h”之前插入以下内容:
#include "../../config.h"
这样就能顺利通过编译了。