make: *** [ext/mysqli/mysqli_api.lo] Error 1 해당 오류는 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
위와 같이 오류 발생시
/usr/local/php/ext/mysqli/mysqli_api.c 에서
gptr 을 char* 로 모두 변경 후 make 를 해줘야합니다.
vi 편집기로 해당 파일을 열어서 입력모드에서 $s/gptr/char*/g 로 전체 수정 하면 됩니다.
'시스템 > Linux' 카테고리의 다른 글
리눅스 명령어 - ab (0) | 2012.07.05 |
---|---|
리눅스 명령어 - a2p (0) | 2012.07.04 |
find 명령어 (1) | 2012.05.22 |
인코딩 변경(인코딩 한번에 변경) (0) | 2012.03.22 |
vsftpd 설치와 옵션(Cent OS) (0) | 2012.01.16 |
Apache conf 파일 분석 ( 2.2.x 이하 apache ) (0) | 2012.01.16 |
Linux 환경에서 IP alias 기능 사용 (0) | 2011.12.12 |
리눅스 싱글모드 부팅(root 패스워드 변경) (0) | 2011.12.01 |