Compile Errors on Mod_Layout 5.0
"gabaod gabaod" <[email protected]> Tue, 18 Sep 2007 12:22:36 -0500
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
First off, anything that shows /usr/include/apache1-3 is really pointing to /usr/include/apache2 (created a symbolic link since couldnt figure out how to make this Makefile use a different include path 1. /mod_layout-5.0# make 2. apxs -c mod_layout.c utility.c layout.c 3. 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 4. In file included from /usr/include/apache-1.3/ap_config.h:25, 5. from /usr/include/apache-1.3/httpd.h:43, 6. from mod_layout.h:6, 7. from mod_layout.c:19: 8. /usr/include/apache-1.3/apr.h:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'apr_off_t' 9. In file included from /usr/include/apache-1.3/apr_file_io.h:29, 10. from /usr/include/apache-1.3/apr_network_io.h:26, 11. from /usr/include/apache-1.3/httpd.h:53, 12. from mod_layout.h:6, 13. from mod_layout.c:19: 14. /usr/include/apache-1.3/apr_file_info.h:210: error: expected specifier-qualifier-list before 'apr_off_t' 15. In file included from /usr/include/apache-1.3/apr_network_io.h:26, 16. from /usr/include/apache-1.3/httpd.h:53, 17. from mod_layout.h:6, 18. from mod_layout.c:19: 19. /usr/include/apache-1.3/apr_file_io.h:548: error: expected declaration specifiers or '...' before 'apr_off_t' 20. /usr/include/apache-1.3/apr_file_io.h:740: error: expected declaration specifiers or '...' before 'apr_off_t' 21. In file included from /usr/include/apache-1.3/httpd.h:53, 22. from mod_layout.h:6, 23. from mod_layout.c:19: 24. /usr/include/apache-1.3/apr_network_io.h:545: error: expected declaration specifiers or '...' before 'apr_off_t' 25. In file included from /usr/include/apache-1.3/apr_buckets.h:32, 26. from /usr/include/apache-1.3/httpd.h:54, 27. from mod_layout.h:6, 28. from mod_layout.c:19: 29. /usr/include/apache-1.3/apr_mmap.h:134: error: expected declaration specifiers or '...' before 'apr_off_t' 30. /usr/include/apache-1.3/apr_mmap.h:161: error: expected declaration specifiers or '...' before 'apr_off_t' 31. In file included from /usr/include/apache-1.3/httpd.h:54, 32. from mod_layout.h:6, 33. from mod_layout.c:19: 34. /usr/include/apache-1.3/apr_buckets.h:242: error: expected specifier-qualifier-list before 'apr_off_t' 35. /usr/include/apache-1.3/apr_buckets.h:706: error: expected declaration specifiers or '...' before 'apr_off_t' 36. /usr/include/apache-1.3/apr_buckets.h:718: error: expected declaration specifiers or '...' before 'apr_off_t' 37. /usr/include/apache-1.3/apr_buckets.h:754: error: expected declaration specifiers or '...' before 'apr_off_t' 38. /usr/include/apache-1.3/apr_buckets.h:890: error: expected declaration specifiers or '...' before 'apr_off_t' 39. /usr/include/apache-1.3/apr_buckets.h:891: error: expected declaration specifiers or '...' before 'apr_off_t' 40. /usr/include/apache-1.3/apr_buckets.h:1168: error: expected declaration specifiers or '...' before 'apr_off_t' 41. /usr/include/apache-1.3/apr_buckets.h:1367: error: expected declaration specifiers or '...' before 'apr_off_t' 42. /usr/include/apache-1.3/apr_buckets.h:1381: error: expected declaration specifiers or '...' before 'apr_off_t' 43. /usr/include/apache-1.3/apr_buckets.h:1431: error: expected declaration specifiers or '...' before 'apr_off_t' 44. /usr/include/apache-1.3/apr_buckets.h:1447: error: expected declaration specifiers or '...' before 'apr_off_t' 45. In file included from mod_layout.h:6, 46. from mod_layout.c:19: 47. /usr/include/apache-1.3/httpd.h:848: error: expected specifier-qualifier-list before 'apr_off_t' 48. In file included from /usr/include/apache-1.3/http_protocol.h:34, 49. from mod_layout.h:8, 50. from mod_layout.c:19: 51. /usr/include/apache-1.3/util_filter.h:142: error: expected declaration specifiers or '...' before 'apr_off_t' 52. /usr/include/apache-1.3/util_filter.h:299: error: expected declaration specifiers or '...' before 'apr_off_t' 53. In file included from mod_layout.h:8, 54. from mod_layout.c:19: 55. /usr/include/apache-1.3/http_protocol.h:111: error: expected declaration specifiers or '...' before 'apr_off_t' 56. /usr/include/apache-1.3/http_protocol.h:203: error: expected declaration specifiers or '...' before 'apr_off_t' 57. In file included from mod_layout.h:13, 58. from mod_layout.c:19: 59. /usr/include/apache-1.3/apr_strings.h:297: error: expected declaration specifiers or '...' before 'apr_off_t' 60. /usr/include/apache-1.3/apr_strings.h:313: error: expected ')'before '*' token 61. /usr/include/apache-1.3/apr_strings.h:349: error: expected ')'before 'size' 62. mod_layout.c: In function 'layout_filter': 63. mod_layout.c:258: error: 'request_rec' has no member named 'headers_out' 64. mod_layout.c:259: error: 'request_rec' has no member named 'per_dir_config' 65. mod_layout.c:266: error: 'request_rec' has no member named 'uri' 66. mod_layout.c:289: error: 'request_rec' has no member named 'headers_out' 67. mod_layout.c:290: error: 'request_rec' has no member named 'headers_out' 68. mod_layout.c:314: error: 'request_rec' has no member named 'notes' 69. mod_layout.c:317: error: 'request_rec' has no member named 'notes' 70. apxs:Break: Command failed with rc=1 71. make: *** [mod_layout.so] Error 1 _______________________________________________ Mod_layout mailing list [email protected] http://lists.tangent.org/mailman/listinfo/mod_layout