Joe Orton wrote: > The C++/AP_INIT_* problem was specific to 2.2 and does not affect 2.0, > please file a PR for whatever problem you are having with 2.0.
Is there some way to file a PR without creating yet another user account? Looking back at the original problem, I'm not sure if they're the same or not. The compiler errors are different, but it's the same part of the same macro that's causing the problems. And both problems are amenable to the same solution. Here are the details in case someone can figure it out. uname -a output: FreeBSD dvr.bfoz.net 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Jan 21 14:57:20 PST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DVR i386 Here's a post to [EMAIL PROTECTED] from November: http://lists.freebsd.org/pipermail/freebsd-ports/2005-November/027507.html Below is the compile output from a few minutes ago. I cvsup'd ports immediately before starting the build. The offending lines in prefork.c are all uses of AP_INIT_TAKE1. ----- 19:01 [EMAIL PROTECTED]/usr/ports/www/apache20#make clean distclean <snip> 19:01 [EMAIL PROTECTED]/usr/ports/www/apache20#make build <snip> Making all in server Making all in mpm Making all in prefork /usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/srclib/apr/libtool --silent --mode=compile cc -O2 -fno-strict-aliasing -pipe -march=athlon-xp -D_REENTRANT -D_THREAD_SAFE -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/srclib/apr/include -I/usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/srclib/apr-util/include -I/usr/local/include -I. -I/usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/os/unix -I/usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/server/mpm/prefork -I/usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/modules/http -I/usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/modules/filters -I/usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/modules/proxy -I/usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/include -I/usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/modules/generators -I/usr/include/openssl -I/usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/modules/dav/main -prefer-non-pic -static -c prefork.c && touch prefork. lo prefork.c:1332: error: initializer element is not constant prefork.c:1332: error: (near initialization for `prefork_cmds[3].name') prefork.c:1332: warning: initialization from incompatible pointer type prefork.c:1332: error: extra brace group at end of initializer prefork.c:1332: error: (near initialization for `prefork_cmds[3].func') prefork.c:1332: warning: excess elements in union initializer prefork.c:1332: warning: (near initialization for `prefork_cmds[3].func') prefork.c:1332: warning: excess elements in union initializer prefork.c:1332: warning: (near initialization for `prefork_cmds[3].func') prefork.c:1332: warning: excess elements in union initializer prefork.c:1332: warning: (near initialization for `prefork_cmds[3].func') prefork.c:1332: warning: excess elements in union initializer prefork.c:1332: warning: (near initialization for `prefork_cmds[3].func') prefork.c:1332: warning: excess elements in union initializer prefork.c:1332: warning: (near initialization for `prefork_cmds[3].func') prefork.c:1332: error: initializer element is not constant prefork.c:1332: error: (near initialization for `prefork_cmds[3].func') prefork.c:1332: warning: braces around scalar initializer prefork.c:1332: warning: (near initialization for `prefork_cmds[3].cmd_data') prefork.c:1332: warning: braces around scalar initializer prefork.c:1332: warning: (near initialization for `prefork_cmds[3].cmd_data') prefork.c:1332: error: field name not in record or union initializer prefork.c:1332: error: (near initialization for `prefork_cmds[3].cmd_data') prefork.c:1332: warning: excess elements in scalar initializer prefork.c:1332: warning: (near initialization for `prefork_cmds[3].cmd_data') prefork.c:1332: warning: excess elements in scalar initializer prefork.c:1332: warning: (near initialization for `prefork_cmds[3].cmd_data') prefork.c:1332: warning: excess elements in scalar initializer prefork.c:1332: warning: (near initialization for `prefork_cmds[3].cmd_data') prefork.c:1332: warning: excess elements in scalar initializer prefork.c:1332: warning: (near initialization for `prefork_cmds[3].cmd_data') prefork.c:1332: warning: excess elements in scalar initializer prefork.c:1332: warning: (near initialization for `prefork_cmds[3].cmd_data') prefork.c:1333: warning: braces around scalar initializer prefork.c:1333: warning: (near initialization for `prefork_cmds[3].req_override') prefork.c:1333: warning: initialization makes integer from pointer without a cast prefork.c:1333: warning: braces around scalar initializer prefork.c:1333: warning: (near initialization for `prefork_cmds[3].req_override') prefork.c:1333: error: field name not in record or union initializer prefork.c:1333: error: (near initialization for `prefork_cmds[3].req_override') prefork.c:1333: warning: initialization makes integer from pointer without a cast prefork.c:1333: warning: excess elements in scalar initializer prefork.c:1333: warning: (near initialization for `prefork_cmds[3].req_override') prefork.c:1333: warning: excess elements in scalar initializer prefork.c:1333: warning: (near initialization for `prefork_cmds[3].req_override') prefork.c:1333: warning: excess elements in scalar initializer prefork.c:1333: warning: (near initialization for `prefork_cmds[3].req_override') prefork.c:1333: warning: excess elements in scalar initializer prefork.c:1333: warning: (near initialization for `prefork_cmds[3].req_override') prefork.c:1333: warning: excess elements in scalar initializer prefork.c:1333: warning: (near initialization for `prefork_cmds[3].req_override') prefork.c:1335: warning: braces around scalar initializer prefork.c:1335: warning: (near initialization for `prefork_cmds[3].args_how') prefork.c:1335: error: incompatible types in initialization prefork.c:1335: error: initializer element is not constant prefork.c:1335: error: (near initialization for `prefork_cmds[3].args_how') prefork.c:1335: warning: braces around scalar initializer prefork.c:1335: warning: (near initialization for `prefork_cmds[3].args_how') prefork.c:1335: error: field name not in record or union initializer prefork.c:1335: error: (near initialization for `prefork_cmds[3].args_how') prefork.c:1335: error: incompatible types in initialization prefork.c:1335: error: initializer element is not constant prefork.c:1335: error: (near initialization for `prefork_cmds[3].args_how') prefork.c:1335: warning: excess elements in scalar initializer prefork.c:1335: warning: (near initialization for `prefork_cmds[3].args_how') prefork.c:1335: warning: excess elements in scalar initializer prefork.c:1335: warning: (near initialization for `prefork_cmds[3].args_how') prefork.c:1335: warning: excess elements in scalar initializer prefork.c:1335: warning: (near initialization for `prefork_cmds[3].args_how') prefork.c:1335: warning: excess elements in scalar initializer prefork.c:1335: warning: (near initialization for `prefork_cmds[3].args_how') prefork.c:1335: warning: excess elements in scalar initializer prefork.c:1335: warning: (near initialization for `prefork_cmds[3].args_how') prefork.c:1335: error: initializer element is not constant prefork.c:1335: error: (near initialization for `prefork_cmds[3].args_how') prefork.c:1337: warning: braces around scalar initializer prefork.c:1337: warning: (near initialization for `prefork_cmds[3].errmsg') prefork.c:1337: warning: braces around scalar initializer prefork.c:1337: warning: (near initialization for `prefork_cmds[3].errmsg') prefork.c:1337: error: field name not in record or union initializer prefork.c:1337: error: (near initialization for `prefork_cmds[3].errmsg') prefork.c:1337: warning: initialization from incompatible pointer type prefork.c:1337: warning: excess elements in scalar initializer prefork.c:1337: warning: (near initialization for `prefork_cmds[3].errmsg') prefork.c:1337: warning: excess elements in scalar initializer prefork.c:1337: warning: (near initialization for `prefork_cmds[3].errmsg') prefork.c:1337: warning: excess elements in scalar initializer prefork.c:1337: warning: (near initialization for `prefork_cmds[3].errmsg') prefork.c:1337: warning: excess elements in scalar initializer prefork.c:1337: warning: (near initialization for `prefork_cmds[3].errmsg') prefork.c:1337: warning: excess elements in scalar initializer prefork.c:1337: warning: (near initialization for `prefork_cmds[3].errmsg') prefork.c:1339: error: initializer element is not constant prefork.c:1339: error: (near initialization for `prefork_cmds[3]') prefork.c:1339: error: initializer element is not constant prefork.c:1339: error: (near initialization for `prefork_cmds[4].func') prefork.c:1339: error: initializer element is not constant prefork.c:1339: error: (near initialization for `prefork_cmds[4]') prefork.c:1341: error: initializer element is not constant prefork.c:1341: error: (near initialization for `prefork_cmds[5].func') prefork.c:1341: error: initializer element is not constant prefork.c:1341: error: (near initialization for `prefork_cmds[5]') prefork.c:1343: error: initializer element is not constant prefork.c:1343: error: (near initialization for `prefork_cmds[6]') *** Error code 1 Stop in /usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/server/mpm/prefork. *** Error code 1 Stop in /usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/server/mpm/prefork. *** Error code 1 Stop in /usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/server/mpm. *** Error code 1 Stop in /usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55/server. *** Error code 1 Stop in /usr/tmp/usr/ports/www/apache20/work/httpd-2.0.55. *** Error code 1 Stop in /usr/ports/www/apache20. 19:05 [EMAIL PROTECTED]/usr/ports/www/apache20# -----
