메뉴 건너뛰기

조회 수 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 27Feb
    by
    2014/02/27 Views 7747 

    rsync 와 ssh 를 이용한 네트워크 백업하기

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

    rsync ssh를 이용한 서버 백업

  3. No Image 20Jan
    by
    2023/01/20 Views 138 

    root 계정 su 명령 제한

  4. No Image 22Jul
    by
    2016/07/22 Views 8418 

    Root Disk를 Mirroring하는 방법

  5. Rocky Linux 8에 docker 설치하기

  6. rdate명령어 사용법과 옵션

  7. No Image 26Mar
    by
    2014/03/26 Views 7388 

    qmail 587 포트 추가

  8. No Image 26Mar
    by
    2014/03/26 Views 7022 

    Proftp 설치

  9. No Image 14Feb
    by
    2019/02/14 Views 1420 

    php_screw를 이용한 php 소스 암호화 하기

  10. No Image 20Sep
    by
    2017/09/20 Views 5318 

    php_fpm 관련 자료

  11. No Image 11Sep
    by
    2016/09/11 Views 8065 

    PHPIZE를 이용한 openSSL PHP 확장 모듈 설치

  12. No Image 16Jul
    by
    2015/07/16 Views 7759 

    php.ini 파일에서 timezone 설정

  13. No Image 16Jul
    by
    2015/07/16 Views 7776 

    php-mbstring 설치

  14. No Image 30Jul
    by
    2015/07/30 Views 8703 

    PHP-5.3 이상 Zend 설치

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

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

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

    php 리다이렉트

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

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

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

    php http include

  19. OpenSSH chroot 설정

  20. Nikto - 웹 취약점 스캐너 도구

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

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

© k2s0o1d4e0s2i1g5n. All Rights Reserved