水底游 发表于 2014-09-01 15:10

apache整合resin问题

本帖最后由 水底游 于 2014-09-01 15:14 编辑

apache版本2.4.10,resin3.1.12
在编译mod_caucho.so模块时,老是报错,不知各位有什么好招~

帮我参考下,是不是有什么东西没有编译进去的~~~

报错都是什么什么找不到的~~# pwd
/usr/local/resin-3.1.12
# ./configure --with-apxs=/usr/local/apache-2.4.10/bin/apxs
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for egrep... (cached) /bin/grep -E
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
Using shared library flags from /usr/local/apache-2.4.10/bin/apxs
checking for JAVA_HOME... /usr/local/jdk1.7.0_65
checking if Java is 64-bit... yes
Using Apache 2.0 configuration /usr/local/apache-2.4.10/conf/httpd.conf
Using Apache CFLAGS:   -DLINUX -D_REENTRANT -D_GNU_SOURCE-g -O2 -pthread
checking for JNI in /usr/local/jdk1.7.0_65/include/linux ... found
Using JVMTI for class reloading
Using openssl include in ... /usr/include
Using openssl lib in ... /usr/lib64
Using openssl libraries in ...-lssl -lcrypto
configure: creating ./config.status
config.status: creating Makefile
config.status: creating modules/c/src/Makefile
config.status: creating modules/c/src/common/Makefile
config.status: creating modules/c/src/apache1/Makefile
config.status: creating modules/c/src/apache2/Makefile
config.status: creating modules/c/src/resin_os/Makefile
config.status: creating contrib/init.resin
config.status: executing depfiles commands
config.status: executing libtool commands
# make
(cd modules/c/src; make)
make: Entering directory `/usr/local/resin-3.1.12/modules/c/src'
for dir in common apache2   resin_os; do (cd $dir; make); done
make: Entering directory `/usr/local/resin-3.1.12/modules/c/src/common'
gcc -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI stream.c
stream.c: 在函数‘select_host’中:
stream.c:1299: 警告:将一个指针转换为大小不同的整数
gcc -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI config.c
gcc -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI memory.c
/usr/bin/ld -m elf_x86_64 -r -o common.o stream.o config.o memory.o
/usr/local/resin-3.1.12/libtool --silent --mode=compile gcc -o stream.lo -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI stream.c
stream.c: 在函数‘select_host’中:
stream.c:1299: 警告:将一个指针转换为大小不同的整数
/usr/local/resin-3.1.12/libtool --silent --mode=compile gcc -o config.lo -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI config.c
/usr/local/resin-3.1.12/libtool --silent --mode=compile gcc -o memory.lo -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI memory.c
make: Leaving directory `/usr/local/resin-3.1.12/modules/c/src/common'
make: Entering directory `/usr/local/resin-3.1.12/modules/c/src/apache2'
EGREP="/bin/grep -E" /usr/local/resin-3.1.12/libtool --silent --tag=CXX --mode=compile gcc -o mod_caucho.lo -c -I/usr/local/apache-2.4.10/include-I/usr/local/apr/include/apr-1-DRESIN_HOME=\"/usr/local/resin-3.1.12\" -I../common -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI   -DLINUX -D_REENTRANT -D_GNU_SOURCE-g -O2 -pthread mod_caucho.c
libtool: ignoring unknown tag CXX
在包含自 /usr/local/apache-2.4.10/include/ap_config.h:25 的文件中,
               从 mod_caucho.c:35:
/usr/local/apache-2.4.10/include/ap_hooks.h:40:23: 错误:apr_hooks.h:没有那个文件或目录
/usr/local/apache-2.4.10/include/ap_hooks.h:41:32: 错误:apr_optional_hooks.h:没有那个文件或目录
在包含自 mod_caucho.c:37 的文件中:
/usr/local/apache-2.4.10/include/httpd.h:55:25: 错误:apr_buckets.h:没有那个文件或目录
/usr/local/apache-2.4.10/include/httpd.h:763:21: 错误:apr_uri.h:没有那个文件或目录
In file included from mod_caucho.c:37:
/usr/local/apache-2.4.10/include/httpd.h:890: 错误:expected specifier-qualifier-list before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/httpd.h:2016: 错误:expected specifier-qualifier-list before ‘apr_bucket_brigade’
In file included from mod_caucho.c:38:
/usr/local/apache-2.4.10/include/http_config.h:1233: 错误:expected ‘)’ before ‘int’
在包含自 mod_caucho.c:39 的文件中:
/usr/local/apache-2.4.10/include/http_core.h:31:26: 错误:apr_optional.h:没有那个文件或目录
In file included from /usr/local/apache-2.4.10/include/http_core.h:32,
               from mod_caucho.c:39:
