- 论坛徽章:
- 0
|
报错信息不全,全的在附近中
[root@webser01 resin-3.1.2]# ./configure --with-apxs=/usr/local/apache2/bin/apxs --with-apache=/usr/local/apache2 --with-apache-conf=/usr/local/apache2/conf --prefix=/usr/local/resin --with-apache-src=/pkg/apache2.2.4/httpd-2.2.4
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
。。。
。。。
creating libtool
using Apache source in /pkg/apache2.2.4/httpd-2.2.4
cp: cannot stat `modules/c/src/apache/*.c': No such file or directory
Using shared library flags from /usr/local/apache2/bin/apxs
checking for JAVA_HOME... /usr/local/jdk1.5.0_12
checking if Java is 64-bit... no
Using Apache 2.0 configuration /usr/local/apache2/conf
Using Apache CFLAGS: -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread
checking for JNI in /usr/local/jdk1.5.0_12/include/linux ... found
Using JVMTI for class reloading
Using JVMDI for class reloading
Using openssl include in ... /usr/include
Using openssl lib in ... /usr/lib
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
###############################################################
[root@webser01 resin-3.1.2]# make
(cd modules/c/src; make)
make[1]: Entering directory `/pkg/resin/resin-3.1.2/modules/c/src'
for dir in common apache2 resin_os; do (cd $dir; make); done
make[2]: Entering directory `/pkg/resin/resin-3.1.2/modules/c/src/common'
gcc -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DHAS_JVMDI stream.c
gcc -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DHAS_JVMDI config.c
gcc -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DHAS_JVMDI memory.c
/usr/bin/ld -r -o common.o stream.o config.o memory.o
/pkg/resin/resin-3.1.2/libtool --silent --mode=compile gcc -o stream.lo -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DHAS_JVMDI stream.c
/pkg/resin/resin-3.1.2/libtool --silent --mode=compile gcc -o config.lo -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DHAS_JVMDI config.c
/pkg/resin/resin-3.1.2/libtool --silent --mode=compile gcc -o memory.lo -c -I/usr/include -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DHAS_JVMDI memory.c
make[2]: Leaving directory `/pkg/resin/resin-3.1.2/modules/c/src/common'
make[2]: Entering directory `/pkg/resin/resin-3.1.2/modules/c/src/apache2'
EGREP="grep -E" /pkg/resin/resin-3.1.2/libtool --silent --mode=compile gcc -o mod_caucho.lo -c -I/usr/local/apache2/include -I/usr/local/apr/include/apr-1 -DRESIN_HOME=\"/pkg/resin/resin-3.1.2\" -I../common -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DHAS_JVMDI -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread mod_caucho.c
In file included from mod_caucho.c:35:
/usr/local/apache2/include/ap_config.h:26:23: apr_hooks.h: No such file or directory
/usr/local/apache2/include/ap_config.h:27:32: apr_optional_hooks.h: No such file or directory
In file included from mod_caucho.c:37:
/usr/local/apache2/include/httpd.h:54:25: apr_buckets.h: No such file or directory
/usr/local/apache2/include/httpd.h:745:21: apr_uri.h: No such file or directory
In file included from mod_caucho.c:37:
/usr/local/apache2/include/httpd.h:947: error: syntax error before "apr_uri_t"
/usr/local/apache2/include/httpd.h:947: warning: no semicolon at end of struct or union
/usr/local/apache2/include/httpd.h:997: error: syntax error before '}' token
/usr/local/apache2/include/httpd.h:1107: error: syntax error before "APR_RING_ENTRY"
/usr/local/apache2/include/httpd.h:1107: warning: no semicolon at end of struct or union
/usr/local/apache2/include/httpd.h:1117: error: syntax error before '*' token
/usr/local/apache2/include/httpd.h:1245: warning: data definition has no type or storage class
In file included from mod_caucho.c:38:
/usr/local/apache2/include/http_config.h:975: error: syntax error before "int"
In file included from /usr/local/apache2/include/http_core.h:30,
from mod_caucho.c:39:
/usr/local/apr/include/apr-1/apr_hash.h:78: error: syntax error before '*' token
/usr/local/apr/include/apr-1/apr_hash.h:78: warning: data definition has no type or storage class
/usr/local/apr/include/apr-1/apr_hash.h:212: error: `apr_hash_merge' declared as function returning a function
In file included from mod_caucho.c:39:
/usr/local/apache2/include/http_core.h:31:26: apr_optional.h: No such file or directory
In file included from /usr/local/apache2/include/http_core.h:32,
from mod_caucho.c:39:
/usr/local/apache2/include/util_filter.h:137: error: syntax error before "apr_bucket_brigade"
/usr/local/apache2/include/util_filter.h:139: error: syntax error before "apr_bucket_brigade"
In file included from mod_caucho.c:39:
/usr/local/apache2/include/http_core.h:633: error: syntax error before "apr_hash_t"
/usr/local/apache2/include/http_core.h:633: warning: no semicolon at end of struct or union
/usr/local/apache2/include/http_core.h:634: warning: data definition has no type or storage class
/usr/local/apache2/include/http_core.h:640: error: syntax error before "ap_mgmt_value"
/usr/local/apache2/include/http_core.h:662: error: syntax error before "int"
/usr/local/apache2/include/http_core.h:680: error: syntax error before "ap_ident_lookup"
In file included from mod_caucho.c:40:
/usr/local/apache2/include/http_protocol.h:45: error: syntax error before "void"
/usr/local/apache2/include/http_protocol.h:77: error: syntax error before "apr_bucket_brigade"
/usr/local/apache2/include/http_protocol.h:537: error: syntax error before "apr_bucket_brigade"
/usr/local/apache2/include/http_protocol.h:569: error: syntax error before "int"
/usr/local/apache2/include/http_protocol.h:608: error: syntax error before "apr_bucket_refcount"
/usr/local/apache2/include/http_protocol.h:608: warning: no semicolon at end of struct or union
/usr/local/apache2/include/http_protocol.h:613: error: syntax error before '}' token
/usr/local/apache2/include/http_protocol.h:616: error: syntax error before "ap_bucket_type_error"
/usr/local/apache2/include/http_protocol.h:616: warning: data definition has no type or storage class
/usr/local/apache2/include/http_protocol.h:633: error: syntax error before '*' token
/usr/local/apache2/include/http_protocol.h:634: warning: data definition has no type or storage class
/usr/local/apache2/include/http_protocol.h:644: error: syntax error before '*' token
/usr/local/apache2/include/http_protocol.h:646: error: syntax error before "apr_bucket_alloc_t"
/usr/local/apache2/include/http_protocol.h:646: warning: data definition has no type or storage class
/usr/local/apache2/include/http_protocol.h:648: error: syntax error before "apr_bucket_brigade
In file included from mod_caucho.c:41:
/usr/local/apache2/include/http_connection.h:94: error: syntax error before "conn_rec"
/usr/local/apache2/include/http_connection.h:135: error: syntax error before '*' token
/usr/local/apache2/include/http_connection.h:135: warning: data definition has no type or storage class
mod_caucho.c: In function `cse_get_module_config':
mod_caucho.c:247: error: dereferencing pointer to incomplete type
mod_caucho.c: In function `get_session_index':
mod_caucho.c:497: error: dereferencing pointer to incomplete type
mod_caucho.c: In function `write_env':
mod_caucho.c:529: error: dereferencing pointer to incomplete type
。。。。
。。。。
mod_caucho.c: In function `caucho_register_hooks':
mod_caucho.c:1330: error: `APR_HOOK_MIDDLE' undeclared (first use in this function)
mod_caucho.c:1330: error: (Each undeclared identifier is reported only once
mod_caucho.c:1330: error: for each function it appears in.)
mod_caucho.c:1332: error: `APR_HOOK_FIRST' undeclared (first use in this function)
make[2]: *** [mod_caucho.lo] 错误 1
make[2]: Leaving directory `/pkg/resin/resin-3.1.2/modules/c/src/apache2'
make[2]: Entering directory `/pkg/resin/resin-3.1.2/modules/c/src/resin_os'
gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DHAS_JVMDI -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/pkg/resin/resin-3.1.2\" -I/usr/include -I/usr/local/jdk1.5.0_12/include -I/usr/local/jdk1.5.0_12/include/linux -I../common -DCPU=\"i386\" -DOS= -c -o jni_os.o jni_os.c
gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DHAS_JVMDI -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/pkg/resin/resin-3.1.2\" -I/usr/include -I/usr/local/jdk1.5.0_12/include -I/usr/local/jdk1.5.0_12/include/linux -I../common -DCPU=\"i386\" -DOS= -c -o jni_jvmti.o jni_jvmti.c
gcc -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DHAS_JVMDI -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/pkg/resin/resin-3.1.2\" -I/usr/include -I/usr/local/jdk1.5.0_12/include -I/usr/local/jdk1.5.0_12/include/linux -I../common -DCPU=\"i386\" -DOS= -c -o jni_jvmdi.o jni_jvmdi.c
/usr/bin/ld -shared -L/usr/lib -o libresin_os.so jni_os.o jni_jvmti.o jni_jvmdi.o -lpthread
make[2]: Leaving directory `/pkg/resin/resin-3.1.2/modules/c/src/resin_os'
make[1]: Leaving directory `/pkg/resin/resin-3.1.2/modules/c/src'
########################################################################
[root@webser01 bin]# ./apxs -c -i -a /pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread -I/usr/local/apache/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -c -o /pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.lo /pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c && touch /pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.slo
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:47:17: cse.h: No such file or directory
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:48:21: version.h: No such file or directory
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:100: error: syntax error before '*' token
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `cse_create_lock':
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:104: error: `config' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:104: error: (Each undeclared identifier is reported only once
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:104: error: for each function it appears in.)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: At top level:
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:110: error: syntax error before '*' token
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `cse_error':
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:138: error: `BUF_LENGTH' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:141: error: `format' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:147: error: `config' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: At top level:
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:178: error: syntax error before '*' token
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `cse_init_server_config':
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:183: error: `VERSION' undeclared (first use in this function)
。。。。
。。。。
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:435: error: `config' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `resin_session_url_prefix_command':/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: At top level:
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:502: error: syntax error before '*' token
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `write_env':
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:508: error: `r' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:526: error: `s' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:526: error: `HMUX_URL' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:528: error: `HMUX_METHOD' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:530: error: `CSE_PROTOCOL' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:533: error: `CSE_QUERY_STRING' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:539: error: `HMUX_SERVER_NAME' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:541: error: `CSE_SERVER_PORT' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:544: error: `CSE_REMOTE_HOST' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:548: error: `CSE_REMOTE_ADDR' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:550: error: `CSE_REMOTE_PORT' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:553: error: `CSE_REMOTE_USER' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:555: error: `CSE_AUTH_TYPE' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: At top level:
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:591: error: syntax error before '*' token
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `write_headers':
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:593: error: `r' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:607: error: `s' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:607: error: `CSE_CONTENT_TYPE' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:609: error: `CSE_CONTENT_LENGTH' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:614: error: `HMUX_HEADER' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:615: error: `HMUX_STRING' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: At top level:
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: At top level:
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:660: error: syntax error before '*' token
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `cse_write_response':
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:662: error: `len' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:667: error: `s' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:676: error: `r' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: At top level:
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:702: error: syntax error before '*' token
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `send_data':
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:711: error: `s' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:722: error: `HMUX_CHANNEL' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:727: error: `HMUX_ACK' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:732: error: `HMUX_STATUS' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:739: error: `r' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:743: error: `HMUX_HEADER' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:756: error: `HMUX_META_HEADER' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:762: error: `HMUX_DATA' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:765: error: `HMUX_EXIT' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:768: error: `HMUX_FLUSH' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:773: error: `CSE_SEND_HEADER' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:777: error: `HMUX_QUIT' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: At top level:
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:796: error: syntax error before '*' token
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `write_request':
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: At top level:
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:840: error: syntax error before "config_t"
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `caucho_request':
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: At top level:
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:928: error: syntax error before '*' token
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:958: error: `s' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: At top level:
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:986: error: syntax error before "config_t"
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `caucho_host_status':
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:994: error: `host' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `caucho_status':
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:1290: error: `VERSION' undeclared (first use in this function)
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c: In function `cse_error':
/pkg/resin/resin-3.1.1/modules/c/src/apache2/mod_caucho.c:141: error: `va_start' used in function with fixed args
apxs:Error: Command failed with rc=65536
. |
|