tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu" <...@webroot.com>
Subject compiling jakarta-tomcat-connectors-4.1.24-src
Date Mon, 01 Dec 2008 23:00:04 GMT
I downloaded jakarta-tomcat-connectors-4.1.24-src.
But compilation gave me:

/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include/apr_network_io.h:121: error: syntax error before
"apr_uint32_t"
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include/apr_network_io.h:201: error: syntax error before "apr_port_t"
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include/apr_network_io.h:201: warning: data definition has no type or
storage class
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include/apr_network_io.h:218: error: syntax error before "apr_port_t"
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include/apr_network_io.h:237: error: field `sin' has incomplete type
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include/apr_network_io.h:281: error: syntax error before
"apr_socket_create"
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include/apr_network_io.h:284: warning: data definition has no type or
storage class
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include/apr_network_io.h:299: error: syntax error before
"apr_socket_shutdown"
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include/apr_network_io.h:300: warning: data definition has no type or
storage class
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include/apr_network_io.h:306: error: syntax error before
"apr_socket_close"
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include/apr_network_io.h:306: warning: data definition has no type or
storage class

Here are the files under
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include which I downloaded from
http://people.apache.org/~rooneg/apr-1.2.6/apr-1.2.6/include/arch/:

[tyu@vh15 include]$ ls
apr.h.in            apr_general.h       apr_proc_mutex.h
apr_thread_rwlock.h
apr.hnw             apr_getopt.h        apr_random.h        apr_time.h
apr.hw              apr_global_mutex.h  apr_ring.h          apr_user.h
apr_allocator.h     apr_hash.h          apr_shm.h
apr_version.h
apr_atomic.h        apr_inherit.h       apr_signal.h        apr_want.h
apr_dso.h           apr_lib.h           apr_strings.h       wa.h
apr_env.h           apr_mmap.h          apr_support.h       wa_config.h
apr_errno.h         apr_network_io.h    apr_tables.h        wa_main.h
apr_file_info.h     apr_poll.h          apr_thread_cond.h   wa_request.h
apr_file_io.h       apr_pools.h         apr_thread_mutex.h  wa_version.h
apr_fnmatch.h       apr_portable.h      apr_thread_proc.h

How should I proceed ?

My FreeBSD is:
FreeBSD vh13.dev.webroot.com 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #0:
Tue Jun  3 16:34:26 MDT 2008
root@vh13.dev.webroot.com:/usr/obj/usr/src/sys/GENERIC  i386

Thanks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message