/usr/local/apache-2.4.10/include/util_filter.h:135: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/util_filter.h:137: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/util_filter.h:139: 错误:expected declaration specifiers or ‘...’ before ‘apr_read_type_e’
/usr/local/apache-2.4.10/include/util_filter.h:297: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/util_filter.h:299: 错误:expected declaration specifiers or ‘...’ before ‘apr_read_type_e’
/usr/local/apache-2.4.10/include/util_filter.h:315: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/util_filter.h:333: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/util_filter.h:336: 错误:格式字符串实参不是字符串型
In file included from /usr/local/apache-2.4.10/include/http_core.h:32,
               from mod_caucho.c:39:
/usr/local/apache-2.4.10/include/util_filter.h:532: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/util_filter.h:533: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/util_filter.h:543: 错误:expected ‘)’ before ‘*’ token
/usr/local/apache-2.4.10/include/util_filter.h:551: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/util_filter.h:588: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/util_filter.h:600: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/util_filter.h:603: 错误:格式字符串实参不是字符串型
In file included from /usr/local/apache-2.4.10/include/http_core.h:33,
               from mod_caucho.c:39:
/usr/local/apache-2.4.10/include/ap_expr.h:299: 错误:expected ‘)’ before ‘int’
In file included from mod_caucho.c:39:
/usr/local/apache-2.4.10/include/http_core.h:687: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/http_core.h:688: 错误:expected declaration specifiers or ‘...’ before ‘apr_read_type_e’
/usr/local/apache-2.4.10/include/http_core.h:690: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/http_core.h:720: 错误:expected ‘)’ before ‘apr_status_t’
/usr/local/apache-2.4.10/include/http_core.h:732: 警告:数据定义时没有类型或存储类
/usr/local/apache-2.4.10/include/http_core.h:743: 错误:expected specifier-qualifier-list before ‘ap_mgmt_type_e’
/usr/local/apache-2.4.10/include/http_core.h:766: 错误:expected ‘)’ before ‘int’
/usr/local/apache-2.4.10/include/http_core.h:779: 错误:expected declaration specifiers or ‘...’ before ‘ap_logio_add_bytes_in’
/usr/local/apache-2.4.10/include/http_core.h:780: 错误:expected declaration specifiers or ‘...’ before ‘(’ token
/usr/local/apache-2.4.10/include/http_core.h:779: 警告:数据定义时没有类型或存储类
/usr/local/apache-2.4.10/include/http_core.h:782: 错误:expected declaration specifiers or ‘...’ before ‘ap_logio_get_last_bytes’
/usr/local/apache-2.4.10/include/http_core.h:782: 错误:expected declaration specifiers or ‘...’ before ‘(’ token
/usr/local/apache-2.4.10/include/http_core.h:782: 警告:数据定义时没有类型或存储类
/usr/local/apache-2.4.10/include/http_core.h:782: 错误:与‘APR_DECLARE_OPTIONAL_FN’类型冲突
/usr/local/apache-2.4.10/include/http_core.h:779: 附注:‘APR_DECLARE_OPTIONAL_FN’的上一个声明在此
/usr/local/apache-2.4.10/include/http_core.h:891: 错误:expected ‘)’ before ‘void’
/usr/local/apache-2.4.10/include/http_core.h:902: 错误:expected declaration specifiers or ‘...’ before ‘ap_ident_lookup’
/usr/local/apache-2.4.10/include/http_core.h:903: 错误:expected declaration specifiers or ‘...’ before ‘(’ token
/usr/local/apache-2.4.10/include/http_core.h:902: 警告:数据定义时没有类型或存储类
/usr/local/apache-2.4.10/include/http_core.h:902: 错误:与‘APR_DECLARE_OPTIONAL_FN’类型冲突
/usr/local/apache-2.4.10/include/http_core.h:779: 附注:‘APR_DECLARE_OPTIONAL_FN’的上一个声明在此
/usr/local/apache-2.4.10/include/http_core.h:910: 错误:expected declaration specifiers or ‘...’ before ‘authz_some_auth_required’
/usr/local/apache-2.4.10/include/http_core.h:910: 错误:expected declaration specifiers or ‘...’ before ‘(’ token
/usr/local/apache-2.4.10/include/http_core.h:910: 警告:数据定义时没有类型或存储类
/usr/local/apache-2.4.10/include/http_core.h:910: 错误:与‘APR_DECLARE_OPTIONAL_FN’类型冲突
/usr/local/apache-2.4.10/include/http_core.h:779: 附注:‘APR_DECLARE_OPTIONAL_FN’的上一个声明在此
/usr/local/apache-2.4.10/include/http_core.h:911: 错误:expected declaration specifiers or ‘...’ before ‘authn_ap_auth_type’
/usr/local/apache-2.4.10/include/http_core.h:911: 错误:expected declaration specifiers or ‘...’ before ‘(’ token
/usr/local/apache-2.4.10/include/http_core.h:911: 警告:数据定义时没有类型或存储类
/usr/local/apache-2.4.10/include/http_core.h:911: 错误:与‘APR_DECLARE_OPTIONAL_FN’类型冲突
/usr/local/apache-2.4.10/include/http_core.h:779: 附注:‘APR_DECLARE_OPTIONAL_FN’的上一个声明在此
/usr/local/apache-2.4.10/include/http_core.h:912: 错误:expected declaration specifiers or ‘...’ before ‘authn_ap_auth_name’
/usr/local/apache-2.4.10/include/http_core.h:912: 错误:expected declaration specifiers or ‘...’ before ‘(’ token
/usr/local/apache-2.4.10/include/http_core.h:912: 警告:数据定义时没有类型或存储类
/usr/local/apache-2.4.10/include/http_core.h:912: 错误:与‘APR_DECLARE_OPTIONAL_FN’类型冲突
/usr/local/apache-2.4.10/include/http_core.h:779: 附注:‘APR_DECLARE_OPTIONAL_FN’的上一个声明在此
/usr/local/apache-2.4.10/include/http_core.h:919: 错误:expected declaration specifiers or ‘...’ before ‘access_compat_ap_satisfies’
/usr/local/apache-2.4.10/include/http_core.h:919: 错误:expected declaration specifiers or ‘...’ before ‘(’ token
/usr/local/apache-2.4.10/include/http_core.h:919: 警告:数据定义时没有类型或存储类
/usr/local/apache-2.4.10/include/http_core.h:919: 错误:与‘APR_DECLARE_OPTIONAL_FN’类型冲突
/usr/local/apache-2.4.10/include/http_core.h:779: 附注:‘APR_DECLARE_OPTIONAL_FN’的上一个声明在此
In file included from mod_caucho.c:40:
/usr/local/apache-2.4.10/include/http_protocol.h:44: 错误:expected ‘)’ before ‘void’
/usr/local/apache-2.4.10/include/http_protocol.h:76: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/http_protocol.h:541: 错误:expected ‘)’ before ‘int’
/usr/local/apache-2.4.10/include/http_protocol.h:616: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/http_protocol.h:648: 错误:expected ‘)’ before ‘void’
/usr/local/apache-2.4.10/include/http_protocol.h:700: 错误:expected specifier-qualifier-list before ‘apr_bucket_refcount’
/usr/local/apache-2.4.10/include/http_protocol.h:708: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ap_bucket_type_error’
/usr/local/apache-2.4.10/include/http_protocol.h:725: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/apache-2.4.10/include/http_protocol.h:736: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/apache-2.4.10/include/http_protocol.h:740: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/http_protocol.h:741: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/http_protocol.h:743: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
/usr/local/apache-2.4.10/include/http_protocol.h:744: 错误:expected declaration specifiers or ‘...’ before ‘apr_bucket_brigade’
In file included from mod_caucho.c:41:
/usr/local/apache-2.4.10/include/http_connection.h:93: 错误:expected ‘)’ before ‘conn_rec’
/usr/local/apache-2.4.10/include/http_connection.h:134: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/apache-2.4.10/include/http_connection.h:142: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_caucho.c: 在函数‘cse_get_module_config’中:
mod_caucho.c:259: 错误:‘request_rec’没有名为‘per_dir_config’的成员
mod_caucho.c:260: 错误:‘request_rec’没有名为‘per_dir_config’的成员
mod_caucho.c: 在函数‘get_session_index’中:
mod_caucho.c:509: 错误:‘request_rec’没有名为‘headers_in’的成员
mod_caucho.c:528: 错误:‘request_rec’没有名为‘uri’的成员
mod_caucho.c: 在函数‘write_env’中:
mod_caucho.c:552: 错误:‘request_rec’没有名为‘uri’的成员
mod_caucho.c:554: 错误:‘request_rec’没有名为‘unparsed_uri’的成员
mod_caucho.c:574: 错误:‘request_rec’没有名为‘args’的成员
mod_caucho.c:575: 错误:‘request_rec’没有名为‘args’的成员
mod_caucho.c:588: 错误:‘conn_rec’没有名为‘remote_ip’的成员
mod_caucho.c:590: 错误:‘conn_rec’没有名为‘remote_ip’的成员
mod_caucho.c:591: 错误:‘conn_rec’没有名为‘remote_addr’的成员
mod_caucho.c:594: 错误:‘request_rec’没有名为‘user’的成员
mod_caucho.c:595: 错误:‘request_rec’没有名为‘user’的成员
mod_caucho.c:596: 错误:‘request_rec’没有名为‘ap_auth_type’的成员
mod_caucho.c:597: 错误:‘request_rec’没有名为‘ap_auth_type’的成员
mod_caucho.c: 在函数‘write_headers’中:
mod_caucho.c:635: 错误:‘request_rec’没有名为‘headers_in’的成员
mod_caucho.c: 在函数‘write_added_headers’中:
mod_caucho.c:665: 错误:‘request_rec’没有名为‘subprocess_env’的成员
mod_caucho.c:677: 错误:‘request_rec’没有名为‘user’的成员
mod_caucho.c:686: 错误:‘request_rec’没有名为‘args’的成员
mod_caucho.c:688: 错误:‘request_rec’没有名为‘args’的成员
mod_caucho.c:691: 错误:‘request_rec’没有名为‘uri’的成员
mod_caucho.c:693: 错误:‘request_rec’没有名为‘uri’的成员
mod_caucho.c: 在函数‘send_data’中:
mod_caucho.c:790: 错误:‘request_rec’没有名为‘content_type’的成员
mod_caucho.c:791: 错误:‘request_rec’没有名为‘headers_out’的成员
mod_caucho.c:794: 错误:‘request_rec’没有名为‘headers_out’的成员
mod_caucho.c: 在函数‘caucho_request’中:
mod_caucho.c:896: 错误:‘conn_rec’没有名为‘remote_ip’的成员
mod_caucho.c: 在函数‘caucho_status’中:
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1134: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1142: 错误:‘request_rec’没有名为‘content_type’的成员
mod_caucho.c: 在函数‘cse_strip’中:
mod_caucho.c:1203: 错误:‘request_rec’没有名为‘uri’的成员
mod_caucho.c:1218: 错误:‘request_rec’没有名为‘filename’的成员
mod_caucho.c:1219: 错误:‘request_rec’没有名为‘filename’的成员
mod_caucho.c:1236: 错误:‘request_rec’没有名为‘args’的成员
mod_caucho.c:1237: 错误:‘request_rec’没有名为‘uri’的成员
mod_caucho.c:1237: 错误:‘request_rec’没有名为‘args’的成员
mod_caucho.c:1239: 错误:‘request_rec’没有名为‘headers_out’的成员
mod_caucho.c:1243: 错误:‘request_rec’没有名为‘headers_out’的成员
mod_caucho.c:1244: 错误:‘request_rec’没有名为‘uri’的成员
mod_caucho.c: 在函数‘cse_dispatch’中:
mod_caucho.c:1263: 错误:‘request_rec’没有名为‘uri’的成员
mod_caucho.c:1282: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1289: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c:1295: 错误:‘request_rec’没有名为‘handler’的成员
mod_caucho.c: 在函数‘caucho_register_hooks’中:
mod_caucho.c:1361: 错误:‘APR_HOOK_MIDDLE’未声明(在此函数内第一次使用)
mod_caucho.c:1361: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
mod_caucho.c:1361: 错误:所在的函数内也只报告一次。)
mod_caucho.c:1363: 错误:‘APR_HOOK_FIRST’未声明(在此函数内第一次使用)
make: *** 错误 1
make: Leaving directory `/usr/local/resin-3.1.12/modules/c/src/apache2'
make: Entering directory `/usr/local/resin-3.1.12/modules/c/src/resin_os'
gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI-m64 -fPIC -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/usr/local/resin-3.1.12\" -I/usr/include -I/usr/local/jdk1.7.0_65/include -I/usr/local/jdk1.7.0_65/include/linux -I../common -DCPU=\"x86_64\" -DOS=   -c -o jni_os.o jni_os.c
gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI-m64 -fPIC -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/usr/local/resin-3.1.12\" -I/usr/include -I/usr/local/jdk1.7.0_65/include -I/usr/local/jdk1.7.0_65/include/linux -I../common -DCPU=\"x86_64\" -DOS=   -c -o jni_jvmti.o jni_jvmti.c
gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI-m64 -fPIC -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/usr/local/resin-3.1.12\" -I/usr/include -I/usr/local/jdk1.7.0_65/include -I/usr/local/jdk1.7.0_65/include/linux -I../common -DCPU=\"x86_64\" -DOS=   -c -o jni_jvmdi.o jni_jvmdi.c
/usr/bin/ld -m elf_x86_64 -shared -fPIC -L/usr/lib64 -o libresin_os.so jni_os.o jni_jvmti.o jni_jvmdi.o -lpthread -lc
make: Leaving directory `/usr/local/resin-3.1.12/modules/c/src/resin_os'
make: Leaving directory `/usr/local/resin-3.1.12/modules/c/src'
#

水底游 发表于 2014-09-01 15:46

自个找到问题所在了。。。。
将apr和apr-util包含的头文件都复制到apache下解决:
cp /usr/local/apr/include/apr-1/* /usr/local/apache/include/
cp /usr/local/apr-util/include/apr-1/* /usr/local/apache/include/
页: [1]
查看完整版本: apache整合resin问题