Re: Compile Errors on Mod_Layout 5.0
Brian Aker <[email protected]> Wed, 19 Sep 2007 05:13:46 +0200
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
Hi! Which version of Apache are you making use of? Cheers, -Brian On Sep 18, 2007, at 7:22 PM, gabaod gabaod wrote: > 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 > > > /mod_layout-5.0# 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 /usr/include/apache-1.3/ap_config.h:25 , > from /usr/include/apache-1.3/httpd.h:43, > from mod_layout.h: 6, > from mod_layout.c:19: > /usr/include/apache-1.3 /apr.h:270: error: expected '=', ',', ';', > 'asm' or '__attribute__' before 'apr_off_t' > In file included from /usr/include/apache-1.3 /apr_file_io.h:29, > from /usr/include/apache-1.3/apr_network_io.h:26, > from /usr/include/apache-1.3/httpd.h:53, > from mod_layout.h: 6, > from mod_layout.c:19: > /usr/include/apache-1.3/apr_file_info.h: 210: error: expected > specifier-qualifier-list before 'apr_off_t' > In file included from /usr/include/apache -1.3/apr_network_io.h:26, > from /usr/include/apache-1.3/httpd.h:53 , > from mod_layout.h:6, > from mod_layout.c:19: > /usr/include/apache-1.3/apr_file_io.h:548: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3/apr_file_io.h:740: error: expected > declaration specifiers or '...' before 'apr_off_t' > In file included from /usr/include/apache-1.3/httpd.h: 53, > from mod_layout.h:6, > from mod_layout.c:19 : > /usr/include/apache-1.3/apr_network_io.h:545: error: expected > declaration specifiers or '...' before 'apr_off_t' > In file included from /usr/include/apache-1.3/apr_buckets.h: 32, > from /usr/include/apache-1.3/httpd.h:54, > from mod_layout.h: 6, > from mod_layout.c:19: > /usr/include/apache-1.3 /apr_mmap.h:134: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache -1.3/apr_mmap.h:161: error: expected > declaration specifiers or '...' before 'apr_off_t' > In file included from /usr/include/apache-1.3/httpd.h:54, > from mod_layout.h: 6, > from mod_layout.c:19: > /usr/include/apache-1.3 /apr_buckets.h:242: error: expected > specifier-qualifier-list before 'apr_off_t' > /usr/include/apache-1.3 /apr_buckets.h:706: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3/apr_buckets.h:718: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3/apr_buckets.h:754: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3/apr_buckets.h:890: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3/apr_buckets.h:891 : error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3 /apr_buckets.h:1168: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3/apr_buckets.h:1367: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3/apr_buckets.h:1381: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3/apr_buckets.h:1431: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3/apr_buckets.h:1447 : error: expected > declaration specifiers or '...' before 'apr_off_t' > In file included from mod_layout.h: 6, > from mod_layout.c:19: > /usr/include/apache-1.3 /httpd.h:848: error: expected specifier- > qualifier-list before 'apr_off_t' > In file included from /usr/include/apache -1.3/http_protocol.h:34, > from mod_layout.h:8, > from mod_layout.c:19: > /usr/include/apache-1.3/util_filter.h:142: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3/util_filter.h:299 : error: expected > declaration specifiers or '...' before 'apr_off_t' > In file included from mod_layout.h: 8, > from mod_layout.c:19: > /usr/include/apache-1.3 /http_protocol.h:111: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3/http_protocol.h:203: error: expected > declaration specifiers or '...' before 'apr_off_t' > In file included from mod_layout.h:13, > from mod_layout.c: 19: > /usr/include/apache-1.3/apr_strings.h:297: error: expected > declaration specifiers or '...' before 'apr_off_t' > /usr/include/apache-1.3/apr_strings.h:313: error: expected ')' > before '*' token > /usr/include/apache-1.3/apr_strings.h:349: error: expected ')' > before 'size' > mod_layout.c: In function 'layout_filter' : > mod_layout.c:258: error: 'request_rec' has no member named > 'headers_out' > mod_layout.c:259: error: 'request_rec' has no member named > 'per_dir_config' > mod_layout.c:266: error: 'request_rec' has no member named 'uri' > mod_layout.c: 289: error: 'request_rec' has no member named > 'headers_out' > mod_layout.c:290: error: 'request_rec' has no member named > 'headers_out' > mod_layout.c:314: error: 'request_rec' has no member named 'notes' > mod_layout.c:317: error: 'request_rec' has no member named 'notes' > apxs:Break: Command failed with rc=1 > make: *** [mod_layout.so] Error 1 > > _______________________________________________ > Mod_layout mailing list > [email protected] > http://lists.tangent.org/mailman/listinfo/mod_layout -- _______________________________________________________ Brian "Krow" Aker, brian at tangent.org Seattle, Washington http://krow.net/ <-- Me http://tangent.org/ <-- Software http://exploitseattle.com/ <-- Fun _______________________________________________________ You can't grep a dead tree. _______________________________________________ Mod_layout mailing list [email protected] http://lists.tangent.org/mailman/listinfo/mod_layout