1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
|
$ make
apxs -c mod_layout.c utility.c layout.c
gcc -DLINUX=22 -DEAPI -DTARGET="apache" -DHAVE_SET_DUMPABLE -DDB_DBM_HSEARCH=1 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -O1 -g -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DSHARED_MODULE -I/usr/include/apache-1.3 -c mod_layout.c
In file included from mod_layout.c:19:
mod_layout.h:12:25: apr_buckets.h: No such file or directory
mod_layout.h:13:25: apr_strings.h: No such file or directory
mod_layout.h:14:21: apr_lib.h: No such file or directory
mod_layout.h:15:24: apr_tables.h: No such file or directory
mod_layout.h:16:25: apr_fnmatch.h: No such file or directory
mod_layout.h:17:25: util_filter.h: No such file or directory
In file included from mod_layout.c:19:
mod_layout.h:82: error: syntax error before "ap_filter_t"
mod_layout.h:82: warning: no semicolon at end of struct or union
mod_layout.h:83: warning: type defaults to `int' in declaration of `b'
mod_layout.h:83: warning: data definition has no type or storage class
mod_layout.h:84: error: syntax error before '}' token
mod_layout.h:84: warning: type defaults to `int' in declaration of `layout_request'
mod_layout.h:84: warning: data definition has no type or storage class
mod_layout.h:89: error: syntax error before "apr_array_header_t"
mod_layout.h:89: warning: no semicolon at end of struct or union
mod_layout.h:94: error: syntax error before '*' token
mod_layout.h:94: warning: type defaults to `int' in declaration of `override'
mod_layout.h:94: warning: data definition has no type or storage class
mod_layout.h:95: error: syntax error before '*' token
mod_layout.h:95: warning: type defaults to `int' in declaration of `override_uri'
mod_layout.h:95: warning: data definition has no type or storage class
mod_layout.h:103: error: syntax error before '*' token
mod_layout.h:103: warning: type defaults to `int' in declaration of `types'
mod_layout.h:103: warning: data definition has no type or storage class
mod_layout.h:104: error: syntax error before '*' token
mod_layout.h:104: warning: type defaults to `int' in declaration of `uris_ignore'
mod_layout.h:104: warning: data definition has no type or storage class
mod_layout.h:105: error: syntax error before '*' token
mod_layout.h:105: warning: type defaults to `int' in declaration of `uris_ignore_header'
mod_layout.h:105: warning: data definition has no type or storage class
mod_layout.h:106: error: syntax error before '*' token
mod_layout.h:106: warning: type defaults to `int' in declaration of `uris_ignore_http_header'
mod_layout.h:106: warning: data definition has no type or storage class
mod_layout.h:107: error: syntax error before '*' token
mod_layout.h:107: warning: type defaults to `int' in declaration of `uris_ignore_footer'
mod_layout.h:107: warning: data definition has no type or storage class
mod_layout.h:108: error: syntax error before '*' token
mod_layout.h:108: warning: type defaults to `int' in declaration of `tag_ignore'
mod_layout.h:108: warning: data definition has no type or storage class
mod_layout.h:109: error: syntax error before '*' token
mod_layout.h:109: warning: type defaults to `int' in declaration of `tag_ignore_footer'
mod_layout.h:109: warning: data definition has no type or storage class
mod_layout.h:110: error: syntax error before '*' token
mod_layout.h:110: warning: type defaults to `int' in declaration of `tag_ignore_header'
mod_layout.h:110: warning: data definition has no type or storage class
mod_layout.h:121: error: syntax error before '}' token
mod_layout.h:121: warning: type defaults to `int' in declaration of `layout_conf'
mod_layout.h:121: warning: data definition has no type or storage class
mod_layout.h:124: error: syntax error before "apr_bucket_brigade"
mod_layout.h:124: warning: no semicolon at end of struct or union
mod_layout.h:126: error: syntax error before '}' token
mod_layout.h:126: warning: type defaults to `int' in declaration of `layout_filter_struct'
mod_layout.h:126: warning: data definition has no type or storage class
In file included from mod_layout.h:128,
from mod_layout.c:19:
proto.h:5: error: syntax error before "layout_conf"
proto.h:6: error: syntax error before '*' token
proto.h:6: error: syntax error before '*' token
proto.h:6: warning: type defaults to `int' in declaration of `layout_array_push_kind'
proto.h:6: warning: data definition has no type or storage class
proto.h:7: error: syntax error before '*' token
proto.h:8: error: syntax error before '*' token
proto.h:8: error: syntax error before "layout_conf"
proto.h:8: warning: type defaults to `int' in declaration of `create_layout_request'
proto.h:8: warning: data definition has no type or storage class
proto.h:9: warning: type defaults to `int' in declaration of `apr_table_t'
proto.h:9: error: syntax error before '*' token
proto.h:10: error: syntax error before '*' token
proto.h:12: error: syntax error before "layout_conf"
proto.h:14: warning: type defaults to `int' in declaration of `apr_table_t'
proto.h:14: error: syntax error before '*' token
proto.h:15: warning: type defaults to `int' in declaration of `apr_table_t'
proto.h:15: error: syntax error before '*' token
proto.h:16: error: syntax error before "layout_conf"
proto.h:17: error: syntax error before "layout_conf"
proto.h:18: error: syntax error before "layout_conf"
proto.h:20: error: syntax error before "layout_conf"
mod_layout.c:21: error: syntax error before "layout_module"
mod_layout.c:21: warning: type defaults to `int' in declaration of `layout_module'
mod_layout.c:21: warning: data definition has no type or storage class
mod_layout.c:24: error: syntax error before '*' token
mod_layout.c: In function `set_config_defaults':
mod_layout.c:26: error: `cfg' undeclared (first use in this function)
mod_layout.c:26: error: (Each undeclared identifier is reported only once
mod_layout.c:26: error: for each function it appears in.)
mod_layout.c:45: warning: implicit declaration of function `apr_table_make'
mod_layout.c:45: error: `p' undeclared (first use in this function)
mod_layout.c: At top level:
mod_layout.c:49: error: syntax error before '*' token
mod_layout.c: In function `create_dir_mconfig':
mod_layout.c:56: error: `cfg' undeclared (first use in this function)
mod_layout.c:58: warning: implicit declaration of function `apr_pcalloc'
mod_layout.c:58: error: `p' undeclared (first use in this function)
mod_layout.c:60: warning: implicit declaration of function `apr_pstrdup'
mod_layout.c:63: warning: implicit declaration of function `apr_table_setn'
mod_layout.c: At top level:
mod_layout.c:78: error: syntax error before '*' token
mod_layout.c: In function `merge_dir_mconfig':
mod_layout.c:80: error: `cfg' undeclared (first use in this function)
mod_layout.c:80: error: `p' undeclared (first use in this function)
mod_layout.c:82: error: `cfg_origin' undeclared (first use in this function)
mod_layout.c:82: error: syntax error before ')' token
mod_layout.c:83: error: `cfg_new' undeclared (first use in this function)
mod_layout.c:83: error: syntax error before ')' token
mod_layout.c:126: warning: implicit declaration of function `apr_array_append'
mod_layout.c:170: warning: implicit declaration of function `apr_table_overlay'
mod_layout.c: At top level:
mod_layout.c:241: error: syntax error before "layout_filter"
mod_layout.c:241: error: syntax error before '*' token
mod_layout.c:242: warning: return type defaults to `int'
mod_layout.c: In function `layout_filter':
mod_layout.c:243: error: `f' undeclared (first use in this function)
mod_layout.c:244: error: `ctx' undeclared (first use in this function)
mod_layout.c:245: error: `apr_bucket' undeclared (first use in this function)
mod_layout.c:245: error: `e' undeclared (first use in this function)
mod_layout.c:247: error: `apr_size_t' undeclared (first use in this function)
mod_layout.c:247: error: syntax error before "len"
mod_layout.c:248: error: `info' undeclared (first use in this function)
.......
mod_layout.c:566: error: syntax error before '*' token
mod_layout.c: In function `layout_register_hooks':
mod_layout.c:568: warning: implicit declaration of function `ap_register_output_filter'
mod_layout.c:568: error: `AP_FTYPE_CONTENT_SET' undeclared (first use in this function)
mod_layout.c: At top level:
mod_layout.c:572: warning: implicit declaration of function `AP_INIT_TAKE23'
mod_layout.c:572: warning: missing braces around initializer
mod_layout.c:572: warning: (near initialization for `layout_cmds[0]')
mod_layout.c:572: error: initializer element is not constant
mod_layout.c:572: error: (near initialization for `layout_cmds[0].name')
mod_layout.c:573: warning: implicit declaration of function `AP_INIT_TAKE1'
mod_layout.c:573: error: initializer element is not constant
mod_layout.c:573: error: (near initialization for `layout_cmds[0].func')
mod_layout.c:574: error: initializer element is not constant
mod_layout.c:574: error: (near initialization for `layout_cmds[0].cmd_data')
mod_layout.c:575: warning: implicit declaration of function `AP_INIT_FLAG'
mod_layout.c:575: error: initializer element is not constant
mod_layout.c:575: error: (near initialization for `layout_cmds[0].req_override')
...............
...............
apxs:Break: Command failed with rc=1
make: *** [mod_layout.so] Error 1
|