[OpenAFS] 64-bit mod_waklog / filedrawers on afs
Colson, Daniel
dcolson5@uncc.edu
Mon, 22 Aug 2011 09:54:16 -0400
This is a multi-part message in MIME format.
------_=_NextPart_001_01CC60D3.867762B1
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Oops. I apologize. I sent the output from the filedrawers build instead =
of the mod_waklog build. I'll check on mysql-devel though. Below is the =
output from "make" for mod_waklog.
`/usr/sbin/apxs -q CC` -I/usr/include/ -I/usr/include/afs =
-I/usr/include/httpd -DEAPI -g `/usr/sbin/apxs -q CFLAGS` -c =
mod_waklog.c -o mod_waklog.o
In file included from /usr/include/httpd/httpd.h:43,
from mod_waklog.c:4:
/usr/include/httpd/ap_config.h:25:17: error: apr.h: No such file or =
directory
/usr/include/httpd/ap_config.h:26:23: error: apr_hooks.h: No such file =
or directory
/usr/include/httpd/ap_config.h:27:32: error: apr_optional_hooks.h: No =
such file or directory
In file included from /usr/include/httpd/httpd.h:46,
from mod_waklog.c:4:
/usr/include/httpd/ap_release.h:25:41: error: apr_general.h: No such =
file or directory
In file included from mod_waklog.c:4:
/usr/include/httpd/httpd.h:50:24: error: apr_tables.h: No such file or =
directory
/usr/include/httpd/httpd.h:51:23: error: apr_pools.h: No such file or =
directory
/usr/include/httpd/httpd.h:52:22: error: apr_time.h: No such file or =
directory
/usr/include/httpd/httpd.h:53:28: error: apr_network_io.h: No such file =
or directory
/usr/include/httpd/httpd.h:54:25: error: apr_buckets.h: No such file or =
directory
/usr/include/httpd/httpd.h:55:22: error: apr_poll.h: No such file or =
directory
In file included from /usr/include/httpd/httpd.h:59,
from mod_waklog.c:4:
/usr/include/httpd/ap_regex.h:87: error: expected =
specifier-qualifier-list before =91apr_size_t=92
/usr/include/httpd/ap_regex.h:118: error: expected declaration =
specifiers or =91...=92 before =91apr_size_t=92
/usr/include/httpd/ap_regex.h:127: error: expected =91=3D=92, =91,=92, =
=91;=92, =91asm=92 or =91__attribute__=92 before =91ap_regerror=92
In file included from mod_waklog.c:4:
/usr/include/httpd/httpd.h:433: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:601: error: expected specifier-qualifier-list =
before =91apr_int64_t=92
/usr/include/httpd/httpd.h:723:21: error: apr_uri.h: No such file or =
directory
/usr/include/httpd/httpd.h:730: error: expected specifier-qualifier-list =
before =91apr_pool_t=92
/usr/include/httpd/httpd.h:746: error: expected specifier-qualifier-list =
before =91apr_pool_t=92
/usr/include/httpd/httpd.h:1008: error: expected =
specifier-qualifier-list before =91apr_pool_t=92
/usr/include/httpd/httpd.h:1085: error: expected =
specifier-qualifier-list before =91APR_RING_ENTRY=92
/usr/include/httpd/httpd.h:1118: error: expected =
specifier-qualifier-list before =91apr_sockaddr_t=92
/usr/include/httpd/httpd.h:1146: error: expected =
specifier-qualifier-list before =91apr_port_t=92
/usr/include/httpd/httpd.h:1202: error: expected =
specifier-qualifier-list before =91apr_bucket_brigade=92
/usr/include/httpd/httpd.h:1210: error: expected =
specifier-qualifier-list before =91apr_bucket_brigade=92
/usr/include/httpd/httpd.h:1216: error: expected =
specifier-qualifier-list before =91apr_socket_t=92
/usr/include/httpd/httpd.h:1232: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1242: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1255: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1265: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1274: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1284: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1294: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1306: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1314: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1323: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1334: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1357: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1367: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1379: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1388: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1397: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1439: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1449: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1460: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1468: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1477: error: expected =91=3D=92, =91,=92, =
=91;=92, =91asm=92 or =91__attribute__=92 before =
=91ap_escape_errorlog_item=92
/usr/include/httpd/httpd.h:1488: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1497: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1526: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1540: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1550: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1602: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1610: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1624: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1632: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1645: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1685: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1697: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1707: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1715: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/httpd.h:1726: error: expected =91)=92 before =91*=92 =
token
In file included from mod_waklog.c:5:
/usr/include/httpd/http_config.h:279: error: expected =
specifier-qualifier-list before =91apr_int64_t=92
/usr/include/httpd/http_config.h:357: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_config.h:365: error: expected =91;=92 before =
=91void=92
/usr/include/httpd/http_config.h:557: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_config.h:566: error: expected declaration =
specifiers or =91...=92 before =91apr_pool_t=92
/usr/include/httpd/http_config.h:582: error: expected declaration =
specifiers or =91...=92 before =91apr_pool_t=92
/usr/include/httpd/http_config.h:607: error: expected =91=3D=92, =
=91,=92, =91;=92, =91asm=92 or =91__attribute__=92 before =
=91ap_pcfg_openfile=92
/usr/include/httpd/http_config.h:619: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_config.h:669: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_config.h:685: error: expected declaration =
specifiers or =91...=92 before =91apr_pool_t=92
/usr/include/httpd/http_config.h:686: error: expected declaration =
specifiers or =91...=92 before =91apr_pool_t=92
/usr/include/httpd/http_config.h:975: error: expected =91)=92 before =
=91int=92
In file included from mod_waklog.c:6:
/usr/include/httpd/http_log.h:33:29: error: apr_thread_proc.h: No such =
file or directory
In file included from /usr/include/syslog.h:1,
from /usr/include/httpd/http_log.h:36,
from mod_waklog.c:6:
/usr/include/sys/syslog.h:200: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
In file included from /usr/include/sys/syslog.h:207,
from /usr/include/syslog.h:1,
from /usr/include/httpd/http_log.h:36,
from mod_waklog.c:6:
/usr/include/bits/syslog.h:34: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
In file included from mod_waklog.c:6:
/usr/include/httpd/http_log.h:102: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_log.h:109: error: expected =91=3D=92, =91,=92, =
=91;=92, =91asm=92 or =91__attribute__=92 before =
=91ap_replace_stderr_log=92
/usr/include/httpd/http_log.h:121: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_log.h:172: error: expected declaration =
specifiers or =91...=92 before =91apr_status_t=92
/usr/include/httpd/http_log.h:174: error: format string argument not a =
string type
/usr/include/httpd/http_log.h:196: error: expected declaration =
specifiers or =91...=92 before =91apr_status_t=92
/usr/include/httpd/http_log.h:196: error: expected declaration =
specifiers or =91...=92 before =91apr_pool_t=92
/usr/include/httpd/http_log.h:198: error: format string argument not a =
string type
/usr/include/httpd/http_log.h:220: error: expected declaration =
specifiers or =91...=92 before =91apr_status_t=92
/usr/include/httpd/http_log.h:222: error: format string argument not a =
string type
/usr/include/httpd/http_log.h:246: error: expected declaration =
specifiers or =91...=92 before =91apr_status_t=92
/usr/include/httpd/http_log.h:248: error: format string argument not a =
string type
/usr/include/httpd/http_log.h:261: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_log.h:269: error: expected =91=3D=92, =91,=92, =
=91;=92, =91asm=92 or =91__attribute__=92 before =91ap_read_pid=92
/usr/include/httpd/http_log.h:282: error: expected =
specifier-qualifier-list before =91apr_pool_t=92
/usr/include/httpd/http_log.h:301: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_log.h:335: error: expected =91)=92 before =
=91void=92
In file included from mod_waklog.c:7:
/usr/include/httpd/http_protocol.h:31:26: error: apr_portable.h: No such =
file or directory
/usr/include/httpd/http_protocol.h:32:22: error: apr_mmap.h: No such =
file or directory
In file included from /usr/include/httpd/http_protocol.h:34,
from mod_waklog.c:7:
/usr/include/httpd/util_filter.h:72: warning: data definition has no =
type or storage class
/usr/include/httpd/util_filter.h:72: warning: type defaults to =91int=92 =
in declaration of =91ap_input_mode_t=92
/usr/include/httpd/util_filter.h:136: error: expected declaration =
specifiers or =91...=92 before =91*=92 token
/usr/include/httpd/util_filter.h:137: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/util_filter.h:137: warning: type defaults to =
=91int=92 in declaration of =91apr_status_t=92
/usr/include/httpd/util_filter.h:137: error: =91apr_status_t=92 declared =
as function returning a function
/usr/include/httpd/util_filter.h:139: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/util_filter.h:140: error: expected declaration =
specifiers or =91...=92 before =91ap_input_mode_t=92
/usr/include/httpd/util_filter.h:141: error: expected declaration =
specifiers or =91...=92 before =91apr_read_type_e=92
/usr/include/httpd/util_filter.h:142: error: expected declaration =
specifiers or =91...=92 before =91apr_off_t=92
/usr/include/httpd/util_filter.h:142: error: =91ap_in_filter_func=92 =
declared as function returning a function
/usr/include/httpd/util_filter.h:146: error: expected =
specifier-qualifier-list before =91ap_out_filter_func=92
/usr/include/httpd/util_filter.h:299: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/util_filter.h:300: error: expected declaration =
specifiers or =91...=92 before =91ap_input_mode_t=92
/usr/include/httpd/util_filter.h:301: error: expected declaration =
specifiers or =91...=92 before =91apr_read_type_e=92
/usr/include/httpd/util_filter.h:302: error: expected declaration =
specifiers or =91...=92 before =91apr_off_t=92
/usr/include/httpd/util_filter.h:302: error: =91ap_get_brigade=92 =
declared as function returning a function
/usr/include/httpd/util_filter.h:313: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/util_filter.h:313: error: =91ap_pass_brigade=92 =
declared as function returning a function
/usr/include/httpd/util_filter.h:351: error: expected declaration =
specifiers or =91...=92 before =91ap_out_filter_func=92
/usr/include/httpd/util_filter.h:377: error: expected declaration =
specifiers or =91...=92 before =91ap_out_filter_func=92
/usr/include/httpd/util_filter.h:495: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/util_filter.h:496: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/util_filter.h:496: error: expected declaration =
specifiers or =91...=92 before =91apr_pool_t=92
/usr/include/httpd/util_filter.h:496: error: =91ap_save_brigade=92 =
declared as function returning a function
/usr/include/httpd/util_filter.h:506: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/util_filter.h:514: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/util_filter.h:514: error: =91ap_fflush=92 declared as =
function returning a function
/usr/include/httpd/util_filter.h:551: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/util_filter.h:552: error: =91ap_fputstrs=92 declared =
as function returning a function
/usr/include/httpd/util_filter.h:562: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/util_filter.h:565: error: =91ap_fprintf=92 declared =
as function returning a function
/usr/include/httpd/util_filter.h:565: error: format string argument not =
a string type
In file included from mod_waklog.c:7:
/usr/include/httpd/http_protocol.h:45: error: expected =91)=92 before =
=91void=92
/usr/include/httpd/http_protocol.h:77: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/http_protocol.h:111: error: expected declaration =
specifiers or =91...=92 before =91apr_off_t=92
/usr/include/httpd/http_protocol.h:127: error: expected =91=3D=92, =
=91,=92, =91;=92, =91asm=92 or =91__attribute__=92 before =
=91ap_rationalize_mtime=92
/usr/include/httpd/http_protocol.h:203: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_protocol.h:228: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_protocol.h:235: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_protocol.h:253: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_protocol.h:356: error: expected declaration =
specifiers or =91...=92 before =91va_list=92
/usr/include/httpd/http_protocol.h:426: error: expected declaration =
specifiers or =91...=92 before =91apr_size_t=92
/usr/include/httpd/http_protocol.h:534: error: expected declaration =
specifiers or =91...=92 before =91apr_size_t=92
/usr/include/httpd/http_protocol.h:535: error: expected declaration =
specifiers or =91...=92 before =91apr_size_t=92
/usr/include/httpd/http_protocol.h:537: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/http_protocol.h:537: error: =91ap_rgetline_core=92 =
declared as function returning a function
/usr/include/httpd/http_protocol.h:554: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_protocol.h:569: error: expected =91)=92 before =
=91int=92
/usr/include/httpd/http_protocol.h:608: error: expected =
specifier-qualifier-list before =91apr_bucket_refcount=92
/usr/include/httpd/http_protocol.h:616: error: expected =91=3D=92, =
=91,=92, =91;=92, =91asm=92 or =91__attribute__=92 before =
=91ap_bucket_type_error=92
/usr/include/httpd/http_protocol.h:633: error: expected =91=3D=92, =
=91,=92, =91;=92, =91asm=92 or =91__attribute__=92 before =91*=92 token
/usr/include/httpd/http_protocol.h:644: error: expected =91=3D=92, =
=91,=92, =91;=92, =91asm=92 or =91__attribute__=92 before =91*=92 token
/usr/include/httpd/http_protocol.h:648: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/http_protocol.h:648: error: =91ap_byterange_filter=92 =
declared as function returning a function
/usr/include/httpd/http_protocol.h:649: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/http_protocol.h:649: error: =
=91ap_http_header_filter=92 declared as function returning a function
/usr/include/httpd/http_protocol.h:651: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/http_protocol.h:651: error: =
=91ap_content_length_filter=92 declared as function returning a function
/usr/include/httpd/http_protocol.h:652: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/http_protocol.h:652: error: =91ap_old_write_filter=92 =
declared as function returning a function
In file included from mod_waklog.c:8:
/usr/include/httpd/http_request.h:105: warning: type defaults to =
=91int=92 in declaration of =91apr_finfo_t=92
/usr/include/httpd/http_request.h:105: error: expected =91;=92, =91,=92 =
or =91)=92 before =91*=92 token
/usr/include/httpd/http_request.h:131: error: expected declaration =
specifiers or =91...=92 before =91apr_bucket_brigade=92
/usr/include/httpd/http_request.h:131: error: =
=91ap_sub_req_output_filter=92 declared as function returning a function
/usr/include/httpd/http_request.h:198: error: expected declaration =
specifiers or =91...=92 before =91apr_time_t=92
/usr/include/httpd/http_request.h:261: error: expected =91)=92 before =
=91int=92
In file included from mod_waklog.c:9:
/usr/include/httpd/http_core.h:30:22: error: apr_hash.h: No such file or =
directory
/usr/include/httpd/http_core.h:31:26: error: apr_optional.h: No such =
file or directory
In file included from mod_waklog.c:9:
/usr/include/httpd/http_core.h:221: error: expected =91)=92 before =
=91*=92 token
/usr/include/httpd/http_core.h:235: error: expected =91=3D=92, =91,=92, =
=91;=92, =91asm=92 or =91__attribute__=92 before =
=91ap_get_server_port=92
/usr/include/httpd/http_core.h:242: error: expected =91=3D=92, =91,=92, =
=91;=92, =91asm=92 or =91__attribute__=92 before =
=91ap_get_limit_req_body=92
/usr/include/httpd/http_core.h:291: error: expected =
specifier-qualifier-list before =91apr_int64_t=92
/usr/include/httpd/http_core.h:327: error: expected =91=3D=92, =91,=92, =
=91;=92, =91asm=92 or =91__attribute__=92 before =91*=92 token
/usr/include/httpd/http_core.h:646: error: expected =
specifier-qualifier-list before =91apr_hash_t=92
/usr/include/httpd/http_core.h:675: error: expected =91)=92 before =
=91int=92
/usr/include/httpd/http_core.h:693: error: expected declaration =
specifiers or =91...=92 before =91ap_ident_lookup=92
/usr/include/httpd/http_core.h:694: error: expected declaration =
specifiers or =91...=92 before =91(=92 token
/usr/include/httpd/http_core.h:694: warning: data definition has no type =
or storage class
/usr/include/httpd/http_core.h:694: warning: type defaults to =91int=92 =
in declaration of =91APR_DECLARE_OPTIONAL_FN=92
mod_waklog.c:49:25: error: apr_strings.h: No such file or directory
mod_waklog.c:50:24: error: apr_base64.h: No such file or directory
In file included from /usr/include/httpd/unixd.h:30,
from mod_waklog.c:57:
/usr/include/httpd/ap_listen.h:34: error: expected declaration =
specifiers or =91...=92 before =91apr_pool_t=92
/usr/include/httpd/ap_listen.h:34: error: =91accept_function=92 declared =
as function returning a function
/usr/include/httpd/ap_listen.h:50: error: expected =
specifier-qualifier-list before =91apr_socket_t=92
In file included from mod_waklog.c:57:
/usr/include/httpd/unixd.h:39:28: error: apr_proc_mutex.h: No such file =
or directory
/usr/include/httpd/unixd.h:40:30: error: apr_global_mutex.h: No such =
file or directory
In file included from mod_waklog.c:57:
/usr/include/httpd/unixd.h:57: error: expected =91)=92 before =
=91ap_unix_identity_t=92
/usr/include/httpd/unixd.h:75: warning: data definition has no type or =
storage class
/usr/include/httpd/unixd.h:75: warning: type defaults to =91int=92 in =
declaration of =91unixd_config_rec=92
/usr/include/httpd/unixd.h:76: error: expected =91=3D=92, =91,=92, =
=91;=92, =91asm=92 or =91__attribute__=92 before =91unixd_config=92
/usr/include/httpd/unixd.h:79: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/unixd.h:98: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/unixd.h:99: error: expected =91)=92 before =91*=92 =
token
/usr/include/httpd/unixd.h:100: error: expected declaration specifiers =
or =91...=92 before =91apr_pool_t=92
/usr/include/httpd/unixd.h:100: error: =91unixd_accept=92 declared as =
function returning a function
mod_waklog.c:58: error: expected =91=3D=92, =91,=92, =91;=92, =91asm=92 =
or =91__attribute__=92 before =91unixd_config=92
In file included from /usr/include/et/com_err.h:19,
from /usr/include/krb5/krb5.h:2690,
from /usr/include/krb5.h:7,
from mod_waklog.c:73:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stdarg.h:105: error: =
expected =91=3D=92, =91,=92, =91;=92, =91asm=92 or =91__attribute__=92 =
before =91va_list=92
In file included from /usr/include/krb5/krb5.h:2690,
from /usr/include/krb5.h:7,
from mod_waklog.c:73:
/usr/include/et/com_err.h:34: error: expected declaration specifiers or =
=91...=92 before =91va_list=92
/usr/include/et/com_err.h:38: error: expected declaration specifiers or =
=91...=92 before =91va_list=92
/usr/include/et/com_err.h:40: error: expected declaration specifiers or =
=91...=92 before =91va_list=92
/usr/include/et/com_err.h:41: error: expected declaration specifiers or =
=91...=92 before =91va_list=92
/usr/include/et/com_err.h:43: error: expected declaration specifiers or =
=91...=92 before =91va_list=92
In file included from mod_waklog.c:75:
/usr/include/afs/venus.h:33: error: field =91server=92 has incomplete =
type
In file included from /usr/include/stdio.h:72,
from /usr/include/rx/rx.h:42,
from /usr/include/rx/rxkad_prototypes.h:15,
from /usr/include/rx/rxkad.h:102,
from /usr/include/afs/auth.h:19,
from mod_waklog.c:76:
/usr/include/libio.h:482: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/libio.h:484: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
In file included from /usr/include/rx/rx.h:42,
from /usr/include/rx/rxkad_prototypes.h:15,
from /usr/include/rx/rxkad.h:102,
from /usr/include/afs/auth.h:19,
from mod_waklog.c:76:
/usr/include/stdio.h:343: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/stdio.h:348: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/stdio.h:351: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/stdio.h:362: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/stdio.h:371: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/stdio.h:387: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/stdio.h:418: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/stdio.h:425: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/stdio.h:430: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
In file included from /usr/include/rx/rx.h:42,
from /usr/include/rx/rxkad_prototypes.h:15,
from /usr/include/rx/rxkad.h:102,
from /usr/include/afs/auth.h:19,
from mod_waklog.c:76:
/usr/include/stdio.h:805: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
In file included from /usr/include/stdio.h:835,
from /usr/include/rx/rx.h:42,
from /usr/include/rx/rxkad_prototypes.h:15,
from /usr/include/rx/rxkad.h:102,
from /usr/include/afs/auth.h:19,
from mod_waklog.c:76:
/usr/include/bits/stdio.h:34: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/bits/stdio.h: In function =91vprintf=92:
/usr/include/bits/stdio.h:36: error: =91__arg=92 undeclared (first use =
in this function)
/usr/include/bits/stdio.h:36: error: (Each undeclared identifier is =
reported only once
/usr/include/bits/stdio.h:36: error: for each function it appears in.)
/usr/include/bits/stdio.h:36: error: too many arguments to function =
=91vfprintf=92
In file included from /usr/include/stdio.h:838,
from /usr/include/rx/rx.h:42,
from /usr/include/rx/rxkad_prototypes.h:15,
from /usr/include/rx/rxkad.h:102,
from /usr/include/afs/auth.h:19,
from mod_waklog.c:76:
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:28: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/bits/stdio2.h:43: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/bits/stdio2.h:60: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
/usr/include/bits/stdio2.h:62: error: expected declaration specifiers or =
=91...=92 before =91__gnuc_va_list=92
mod_waklog.c:111: error: expected specifier-qualifier-list before =
=91apr_pool_t=92
mod_waklog.c: In function =91log_error=92:
mod_waklog.c:184: error: =91va_list=92 undeclared (first use in this =
function)
mod_waklog.c:184: error: expected =91;=92 before =91ap=92
mod_waklog.c:186: error: =91ap=92 undeclared (first use in this =
function)
mod_waklog.c:191: warning: passing argument 4 of =91ap_log_error=92 =
makes pointer from integer without a cast
mod_waklog.c:191: warning: passing argument 5 of =91ap_log_error=92 from =
incompatible pointer type
mod_waklog.c: In function =91retrieve_config=92:
mod_waklog.c:203: error: =91request_rec=92 has no member named =
=91main=92
mod_waklog.c:204: error: =91request_rec=92 has no member named =
=91main=92
mod_waklog.c:211: error: =91request_rec=92 has no member named =
=91per_dir_config=92
mod_waklog.c:214: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c: In function =91set_auth=92:
mod_waklog.c:285: error: =91request_rec=92 has no member named =
=91user=92
mod_waklog.c:285: error: =91request_rec=92 has no member named =
=91user=92
mod_waklog.c:298: error: =91server_rec=92 has no member named =
=91module_config=92
mod_waklog.c:311: error: =91request_rec=92 has no member named =
=91connection=92
mod_waklog.c:311: error: =91request_rec=92 has no member named =
=91user=92
mod_waklog.c:313: error: =91request_rec=92 has no member named =
=91user=92
mod_waklog.c:313: error: =91request_rec=92 has no member named =
=91user=92
mod_waklog.c:317: error: =91request_rec=92 has no member named =
=91user=92
mod_waklog.c:317: error: =91request_rec=92 has no member named =
=91user=92
mod_waklog.c:327: warning: implicit declaration of function =
=91apr_table_get=92
mod_waklog.c:327: error: =91request_rec=92 has no member named =
=91subprocess_env=92
mod_waklog.c:327: warning: cast to pointer from integer of different =
size
mod_waklog.c:330: error: =91request_rec=92 has no member named =
=91notes=92
mod_waklog.c:330: warning: cast to pointer from integer of different =
size
mod_waklog.c:339: error: =91request_rec=92 has no member named =
=91user=92
mod_waklog.c:340: error: =91request_rec=92 has no member named =
=91user=92
mod_waklog.c:340: error: =91request_rec=92 has no member named =
=91user=92
mod_waklog.c:703: warning: label =91usecachedtoken=92 defined but not =
used
mod_waklog.c: At top level:
mod_waklog.c:749: error: expected =91)=92 before =91*=92 token
mod_waklog.c:778: error: expected =91)=92 before =91*=92 token
mod_waklog.c:801: error: expected =91)=92 before =91*=92 token
mod_waklog.c:831: error: expected =91)=92 before =91*=92 token
mod_waklog.c: In function =91set_waklog_enabled=92:
mod_waklog.c:870: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:874: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c: At top level:
mod_waklog.c:883: error: expected =91)=92 before =91*=92 token
mod_waklog.c: In function =91set_waklog_location_principal=92:
mod_waklog.c:912: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:914: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:917: warning: implicit declaration of function =
=91apr_pstrdup=92
mod_waklog.c:917: error: =91cmd_parms=92 has no member named =91pool=92
mod_waklog.c:917: warning: assignment makes pointer from integer without =
a cast
mod_waklog.c:918: error: =91cmd_parms=92 has no member named =91pool=92
mod_waklog.c:918: warning: assignment makes pointer from integer without =
a cast
mod_waklog.c:920: warning: implicit declaration of function =
=91add_to_renewtable=92
mod_waklog.c:920: error: =91cmd_parms=92 has no member named =91pool=92
mod_waklog.c: In function =91set_waklog_afs_cell=92:
mod_waklog.c:932: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:934: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:938: error: =91cmd_parms=92 has no member named =91pool=92
mod_waklog.c:938: warning: assignment makes pointer from integer without =
a cast
mod_waklog.c:943: error: =91cmd_parms=92 has no member named =91pool=92
mod_waklog.c:943: warning: assignment makes pointer from integer without =
a cast
mod_waklog.c: In function =91set_waklog_afs_cell_realm=92:
mod_waklog.c:954: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:956: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:959: error: =91cmd_parms=92 has no member named =91pool=92
mod_waklog.c:959: warning: assignment makes pointer from integer without =
a cast
mod_waklog.c:962: error: =91cmd_parms=92 has no member named =91pool=92
mod_waklog.c:962: warning: assignment makes pointer from integer without =
a cast
mod_waklog.c: In function =91set_waklog_default_principal=92:
mod_waklog.c:971: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:973: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:975: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:978: error: =91cmd_parms=92 has no member named =91pool=92
mod_waklog.c:978: warning: assignment makes pointer from integer without =
a cast
mod_waklog.c:979: error: =91cmd_parms=92 has no member named =91pool=92
mod_waklog.c:979: warning: assignment makes pointer from integer without =
a cast
mod_waklog.c:983: error: =91cmd_parms=92 has no member named =91pool=92
mod_waklog.c:983: warning: assignment makes pointer from integer without =
a cast
mod_waklog.c:984: error: =91cmd_parms=92 has no member named =91pool=92
mod_waklog.c:984: warning: assignment makes pointer from integer without =
a cast
mod_waklog.c:986: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:990: error: =91cmd_parms=92 has no member named =91pool=92
mod_waklog.c: In function =91set_waklog_use_usertokens=92:
mod_waklog.c:1001: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:1007: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c: In function =91set_waklog_disable_token_cache=92:
mod_waklog.c:1017: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c:1023: error: =91cmd_parms=92 has no member named =
=91server=92
mod_waklog.c: At top level:
mod_waklog.c:1032: error: =91waklog_child_exit=92 declared as function =
returning a function
mod_waklog.c: In function =91waklog_child_exit=92:
mod_waklog.c:1053: error: =91APR_SUCCESS=92 undeclared (first use in =
this function)
mod_waklog.c: At top level:
mod_waklog.c:1060: error: expected =91)=92 before =91*=92 token
mod_waklog.c: In function =91token_cleanup=92:
mod_waklog.c:1154: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c: In function =91waklog_child_routine=92:
mod_waklog.c:1173: error: =91server_rec=92 has no member named =
=91module_config=92
mod_waklog.c: At top level:
mod_waklog.c:1234: error: expected =91)=92 before =91*=92 token
mod_waklog.c: In function =91waklog_phase0=92:
mod_waklog.c:1489: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1495: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1496: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1498: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1499: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1507: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c: In function =91waklog_phase1=92:
mod_waklog.c:1518: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1524: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1525: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1527: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1528: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1530: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c: In function =91waklog_phase3=92:
mod_waklog.c:1541: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1547: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1548: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1550: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1551: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1553: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c: In function =91waklog_phase6=92:
mod_waklog.c:1564: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1570: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1571: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1573: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1574: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1576: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c: In function =91waklog_phase7=92:
mod_waklog.c:1588: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1594: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1595: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1597: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1598: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1600: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1601: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1603: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c: In function =91waklog_phase9=92:
mod_waklog.c:1622: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1625: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1628: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1629: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c: In function =91waklog_new_connection=92:
mod_waklog.c:1651: error: =91conn_rec=92 has no member named =
=91base_server=92
mod_waklog.c:1654: error: =91conn_rec=92 has no member named =
=91base_server=92
mod_waklog.c:1657: error: =91conn_rec=92 has no member named =
=91base_server=92
mod_waklog.c:1659: error: =91conn_rec=92 has no member named =
=91base_server=92
mod_waklog.c: In function =91waklog_phase2=92:
mod_waklog.c:1684: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1693: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c:1698: error: =91request_rec=92 has no member named =
=91server=92
mod_waklog.c: At top level:
mod_waklog.c:1734: error: expected =91)=92 before =91*=92 token
mod_waklog.c:1751: error: =91waklog_create_dir_config=92 undeclared here =
(not in a function)
mod_waklog.c:1751: warning: excess elements in struct initializer
mod_waklog.c:1751: warning: (near initialization for =
=91waklog_module=92)
mod_waklog.c:1752: error: =91waklog_merge_dir_config=92 undeclared here =
(not in a function)
mod_waklog.c:1752: warning: excess elements in struct initializer
mod_waklog.c:1752: warning: (near initialization for =
=91waklog_module=92)
mod_waklog.c:1753: error: =91waklog_create_server_config=92 undeclared =
here (not in a function)
mod_waklog.c:1753: warning: excess elements in struct initializer
mod_waklog.c:1753: warning: (near initialization for =
=91waklog_module=92)
mod_waklog.c:1754: warning: excess elements in struct initializer
mod_waklog.c:1754: warning: (near initialization for =
=91waklog_module=92)
mod_waklog.c:1755: warning: excess elements in struct initializer
mod_waklog.c:1755: warning: (near initialization for =
=91waklog_module=92)
mod_waklog.c:1756: error: =91waklog_register_hooks=92 undeclared here =
(not in a function)
mod_waklog.c:1757: warning: excess elements in struct initializer
mod_waklog.c:1757: warning: (near initialization for =
=91waklog_module=92)
make: *** [mod_waklog.o] Error 1
Thanks,
Daniel
-----Original Message-----
From: Aaron Knister [mailto:aaronk@umbc.edu]
Sent: Wed 8/17/2011 10:59 AM
To: Colson, Daniel
Cc: openafs-info@openafs.org
Subject: Re: [OpenAFS] 64-bit mod_waklog / filedrawers on afs
=20
Hi Daniel,
Well... I've never built filedrawers, but this line:
tpupload.c:18:19: error: mysql.h: No such file or directory
suggests you're missing the mysql headers. If its redhat try a yum =
install
mysql-devel.
-Aaron
On Tue, Aug 16, 2011 at 4:50 PM, Colson, Daniel <dcolson5@uncc.edu> =
wrote:
> **
>
> Thanks. Any help is appreciated. Here's the error output from "make".
>
> make[1]: Entering directory =
`<path-to-build-dir>/build/filedrawers/libcgi'
> gcc -Wall -Wstrict-prototypes -g -fPIC -I/usr/include/apr-1 -c -o =
cgi.o
> cgi.c
> cgi.c: In function 'post_getline':
> cgi.c:91: warning: function declaration isn't a prototype
> cgi.c: In function 'cgi_init':
> cgi.c:148: warning: function declaration isn't a prototype
> cgi.c: In function 'mp_get_file':
> cgi.c:361: warning: function declaration isn't a prototype
> cgi.c:364: warning: function declaration isn't a prototype
> cgi.c:375: warning: function declaration isn't a prototype
> cgi.c:378: warning: function declaration isn't a prototype
> cgi.c:385: warning: function declaration isn't a prototype
> cgi.c:388: warning: function declaration isn't a prototype
> cgi.c:400: warning: function declaration isn't a prototype
> cgi.c:420: warning: function declaration isn't a prototype
> cgi.c:424: warning: function declaration isn't a prototype
> cgi.c: In function 'cgi_multipart':
> cgi.c:539: warning: function declaration isn't a prototype
> cgi.c:614: warning: function declaration isn't a prototype
> building normal libcgi.a
> make[1]: Leaving directory =
`<path-to-build-dir>/build/filedrawers/libcgi'
> ( cd upload; make )
> make[1]: Entering directory =
`<path-to-build-dir>/build/filedrawers/upload'
> gcc -Wall -Wmissing-prototypes -g -O2 -I../libcgi -I/usr/include/mysql =
-g
> -pipe -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector
> --param=3Dssp-buffer-size=3D4 -m64 -D_GNU_SOURCE =
-D_FILE_OFFSET_BITS=3D64
> -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -Wall =
-Wmissing-prototypes
> \
> -D_URL_ERROR_PAGE=3D\"https://<site>?error=3Dtrue\" \
>
> =
-D_FILEDRAWERS_CONFIG_PATH=3D\"/var/www/filedrawers/lib/filedrawers.conf\=
" \
> -c tpupload.c
> tpupload.c:18:19: error: mysql.h: No such file or directory
> tpupload.c:34: error: expected '=3D', ',', ';', 'asm' or =
'__attribute__'
> before '*' token
> tpupload.c:35: error: expected '=3D', ',', ';', 'asm' or =
'__attribute__'
> before '*' token
> tpupload.c: In function 'upload_progress_db_insert':
> tpupload.c:103: error: 'MYSQL_BIND' undeclared (first use in this =
function)
> tpupload.c:103: error: (Each undeclared identifier is reported only =
once
> tpupload.c:103: error: for each function it appears in.)
> tpupload.c:103: error: expected ';' before 'bind'
> tpupload.c:104: error: 'my_bool' undeclared (first use in this =
function)
> tpupload.c:104: error: expected ';' before 'is_null'
> tpupload.c:110: error: 'stmt' undeclared (first use in this function)
> tpupload.c:111: warning: implicit declaration of function =
'mysql_stmt_init'
> tpupload.c:111: error: 'mysql' undeclared (first use in this function)
> tpupload.c:112: warning: implicit declaration of function =
'mysql_error'
> tpupload.c:112: warning: format '%s' expects type 'char *', but =
argument 4
> has type 'int'
> tpupload.c:123: warning: implicit declaration of function
> 'mysql_stmt_prepare'
> tpupload.c:124: warning: implicit declaration of function
> 'mysql_stmt_error'
> tpupload.c:124: warning: format '%s' expects type 'char *', but =
argument 4
> has type 'int'
> tpupload.c:130: error: 'bind' undeclared (first use in this function)
> tpupload.c:130: warning: left-hand operand of comma expression has no
> effect
> tpupload.c:132: error: 'MYSQL_TYPE_STRING' undeclared (first use in =
this
> function)
> tpupload.c:132: error: expected expression before ')' token
> tpupload.c:132: error: 'is_null' undeclared (first use in this =
function)
> tpupload.c:133: error: expected expression before ')' token
> tpupload.c:134: error: 'MYSQL_TYPE_LONGLONG' undeclared (first use in =
this
> function)
> tpupload.c:134: error: expected expression before ')' token
> tpupload.c:135: error: expected expression before ')' token
> tpupload.c:136: error: 'MYSQL_TYPE_TINY' undeclared (first use in this
> function)
> tpupload.c:136: error: expected expression before ')' token
> tpupload.c:138: warning: implicit declaration of function
> 'mysql_stmt_bind_param'
> tpupload.c:139: warning: format '%s' expects type 'char *', but =
argument 4
> has type 'int'
> tpupload.c:148: warning: implicit declaration of function
> 'mysql_stmt_execute'
> tpupload.c:149: warning: format '%s' expects type 'char *', but =
argument 4
> has type 'int'
> tpupload.c: In function 'upload_progress_db_update':
> tpupload.c:160: error: 'MYSQL_BIND' undeclared (first use in this =
function)
> tpupload.c:160: error: expected ';' before 'bind'
> tpupload.c:161: error: 'my_bool' undeclared (first use in this =
function)
> tpupload.c:161: error: expected ';' before 'is_null'
> tpupload.c:166: error: 'stmt' undeclared (first use in this function)
> tpupload.c:167: error: 'mysql' undeclared (first use in this function)
> tpupload.c:168: warning: format '%s' expects type 'char *', but =
argument 4
> has type 'int'
> tpupload.c:180: warning: format '%s' expects type 'char *', but =
argument 4
> has type 'int'
> tpupload.c:186: error: 'bind' undeclared (first use in this function)
> tpupload.c:186: warning: left-hand operand of comma expression has no
> effect
> tpupload.c:188: error: 'MYSQL_TYPE_STRING' undeclared (first use in =
this
> function)
> tpupload.c:188: error: expected expression before ')' token
> tpupload.c:188: error: 'is_null' undeclared (first use in this =
function)
> tpupload.c:189: error: 'MYSQL_TYPE_LONGLONG' undeclared (first use in =
this
> function)
> tpupload.c:189: error: expected expression before ')' token
> tpupload.c:190: error: 'MYSQL_TYPE_TINY' undeclared (first use in this
> function)
> tpupload.c:190: error: expected expression before ')' token
> tpupload.c:191: error: expected expression before ')' token
> tpupload.c:194: warning: format '%s' expects type 'char *', but =
argument 4
> has type 'int'
> tpupload.c:203: warning: format '%s' expects type 'char *', but =
argument 4
> has type 'int'
> tpupload.c: In function 'upload_init':
> tpupload.c:317: error: 'mysql' undeclared (first use in this function)
> tpupload.c:322: error: 'stmt' undeclared (first use in this function)
> tpupload.c:323: warning: implicit declaration of function
> 'mysql_stmt_close'
> tpupload.c:324: warning: format '%s' expects type 'char *', but =
argument 4
> has type 'int'
> tpupload.c: In function 'upload_progress':
> tpupload.c:347: error: 'mysql' undeclared (first use in this function)
> tpupload.c: In function 'upload_complete':
> tpupload.c:373: error: 'mysql' undeclared (first use in this function)
> tpupload.c: In function 'main':
> tpupload.c:528: error: 'mysql' undeclared (first use in this function)
> tpupload.c:528: warning: implicit declaration of function 'mysql_init'
> tpupload.c:530: warning: implicit declaration of function
> 'mysql_real_connect'
> tpupload.c:532: warning: format '%s' expects type 'char *', but =
argument 4
> has type 'int'
> tpupload.c:553: error: 'stmt' undeclared (first use in this function)
> tpupload.c:556: warning: implicit declaration of function =
'mysql_close'
> make[1]: *** [tpupload.o] Error 1
> make[1]: Leaving directory =
`<path-to-build-dir>/build/filedrawers/upload'
> make: *** [upload/upload.cgi] Error 2
>
> -Daniel
>
>
> -----Original Message-----
> From: Aaron Knister [mailto:aaronk@umbc.edu <aaronk@umbc.edu>]
> Sent: Mon 8/15/2011 12:32 PM
> To: Colson, Daniel
> Cc: openafs-info@openafs.org
> Subject: Re: [OpenAFS] 64-bit mod_waklog / filedrawers on afs
>
> Hi Daniel,
>
> While I'm not running filedrawers I am using mod_waklog, albeit with =
RHEL6.
> I had to apply some patches to get it to build correctly. If you send =
your
> build errors I can see if my patches will help.
>
> -Aaron
>
> On Wed, Aug 10, 2011 at 3:16 PM, Colson, Daniel <dcolson5@uncc.edu> =
wrote:
>
> > **
> >
> > Is anyone else running mod_waklog / filedrawers on afs on a 64-bit
> machine?
> > I've been unable to compile mod_waklog (an essential component of
> > filedrawers) on 64-bit (RHEL5.6).
> >
>
>
>
> --
> Aaron Knister
> Systems Administrator
> Division of Information Technology
> University of Maryland, Baltimore County
> aaronk@umbc.edu
>
>
--=20
Aaron Knister
Systems Administrator
Division of Information Technology
University of Maryland, Baltimore County
aaronk@umbc.edu
------_=_NextPart_001_01CC60D3.867762B1
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7655.1">
<TITLE>RE: [OpenAFS] 64-bit mod_waklog / filedrawers on afs</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=3D2>Oops. I apologize. I sent the output from the =
filedrawers build instead of the mod_waklog build. I'll check on =
mysql-devel though. Below is the output from "make" for =
mod_waklog.<BR>
<BR>
<BR>
`/usr/sbin/apxs -q CC` -I/usr/include/ -I/usr/include/afs =
-I/usr/include/httpd -DEAPI -g `/usr/sbin/apxs -q CFLAGS` -c =
mod_waklog.c -o mod_waklog.o<BR>
In file included from /usr/include/httpd/httpd.h:43,<BR>
&=
nbsp; from mod_waklog.c:4:<BR>
/usr/include/httpd/ap_config.h:25:17: error: apr.h: No such file or =
directory<BR>
/usr/include/httpd/ap_config.h:26:23: error: apr_hooks.h: No such file =
or directory<BR>
/usr/include/httpd/ap_config.h:27:32: error: apr_optional_hooks.h: No =
such file or directory<BR>
In file included from /usr/include/httpd/httpd.h:46,<BR>
&=
nbsp; from mod_waklog.c:4:<BR>
/usr/include/httpd/ap_release.h:25:41: error: apr_general.h: No such =
file or directory<BR>
In file included from mod_waklog.c:4:<BR>
/usr/include/httpd/httpd.h:50:24: error: apr_tables.h: No such file or =
directory<BR>
/usr/include/httpd/httpd.h:51:23: error: apr_pools.h: No such file or =
directory<BR>
/usr/include/httpd/httpd.h:52:22: error: apr_time.h: No such file or =
directory<BR>
/usr/include/httpd/httpd.h:53:28: error: apr_network_io.h: No such file =
or directory<BR>
/usr/include/httpd/httpd.h:54:25: error: apr_buckets.h: No such file or =
directory<BR>
/usr/include/httpd/httpd.h:55:22: error: apr_poll.h: No such file or =
directory<BR>
In file included from /usr/include/httpd/httpd.h:59,<BR>
&=
nbsp; from mod_waklog.c:4:<BR>
/usr/include/httpd/ap_regex.h:87: error: expected =
specifier-qualifier-list before ‘apr_size_t’<BR>
/usr/include/httpd/ap_regex.h:118: error: expected declaration =
specifiers or ‘...’ before ‘apr_size_t’<BR>
/usr/include/httpd/ap_regex.h:127: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘ap_regerror’<BR>
In file included from mod_waklog.c:4:<BR>
/usr/include/httpd/httpd.h:433: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:601: error: expected specifier-qualifier-list =
before ‘apr_int64_t’<BR>
/usr/include/httpd/httpd.h:723:21: error: apr_uri.h: No such file or =
directory<BR>
/usr/include/httpd/httpd.h:730: error: expected specifier-qualifier-list =
before ‘apr_pool_t’<BR>
/usr/include/httpd/httpd.h:746: error: expected specifier-qualifier-list =
before ‘apr_pool_t’<BR>
/usr/include/httpd/httpd.h:1008: error: expected =
specifier-qualifier-list before ‘apr_pool_t’<BR>
/usr/include/httpd/httpd.h:1085: error: expected =
specifier-qualifier-list before ‘APR_RING_ENTRY’<BR>
/usr/include/httpd/httpd.h:1118: error: expected =
specifier-qualifier-list before ‘apr_sockaddr_t’<BR>
/usr/include/httpd/httpd.h:1146: error: expected =
specifier-qualifier-list before ‘apr_port_t’<BR>
/usr/include/httpd/httpd.h:1202: error: expected =
specifier-qualifier-list before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/httpd.h:1210: error: expected =
specifier-qualifier-list before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/httpd.h:1216: error: expected =
specifier-qualifier-list before ‘apr_socket_t’<BR>
/usr/include/httpd/httpd.h:1232: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1242: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1255: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1265: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1274: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1284: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1294: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1306: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1314: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1323: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1334: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1357: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1367: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1379: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1388: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1397: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1439: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1449: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1460: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1468: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1477: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘ap_escape_errorlog_item’<BR>
/usr/include/httpd/httpd.h:1488: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1497: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1526: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1540: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1550: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1602: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1610: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1624: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1632: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1645: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1685: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1697: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1707: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1715: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/httpd.h:1726: error: expected ‘)’ before =
‘*’ token<BR>
In file included from mod_waklog.c:5:<BR>
/usr/include/httpd/http_config.h:279: error: expected =
specifier-qualifier-list before ‘apr_int64_t’<BR>
/usr/include/httpd/http_config.h:357: error: expected ‘)’ =
before ‘*’ token<BR>
/usr/include/httpd/http_config.h:365: error: expected ‘;’ =
before ‘void’<BR>
/usr/include/httpd/http_config.h:557: error: expected ‘)’ =
before ‘*’ token<BR>
/usr/include/httpd/http_config.h:566: error: expected declaration =
specifiers or ‘...’ before ‘apr_pool_t’<BR>
/usr/include/httpd/http_config.h:582: error: expected declaration =
specifiers or ‘...’ before ‘apr_pool_t’<BR>
/usr/include/httpd/http_config.h:607: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘ap_pcfg_openfile’<BR>
/usr/include/httpd/http_config.h:619: error: expected ‘)’ =
before ‘*’ token<BR>
/usr/include/httpd/http_config.h:669: error: expected ‘)’ =
before ‘*’ token<BR>
/usr/include/httpd/http_config.h:685: error: expected declaration =
specifiers or ‘...’ before ‘apr_pool_t’<BR>
/usr/include/httpd/http_config.h:686: error: expected declaration =
specifiers or ‘...’ before ‘apr_pool_t’<BR>
/usr/include/httpd/http_config.h:975: error: expected ‘)’ =
before ‘int’<BR>
In file included from mod_waklog.c:6:<BR>
/usr/include/httpd/http_log.h:33:29: error: apr_thread_proc.h: No such =
file or directory<BR>
In file included from /usr/include/syslog.h:1,<BR>
&=
nbsp; from /usr/include/httpd/http_log.h:36,<BR>
&=
nbsp; from mod_waklog.c:6:<BR>
/usr/include/sys/syslog.h:200: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
In file included from /usr/include/sys/syslog.h:207,<BR>
&=
nbsp; from /usr/include/syslog.h:1,<BR>
&=
nbsp; from /usr/include/httpd/http_log.h:36,<BR>
&=
nbsp; from mod_waklog.c:6:<BR>
/usr/include/bits/syslog.h:34: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
In file included from mod_waklog.c:6:<BR>
/usr/include/httpd/http_log.h:102: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/http_log.h:109: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘ap_replace_stderr_log’<BR>
/usr/include/httpd/http_log.h:121: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/http_log.h:172: error: expected declaration =
specifiers or ‘...’ before ‘apr_status_t’<BR>
/usr/include/httpd/http_log.h:174: error: format string argument not a =
string type<BR>
/usr/include/httpd/http_log.h:196: error: expected declaration =
specifiers or ‘...’ before ‘apr_status_t’<BR>
/usr/include/httpd/http_log.h:196: error: expected declaration =
specifiers or ‘...’ before ‘apr_pool_t’<BR>
/usr/include/httpd/http_log.h:198: error: format string argument not a =
string type<BR>
/usr/include/httpd/http_log.h:220: error: expected declaration =
specifiers or ‘...’ before ‘apr_status_t’<BR>
/usr/include/httpd/http_log.h:222: error: format string argument not a =
string type<BR>
/usr/include/httpd/http_log.h:246: error: expected declaration =
specifiers or ‘...’ before ‘apr_status_t’<BR>
/usr/include/httpd/http_log.h:248: error: format string argument not a =
string type<BR>
/usr/include/httpd/http_log.h:261: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/http_log.h:269: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘ap_read_pid’<BR>
/usr/include/httpd/http_log.h:282: error: expected =
specifier-qualifier-list before ‘apr_pool_t’<BR>
/usr/include/httpd/http_log.h:301: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/http_log.h:335: error: expected ‘)’ before =
‘void’<BR>
In file included from mod_waklog.c:7:<BR>
/usr/include/httpd/http_protocol.h:31:26: error: apr_portable.h: No such =
file or directory<BR>
/usr/include/httpd/http_protocol.h:32:22: error: apr_mmap.h: No such =
file or directory<BR>
In file included from /usr/include/httpd/http_protocol.h:34,<BR>
&=
nbsp; from mod_waklog.c:7:<BR>
/usr/include/httpd/util_filter.h:72: warning: data definition has no =
type or storage class<BR>
/usr/include/httpd/util_filter.h:72: warning: type defaults to =
‘int’ in declaration of ‘ap_input_mode_t’<BR>
/usr/include/httpd/util_filter.h:136: error: expected declaration =
specifiers or ‘...’ before ‘*’ token<BR>
/usr/include/httpd/util_filter.h:137: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/util_filter.h:137: warning: type defaults to =
‘int’ in declaration of ‘apr_status_t’<BR>
/usr/include/httpd/util_filter.h:137: error: ‘apr_status_t’ =
declared as function returning a function<BR>
/usr/include/httpd/util_filter.h:139: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/util_filter.h:140: error: expected declaration =
specifiers or ‘...’ before ‘ap_input_mode_t’<BR>
/usr/include/httpd/util_filter.h:141: error: expected declaration =
specifiers or ‘...’ before ‘apr_read_type_e’<BR>
/usr/include/httpd/util_filter.h:142: error: expected declaration =
specifiers or ‘...’ before ‘apr_off_t’<BR>
/usr/include/httpd/util_filter.h:142: error: =
‘ap_in_filter_func’ declared as function returning a =
function<BR>
/usr/include/httpd/util_filter.h:146: error: expected =
specifier-qualifier-list before ‘ap_out_filter_func’<BR>
/usr/include/httpd/util_filter.h:299: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/util_filter.h:300: error: expected declaration =
specifiers or ‘...’ before ‘ap_input_mode_t’<BR>
/usr/include/httpd/util_filter.h:301: error: expected declaration =
specifiers or ‘...’ before ‘apr_read_type_e’<BR>
/usr/include/httpd/util_filter.h:302: error: expected declaration =
specifiers or ‘...’ before ‘apr_off_t’<BR>
/usr/include/httpd/util_filter.h:302: error: ‘ap_get_brigade’ =
declared as function returning a function<BR>
/usr/include/httpd/util_filter.h:313: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/util_filter.h:313: error: ‘ap_pass_brigade’ =
declared as function returning a function<BR>
/usr/include/httpd/util_filter.h:351: error: expected declaration =
specifiers or ‘...’ before ‘ap_out_filter_func’<BR>
/usr/include/httpd/util_filter.h:377: error: expected declaration =
specifiers or ‘...’ before ‘ap_out_filter_func’<BR>
/usr/include/httpd/util_filter.h:495: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/util_filter.h:496: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/util_filter.h:496: error: expected declaration =
specifiers or ‘...’ before ‘apr_pool_t’<BR>
/usr/include/httpd/util_filter.h:496: error: ‘ap_save_brigade’ =
declared as function returning a function<BR>
/usr/include/httpd/util_filter.h:506: error: expected ‘)’ =
before ‘*’ token<BR>
/usr/include/httpd/util_filter.h:514: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/util_filter.h:514: error: ‘ap_fflush’ =
declared as function returning a function<BR>
/usr/include/httpd/util_filter.h:551: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/util_filter.h:552: error: ‘ap_fputstrs’ =
declared as function returning a function<BR>
/usr/include/httpd/util_filter.h:562: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/util_filter.h:565: error: ‘ap_fprintf’ =
declared as function returning a function<BR>
/usr/include/httpd/util_filter.h:565: error: format string argument not =
a string type<BR>
In file included from mod_waklog.c:7:<BR>
/usr/include/httpd/http_protocol.h:45: error: expected ‘)’ =
before ‘void’<BR>
/usr/include/httpd/http_protocol.h:77: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/http_protocol.h:111: error: expected declaration =
specifiers or ‘...’ before ‘apr_off_t’<BR>
/usr/include/httpd/http_protocol.h:127: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘ap_rationalize_mtime’<BR>
/usr/include/httpd/http_protocol.h:203: error: expected ‘)’ =
before ‘*’ token<BR>
/usr/include/httpd/http_protocol.h:228: error: expected ‘)’ =
before ‘*’ token<BR>
/usr/include/httpd/http_protocol.h:235: error: expected ‘)’ =
before ‘*’ token<BR>
/usr/include/httpd/http_protocol.h:253: error: expected ‘)’ =
before ‘*’ token<BR>
/usr/include/httpd/http_protocol.h:356: error: expected declaration =
specifiers or ‘...’ before ‘va_list’<BR>
/usr/include/httpd/http_protocol.h:426: error: expected declaration =
specifiers or ‘...’ before ‘apr_size_t’<BR>
/usr/include/httpd/http_protocol.h:534: error: expected declaration =
specifiers or ‘...’ before ‘apr_size_t’<BR>
/usr/include/httpd/http_protocol.h:535: error: expected declaration =
specifiers or ‘...’ before ‘apr_size_t’<BR>
/usr/include/httpd/http_protocol.h:537: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/http_protocol.h:537: error: =
‘ap_rgetline_core’ declared as function returning a =
function<BR>
/usr/include/httpd/http_protocol.h:554: error: expected ‘)’ =
before ‘*’ token<BR>
/usr/include/httpd/http_protocol.h:569: error: expected ‘)’ =
before ‘int’<BR>
/usr/include/httpd/http_protocol.h:608: error: expected =
specifier-qualifier-list before ‘apr_bucket_refcount’<BR>
/usr/include/httpd/http_protocol.h:616: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘ap_bucket_type_error’<BR>
/usr/include/httpd/http_protocol.h:633: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘*’ token<BR>
/usr/include/httpd/http_protocol.h:644: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘*’ token<BR>
/usr/include/httpd/http_protocol.h:648: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/http_protocol.h:648: error: =
‘ap_byterange_filter’ declared as function returning a =
function<BR>
/usr/include/httpd/http_protocol.h:649: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/http_protocol.h:649: error: =
‘ap_http_header_filter’ declared as function returning a =
function<BR>
/usr/include/httpd/http_protocol.h:651: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/http_protocol.h:651: error: =
‘ap_content_length_filter’ declared as function returning a =
function<BR>
/usr/include/httpd/http_protocol.h:652: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/http_protocol.h:652: error: =
‘ap_old_write_filter’ declared as function returning a =
function<BR>
In file included from mod_waklog.c:8:<BR>
/usr/include/httpd/http_request.h:105: warning: type defaults to =
‘int’ in declaration of ‘apr_finfo_t’<BR>
/usr/include/httpd/http_request.h:105: error: expected ‘;’, =
‘,’ or ‘)’ before ‘*’ token<BR>
/usr/include/httpd/http_request.h:131: error: expected declaration =
specifiers or ‘...’ before ‘apr_bucket_brigade’<BR>
/usr/include/httpd/http_request.h:131: error: =
‘ap_sub_req_output_filter’ declared as function returning a =
function<BR>
/usr/include/httpd/http_request.h:198: error: expected declaration =
specifiers or ‘...’ before ‘apr_time_t’<BR>
/usr/include/httpd/http_request.h:261: error: expected ‘)’ =
before ‘int’<BR>
In file included from mod_waklog.c:9:<BR>
/usr/include/httpd/http_core.h:30:22: error: apr_hash.h: No such file or =
directory<BR>
/usr/include/httpd/http_core.h:31:26: error: apr_optional.h: No such =
file or directory<BR>
In file included from mod_waklog.c:9:<BR>
/usr/include/httpd/http_core.h:221: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/http_core.h:235: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘ap_get_server_port’<BR>
/usr/include/httpd/http_core.h:242: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘ap_get_limit_req_body’<BR>
/usr/include/httpd/http_core.h:291: error: expected =
specifier-qualifier-list before ‘apr_int64_t’<BR>
/usr/include/httpd/http_core.h:327: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘*’ token<BR>
/usr/include/httpd/http_core.h:646: error: expected =
specifier-qualifier-list before ‘apr_hash_t’<BR>
/usr/include/httpd/http_core.h:675: error: expected ‘)’ before =
‘int’<BR>
/usr/include/httpd/http_core.h:693: error: expected declaration =
specifiers or ‘...’ before ‘ap_ident_lookup’<BR>
/usr/include/httpd/http_core.h:694: error: expected declaration =
specifiers or ‘...’ before ‘(’ token<BR>
/usr/include/httpd/http_core.h:694: warning: data definition has no type =
or storage class<BR>
/usr/include/httpd/http_core.h:694: warning: type defaults to =
‘int’ in declaration of =
‘APR_DECLARE_OPTIONAL_FN’<BR>
mod_waklog.c:49:25: error: apr_strings.h: No such file or directory<BR>
mod_waklog.c:50:24: error: apr_base64.h: No such file or directory<BR>
In file included from /usr/include/httpd/unixd.h:30,<BR>
&=
nbsp; from mod_waklog.c:57:<BR>
/usr/include/httpd/ap_listen.h:34: error: expected declaration =
specifiers or ‘...’ before ‘apr_pool_t’<BR>
/usr/include/httpd/ap_listen.h:34: error: ‘accept_function’ =
declared as function returning a function<BR>
/usr/include/httpd/ap_listen.h:50: error: expected =
specifier-qualifier-list before ‘apr_socket_t’<BR>
In file included from mod_waklog.c:57:<BR>
/usr/include/httpd/unixd.h:39:28: error: apr_proc_mutex.h: No such file =
or directory<BR>
/usr/include/httpd/unixd.h:40:30: error: apr_global_mutex.h: No such =
file or directory<BR>
In file included from mod_waklog.c:57:<BR>
/usr/include/httpd/unixd.h:57: error: expected ‘)’ before =
‘ap_unix_identity_t’<BR>
/usr/include/httpd/unixd.h:75: warning: data definition has no type or =
storage class<BR>
/usr/include/httpd/unixd.h:75: warning: type defaults to ‘int’ =
in declaration of ‘unixd_config_rec’<BR>
/usr/include/httpd/unixd.h:76: error: expected ‘=3D’, =
‘,’, ‘;’, ‘asm’ or =
‘__attribute__’ before ‘unixd_config’<BR>
/usr/include/httpd/unixd.h:79: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/unixd.h:98: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/unixd.h:99: error: expected ‘)’ before =
‘*’ token<BR>
/usr/include/httpd/unixd.h:100: error: expected declaration specifiers =
or ‘...’ before ‘apr_pool_t’<BR>
/usr/include/httpd/unixd.h:100: error: ‘unixd_accept’ declared =
as function returning a function<BR>
mod_waklog.c:58: error: expected ‘=3D’, ‘,’, =
‘;’, ‘asm’ or ‘__attribute__’ before =
‘unixd_config’<BR>
In file included from /usr/include/et/com_err.h:19,<BR>
&=
nbsp; from /usr/include/krb5/krb5.h:2690,<BR>
&=
nbsp; from /usr/include/krb5.h:7,<BR>
&=
nbsp; from mod_waklog.c:73:<BR>
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stdarg.h:105: error: =
expected ‘=3D’, ‘,’, ‘;’, ‘asm’ =
or ‘__attribute__’ before ‘va_list’<BR>
In file included from /usr/include/krb5/krb5.h:2690,<BR>
&=
nbsp; from /usr/include/krb5.h:7,<BR>
&=
nbsp; from mod_waklog.c:73:<BR>
/usr/include/et/com_err.h:34: error: expected declaration specifiers or =
‘...’ before ‘va_list’<BR>
/usr/include/et/com_err.h:38: error: expected declaration specifiers or =
‘...’ before ‘va_list’<BR>
/usr/include/et/com_err.h:40: error: expected declaration specifiers or =
‘...’ before ‘va_list’<BR>
/usr/include/et/com_err.h:41: error: expected declaration specifiers or =
‘...’ before ‘va_list’<BR>
/usr/include/et/com_err.h:43: error: expected declaration specifiers or =
‘...’ before ‘va_list’<BR>
In file included from mod_waklog.c:75:<BR>
/usr/include/afs/venus.h:33: error: field ‘server’ has =
incomplete type<BR>
In file included from /usr/include/stdio.h:72,<BR>
&=
nbsp; from /usr/include/rx/rx.h:42,<BR>
&=
nbsp; from /usr/include/rx/rxkad_prototypes.h:15,<BR>
&=
nbsp; from /usr/include/rx/rxkad.h:102,<BR>
&=
nbsp; from /usr/include/afs/auth.h:19,<BR>
&=
nbsp; from mod_waklog.c:76:<BR>
/usr/include/libio.h:482: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/libio.h:484: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
In file included from /usr/include/rx/rx.h:42,<BR>
&=
nbsp; from /usr/include/rx/rxkad_prototypes.h:15,<BR>
&=
nbsp; from /usr/include/rx/rxkad.h:102,<BR>
&=
nbsp; from /usr/include/afs/auth.h:19,<BR>
&=
nbsp; from mod_waklog.c:76:<BR>
/usr/include/stdio.h:343: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/stdio.h:348: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/stdio.h:351: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/stdio.h:362: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/stdio.h:371: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/stdio.h:387: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/stdio.h:418: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/stdio.h:425: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/stdio.h:430: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
In file included from /usr/include/rx/rx.h:42,<BR>
&=
nbsp; from /usr/include/rx/rxkad_prototypes.h:15,<BR>
&=
nbsp; from /usr/include/rx/rxkad.h:102,<BR>
&=
nbsp; from /usr/include/afs/auth.h:19,<BR>
&=
nbsp; from mod_waklog.c:76:<BR>
/usr/include/stdio.h:805: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
In file included from /usr/include/stdio.h:835,<BR>
&=
nbsp; from /usr/include/rx/rx.h:42,<BR>
&=
nbsp; from /usr/include/rx/rxkad_prototypes.h:15,<BR>
&=
nbsp; from /usr/include/rx/rxkad.h:102,<BR>
&=
nbsp; from /usr/include/afs/auth.h:19,<BR>
&=
nbsp; from mod_waklog.c:76:<BR>
/usr/include/bits/stdio.h:34: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/bits/stdio.h: In function ‘vprintf’:<BR>
/usr/include/bits/stdio.h:36: error: ‘__arg’ undeclared (first =
use in this function)<BR>
/usr/include/bits/stdio.h:36: error: (Each undeclared identifier is =
reported only once<BR>
/usr/include/bits/stdio.h:36: error: for each function it appears =
in.)<BR>
/usr/include/bits/stdio.h:36: error: too many arguments to function =
‘vfprintf’<BR>
In file included from /usr/include/stdio.h:838,<BR>
&=
nbsp; from /usr/include/rx/rx.h:42,<BR>
&=
nbsp; from /usr/include/rx/rxkad_prototypes.h:15,<BR>
&=
nbsp; from /usr/include/rx/rxkad.h:102,<BR>
&=
nbsp; from /usr/include/afs/auth.h:19,<BR>
&=
nbsp; from mod_waklog.c:76:<BR>
/usr/include/bits/stdio2.h: At top level:<BR>
/usr/include/bits/stdio2.h:28: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/bits/stdio2.h:43: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/bits/stdio2.h:60: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
/usr/include/bits/stdio2.h:62: error: expected declaration specifiers or =
‘...’ before ‘__gnuc_va_list’<BR>
mod_waklog.c:111: error: expected specifier-qualifier-list before =
‘apr_pool_t’<BR>
mod_waklog.c: In function ‘log_error’:<BR>
mod_waklog.c:184: error: ‘va_list’ undeclared (first use in =
this function)<BR>
mod_waklog.c:184: error: expected ‘;’ before =
‘ap’<BR>
mod_waklog.c:186: error: ‘ap’ undeclared (first use in this =
function)<BR>
mod_waklog.c:191: warning: passing argument 4 of =
‘ap_log_error’ makes pointer from integer without a cast<BR>
mod_waklog.c:191: warning: passing argument 5 of =
‘ap_log_error’ from incompatible pointer type<BR>
mod_waklog.c: In function ‘retrieve_config’:<BR>
mod_waklog.c:203: error: ‘request_rec’ has no member named =
‘main’<BR>
mod_waklog.c:204: error: ‘request_rec’ has no member named =
‘main’<BR>
mod_waklog.c:211: error: ‘request_rec’ has no member named =
‘per_dir_config’<BR>
mod_waklog.c:214: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c: In function ‘set_auth’:<BR>
mod_waklog.c:285: error: ‘request_rec’ has no member named =
‘user’<BR>
mod_waklog.c:285: error: ‘request_rec’ has no member named =
‘user’<BR>
mod_waklog.c:298: error: ‘server_rec’ has no member named =
‘module_config’<BR>
mod_waklog.c:311: error: ‘request_rec’ has no member named =
‘connection’<BR>
mod_waklog.c:311: error: ‘request_rec’ has no member named =
‘user’<BR>
mod_waklog.c:313: error: ‘request_rec’ has no member named =
‘user’<BR>
mod_waklog.c:313: error: ‘request_rec’ has no member named =
‘user’<BR>
mod_waklog.c:317: error: ‘request_rec’ has no member named =
‘user’<BR>
mod_waklog.c:317: error: ‘request_rec’ has no member named =
‘user’<BR>
mod_waklog.c:327: warning: implicit declaration of function =
‘apr_table_get’<BR>
mod_waklog.c:327: error: ‘request_rec’ has no member named =
‘subprocess_env’<BR>
mod_waklog.c:327: warning: cast to pointer from integer of different =
size<BR>
mod_waklog.c:330: error: ‘request_rec’ has no member named =
‘notes’<BR>
mod_waklog.c:330: warning: cast to pointer from integer of different =
size<BR>
mod_waklog.c:339: error: ‘request_rec’ has no member named =
‘user’<BR>
mod_waklog.c:340: error: ‘request_rec’ has no member named =
‘user’<BR>
mod_waklog.c:340: error: ‘request_rec’ has no member named =
‘user’<BR>
mod_waklog.c:703: warning: label ‘usecachedtoken’ defined but =
not used<BR>
mod_waklog.c: At top level:<BR>
mod_waklog.c:749: error: expected ‘)’ before ‘*’ =
token<BR>
mod_waklog.c:778: error: expected ‘)’ before ‘*’ =
token<BR>
mod_waklog.c:801: error: expected ‘)’ before ‘*’ =
token<BR>
mod_waklog.c:831: error: expected ‘)’ before ‘*’ =
token<BR>
mod_waklog.c: In function ‘set_waklog_enabled’:<BR>
mod_waklog.c:870: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:874: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c: At top level:<BR>
mod_waklog.c:883: error: expected ‘)’ before ‘*’ =
token<BR>
mod_waklog.c: In function ‘set_waklog_location_principal’:<BR>
mod_waklog.c:912: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:914: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:917: warning: implicit declaration of function =
‘apr_pstrdup’<BR>
mod_waklog.c:917: error: ‘cmd_parms’ has no member named =
‘pool’<BR>
mod_waklog.c:917: warning: assignment makes pointer from integer without =
a cast<BR>
mod_waklog.c:918: error: ‘cmd_parms’ has no member named =
‘pool’<BR>
mod_waklog.c:918: warning: assignment makes pointer from integer without =
a cast<BR>
mod_waklog.c:920: warning: implicit declaration of function =
‘add_to_renewtable’<BR>
mod_waklog.c:920: error: ‘cmd_parms’ has no member named =
‘pool’<BR>
mod_waklog.c: In function ‘set_waklog_afs_cell’:<BR>
mod_waklog.c:932: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:934: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:938: error: ‘cmd_parms’ has no member named =
‘pool’<BR>
mod_waklog.c:938: warning: assignment makes pointer from integer without =
a cast<BR>
mod_waklog.c:943: error: ‘cmd_parms’ has no member named =
‘pool’<BR>
mod_waklog.c:943: warning: assignment makes pointer from integer without =
a cast<BR>
mod_waklog.c: In function ‘set_waklog_afs_cell_realm’:<BR>
mod_waklog.c:954: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:956: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:959: error: ‘cmd_parms’ has no member named =
‘pool’<BR>
mod_waklog.c:959: warning: assignment makes pointer from integer without =
a cast<BR>
mod_waklog.c:962: error: ‘cmd_parms’ has no member named =
‘pool’<BR>
mod_waklog.c:962: warning: assignment makes pointer from integer without =
a cast<BR>
mod_waklog.c: In function ‘set_waklog_default_principal’:<BR>
mod_waklog.c:971: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:973: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:975: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:978: error: ‘cmd_parms’ has no member named =
‘pool’<BR>
mod_waklog.c:978: warning: assignment makes pointer from integer without =
a cast<BR>
mod_waklog.c:979: error: ‘cmd_parms’ has no member named =
‘pool’<BR>
mod_waklog.c:979: warning: assignment makes pointer from integer without =
a cast<BR>
mod_waklog.c:983: error: ‘cmd_parms’ has no member named =
‘pool’<BR>
mod_waklog.c:983: warning: assignment makes pointer from integer without =
a cast<BR>
mod_waklog.c:984: error: ‘cmd_parms’ has no member named =
‘pool’<BR>
mod_waklog.c:984: warning: assignment makes pointer from integer without =
a cast<BR>
mod_waklog.c:986: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:990: error: ‘cmd_parms’ has no member named =
‘pool’<BR>
mod_waklog.c: In function ‘set_waklog_use_usertokens’:<BR>
mod_waklog.c:1001: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:1007: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c: In function =
‘set_waklog_disable_token_cache’:<BR>
mod_waklog.c:1017: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c:1023: error: ‘cmd_parms’ has no member named =
‘server’<BR>
mod_waklog.c: At top level:<BR>
mod_waklog.c:1032: error: ‘waklog_child_exit’ declared as =
function returning a function<BR>
mod_waklog.c: In function ‘waklog_child_exit’:<BR>
mod_waklog.c:1053: error: ‘APR_SUCCESS’ undeclared (first use =
in this function)<BR>
mod_waklog.c: At top level:<BR>
mod_waklog.c:1060: error: expected ‘)’ before ‘*’ =
token<BR>
mod_waklog.c: In function ‘token_cleanup’:<BR>
mod_waklog.c:1154: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c: In function ‘waklog_child_routine’:<BR>
mod_waklog.c:1173: error: ‘server_rec’ has no member named =
‘module_config’<BR>
mod_waklog.c: At top level:<BR>
mod_waklog.c:1234: error: expected ‘)’ before ‘*’ =
token<BR>
mod_waklog.c: In function ‘waklog_phase0’:<BR>
mod_waklog.c:1489: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1495: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1496: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1498: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1499: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1507: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c: In function ‘waklog_phase1’:<BR>
mod_waklog.c:1518: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1524: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1525: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1527: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1528: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1530: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c: In function ‘waklog_phase3’:<BR>
mod_waklog.c:1541: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1547: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1548: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1550: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1551: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1553: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c: In function ‘waklog_phase6’:<BR>
mod_waklog.c:1564: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1570: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1571: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1573: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1574: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1576: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c: In function ‘waklog_phase7’:<BR>
mod_waklog.c:1588: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1594: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1595: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1597: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1598: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1600: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1601: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1603: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c: In function ‘waklog_phase9’:<BR>
mod_waklog.c:1622: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1625: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1628: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1629: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c: In function ‘waklog_new_connection’:<BR>
mod_waklog.c:1651: error: ‘conn_rec’ has no member named =
‘base_server’<BR>
mod_waklog.c:1654: error: ‘conn_rec’ has no member named =
‘base_server’<BR>
mod_waklog.c:1657: error: ‘conn_rec’ has no member named =
‘base_server’<BR>
mod_waklog.c:1659: error: ‘conn_rec’ has no member named =
‘base_server’<BR>
mod_waklog.c: In function ‘waklog_phase2’:<BR>
mod_waklog.c:1684: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1693: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c:1698: error: ‘request_rec’ has no member named =
‘server’<BR>
mod_waklog.c: At top level:<BR>
mod_waklog.c:1734: error: expected ‘)’ before ‘*’ =
token<BR>
mod_waklog.c:1751: error: ‘waklog_create_dir_config’ =
undeclared here (not in a function)<BR>
mod_waklog.c:1751: warning: excess elements in struct initializer<BR>
mod_waklog.c:1751: warning: (near initialization for =
‘waklog_module’)<BR>
mod_waklog.c:1752: error: ‘waklog_merge_dir_config’ undeclared =
here (not in a function)<BR>
mod_waklog.c:1752: warning: excess elements in struct initializer<BR>
mod_waklog.c:1752: warning: (near initialization for =
‘waklog_module’)<BR>
mod_waklog.c:1753: error: ‘waklog_create_server_config’ =
undeclared here (not in a function)<BR>
mod_waklog.c:1753: warning: excess elements in struct initializer<BR>
mod_waklog.c:1753: warning: (near initialization for =
‘waklog_module’)<BR>
mod_waklog.c:1754: warning: excess elements in struct initializer<BR>
mod_waklog.c:1754: warning: (near initialization for =
‘waklog_module’)<BR>
mod_waklog.c:1755: warning: excess elements in struct initializer<BR>
mod_waklog.c:1755: warning: (near initialization for =
‘waklog_module’)<BR>
mod_waklog.c:1756: error: ‘waklog_register_hooks’ undeclared =
here (not in a function)<BR>
mod_waklog.c:1757: warning: excess elements in struct initializer<BR>
mod_waklog.c:1757: warning: (near initialization for =
‘waklog_module’)<BR>
make: *** [mod_waklog.o] Error 1<BR>
<BR>
<BR>
Thanks,<BR>
Daniel<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Aaron Knister [<A =
HREF=3D"mailto:aaronk@umbc.edu">mailto:aaronk@umbc.edu</A>]<BR>
Sent: Wed 8/17/2011 10:59 AM<BR>
To: Colson, Daniel<BR>
Cc: openafs-info@openafs.org<BR>
Subject: Re: [OpenAFS] 64-bit mod_waklog / filedrawers on afs<BR>
<BR>
Hi Daniel,<BR>
<BR>
Well... I've never built filedrawers, but this line:<BR>
<BR>
tpupload.c:18:19: error: mysql.h: No such file or directory<BR>
<BR>
suggests you're missing the mysql headers. If its redhat try a yum =
install<BR>
mysql-devel.<BR>
<BR>
-Aaron<BR>
<BR>
On Tue, Aug 16, 2011 at 4:50 PM, Colson, Daniel =
<dcolson5@uncc.edu> wrote:<BR>
<BR>
> **<BR>
><BR>
> Thanks. Any help is appreciated. Here's the error output from =
"make".<BR>
><BR>
> make[1]: Entering directory =
`<path-to-build-dir>/build/filedrawers/libcgi'<BR>
> gcc -Wall -Wstrict-prototypes -g -fPIC =
-I/usr/include/apr-1 -c -o cgi.o<BR>
> cgi.c<BR>
> cgi.c: In function 'post_getline':<BR>
> cgi.c:91: warning: function declaration isn't a prototype<BR>
> cgi.c: In function 'cgi_init':<BR>
> cgi.c:148: warning: function declaration isn't a prototype<BR>
> cgi.c: In function 'mp_get_file':<BR>
> cgi.c:361: warning: function declaration isn't a prototype<BR>
> cgi.c:364: warning: function declaration isn't a prototype<BR>
> cgi.c:375: warning: function declaration isn't a prototype<BR>
> cgi.c:378: warning: function declaration isn't a prototype<BR>
> cgi.c:385: warning: function declaration isn't a prototype<BR>
> cgi.c:388: warning: function declaration isn't a prototype<BR>
> cgi.c:400: warning: function declaration isn't a prototype<BR>
> cgi.c:420: warning: function declaration isn't a prototype<BR>
> cgi.c:424: warning: function declaration isn't a prototype<BR>
> cgi.c: In function 'cgi_multipart':<BR>
> cgi.c:539: warning: function declaration isn't a prototype<BR>
> cgi.c:614: warning: function declaration isn't a prototype<BR>
> building normal libcgi.a<BR>
> make[1]: Leaving directory =
`<path-to-build-dir>/build/filedrawers/libcgi'<BR>
> ( cd upload; make )<BR>
> make[1]: Entering directory =
`<path-to-build-dir>/build/filedrawers/upload'<BR>
> gcc -Wall -Wmissing-prototypes -g -O2 -I../libcgi =
-I/usr/include/mysql -g<BR>
> -pipe -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector<BR>
> --param=3Dssp-buffer-size=3D4 -m64 -D_GNU_SOURCE =
-D_FILE_OFFSET_BITS=3D64<BR>
> -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -Wall =
-Wmissing-prototypes<BR>
> \<BR>
> &nb=
sp; -D_URL_ERROR_PAGE=3D\"<A =
HREF=3D"https://">https://</A><site>?error=3Dtrue\" \<BR>
><BR>
> =
-D_FILEDRAWERS_CONFIG_PATH=3D\"/var/www/filedrawers/lib/filedrawers.=
conf\" \<BR>
> &nb=
sp; -c tpupload.c<BR>
> tpupload.c:18:19: error: mysql.h: No such file or directory<BR>
> tpupload.c:34: error: expected '=3D', ',', ';', 'asm' or =
'__attribute__'<BR>
> before '*' token<BR>
> tpupload.c:35: error: expected '=3D', ',', ';', 'asm' or =
'__attribute__'<BR>
> before '*' token<BR>
> tpupload.c: In function 'upload_progress_db_insert':<BR>
> tpupload.c:103: error: 'MYSQL_BIND' undeclared (first use in this =
function)<BR>
> tpupload.c:103: error: (Each undeclared identifier is reported only =
once<BR>
> tpupload.c:103: error: for each function it appears in.)<BR>
> tpupload.c:103: error: expected ';' before 'bind'<BR>
> tpupload.c:104: error: 'my_bool' undeclared (first use in this =
function)<BR>
> tpupload.c:104: error: expected ';' before 'is_null'<BR>
> tpupload.c:110: error: 'stmt' undeclared (first use in this =
function)<BR>
> tpupload.c:111: warning: implicit declaration of function =
'mysql_stmt_init'<BR>
> tpupload.c:111: error: 'mysql' undeclared (first use in this =
function)<BR>
> tpupload.c:112: warning: implicit declaration of function =
'mysql_error'<BR>
> tpupload.c:112: warning: format '%s' expects type 'char *', but =
argument 4<BR>
> has type 'int'<BR>
> tpupload.c:123: warning: implicit declaration of function<BR>
> 'mysql_stmt_prepare'<BR>
> tpupload.c:124: warning: implicit declaration of function<BR>
> 'mysql_stmt_error'<BR>
> tpupload.c:124: warning: format '%s' expects type 'char *', but =
argument 4<BR>
> has type 'int'<BR>
> tpupload.c:130: error: 'bind' undeclared (first use in this =
function)<BR>
> tpupload.c:130: warning: left-hand operand of comma expression has =
no<BR>
> effect<BR>
> tpupload.c:132: error: 'MYSQL_TYPE_STRING' undeclared (first use in =
this<BR>
> function)<BR>
> tpupload.c:132: error: expected expression before ')' token<BR>
> tpupload.c:132: error: 'is_null' undeclared (first use in this =
function)<BR>
> tpupload.c:133: error: expected expression before ')' token<BR>
> tpupload.c:134: error: 'MYSQL_TYPE_LONGLONG' undeclared (first use =
in this<BR>
> function)<BR>
> tpupload.c:134: error: expected expression before ')' token<BR>
> tpupload.c:135: error: expected expression before ')' token<BR>
> tpupload.c:136: error: 'MYSQL_TYPE_TINY' undeclared (first use in =
this<BR>
> function)<BR>
> tpupload.c:136: error: expected expression before ')' token<BR>
> tpupload.c:138: warning: implicit declaration of function<BR>
> 'mysql_stmt_bind_param'<BR>
> tpupload.c:139: warning: format '%s' expects type 'char *', but =
argument 4<BR>
> has type 'int'<BR>
> tpupload.c:148: warning: implicit declaration of function<BR>
> 'mysql_stmt_execute'<BR>
> tpupload.c:149: warning: format '%s' expects type 'char *', but =
argument 4<BR>
> has type 'int'<BR>
> tpupload.c: In function 'upload_progress_db_update':<BR>
> tpupload.c:160: error: 'MYSQL_BIND' undeclared (first use in this =
function)<BR>
> tpupload.c:160: error: expected ';' before 'bind'<BR>
> tpupload.c:161: error: 'my_bool' undeclared (first use in this =
function)<BR>
> tpupload.c:161: error: expected ';' before 'is_null'<BR>
> tpupload.c:166: error: 'stmt' undeclared (first use in this =
function)<BR>
> tpupload.c:167: error: 'mysql' undeclared (first use in this =
function)<BR>
> tpupload.c:168: warning: format '%s' expects type 'char *', but =
argument 4<BR>
> has type 'int'<BR>
> tpupload.c:180: warning: format '%s' expects type 'char *', but =
argument 4<BR>
> has type 'int'<BR>
> tpupload.c:186: error: 'bind' undeclared (first use in this =
function)<BR>
> tpupload.c:186: warning: left-hand operand of comma expression has =
no<BR>
> effect<BR>
> tpupload.c:188: error: 'MYSQL_TYPE_STRING' undeclared (first use in =
this<BR>
> function)<BR>
> tpupload.c:188: error: expected expression before ')' token<BR>
> tpupload.c:188: error: 'is_null' undeclared (first use in this =
function)<BR>
> tpupload.c:189: error: 'MYSQL_TYPE_LONGLONG' undeclared (first use =
in this<BR>
> function)<BR>
> tpupload.c:189: error: expected expression before ')' token<BR>
> tpupload.c:190: error: 'MYSQL_TYPE_TINY' undeclared (first use in =
this<BR>
> function)<BR>
> tpupload.c:190: error: expected expression before ')' token<BR>
> tpupload.c:191: error: expected expression before ')' token<BR>
> tpupload.c:194: warning: format '%s' expects type 'char *', but =
argument 4<BR>
> has type 'int'<BR>
> tpupload.c:203: warning: format '%s' expects type 'char *', but =
argument 4<BR>
> has type 'int'<BR>
> tpupload.c: In function 'upload_init':<BR>
> tpupload.c:317: error: 'mysql' undeclared (first use in this =
function)<BR>
> tpupload.c:322: error: 'stmt' undeclared (first use in this =
function)<BR>
> tpupload.c:323: warning: implicit declaration of function<BR>
> 'mysql_stmt_close'<BR>
> tpupload.c:324: warning: format '%s' expects type 'char *', but =
argument 4<BR>
> has type 'int'<BR>
> tpupload.c: In function 'upload_progress':<BR>
> tpupload.c:347: error: 'mysql' undeclared (first use in this =
function)<BR>
> tpupload.c: In function 'upload_complete':<BR>
> tpupload.c:373: error: 'mysql' undeclared (first use in this =
function)<BR>
> tpupload.c: In function 'main':<BR>
> tpupload.c:528: error: 'mysql' undeclared (first use in this =
function)<BR>
> tpupload.c:528: warning: implicit declaration of function =
'mysql_init'<BR>
> tpupload.c:530: warning: implicit declaration of function<BR>
> 'mysql_real_connect'<BR>
> tpupload.c:532: warning: format '%s' expects type 'char *', but =
argument 4<BR>
> has type 'int'<BR>
> tpupload.c:553: error: 'stmt' undeclared (first use in this =
function)<BR>
> tpupload.c:556: warning: implicit declaration of function =
'mysql_close'<BR>
> make[1]: *** [tpupload.o] Error 1<BR>
> make[1]: Leaving directory =
`<path-to-build-dir>/build/filedrawers/upload'<BR>
> make: *** [upload/upload.cgi] Error 2<BR>
><BR>
> -Daniel<BR>
><BR>
><BR>
> -----Original Message-----<BR>
> From: Aaron Knister [<A =
HREF=3D"mailto:aaronk@umbc.edu">mailto:aaronk@umbc.edu</A> =
<aaronk@umbc.edu>]<BR>
> Sent: Mon 8/15/2011 12:32 PM<BR>
> To: Colson, Daniel<BR>
> Cc: openafs-info@openafs.org<BR>
> Subject: Re: [OpenAFS] 64-bit mod_waklog / filedrawers on afs<BR>
><BR>
> Hi Daniel,<BR>
><BR>
> While I'm not running filedrawers I am using mod_waklog, albeit =
with RHEL6.<BR>
> I had to apply some patches to get it to build correctly. If you =
send your<BR>
> build errors I can see if my patches will help.<BR>
><BR>
> -Aaron<BR>
><BR>
> On Wed, Aug 10, 2011 at 3:16 PM, Colson, Daniel =
<dcolson5@uncc.edu> wrote:<BR>
><BR>
> > **<BR>
> ><BR>
> > Is anyone else running mod_waklog / filedrawers on afs on a =
64-bit<BR>
> machine?<BR>
> > I've been unable to compile mod_waklog (an essential component =
of<BR>
> > filedrawers) on 64-bit (RHEL5.6).<BR>
> ><BR>
><BR>
><BR>
><BR>
> --<BR>
> Aaron Knister<BR>
> Systems Administrator<BR>
> Division of Information Technology<BR>
> University of Maryland, Baltimore County<BR>
> aaronk@umbc.edu<BR>
><BR>
><BR>
<BR>
<BR>
--<BR>
Aaron Knister<BR>
Systems Administrator<BR>
Division of Information Technology<BR>
University of Maryland, Baltimore County<BR>
aaronk@umbc.edu<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01CC60D3.867762B1--