apxs -c mod_limitipconn.c
gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -DHARD_SERVER_LIMIT=512 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX=22 -DTARGET="apache" -DHAVE_SET_DUMPABLE -I/usr/include/db4.2 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM -fpic -DSHARED_MODULE -I/usr/include/apache -c mod_limitipconn.c
mod_limitipconn.c:34:20: ap_mpm.h: No such file or directory
mod_limitipconn.c:35:25: apr_strings.h: No such file or directory
mod_limitipconn.c:41: error: syntax error before "limitipconn_module"
mod_limitipconn.c:41: warning: data definition has no type or storage class
mod_limitipconn.c:47: error: syntax error before "apr_array_header_t"
mod_limitipconn.c:47: warning: no semicolon at end of struct or union
mod_limitipconn.c:49: warning: data definition has no type or storage class
mod_limitipconn.c:51: error: syntax error before '}' token
mod_limitipconn.c:51: warning: data definition has no type or storage class
mod_limitipconn.c:53: error: syntax error before '*' token
mod_limitipconn.c: In function `limitipconn_create_dir_config':
mod_limitipconn.c:55: error: `cfg' undeclared (first use in this function)
mod_limitipconn.c:55: error: (Each undeclared identifier is reported only once
mod_limitipconn.c:55: error: for each function it appears in.)
mod_limitipconn.c:55: error: syntax error before ')' token
mod_limitipconn.c:60: error: `p' undeclared (first use in this function)
mod_limitipconn.c: In function `limitipconn_handler':
mod_limitipconn.c:69: error: `cfg' undeclared (first use in this function)
mod_limitipconn.c:69: error: syntax error before ')' token
mod_limitipconn.c:70: error: request for member `module_index' in something not a structure or union
mod_limitipconn.c:89: error: `worker_score' undeclared (first use in this function)
mod_limitipconn.c:89: error: `ws_record' undeclared (first use in this function)
mod_limitipconn.c:100: error: too many arguments to function `ap_sub_req_lookup_uri'
mod_limitipconn.c:174: error: `SERVER_IDLE_KILL' undeclared (first use in this function)
mod_limitipconn.c:176: error: `SERVER_CLOSING' undeclared (first use in this function)
mod_limitipconn.c:184: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type
mod_limitipconn.c: In function `limit_config_cmd':
mod_limitipconn.c:198: error: `cfg' undeclared (first use in this function)
mod_limitipconn.c:198: error: syntax error before ')' token
mod_limitipconn.c: In function `no_limit_config_cmd':
mod_limitipconn.c:216: error: `cfg' undeclared (first use in this function)
mod_limitipconn.c:216: error: syntax error before ')' token
mod_limitipconn.c:218: warning: assignment makes pointer from integer without a cast
mod_limitipconn.c: In function `excl_limit_config_cmd':
mod_limitipconn.c:226: error: `cfg' undeclared (first use in this function)
mod_limitipconn.c:226: error: syntax error before ')' token
mod_limitipconn.c:228: warning: assignment makes pointer from integer without a cast
mod_limitipconn.c: At top level:
mod_limitipconn.c:235: error: initializer element is not constant
mod_limitipconn.c:235: error: (near initialization for `limitipconn_cmds[0].name')
mod_limitipconn.c:237: error: initializer element is not constant
mod_limitipconn.c:237: error: (near initialization for `limitipconn_cmds[0].func')
mod_limitipconn.c:239: error: initializer element is not constant
mod_limitipconn.c:239: error: (near initialization for `limitipconn_cmds[0].cmd_data')
mod_limitipconn.c:240: warning: braces around scalar initializer
mod_limitipconn.c:240: warning: (near initialization for `limitipconn_cmds[0].req_override')
mod_limitipconn.c:240: warning: initialization makes integer from pointer without a cast
mod_limitipconn.c:241: error: initializer element is not constant
mod_limitipconn.c:241: error: (near initialization for `limitipconn_cmds[0]')
mod_limitipconn.c:244: error: syntax error before '*' token
mod_limitipconn.c: In function `limitipconn_init':
mod_limitipconn.c:246: error: `s' undeclared (first use in this function)
mod_limitipconn.c:248: error: `AP_MPMQ_HARD_LIMIT_THREADS' undeclared (first use in this function)
mod_limitipconn.c:249: error: `AP_MPMQ_HARD_LIMIT_DAEMONS' undeclared (first use in this function)
mod_limitipconn.c: At top level:
mod_limitipconn.c:253: error: syntax error before '*' token
mod_limitipconn.c: In function `register_hooks':
mod_limitipconn.c:255: error: `APR_HOOK_MIDDLE' undeclared (first use in this function)
mod_limitipconn.c: At top level:
mod_limitipconn.c:259: error: syntax error before "limitipconn_module"
mod_limitipconn.c:260: error: `STANDARD20_MODULE_STUFF' undeclared here (not in a function)
mod_limitipconn.c:260: error: initializer element is not constant
mod_limitipconn.c:260: error: (near initialization for `limitipconn_module')
mod_limitipconn.c:261: warning: excess elements in scalar initializer
mod_limitipconn.c:261: warning: (near initialization for `limitipconn_module')
mod_limitipconn.c:262: warning: excess elements in scalar initializer
mod_limitipconn.c:262: warning: (near initialization for `limitipconn_module')
mod_limitipconn.c:263: warning: excess elements in scalar initializer
mod_limitipconn.c:263: warning: (near initialization for `limitipconn_module')
mod_limitipconn.c:264: warning: excess elements in scalar initializer
mod_limitipconn.c:264: warning: (near initialization for `limitipconn_module')
mod_limitipconn.c:265: warning: excess elements in scalar initializer
mod_limitipconn.c:265: warning: (near initialization for `limitipconn_module')
mod_limitipconn.c:267: warning: excess elements in scalar initializer
mod_limitipconn.c:267: warning: (near initialization for `limitipconn_module')
mod_limitipconn.c:267: warning: data definition has no type or storage class
apxs:Break: Command failed with rc=1
make: *** [mod_limitipconn.so] Error 1
!!! ERROR: net-www/mod_limitipconn-0.22-r1 failed.
!!! Function src_test, Line 572, Exitcode 0
!!! Make test failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.