메뉴 건너뛰기

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

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

[문제점]

php 5.2.17 configure 진행 후 make 진행시에 오류가 발생했음

/usr/local/src/php-5.2.17/ext/dom/node.c:1953:21: error: dereferencing pointer to incomplete type

    ret = buf->buffer->use;

                     ^

In file included from /usr/local/src/php-5.2.17/main/php.h:38:0,

                 from /usr/local/src/php-5.2.17/ext/dom/node.c:26:

/usr/local/src/php-5.2.17/ext/dom/node.c:1955:40: error: dereferencing pointer to incomplete type

     RETVAL_STRINGL((char *) buf->buffer->content, ret, 1);

                                        ^

/usr/local/src/php-5.2.17/Zend/zend_API.h:472:14: note: in definition of macro ‘ZVAL_STRINGL’

   char *__s=(s); int __l=l; \

              ^

/usr/local/src/php-5.2.17/ext/dom/node.c:1955:5: note: in expansion of macro ‘RETVAL_STRINGL’

     RETVAL_STRINGL((char *) buf->buffer->content, ret, 1);

make: *** [ext/dom/node.lo] 오류 1


참고 블로그 : https://github.com/phpbrew/phpbrew/issues/492

Patch File Download : https://code.google.com/p/php52-backports/issues/detail?id=16


[해결 방법]

패치 파일 다운로드 후 php 소스 파일과 같은 경로로 이동. 적용

# patch -p0 < ./libxml29_compat.patch 

(Stripping trailing CRs from patch; use --binary to disable.)

patching file ext/dom/node.c

Hunk #1 succeeded at 1950 (offset 55 lines).

(Stripping trailing CRs from patch; use --binary to disable.)

patching file ext/dom/documenttype.c

Hunk #1 succeeded at 215 (offset 10 lines).

(Stripping trailing CRs from patch; use --binary to disable.)

patching file ext/simplexml/simplexml.c

Hunk #1 succeeded at 1343 (offset -74 lines).


  1. No Image 22Apr
    by
    2016/04/22 Views 8918 

    Apache Mod_Security 사용방법

  2. No Image 18Mar
    by
    2016/03/18 Views 7262 

    [apache] - .htaccess 설정

  3. No Image 18Mar
    by
    2016/03/18 Views 8302 

    php 리다이렉트

  4. No Image 18Mar
    by
    2016/03/18 Views 8155 

    Apache 리다이렉트

  5. No Image 18Mar
    by
    2016/03/18 Views 7602 

    cron에 php 파일 등록 방법

  6. No Image 18Mar
    by
    2016/03/18 Views 9006 

    rsync ssh를 이용한 서버 백업

  7. No Image 18Mar
    by
    2016/03/18 Views 8686 

    CentOS 5.1 + APM(apache 2.2.x + php 5.2.x + mysql5.0.x + Zend 3.0.x) 설치

  8. No Image 18Mar
    by
    2016/03/18 Views 8004 

    mysql DB 지정 백업 스크립트

  9. No Image 18Mar
    by
    2016/03/18 Views 7373 

    apache 구동중지되어있을 때 재구동 스크립트

  10. No Image 18Mar
    by
    2016/03/18 Views 8324 

    php sockets 동적 모듈 설치 ( php socket )

  11. No Image 18Mar
    by
    2016/03/18 Views 7685 

    php http include

  12. No Image 18Mar
    by 조쉬
    2016/03/18 Views 10746 

    php-5.2.17 make시에 오류 발생 make: *** [ext/dom/node.lo] 오류 1

  13. No Image 18Mar
    by
    2016/03/18 Views 7513 

    yum-fastestmirror로 CentOS 5.0 의 yum 속도 업!

  14. No Image 18Mar
    by
    2016/03/18 Views 8075 

    Yum과 rpm을 이용하여 PHP5.5버전 설치

  15. No Image 18Mar
    by
    2016/03/18 Views 7632 

    컴파일을 이용하여 Apache 최신버전을 설치하자

  16. No Image 18Mar
    by
    2016/03/18 Views 8350 

    yum 업데이트 시 특정 패키지 예외처리

  17. No Image 18Mar
    by
    2016/03/18 Views 9577 

    libphp5.so: undefined symbol: unixd_config

  18. No Image 18Mar
    by
    2016/03/18 Views 8808 

    하드디스크 배드블록 점검 툴 - badblocks

  19. No Image 18Mar
    by
    2016/03/18 Views 8558 

    Apache 2.x 에서 maxclients 1024 제한 초과 방법 (수정 중..)

  20. No Image 18Mar
    by
    2016/03/18 Views 9316 

    확장자가 없는 파일 자동인식하는 mod_mime_magic

Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 12 Next
/ 12

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved