리눅스 분류
apache2.2.11+resin2.1.17 설치시 다음과 같은 에러 발생 ㅠ ㅠ 도와주세욤
작성자 정보
- 이태환 작성
- 작성일
컨텐츠 정보
- 2,973 조회
- 0 추천
- 목록
본문
아파치는 컴파일과 인스톨이 정상적으로 실행되지만 레진 컴파일시 make시 다음과 같은 에러가 발생하여
이렇게 문의를 드립니다..
도저히 어떤 에러인지 잘 모르겠습니다. 도와주세요 ㅠㅠ
/opt/apache/include/apr.h:285: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'apr_off_t'
In file included from /opt/apache/include/apr_file_io.h:29,
from /opt/apache/include/apr_network_io.h:26,
from /opt/apache/include/httpd.h:53,
from mod_caucho.c:42:
/opt/apache/include/apr_file_info.h:198: error: expected specifier-qualifier-list before 'apr_off_t'
In file included from /opt/apache/include/apr_network_io.h:26,
from /opt/apache/include/httpd.h:53,
from mod_caucho.c:42:
/opt/apache/include/apr_file_io.h:632: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/apr_file_io.h:859: error: expected declaration specifiers or '...' before 'apr_off_t'
In file included from /opt/apache/include/httpd.h:53,
from mod_caucho.c:42:
/opt/apache/include/apr_network_io.h:550: error: expected declaration specifiers or '...' before 'apr_off_t'
In file included from /opt/apache/include/apr_buckets.h:32,
from /opt/apache/include/httpd.h:54,
from mod_caucho.c:42:
/opt/apache/include/apr_mmap.h:134: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/apr_mmap.h:161: error: expected declaration specifiers or '...' before 'apr_off_t'
In file included from /opt/apache/include/httpd.h:54,
from mod_caucho.c:42:
/opt/apache/include/apr_buckets.h:242: error: expected specifier-qualifier-list before 'apr_off_t'
/opt/apache/include/apr_buckets.h:725: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/apr_buckets.h:738: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/apr_buckets.h:774: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/apr_buckets.h:910: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/apr_buckets.h:911: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/apr_buckets.h:1202: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/apr_buckets.h:1401: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/apr_buckets.h:1415: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/apr_buckets.h:1471: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/apr_buckets.h:1487: error: expected declaration specifiers or '...' before 'apr_off_t'
In file included from mod_caucho.c:42:
/opt/apache/include/httpd.h:858: error: expected specifier-qualifier-list before 'apr_off_t'
In file included from /opt/apache/include/http_core.h:32,
from mod_caucho.c:44:
/opt/apache/include/util_filter.h:142: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/util_filter.h:299: error: expected declaration specifiers or '...' before 'apr_off_t'
In file included from mod_caucho.c:44:
/opt/apache/include/http_core.h:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ap_get_limit_req_body'
/opt/apache/include/http_core.h:672: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/http_core.h:675: error: expected declaration specifiers or '...' before 'apr_off_t'
In file included from mod_caucho.c:45:
/opt/apache/include/http_protocol.h:111: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/http_protocol.h:203: error: expected declaration specifiers or '...' before 'apr_off_t'
In file included from mod_caucho.c:47:
/opt/apache/include/apr_strings.h:299: error: expected declaration specifiers or '...' before 'apr_off_t'
/opt/apache/include/apr_strings.h:317: error: expected ')' before '*' token
/opt/apache/include/apr_strings.h:353: error: expected ')' before 'size'
mod_caucho.c: In function 'cse_get_module_config':
mod_caucho.c:201: error: 'request_rec' has no member named 'per_dir_config'
mod_caucho.c: In function 'get_session_index':
mod_caucho.c:289: error: 'request_rec' has no member named 'headers_in'
mod_caucho.c:308: error: 'request_rec' has no member named 'uri'
mod_caucho.c: In function 'connection_error':
mod_caucho.c:357: error: 'request_rec' has no member named 'content_type'
mod_caucho.c:360: error: 'request_rec' has no member named 'headers_out'
mod_caucho.c: In function 'write_env':
mod_caucho.c:415: error: 'request_rec' has no member named 'uri'
mod_caucho.c:420: error: 'request_rec' has no member named 'args'
mod_caucho.c:421: error: 'request_rec' has no member named 'args'
mod_caucho.c:440: error: 'request_rec' has no member named 'user'
mod_caucho.c:441: error: 'request_rec' has no member named 'user'
mod_caucho.c:442: error: 'request_rec' has no member named 'ap_auth_type'
mod_caucho.c:443: error: 'request_rec' has no member named 'ap_auth_type'
mod_caucho.c: In function 'write_headers':
mod_caucho.c:484: error: 'request_rec' has no member named 'headers_in'
mod_caucho.c: In function 'write_added_headers':
mod_caucho.c:511: error: 'request_rec' has no member named 'subprocess_env'
mod_caucho.c:523: error: 'request_rec' has no member named 'user'
mod_caucho.c: In function 'send_data':
mod_caucho.c:610: error: 'request_rec' has no member named 'content_type'
mod_caucho.c:612: error: 'request_rec' has no member named 'headers_out'
mod_caucho.c: In function 'caucho_status':
mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
mod_caucho.c:805: error: 'request_rec' has no member named 'handler'
mod_caucho.c:810: error: 'request_rec' has no member named 'content_type'
mod_caucho.c: In function 'cse_dispatch':
mod_caucho.c:868: error: 'request_rec' has no member named 'uri'
mod_caucho.c:885: error: 'request_rec' has no member named 'handler'
mod_caucho.c:891: error: 'request_rec' has no member named 'handler'
mod_caucho.c:906: error: 'request_rec' has no member named 'filename'
mod_caucho.c:907: error: 'request_rec' has no member named 'filename'
mod_caucho.c: At top level:
mod_caucho.c:926: warning: initialization from incompatible pointer type
mod_caucho.c:929: warning: initialization from incompatible pointer type
mod_caucho.c:932: warning: initialization from incompatible pointer type
mod_caucho.c:935: warning: initialization from incompatible pointer type
make[2]: *** [mod_caucho.lo] 오류 1
make[2]: Leaving directory `/opt/resin-2.1.17/src/c/plugin/apache2'
make[2]: Entering directory `/opt/resin-2.1.17/src/c/plugin/resin'
gcc -fPIC -DRESIN_HOME=\"/opt/resin-2.1.17\" /usr/java/include -I../common -DCPU=\"i386\" -DOS= -c -o resin.o resin.c
gcc: /usr/java/include: linker input file unused because linking not done
gcc -fPIC -DRESIN_HOME=\"/opt/resin-2.1.17\" /usr/java/include -I../common -DCPU=\"i386\" -DOS= -c -o std.o std.c
gcc: /usr/java/include: linker input file unused because linking not done
gcc -fPIC -DRESIN_HOME=\"/opt/resin-2.1.17\" /usr/java/include -I../common -DCPU=\"i386\" -DOS= -c -o memory.o memory.c
gcc: /usr/java/include: linker input file unused because linking not done
gcc -fPIC -DRESIN_HOME=\"/opt/resin-2.1.17\" /usr/java/include -I../common -DCPU=\"i386\" -DOS= -c -o ssl_stub.o ssl_stub.c
gcc: /usr/java/include: linker input file unused because linking not done
gcc -o resin resin.o ../common/common.o std.o memory.o ssl_stub.o -lpthread -ldl -lssl -lcrypto
gcc -fPIC -DRESIN_HOME=\"/opt/resin-2.1.17\" /usr/java/include -I../common -DCPU=\"i386\" -DOS= -c -o jni_vfs.o jni_vfs.c
gcc: /usr/java/include: linker input file unused because linking not done
/usr/bin/ld -shared -o libresin.so jni_vfs.o std.o memory.o ssl_stub.o -lpthread -ldl -lssl -lcrypto
make[2]: Leaving directory `/opt/resin-2.1.17/src/c/plugin/resin'
(cd resin; make resin_so)
make[2]: Entering directory `/opt/resin-2.1.17/src/c/plugin/resin'
make[2]: `resin_so'를 위해 할 일이 없습니다
make[2]: Leaving directory `/opt/resin-2.1.17/src/c/plugin/resin'
make[1]: Leaving directory `/opt/resin-2.1.17/src/c/plugin'
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.