메뉴 건너뛰기

리눅스 관련 모음

본문시작

조회 수 20671 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

국산 통나무 수공예 남원제기, 남원목기

자료가 도움이 되셨다면
혼수용품제수용품 필요시
남원제기 공식 홈페이지 http://남원제기.kr
남원목기 공식 홈페이지 http://otchil.kr
에서 구매 해 주세요
정성껏 모시겠습니다.
 

In file included from /usr/local/src/php-5.4.3/ext/gd/gd.c:103:
/usr/local/src/php-5.4.10/ext/gd/gd_ctx.c: In function '_php_image_stream_putc':
/usr/local/src/php-5.4.10/ext/gd/gd_ctx.c:51: error: 'struct gdIOCtx' has no member named 'data'
/usr/local/src/php-5.4.10/ext/gd/gd_ctx.c: In function '_php_image_stream_putbuf':
/usr/local/src/php-5.4.10/ext/gd/gd_ctx.c:58: error: 'struct gdIOCtx' has no member named 'data'
/usr/local/src/php-5.4.10/ext/gd/gd_ctx.c: In function '_php_image_stream_ctxfree':
/usr/local/src/php-5.4.10/ext/gd/gd_ctx.c:67: error: 'struct gdIOCtx' has no member named 'data'
/usr/local/src/php-5.4.10/ext/gd/gd_ctx.c:68: error: 'struct gdIOCtx' has no member named 'data'
/usr/local/src/php-5.4.10/ext/gd/gd_ctx.c:69: error: 'struct gdIOCtx' has no member named 'data'
/usr/local/src/php-5.4.10/ext/gd/gd_ctx.c: In function '_php_image_output_ctx':
/usr/local/src/php-5.4.10/ext/gd/gd_ctx.c:153: error: 'gdIOCtx' has no member named 'data'
gmake: *** [ext/gd/gd.lo] Error 1

 

위와 같은 에러시 에러 해결 방법.

 

vi <gd_dir: 설치된 디렉토리>/include/gd_io.h

 

아래 구문을 찾아 밑에 빨간색으로 깅비된 문장을 추가 해 준다.

 

 typedef struct gdIOCtx

{

  int (*getC) (struct gdIOCtx *);

  int (*getBuf) (struct gdIOCtx *, void *, int);

 

  void (*putC) (struct gdIOCtx *, int);

  int (*putBuf) (struct gdIOCtx *, const void *, int);

 

  /* seek must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek! */

  int (*seek) (struct gdIOCtx *, const int);

 

  long (*tell) (struct gdIOCtx *);

 

  void (*gd_free) (struct gdIOCtx *);

  void (*data);

}

gdIOCtx;

 

이제 에러없이 make 컴파일이 잘 마무리 될 것입니다.

   

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
130 Sendmail 스패머 IP 차단 쉘스크립트 v2 햇빛소년 2012.12.06 20269
129 sendmail + dovecot 설정 file 햇빛소년 2011.05.11 42603
128 SELinux/audit2allow 햇빛소년 2012.06.11 33404
127 에러해결 selinux 퍼미션 에러 audit2allow 로 쉽게 .... 햇빛소년 2014.02.28 3751
126 selinux 관련 명령모음. 햇빛소년 2012.06.07 36473
125 SELinux Lockdown Part One: SELinux Users 햇빛소년 2012.06.07 35261
124 에러해결 selinux troubleshooting 해결 명령 햇빛소년 2016.02.28 1122
123 segmentation fault가 발생할 때 디버깅 방법 햇빛소년 2012.01.05 38409
122 에러해결 rsync 백업 설정이 확실하게 되었는데도 백업이 되지 않는 다면..... 햇빛소년 2013.06.30 16242
121 에러해결 rsync 를 이용한 원격 서버 백업하기. 햇빛소년 2013.07.01 15878
120 rpm 파일 삭제시 에러 - specifies multiple packages 해결방법 햇빛소년 2012.06.20 27934
119 설정 및 사용법 route 및 iptables를 이용한 리눅스 특정 IP 접속 차단하는 법 햇빛소년 2016.06.14 2748
118 rndc: connection to remote host closed 네임서버오류 햇빛소년 2011.04.10 55547
117 설치관련 rndc-confgen — rndc key generation tool 햇빛소년 2013.05.31 17625
116 CentOS 7 RHEL 7 / CentOS 7 : Disable Firewalld and use iptables 햇빛소년 2016.02.15 1337
115 설치관련 rewrite 도메인 포워딩 햇빛소년 2013.06.22 15404
114 설치관련 redis 2.8.19 설치하기 햇빛소년 2015.02.27 1865
113 Red Hat / CentOS IPv6 Network Configuration 햇빛소년 2012.05.30 28256
112 pyzor: check failed: internal error, python traceback seen in response 드디어 해결 햇빛소년 2012.06.20 28566
111 procmail: Lock failure on "spamassassin.lock" 햇빛소년 2012.06.16 27177
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 Next
/ 10