Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 82795 invoked by uid 500); 4 Dec 2001 21:22:40 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 82784 invoked from network); 4 Dec 2001 21:22:39 -0000 Message-ID: <3C0D400B.72D7BC71@Golux.Com> Date: Tue, 04 Dec 2001 16:28:43 -0500 From: Rodent of Unusual Size Organization: The Apache Software Foundation X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: dev@APR.Apache.Org CC: Apache Developers Subject: gai_strerror not found on RH 5.2 (libc5?) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm getting this when I try to build Apache 2.0.* on Red Hat Linux 5.2 (libc5, I think): ###Test: Platform: Linux 2.0.36 i586 unknown ###Test: Removing files from previous test run ###Test: Creating working directory /var/tmp/ap2-test ###Test: Locking work area: done. ###Test: Working with CVS revision HEAD ###Test: Building with ./configure options: ###Test: --enable-auth-anon ###Test: --enable-auth-digest ###Test: --enable-case-filter ###Test: --enable-case-filter-in ###Test: --enable-cgi ###Test: --enable-echo ###Test: --enable-expires ###Test: --enable-headers ###Test: --enable-info ###Test: --enable-maintainer-mode ###Test: --enable-mime-magic ###Test: --enable-optional-hook-export ###Test: --enable-optional-hook-import ###Test: --enable-rewrite ###Test: --enable-speling ###Test: --enable-unique-id ###Test: --enable-usertrack ###Test: --enable-vhost-alias ###Test: --prefix=/var/tmp/ap2-test/server ###Test: Creating installation directory ###Test: Checking out: httpd-2.0 ###Test: Checking out: apr ###Test: Checking out: apr-util ###Test: Checking out: httpd-test ###Test: Disabling test: ssl/all ###Test: Disabling test: modules/dav ###Test: Preprocessing: buildconf ###Test: Preprocessing: configure ###Test: Preprocessing: make distclean ###Test: MPM-Start: prefork ###Test: configure ###Test: make ###Test: Error encountered ###Test: Output from last command Making all in srclib make[1]: Entering directory `/var/tmp/ap2-test/httpd-2.0/srclib' Making all in apr make[2]: Entering directory `/var/tmp/ap2-test/httpd-2.0/srclib/apr' : make[2]: Entering directory `/var/tmp/ap2-test/httpd-2.0/support' /bin/sh /var/tmp/ap2-test/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -DNO_DBM_REWRITEMAP -DLINUX=2 -D_REENTRANT -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER -I. -I/var/tmp/ap2-test/httpd-2.0/os/unix -I/var/tmp/ap2-test/httpd-2.0/server/mpm/prefork -I/var/tmp/ap2-test/httpd-2.0/modules/http -I/var/tmp/ap2-test/httpd-2.0/modules/proxy -I/var/tmp/ap2-test/httpd-2.0/include -I/var/tmp/ap2-test/httpd-2.0/srclib/apr/include -I/var/tmp/ap2-test/httpd-2.0/srclib/apr-util/include -I/var/tmp/ap2-test/httpd-2.0/modules/dav/main -prefer-non-pic -static -c htpasswd.c && touch htpasswd.lo /bin/sh /var/tmp/ap2-test/httpd-2.0/srclib/apr/libtool --silent --mode=link gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -DNO_DBM_REWRITEMAP -DLINUX=2 -D_REENTRANT -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER -I. -I/var/tmp/ap2-test/httpd-2.0/os/unix -I/var/tmp/ap2-test/httpd-2.0/server/mpm/prefork -I/var/tmp/ap2-test/httpd-2.0/modules/http -I/var/tmp/ap2-test/httpd-2.0/modules/proxy -I/var/tmp/ap2-test/httpd-2.0/include -I/var/tmp/ap2-test/httpd-2.0/srclib/apr/include -I/var/tmp/ap2-test/httpd-2.0/srclib/apr-util/include -I/var/tmp/ap2-test/httpd-2.0/modules/dav/main -export-dynamic -o htpasswd htpasswd.lo /var/tmp/ap2-test/httpd-2.0/srclib/apr-util/libaprutil.la /var/tmp/ap2-test/httpd-2.0/srclib/apr/libapr.la -lm -lcrypt -lnsl -ldl -lgdbm /var/tmp/ap2-test/httpd-2.0/srclib/apr-util/xml/expat/lib/libexpat.la /var/tmp/ap2-test/httpd-2.0/srclib/apr/.libs/libapr.so: undefined reference to `gai_strerror' make[2]: *** [htpasswd] Error 1 On RH 6.2, gai_strerror() is in libc.a and libc_p.a. The man pages indicate that gai_strerror() is a companion to getaddrinfo(), and it's prototyped in . It doesn't appear on my 5.2 system at all. Has it been decided that APR won't support this environment? A friendlier way of saying so would be nice.. :-) -- #ken P-)} Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/ Author, developer, opinionist http://Apache-Server.Com/ "All right everyone! Step away from the glowing hamburger!"