Chinaunix首页 | 论坛 | 博客
  • 博客访问: 123404
  • 博文数量: 34
  • 博客积分: 1201
  • 博客等级: 少尉
  • 技术积分: 365
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-21 08:56
文章分类

全部博文(34)

文章存档

2012年(1)

2011年(15)

2010年(18)

我的朋友

分类: LINUX

2011-10-11 17:09:15

 
I encounter some issues as below when I compile php4.3.9 for httpd2.2.21 on cent44-64bit server.
#make
...
  1. /bin/sh /root/php-4.3.9/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/include/httpd
  2. -Isapi/apache2handler/ -I/root/php-4.3.9/sapi/apache2handler/ -DPHP_ATOM_INC -I/root/php-4.3.9/include -
  3. I/root/php-4.3.9/main -I/root/php-4.3.9 -I/root/php-4.3.9/Zend -I/root/php-4.3.9/ext/xml/expat -I/root/
  4. php-4.3.9/TSRM -g -O2 -prefer-pic -c /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c -o sapi/apache
  5. 2handler/sapi_apache2.lo
  6. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:38:25: apr_strings.h: No such file or directory
  7. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:39:
  8. /usr/include/httpd/ap_config.h:25:17: apr.h: No such file or directory
  9. /usr/include/httpd/ap_config.h:26:23: apr_hooks.h: No such file or directory
  10. /usr/include/httpd/ap_config.h:27:32: apr_optional_hooks.h: No such file or directory
  11. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:40:
  12. /usr/include/httpd/util_filter.h:26:25: apr_buckets.h: No such file or directory
  13. In file included from /usr/include/httpd/httpd.h:46,
  14. from /usr/include/httpd/util_filter.h:28,
  15. from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:40:
  16. /usr/include/httpd/ap_release.h:25:41: apr_general.h: No such file or directory
  17. In file included from /usr/include/httpd/util_filter.h:28,
  18. from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:40:
  19. /usr/include/httpd/httpd.h:50:24: apr_tables.h: No such file or directory
  20. /usr/include/httpd/httpd.h:51:23: apr_pools.h: No such file or directory
  21. /usr/include/httpd/httpd.h:52:22: apr_time.h: No such file or directory
  22. /usr/include/httpd/httpd.h:53:28: apr_network_io.h: No such file or directory
  23. /usr/include/httpd/httpd.h:55:22: apr_poll.h: No such file or directory
  24. In file included from /usr/include/httpd/httpd.h:59,
  25. from /usr/include/httpd/util_filter.h:28,
  26. from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:40:
  27. /usr/include/httpd/ap_regex.h:87: error: syntax error before "apr_size_t"
  28. /usr/include/httpd/ap_regex.h:87: warning: no semicolon at end of struct or union
  29. /usr/include/httpd/ap_regex.h:88: warning: data definition has no type or storage class
  30. /usr/include/httpd/ap_regex.h:89: warning: data definition has no type or storage class
  31. /usr/include/httpd/ap_regex.h:107: error: syntax error before '*' token
  32. /usr/include/httpd/ap_regex.h:119: error: syntax error before '*' token
  33. /usr/include/httpd/ap_regex.h:129: error: syntax error before "ap_regerror"
  34. /usr/include/httpd/ap_regex.h:129: error: syntax error before '*' token
  35. /usr/include/httpd/ap_regex.h:130: warning: data definition has no type or storage class
  36. /usr/include/httpd/ap_regex.h:135: error: syntax error before '*' token
  37. In file included from /usr/include/httpd/util_filter.h:28,
  38. from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:40:
  39. /usr/include/httpd/httpd.h:463: error: syntax error before '*' token
  40. /usr/include/httpd/httpd.h:633: error: syntax error before "apr_int64_t"
  41. /usr/include/httpd/httpd.h:633: warning: no semicolon at end of struct or union
  42. /usr/include/httpd/httpd.h:635: warning: data definition has no type or storage class
  43. /usr/include/httpd/httpd.h:636: error: syntax error before '}' token
  44. /usr/include/httpd/httpd.h:757:21: apr_uri.h: No such file or directory
  45. /usr/include/httpd/httpd.h:764: error: syntax error before "apr_pool_t"
  46. /usr/include/httpd/httpd.h:764: warning: no semicolon at end of struct or union
  47. /usr/include/httpd/httpd.h:766: warning: data definition has no type or storage class
  48. /usr/include/httpd/httpd.h:773: error: syntax error before '}' token
  49. /usr/include/httpd/httpd.h:780: error: syntax error before "apr_pool_t"
  50. /usr/include/httpd/httpd.h:780: warning: no semicolon at end of struct or union
  51. /usr/include/httpd/httpd.h:817: error: syntax error before "request_time"
  52. /usr/include/httpd/httpd.h:817: warning: data definition has no type or storage class
  53. /usr/include/httpd/httpd.h:853: error: syntax error before "allowed"
  54. /usr/include/httpd/httpd.h:853: warning: data definition has no type or storage class
  55. /usr/include/httpd/httpd.h:855: error: syntax error before '*' token
  56. /usr/include/httpd/httpd.h:855: warning: data definition has no type or storage class
  57. /usr/include/httpd/httpd.h:860: error: syntax error before "sent_bodyct"
  58. /usr/include/httpd/httpd.h:860: warning: data definition has no type or storage class
  59. /usr/include/httpd/httpd.h:862: error: syntax error before "bytes_sent"
  60. /usr/include/httpd/httpd.h:862: warning: data definition has no type or storage class
  61. /usr/include/httpd/httpd.h:864: error: syntax error before "mtime"
  62. /usr/include/httpd/httpd.h:864: warning: data definition has no type or storage class
  63. /usr/include/httpd/httpd.h:873: error: syntax error before "clength"
  64. /usr/include/httpd/httpd.h:873: warning: data definition has no type or storage class
  65. /usr/include/httpd/httpd.h:876: error: syntax error before "remaining"
  66. /usr/include/httpd/httpd.h:876: warning: data definition has no type or storage class
  67. /usr/include/httpd/httpd.h:878: error: syntax error before "read_length"
  68. /usr/include/httpd/httpd.h:878: warning: data definition has no type or storage class
  69. /usr/include/httpd/httpd.h:901: error: syntax error before '*' token
  70. /usr/include/httpd/httpd.h:901: warning: data definition has no type or storage class
  71. /usr/include/httpd/httpd.h:903: error: syntax error before '*' token
  72. /usr/include/httpd/httpd.h:903: warning: data definition has no type or storage class
  73. /usr/include/httpd/httpd.h:906: error: syntax error before '*' token
  74. /usr/include/httpd/httpd.h:906: warning: data definition has no type or storage class
  75. /usr/include/httpd/httpd.h:908: error: syntax error before '*' token
  76. /usr/include/httpd/httpd.h:908: warning: data definition has no type or storage class
  77. /usr/include/httpd/httpd.h:910: error: syntax error before '*' token
  78. /usr/include/httpd/httpd.h:910: warning: data definition has no type or storage class
  79. /usr/include/httpd/httpd.h:924: error: syntax error before '*' token
  80. /usr/include/httpd/httpd.h:924: warning: data definition has no type or storage class
  81. /usr/include/httpd/httpd.h:957: error: syntax error before "finfo"
  82. /usr/include/httpd/httpd.h:957: warning: data definition has no type or storage class
  83. /usr/include/httpd/httpd.h:959: error: syntax error before "parsed_uri"
  84. /usr/include/httpd/httpd.h:959: warning: data definition has no type or storage class
  85. /usr/include/httpd/httpd.h:1009: error: syntax error before '}' token
  86. /usr/include/httpd/httpd.h:1042: error: syntax error before "apr_pool_t"
  87. /usr/include/httpd/httpd.h:1042: warning: no semicolon at end of struct or union
  88. /usr/include/httpd/httpd.h:1050: error: syntax error before '*' token
  89. /usr/include/httpd/httpd.h:1050: warning: data definition has no type or storage class
  90. /usr/include/httpd/httpd.h:1052: error: syntax error before '*' token
  91. /usr/include/httpd/httpd.h:1052: warning: data definition has no type or storage class
  92. /usr/include/httpd/httpd.h:1065: error: syntax error before ':' token
  93. /usr/include/httpd/httpd.h:1073: error: syntax error before ':' token
  94. /usr/include/httpd/httpd.h:1090: error: syntax error before '*' token
  95. /usr/include/httpd/httpd.h:1090: warning: data definition has no type or storage class
  96. /usr/include/httpd/httpd.h:1108: error: syntax error before '}' token
  97. /usr/include/httpd/httpd.h:1124: error: syntax error before "APR_RING_ENTRY"
  98. /usr/include/httpd/httpd.h:1124: warning: no semicolon at end of struct or union
  99. /usr/include/httpd/httpd.h:1126: warning: data definition has no type or storage class
  100. /usr/include/httpd/httpd.h:1132: error: syntax error before '*' token
  101. /usr/include/httpd/httpd.h:1132: warning: data definition has no type or storage class
  102. /usr/include/httpd/httpd.h:1134: error: syntax error before '*' token
  103. /usr/include/httpd/httpd.h:1134: error: conflicting types for 'bucket_alloc'
  104. /usr/include/httpd/httpd.h:1098: error: previous declaration of 'bucket_alloc' was here
  105. /usr/include/httpd/httpd.h:1134: warning: data definition has no type or storage class
  106. /usr/include/httpd/httpd.h:1136: error: syntax error before "pfd"
  107. /usr/include/httpd/httpd.h:1136: warning: data definition has no type or storage class
  108. /usr/include/httpd/httpd.h:1157: error: syntax error before "apr_sockaddr_t"
  109. /usr/include/httpd/httpd.h:1157: warning: no semicolon at end of struct or union
  110. /usr/include/httpd/httpd.h:1159: warning: data definition has no type or storage class
  111. /usr/include/httpd/httpd.h:1162: error: syntax error before '}' token
  112. /usr/include/httpd/httpd.h:1185: error: syntax error before "apr_port_t"
  113. /usr/include/httpd/httpd.h:1185: warning: no semicolon at end of struct or union
  114. /usr/include/httpd/httpd.h:1192: error: syntax error before '*' token
  115. /usr/include/httpd/httpd.h:1192: warning: data definition has no type or storage class
  116. /usr/include/httpd/httpd.h:1211: error: syntax error before "timeout"
  117. /usr/include/httpd/httpd.h:1211: warning: data definition has no type or storage class
  118. /usr/include/httpd/httpd.h:1213: error: syntax error before "keep_alive_timeout"
  119. /usr/include/httpd/httpd.h:1213: warning: data definition has no type or storage class
  120. /usr/include/httpd/httpd.h:1225: error: syntax error before '*' token
  121. /usr/include/httpd/httpd.h:1225: warning: data definition has no type or storage class
  122. /usr/include/httpd/httpd.h:1227: error: syntax error before '*' token
  123. /usr/include/httpd/httpd.h:1227: warning: data definition has no type or storage class
  124. /usr/include/httpd/httpd.h:1238: error: syntax error before '}' token
  125. /usr/include/httpd/httpd.h:1241: error: syntax error before "apr_bucket_brigade"
  126. /usr/include/httpd/httpd.h:1241: warning: no semicolon at end of struct or union
  127. /usr/include/httpd/httpd.h:1245: warning: data definition has no type or storage class
  128. /usr/include/httpd/httpd.h:1246: error: syntax error before '}' token
  129. /usr/include/httpd/httpd.h:1246: warning: data definition has no type or storage class
  130. /usr/include/httpd/httpd.h:1249: error: syntax error before "apr_bucket_brigade"
  131. /usr/include/httpd/httpd.h:1249: warning: no semicolon at end of struct or union
  132. /usr/include/httpd/httpd.h:1250: warning: data definition has no type or storage class
  133. /usr/include/httpd/httpd.h:1251: error: syntax error before '}' token
  134. /usr/include/httpd/httpd.h:1251: warning: data definition has no type or storage class
  135. /usr/include/httpd/httpd.h:1255: error: syntax error before "apr_socket_t"
  136. /usr/include/httpd/httpd.h:1255: warning: no semicolon at end of struct or union
  137. /usr/include/httpd/httpd.h:1260: error: syntax error before '*' token
  138. /usr/include/httpd/httpd.h:1260: warning: data definition has no type or storage class
  139. /usr/include/httpd/httpd.h:1261: error: syntax error before '*' token
  140. /usr/include/httpd/httpd.h:1261: warning: data definition has no type or storage class
  141. /usr/include/httpd/httpd.h:1262: error: syntax error before '}' token
  142. /usr/include/httpd/httpd.h:1262: warning: data definition has no type or storage class
  143. /usr/include/httpd/httpd.h:1271: error: syntax error before '*' token
  144. /usr/include/httpd/httpd.h:1281: error: syntax error before '*' token
  145. /usr/include/httpd/httpd.h:1294: error: syntax error before '*' token
  146. /usr/include/httpd/httpd.h:1304: error: syntax error before '*' token
  147. /usr/include/httpd/httpd.h:1313: error: syntax error before '*' token
  148. /usr/include/httpd/httpd.h:1323: error: syntax error before '*' token
  149. /usr/include/httpd/httpd.h:1333: error: syntax error before '*' token
  150. /usr/include/httpd/httpd.h:1345: error: syntax error before '*' token
  151. /usr/include/httpd/httpd.h:1353: error: syntax error before '*' token
  152. /usr/include/httpd/httpd.h:1362: error: syntax error before '*' token
  153. /usr/include/httpd/httpd.h:1373: error: syntax error before '*' token
  154. /usr/include/httpd/httpd.h:1396: error: syntax error before '*' token
  155. /usr/include/httpd/httpd.h:1406: error: syntax error before '*' token
  156. /usr/include/httpd/httpd.h:1418: error: syntax error before '*' token
  157. /usr/include/httpd/httpd.h:1427: error: syntax error before '*' token
  158. /usr/include/httpd/httpd.h:1436: error: syntax error before '*' token
  159. /usr/include/httpd/httpd.h:1486: error: syntax error before '*' token
  160. /usr/include/httpd/httpd.h:1496: error: syntax error before '*' token
  161. /usr/include/httpd/httpd.h:1507: error: syntax error before '*' token
  162. /usr/include/httpd/httpd.h:1515: error: syntax error before '*' token
  163. /usr/include/httpd/httpd.h:1523: error: syntax error before '*' token
  164. /usr/include/httpd/httpd.h:1532: error: syntax error before "ap_escape_errorlog_item"
  165. /usr/include/httpd/httpd.h:1533: error: syntax error before "apr_size_t"
  166. /usr/include/httpd/httpd.h:1533: warning: data definition has no type or storage class
  167. /usr/include/httpd/httpd.h:1543: error: syntax error before '*' token
  168. /usr/include/httpd/httpd.h:1552: error: syntax error before '*' token
  169. /usr/include/httpd/httpd.h:1581: error: syntax error before '*' token
  170. /usr/include/httpd/httpd.h:1595: error: syntax error before '*' token
  171. /usr/include/httpd/httpd.h:1605: error: syntax error before '*' token
  172. /usr/include/httpd/httpd.h:1657: error: syntax error before '*' token
  173. /usr/include/httpd/httpd.h:1665: error: syntax error before '*' token
  174. /usr/include/httpd/httpd.h:1679: error: syntax error before '*' token
  175. /usr/include/httpd/httpd.h:1679: error: syntax error before '*' token
  176. /usr/include/httpd/httpd.h:1680: warning: data definition has no type or storage class
  177. /usr/include/httpd/httpd.h:1687: error: syntax error before '*' token
  178. /usr/include/httpd/httpd.h:1700: error: syntax error before '*' token
  179. /usr/include/httpd/httpd.h:1740: error: syntax error before '*' token
  180. /usr/include/httpd/httpd.h:1752: error: syntax error before '*' token
  181. /usr/include/httpd/httpd.h:1773: error: syntax error before "ap_timeout_parameter_parse"
  182. /usr/include/httpd/httpd.h:1775: error: syntax error before "apr_interval_time_t"
  183. /usr/include/httpd/httpd.h:1776: warning: data definition has no type or storage class
  184. /usr/include/httpd/httpd.h:1785: error: syntax error before '*' token
  185. /usr/include/httpd/httpd.h:1793: error: syntax error before '*' token
  186. /usr/include/httpd/httpd.h:1804: error: syntax error before '*' token
  187. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:40:
  188. /usr/include/httpd/util_filter.h:136: error: syntax error before '*' token
  189. /usr/include/httpd/util_filter.h:137: error: syntax error before "apr_bucket_brigade"
  190. /usr/include/httpd/util_filter.h:137: error: `apr_status_t' declared as function returning a function
  191. /usr/include/httpd/util_filter.h:139: error: syntax error before "apr_bucket_brigade"
  192. /usr/include/httpd/util_filter.h:142: error: `ap_in_filter_func' declared as function returning a functi
  193. on
  194. /usr/include/httpd/util_filter.h:146: error: syntax error before "ap_out_filter_func"
  195. /usr/include/httpd/util_filter.h:146: warning: no semicolon at end of struct or union
  196. /usr/include/httpd/util_filter.h:148: error: syntax error before '}' token
  197. /usr/include/httpd/util_filter.h:148: warning: data definition has no type or storage class
  198. /usr/include/httpd/util_filter.h:222: error: syntax error before "ap_filter_func"
  199. /usr/include/httpd/util_filter.h:222: warning: no semicolon at end of struct or union
  200. /usr/include/httpd/util_filter.h:242: error: conflicting types for 'next'
  201. /usr/include/httpd/httpd.h:787: error: previous declaration of 'next' was here
  202. /usr/include/httpd/util_filter.h:252: error: syntax error before '}' token
  203. /usr/include/httpd/util_filter.h:299: error: syntax error before "apr_bucket_brigade"
  204. /usr/include/httpd/util_filter.h:302: error: `ap_get_brigade' declared as function returning a function
  205. /usr/include/httpd/util_filter.h:313: error: syntax error before "apr_bucket_brigade"
  206. /usr/include/httpd/util_filter.h:313: error: `ap_pass_brigade' declared as function returning a function
  207. /usr/include/httpd/util_filter.h:351: error: syntax error before "ap_out_filter_func"
  208. /usr/include/httpd/util_filter.h:377: error: syntax error before "ap_out_filter_func"
  209. /usr/include/httpd/util_filter.h:495: error: syntax error before "apr_bucket_brigade"
  210. /usr/include/httpd/util_filter.h:496: error: `ap_save_brigade' declared as function returning a function
  211. /usr/include/httpd/util_filter.h:506: error: syntax error before '*' token
  212. /usr/include/httpd/util_filter.h:507: error: `ap_filter_flush' declared as function returning a function
  213. /usr/include/httpd/util_filter.h:514: error: syntax error before "apr_bucket_brigade"
  214. /usr/include/httpd/util_filter.h:514: error: `ap_fflush' declared as function returning a function
  215. /usr/include/httpd/util_filter.h:551: error: syntax error before "apr_bucket_brigade"
  216. /usr/include/httpd/util_filter.h:552: error: `ap_fputstrs' declared as function returning a function
  217. /usr/include/httpd/util_filter.h:562: error: syntax error before "apr_bucket_brigade"
  218. /usr/include/httpd/util_filter.h:565: error: `ap_fprintf' declared as function returning a function
  219. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:42:
  220. /usr/include/httpd/http_config.h:279: error: syntax error before "apr_int64_t"
  221. /usr/include/httpd/http_config.h:279: warning: no semicolon at end of struct or union
  222. /usr/include/httpd/http_config.h:281: warning: data definition has no type or storage class
  223. /usr/include/httpd/http_config.h:291: error: syntax error before '*' token
  224. /usr/include/httpd/http_config.h:291: warning: data definition has no type or storage class
  225. /usr/include/httpd/http_config.h:294: error: syntax error before '*' token
  226. /usr/include/httpd/http_config.h:294: warning: data definition has no type or storage class
  227. /usr/include/httpd/http_config.h:303: error: conflicting types for 'path'
  228. /usr/include/httpd/httpd.h:1220: error: previous declaration of 'path' was here
  229. /usr/include/httpd/http_config.h:314: error: syntax error before '}' token
  230. /usr/include/httpd/http_config.h:357: error: syntax error before '*' token
  231. /usr/include/httpd/http_config.h:365: error: syntax error before '*' token
  232. /usr/include/httpd/http_config.h:372: error: syntax error before '*' token
  233. /usr/include/httpd/http_config.h:380: error: syntax error before '*' token
  234. /usr/include/httpd/http_config.h:393: error: syntax error before '*' token
  235. /usr/include/httpd/http_config.h:557: error: syntax error before '*' token
  236. /usr/include/httpd/http_config.h:566: error: syntax error before "apr_pool_t"
  237. /usr/include/httpd/http_config.h:582: error: syntax error before "apr_pool_t"
  238. /usr/include/httpd/http_config.h:608: error: syntax error before "apr_pool_t"
  239. /usr/include/httpd/http_config.h:608: error: `ap_pcfg_openfile' declared as function returning a functio
  240. n
  241. /usr/include/httpd/http_config.h:619: error: syntax error before '*' token
  242. /usr/include/httpd/http_config.h:622: error: `ap_pcfg_open_custom' declared as function returning a func
  243. tion
  244. /usr/include/httpd/http_config.h:623: error: syntax error before "void"
  245. /usr/include/httpd/http_config.h:669: error: syntax error before '*' token
  246. /usr/include/httpd/http_config.h:685: error: syntax error before "apr_pool_t"
  247. /usr/include/httpd/http_config.h:975: error: syntax error before "int"
  248. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:43:
  249. /usr/include/httpd/http_request.h:105: error: syntax error before '*' token
  250. /usr/include/httpd/http_request.h:131: error: syntax error before "apr_bucket_brigade"
  251. /usr/include/httpd/http_request.h:131: error: `ap_sub_req_output_filter' declared as function returning
  252. a function
  253. /usr/include/httpd/http_request.h:198: error: syntax error before "apr_time_t"
  254. /usr/include/httpd/http_request.h:261: error: syntax error before "int"
  255. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:44:
  256. /usr/include/httpd/http_core.h:30:22: apr_hash.h: No such file or directory
  257. /usr/include/httpd/http_core.h:31:26: apr_optional.h: No such file or directory
  258. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:44:
  259. /usr/include/httpd/http_core.h:221: error: syntax error before '*' token
  260. /usr/include/httpd/http_core.h:235: error: syntax error before "ap_get_server_port"
  261. /usr/include/httpd/http_core.h:235: warning: data definition has no type or storage class
  262. /usr/include/httpd/http_core.h:242: error: syntax error before "ap_get_limit_req_body"
  263. /usr/include/httpd/http_core.h:242: warning: data definition has no type or storage class
  264. /usr/include/httpd/http_core.h:291: error: syntax error before "apr_int64_t"
  265. /usr/include/httpd/http_core.h:291: warning: no semicolon at end of struct or union
  266. /usr/include/httpd/http_core.h:294: error: syntax error before '}' token
  267. /usr/include/httpd/http_core.h:301: error: 'ap_auth_type' redeclared as different kind of symbol
  268. /usr/include/httpd/httpd.h:932: error: previous declaration of 'ap_auth_type' was here
  269. /usr/include/httpd/http_core.h:327: error: syntax error before '*' token
  270. /usr/include/httpd/http_core.h:327: warning: data definition has no type or storage class
  271. /usr/include/httpd/http_core.h:656: error: syntax error before "apr_hash_t"
  272. /usr/include/httpd/http_core.h:656: warning: no semicolon at end of struct or union
  273. /usr/include/httpd/http_core.h:657: warning: data definition has no type or storage class
  274. /usr/include/httpd/http_core.h:663: error: syntax error before "ap_mgmt_value"
  275. /usr/include/httpd/http_core.h:663: warning: no semicolon at end of struct or union
  276. /usr/include/httpd/http_core.h:664: warning: data definition has no type or storage class
  277. /usr/include/httpd/http_core.h:685: error: syntax error before "int"
  278. /usr/include/httpd/http_core.h:698: error: syntax error before "ap_logio_add_bytes_in"
  279. /usr/include/httpd/http_core.h:706: error: syntax error before "ap_ident_lookup"
  280. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:45:
  281. /usr/include/httpd/http_protocol.h:31:26: apr_portable.h: No such file or directory
  282. /usr/include/httpd/http_protocol.h:32:22: apr_mmap.h: No such file or directory
  283. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:45:
  284. /usr/include/httpd/http_protocol.h:45: error: syntax error before "void"
  285. /usr/include/httpd/http_protocol.h:77: error: syntax error before "apr_bucket_brigade"
  286. /usr/include/httpd/http_protocol.h:111: error: syntax error before "apr_off_t"
  287. /usr/include/httpd/http_protocol.h:127: error: syntax error before "ap_rationalize_mtime"
  288. /usr/include/httpd/http_protocol.h:127: error: syntax error before "apr_time_t"
  289. /usr/include/httpd/http_protocol.h:127: warning: data definition has no type or storage class
  290. /usr/include/httpd/http_protocol.h:203: error: syntax error before '*' token
  291. /usr/include/httpd/http_protocol.h:204: error: `ap_send_fd' declared as function returning a function
  292. /usr/include/httpd/http_protocol.h:228: error: syntax error before '*' token
  293. /usr/include/httpd/http_protocol.h:235: error: syntax error before '*' token
  294. /usr/include/httpd/http_protocol.h:253: error: syntax error before '*' token
  295. /usr/include/httpd/http_protocol.h:433: error: syntax error before "apr_size_t"
  296. /usr/include/httpd/http_protocol.h:541: error: syntax error before "apr_size_t"
  297. /usr/include/httpd/http_protocol.h:544: error: `ap_rgetline_core' declared as function returning a funct
  298. ion
  299. /usr/include/httpd/http_protocol.h:561: error: syntax error before '*' token
  300. /usr/include/httpd/http_protocol.h:576: error: syntax error before "int"
  301. /usr/include/httpd/http_protocol.h:615: error: syntax error before "apr_bucket_refcount"
  302. /usr/include/httpd/http_protocol.h:615: warning: no semicolon at end of struct or union
  303. /usr/include/httpd/http_protocol.h:619: error: conflicting types for 'data'
  304. /root/php-4.3.9/main/php.h:255: error: previous declaration of 'data' was here
  305. /usr/include/httpd/http_protocol.h:619: error: conflicting types for 'data'
  306. /root/php-4.3.9/main/php.h:255: error: previous declaration of 'data' was here
  307. /usr/include/httpd/http_protocol.h:620: error: syntax error before '}' token
  308. /usr/include/httpd/http_protocol.h:623: error: syntax error before "ap_bucket_type_error"
  309. /usr/include/httpd/http_protocol.h:623: warning: data definition has no type or storage class
  310. /usr/include/httpd/http_protocol.h:640: error: syntax error before '*' token
  311. /usr/include/httpd/http_protocol.h:640: error: syntax error before '*' token
  312. /usr/include/httpd/http_protocol.h:641: warning: data definition has no type or storage class
  313. /usr/include/httpd/http_protocol.h:651: error: syntax error before '*' token
  314. /usr/include/httpd/http_protocol.h:652: error: syntax error before "apr_pool_t"
  315. /usr/include/httpd/http_protocol.h:653: warning: data definition has no type or storage class
  316. /usr/include/httpd/http_protocol.h:655: error: syntax error before "apr_bucket_brigade"
  317. /usr/include/httpd/http_protocol.h:655: error: `ap_byterange_filter' declared as function returning a fu
  318. nction
  319. /usr/include/httpd/http_protocol.h:656: error: syntax error before "apr_bucket_brigade"
  320. /usr/include/httpd/http_protocol.h:656: error: `ap_http_header_filter' declared as function returning a
  321. function
  322. /usr/include/httpd/http_protocol.h:658: error: syntax error before "apr_bucket_brigade"
  323. /usr/include/httpd/http_protocol.h:658: error: `ap_content_length_filter' declared as function returning
  324. a function
  325. /usr/include/httpd/http_protocol.h:659: error: syntax error before "apr_bucket_brigade"
  326. /usr/include/httpd/http_protocol.h:659: error: `ap_old_write_filter' declared as function returning a fu
  327. nction
  328. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:46:
  329. /usr/include/httpd/http_log.h:33:29: apr_thread_proc.h: No such file or directory
  330. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:46:
  331. /usr/include/httpd/http_log.h:102: error: syntax error before '*' token
  332. /usr/include/httpd/http_log.h:109: error: syntax error before '*' token
  333. /usr/include/httpd/http_log.h:110: error: `ap_replace_stderr_log' declared as function returning a funct
  334. ion
  335. /usr/include/httpd/http_log.h:121: error: syntax error before '*' token
  336. /usr/include/httpd/http_log.h:196: error: syntax error before "apr_pool_t"
  337. /usr/include/httpd/http_log.h:261: error: syntax error before '*' token
  338. /usr/include/httpd/http_log.h:269: error: syntax error before '*' token
  339. /usr/include/httpd/http_log.h:269: error: `ap_read_pid' declared as function returning a function
  340. /usr/include/httpd/http_log.h:282: error: syntax error before "apr_pool_t"
  341. /usr/include/httpd/http_log.h:282: warning: no semicolon at end of struct or union
  342. /usr/include/httpd/http_log.h:284: warning: data definition has no type or storage class
  343. /usr/include/httpd/http_log.h:295: error: syntax error before '}' token
  344. /usr/include/httpd/http_log.h:305: error: syntax error before '*' token
  345. /usr/include/httpd/http_log.h:314: error: syntax error before '*' token
  346. /usr/include/httpd/http_log.h:350: error: syntax error before "void"
  347. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:47:
  348. /usr/include/httpd/http_main.h:49: error: syntax error before '*' token
  349. /usr/include/httpd/http_main.h:49: warning: data definition has no type or storage class
  350. /usr/include/httpd/http_main.h:52: error: syntax error before '*' token
  351. /usr/include/httpd/http_main.h:52: warning: data definition has no type or storage class
  352. /usr/include/httpd/http_main.h:55: error: syntax error before '*' token
  353. /usr/include/httpd/http_main.h:55: warning: data definition has no type or storage class
  354. /usr/include/httpd/http_main.h:66: error: syntax error before "ap_signal_server"
  355. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:48:
  356. /usr/include/httpd/util_script.h:51: error: syntax error before '*' token
  357. /usr/include/httpd/util_script.h:90: error: syntax error before "apr_file_t"
  358. /usr/include/httpd/util_script.h:104: error: syntax error before "apr_bucket_brigade"
  359. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:50:
  360. /usr/include/httpd/ap_mpm.h:91: error: syntax error before '*' token
  361. /usr/include/httpd/ap_mpm.h:116: error: syntax error before "apr_proc_t"
  362. /usr/include/httpd/ap_mpm.h:121: error: `ap_os_create_privileged_process' declared as function returning
  363. a function
  364. /usr/include/httpd/ap_mpm.h:161: error: `ap_mpm_query' declared as function returning a function
  365. In file included from /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:52:
  366. /root/php-4.3.9/sapi/apache2handler/php_apache.h:38: error: syntax error before "apr_bucket_brigade"
  367. /root/php-4.3.9/sapi/apache2handler/php_apache.h:38: warning: no semicolon at end of struct or union
  368. /root/php-4.3.9/sapi/apache2handler/php_apache.h:43: error: conflicting types for 'finfo'
  369. /usr/include/httpd/httpd.h:957: error: previous declaration of 'finfo' was here
  370. /root/php-4.3.9/sapi/apache2handler/php_apache.h:47: error: syntax error before '}' token
  371. /root/php-4.3.9/sapi/apache2handler/php_apache.h:47: warning: data definition has no type or storage cla
  372. ss
  373. /root/php-4.3.9/sapi/apache2handler/php_apache.h:49: error: syntax error before '*' token
  374. /root/php-4.3.9/sapi/apache2handler/php_apache.h:50: error: syntax error before '*' token
  375. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_sapi_ub_write':
  376. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:71: error: `ctx' undeclared (first use in this functi
  377. on)
  378. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:71: error: (Each undeclared identifier is reported on
  379. ly once
  380. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:71: error: for each function it appears in.)
  381. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_sapi_header_handler':
  382. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:86: error: `ctx' undeclared (first use in this functi
  383. on)
  384. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:105: warning: assignment makes pointer from integer w
  385. ithout a cast
  386. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_sapi_send_headers':
  387. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:121: error: `ctx' undeclared (first use in this funct
  388. ion)
  389. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_sapi_read_post':
  390. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:131: error: `apr_size_t' undeclared (first use in thi
  391. s function)
  392. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:131: error: syntax error before "len"
  393. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:132: error: `ctx' undeclared (first use in this funct
  394. ion)
  395. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:134: error: `apr_bucket_brigade' undeclared (first us
  396. e in this function)
  397. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:134: error: `brigade' undeclared (first use in this f
  398. unction)
  399. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:138: error: `len' undeclared (first use in this funct
  400. ion)
  401. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:146: error: dereferencing pointer to incomplete type
  402. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:146: error: `APR_BLOCK_READ' undeclared (first use in
  403. this function)
  404. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:146: error: `APR_SUCCESS' undeclared (first use in th
  405. is function)
  406. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:149: error: `tlen' undeclared (first use in this func
  407. tion)
  408. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_sapi_get_stat':
  409. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:163: error: `ctx' undeclared (first use in this funct
  410. ion)
  411. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_sapi_read_cookies':
  412. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:188: error: `ctx' undeclared (first use in this funct
  413. ion)
  414. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:191: warning: assignment makes pointer from integer w
  415. ithout a cast
  416. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_sapi_getenv':
  417. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:200: error: `ctx' undeclared (first use in this funct
  418. ion)
  419. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:203: warning: assignment makes pointer from integer w
  420. ithout a cast
  421. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_sapi_register_variables':
  422. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:211: error: `ctx' undeclared (first use in this funct
  423. ion)
  424. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:212: error: syntax error before '*' token
  425. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:216: error: `apr_table_entry_t' undeclared (first use
  426. in this function)
  427. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:216: error: `elts' undeclared (first use in this func
  428. tion)
  429. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:216: error: syntax error before ')' token
  430. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:216: error: `arr' undeclared (first use in this funct
  431. ion)
  432. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_sapi_flush':
  433. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:233: error: `ctx' undeclared (first use in this funct
  434. ion)
  435. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:249: error: dereferencing pointer to incomplete type
  436. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:252: error: dereferencing pointer to incomplete type
  437. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_sapi_log_message':
  438. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:259: error: `ctx' undeclared (first use in this funct
  439. ion)
  440. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_sapi_log_message_ex':
  441. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:279: error: dereferencing pointer to incomplete type
  442. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: At top level:
  443. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:327: error: `php_apache_server_shutdown' declared as
  444. function returning a function
  445. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_server_shutdown':
  446. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:333: error: `APR_SUCCESS' undeclared (first use in th
  447. is function)
  448. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: At top level:
  449. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:336: error: syntax error before '*' token
  450. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:344: error: syntax error before '*' token
  451. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:362: error: syntax error before '*' token
  452. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_server_startup':
  453. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:369: error: `s' undeclared (first use in this functio
  454. n)
  455. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:376: error: `apr_pool_cleanup_null' undeclared (first
  456. use in this function)
  457. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: At top level:
  458. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:396: error: `php_server_context_cleanup' declared as
  459. function returning a function
  460. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_server_context_cleanup':
  461. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:399: error: `APR_SUCCESS' undeclared (first use in th
  462. is function)
  463. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: At top level:
  464. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:402: error: syntax error before "php_struct"
  465. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_apache_request_ctor':
  466. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:408: error: `r' undeclared (first use in this functio
  467. n)
  468. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:409: warning: assignment makes pointer from integer w
  469. ithout a cast
  470. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:410: warning: assignment makes pointer from integer w
  471. ithout a cast
  472. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:412: warning: assignment makes pointer from integer w
  473. ithout a cast
  474. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:413: warning: assignment makes pointer from integer w
  475. ithout a cast
  476. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:417: warning: passing arg 2 of `ap_set_content_type'
  477. makes pointer from integer without a cast
  478. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:420: warning: cast to pointer from integer of differe
  479. nt size
  480. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:428: warning: assignment makes pointer from integer w
  481. ithout a cast
  482. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:430: error: `ctx' undeclared (first use in this funct
  483. ion)
  484. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_handler':
  485. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:445: error: `ctx' undeclared (first use in this funct
  486. ion)
  487. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:447: error: `apr_bucket_brigade' undeclared (first us
  488. e in this function)
  489. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:447: error: `brigade' undeclared (first use in this f
  490. unction)
  491. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:448: error: `apr_bucket' undeclared (first use in thi
  492. s function)
  493. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:448: error: `bucket' undeclared (first use in this fu
  494. nction)
  495. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:453: error: dereferencing pointer to incomplete type
  496. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  497. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  498. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  499. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  500. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  501. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  502. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  503. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  504. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  505. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  506. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  507. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  508. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  509. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  510. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  511. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  512. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  513. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  514. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  515. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  516. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  517. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  518. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  519. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  520. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  521. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  522. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  523. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  524. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  525. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  526. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  527. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  528. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  529. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  530. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  531. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  532. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  533. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  534. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  535. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  536. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  537. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  538. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  539. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  540. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  541. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  542. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  543. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  544. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  545. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  546. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  547. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  548. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  549. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  550. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  551. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  552. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  553. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  554. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  555. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:456: error: dereferencing pointer to incomplete type
  556. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  557. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  558. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  559. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  560. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  561. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  562. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  563. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  564. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  565. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  566. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  567. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  568. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  569. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  570. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  571. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  572. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  573. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  574. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  575. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  576. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: dereferencing pointer to incomplete type
  577. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:458: error: `APR_UEXECUTE' undeclared (first use in t
  578. his function)
  579. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:474: error: dereferencing pointer to incomplete type
  580. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:481: error: dereferencing pointer to incomplete type
  581. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:481: error: `APR_DIR' undeclared (first use in this f
  582. unction)
  583. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:490: error: dereferencing pointer to incomplete type
  584. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:492: error: dereferencing pointer to incomplete type
  585. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:492: error: dereferencing pointer to incomplete type
  586. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:503: error: dereferencing pointer to incomplete type
  587. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:503: warning: assignment makes pointer from integer w
  588. ithout a cast
  589. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:508: error: dereferencing pointer to incomplete type
  590. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:508: error: `apr_pool_cleanup_null' undeclared (first
  591. use in this function)
  592. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:511: error: dereferencing pointer to incomplete type
  593. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:511: error: dereferencing pointer to incomplete type
  594. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:522: error: dereferencing pointer to incomplete type
  595. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  596. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  597. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  598. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  599. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  600. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  601. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  602. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  603. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  604. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  605. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  606. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  607. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  608. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  609. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  610. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  611. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  612. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  613. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  614. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  615. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  616. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  617. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:527: error: dereferencing pointer to incomplete type
  618. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:530: error: dereferencing pointer to incomplete type
  619. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:535: error: dereferencing pointer to incomplete type
  620. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:560: error: dereferencing pointer to incomplete type
  621. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:563: error: dereferencing pointer to incomplete type
  622. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:563: error: invalid lvalue in assignment
  623. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:564: error: `APR_SUCCESS' undeclared (first use in th
  624. is function)
  625. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:564: error: dereferencing pointer to incomplete type
  626. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: At top level:
  627. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:575: error: syntax error before '*' token
  628. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c: In function `php_register_hook':
  629. /root/php-4.3.9/sapi/apache2handler/sapi_apache2.c:577: error: `APR_HOOK_MIDDLE' undeclared (first use i
  630. n this function)
  631. make: *** [sapi/apache2handler/sapi_apache2.lo] Error 1

 

many of file can't be found, but the files exists actually.

Solution:

ln -s /usr/bin/apr-1-config /usr/bin/apr-config

then re-compile and make&make install

it's ok.

阅读(1196) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~