On OS X 10.7, gcc 4.2.1, with apr-1.4.5 and apr-util 1.4.1, I encounter the following error attempting to build httpd 2.4.2. I didn't see any architecture specific code in srclib/apr/include/apr_file_info.h. Any thoughts?
./configure --prefix=/Users/phred/dev/httpd24 --enable-so --with-included-apr .... make ... gcc -std=gnu99 -g -O2 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -DDARWIN_10 -I. -I/Users/phred/dev/httpd-2.4.2/os/unix -I/Users/phred/dev/httpd-2.4.2/include -I/Users/phred/dev/httpd-2.4.2/srclib/apr/include -I/Users/phred/dev/httpd-2.4.2/srclib/apr-util/include -I/usr/local/include -I/Users/phred/dev/httpd-2.4.2/modules/aaa -I/Users/phred/dev/httpd-2.4.2/modules/cache -I/Users/phred/dev/httpd-2.4.2/modules/core -I/Users/phred/dev/httpd-2.4.2/modules/database -I/Users/phred/dev/httpd-2.4.2/modules/filters -I/Users/phred/dev/httpd-2.4.2/modules/ldap -I/Users/phred/dev/httpd-2.4.2/modules/loggers -I/Users/phred/dev/httpd-2.4.2/modules/lua -I/Users/phred/dev/httpd-2.4.2/modules/proxy -I/Users/phred/dev/httpd-2.4.2/modules/session -I/Users/phred/dev/httpd-2.4.2/modules/ssl -I/Users/phred/dev/httpd-2.4.2/modules/test -I/Users/phred/dev/httpd-2.4.2/server -I/Users/phred/dev/httpd-2.4.2/modules/arch/unix -I/Users/phred/dev/httpd-2.4.2/modules/dav/main -I/Users/phred/dev/httpd-2.4.2/modules/generators -I/Users/phred/dev/httpd-2.4.2/modules/mappers -c /Users/phred/dev/httpd-2.4.2/server/buildmark.c /Users/phred/dev/httpd-2.4.2/srclib/apr/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -o httpd modules.lo buildmark.o -export-dynamic server/libmain.la modules/core/libmod_so.la modules/http/libmod_http.la server/mpm/event/libevent.la os/unix/libos.la -L/usr/local/lib -lpcre /Users/phred/dev/httpd-2.4.2/srclib/apr-util/libaprutil-1.la -lexpat -liconv /Users/phred/dev/httpd-2.4.2/srclib/apr/libapr-1.la -lpthread Undefined symbols for architecture x86_64: "_apr_dir_open$INODE64", referenced from: _process_resource_config_nofnmatch in libmain.a(config.o) _process_resource_config_fnmatch in libmain.a(config.o) "_apr_dir_read$INODE64", referenced from: _process_resource_config_nofnmatch in libmain.a(config.o) _process_resource_config_fnmatch in libmain.a(config.o) "_apr_file_info_get$INODE64", referenced from: _ap_pcfg_openfile in libmain.a(util.o) _file_func in libmain.a(util_expr_eval.o) "_apr_stat$INODE64", referenced from: _check_errorlog_dir in libmain.a(core.o) _ap_process_fnmatch_configs in libmain.a(config.o) _ap_is_directory in libmain.a(util.o) _ap_is_rdirectory in libmain.a(util.o) _ap_mpm_set_coredumpdir in libmain.a(mpm_common.o) _ap_log_pid in libmain.a(log.o) _resolve_symlink in libmain.a(request.o) ... ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[1]: *** [httpd] Error 1 make: *** [all-recursive] Error 1 phred@pooky ~/dev/httpd-2.4.2 $ gcc -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)