NEW Nmail PHP 3 업그레이드 할인
자세히 보기

mailparse 설치 에러

벽*수 2006.11.17 12:38 조회 5985

※ 필수입력정보 ※

▷ 제품버젼 : nmail-php-2.1.7
▷ 사용중인 주소(URL) : http://
▷ 문제발생시 메뉴/주소 :
▷ 문제발생시 에러메세지
:

▷ 질문내용
:

설치 환경은 CentOS 4.4 x86_64, Xenon cpu
APM은 httpd2.2.3 + mysql 4.1.21 + php 5.1.6
현재 APM 정상 작동중입니다.

설치시 mailparse 에러나서 직접 받아 컴파일 할려했더니 아래와 같이 에러가 발생했습니다. 위쪽은 잘렸고 대부분 비슷한 내용입니다.
원인을 모르겠군요

에러내용은
======================================================
----생략--------
er to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:274: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:274: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:277: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:279: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:280: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:281: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:281: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:281: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:281: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:281: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:281: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:281: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:281: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:281: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:285: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:286: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:286: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:287: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:291: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c: In function `zif_mailparse_mimemessage_get_child_count':
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:335: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c: In function `zif_mailparse_mimemessage_get_parent':
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:344: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:345: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c: In function `mailparse_mimemessage_extract':
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:411: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:412: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:412: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:414: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:442: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c: In function `zif_mailparse_mimemessage_extract_uue':
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:498: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:499: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:499: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:501: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:510: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:511: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:511: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:511: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:554: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c: In function `zif_mailparse_mimemessage_enum_uue':
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:580: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:581: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:581: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:583: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:592: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:593: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:593: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:593: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:645: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c: In function `zif_mailparse_determine_best_xfer_encoding':
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:881: error: variable `bestenc' has initializer but incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:881: error: `mbfl_no_encoding_7bit' undeclared (first use in this function)
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:881: error: (Each undeclared identifier is reported only once
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:881: error: for each function it appears in.)
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:881: error: storage size of 'bestenc' isn't known
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:897: error: `mbfl_no_encoding_8bit' undeclared (first use in this function)
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:899: error: `mbfl_no_encoding_base64' undeclared (first use in this function)
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:909: error: `mbfl_no_encoding_qprint' undeclared (first use in this function)
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:912: warning: cast to pointer from integer of different size
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c: In function `zif_mailparse_stream_encode':
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:947: error: storage size of 'enc' isn't known
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:948: error: `mbfl_convert_filter' undeclared (first use in this function)
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:948: error: `conv' undeclared (first use in this function)
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:966: error: `mbfl_no_encoding_invalid' undeclared (first use in this function)
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:977: error: `mbfl_no_encoding_8bit' undeclared (first use in this function)
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:985: error: `mbfl_no_encoding_qprint' undeclared (first use in this function)
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c: In function `zif_mailparse_msg_parse_file':
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1072: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c: In function `zif_mailparse_msg_create':
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1112: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c: In function `extract_part':
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1213: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1213: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1216: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1218: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1218: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1218: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c: In function `mailparse_get_part_data':
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1415: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1425: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1429: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1430: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1434: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1435: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1439: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1440: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1444: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1445: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1447: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1448: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1450: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1451: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1455: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1456: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c: In function `zif_mailparse_msg_get_part':
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1516: error: dereferencing pointer to incomplete type
/usr/local/src/nmail/mailparse-2.1.1/mailparse.c:1517: error: dereferencing pointer to incomplete type
make: *** [mailparse.lo] ?ㅻ쪟 1
=================================================
이상입니다. 뒤에 한글 깨진건 터미널에서 한글표시 에러인듯합니다.

댓글 4
이전 글 메일 수신이 되었다 안되었다 그러네요... 1 양*안 2006.11.30
다음 글 logwatch 관련 질문 1 이*호 2006.11.16