시스템/Linux2011. 12. 1. 17:18

5.2.1 Bug
php 5.2.1 make 시 mysqli 오류

/usr/local/php/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_stmt_bind_param':
/usr/local/php/ext/mysqli/mysqli_api.c:144: error: 'gptr' undeclared (first use in this function)
/usr/local/php/ext/mysqli/mysqli_api.c:144: error: (Each undeclared identifier is reported only once
/usr/local/php/ext/mysqli/mysqli_api.c:144: error: for each function it appears in.)
/usr/local/php/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_stmt_execute':
/usr/local/php/ext/mysqli/mysqli_api.c:603: error: 'gptr' undeclared (first use in this function)
make: *** [ext/mysqli/mysqli_api.lo] Error 1


위와 같이 오류 발생시

vi /usr/local/php/ext/mysqli/mysqli_api.c 에서
gptr 을 char* 로 모두 변경 후 make
Posted by 소울하트