php的模块eaccelerator源码安装的问题

我在编译eaccelerator的时候没有错误输出,但是make的时候出现了
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:184:57: error: macro "do_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c: In function 'compute_live_var':
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:184: error: 'do_alloca' undeclared (first use in this function)
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:184: error: (Each undeclared identifier is reported only once
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:184: error: for each function it appears in.)
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:237:20: error: macro "free_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:237: error: 'free_alloca' undeclared (first use in this function)
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:240:54: error: macro "do_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:371:21: error: macro "free_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:1507:45: error: macro "do_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c: In function 'opt_get_constant':
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:1507: error: 'do_alloca' undeclared (first use in this function)
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:1528:28: error: macro "free_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:1528: error: 'free_alloca' undeclared (first use in this function)
/service/php/mod/eaccelerator-0.9.5.3/optimize.c: In function 'opt_function_exists':
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:1547: warning: initialization discards qualifiers from pointer target type
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:1658:56: error: macro "do_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c: In function 'optimize_bb':
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:1658: error: 'do_alloca' undeclared (first use in this function)
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:2692:17: error: macro "free_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:2692: error: 'free_alloca' undeclared (first use in this function)
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3198:54: error: macro "do_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c: In function 'reassign_registers':
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3198: error: 'do_alloca' undeclared (first use in this function)
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3199:56: error: macro "do_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3200:56: error: macro "do_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3309:19: error: macro "free_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3309: error: 'free_alloca' undeclared (first use in this function)
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3310:23: error: macro "free_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3311:23: error: macro "free_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3348:52: error: macro "do_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c: In function 'eaccelerator_optimize':
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3348: error: 'do_alloca' undeclared (first use in this function)
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3353:56: error: macro "do_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3397:23: error: macro "free_alloca" requires 2 arguments, but only 1 given
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3397: error: 'free_alloca' undeclared (first use in this function)
/service/php/mod/eaccelerator-0.9.5.3/optimize.c:3412:17: error: macro "free_alloca" requires 2 arguments, but only 1 given
make: *** [optimize.lo] Error 1
 
是因为我装的PHP版本比较高是php-5.3.0
而eaccelerator是0.9.5.3的,后来把php换成php-5.2.8重新编译就好了!!

你可能感兴趣的:(源码,PHP,职场,eaccelerator,休闲)