메뉴 건너뛰기

조회 수 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

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

    Date2014.02.27 Views7747
    Read More
  2. No Image

    rsync ssh를 이용한 서버 백업

    Date2016.03.18 Views9006
    Read More
  3. No Image

    root 계정 su 명령 제한

    Date2023.01.20 Views138
    Read More
  4. No Image

    Root Disk를 Mirroring하는 방법

    Date2016.07.22 Views8418
    Read More
  5. Rocky Linux 8에 docker 설치하기

    Date2024.04.23 Views0
    Read More
  6. rdate명령어 사용법과 옵션

    Date2017.11.22 Views6300
    Read More
  7. No Image

    qmail 587 포트 추가

    Date2014.03.26 Views7388
    Read More
  8. No Image

    Proftp 설치

    Date2014.03.26 Views7022
    Read More
  9. No Image

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

    Date2019.02.14 Views1420
    Read More
  10. No Image

    php_fpm 관련 자료

    Date2017.09.20 Views5318
    Read More
  11. No Image

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

    Date2016.09.11 Views8065
    Read More
  12. No Image

    php.ini 파일에서 timezone 설정

    Date2015.07.16 Views7759
    Read More
  13. No Image

    php-mbstring 설치

    Date2015.07.16 Views7776
    Read More
  14. No Image

    PHP-5.3 이상 Zend 설치

    Date2015.07.30 Views8703
    Read More
  15. No Image

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

    Date2016.03.18 Views10746
    Read More
  16. No Image

    php 리다이렉트

    Date2016.03.18 Views8302
    Read More
  17. No Image

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

    Date2016.03.18 Views8326
    Read More
  18. No Image

    php http include

    Date2016.03.18 Views7685
    Read More
  19. OpenSSH chroot 설정

    Date2014.02.27 Views8742
    Read More
  20. Nikto - 웹 취약점 스캐너 도구

    Date2016.04.22 Views9232
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 Next
/ 12

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

© k2s0o1d4e0s2i1g5n. All Rights Reserved