Re: undefined reference to 'sock_is_ipv6'
On Thu, Dec 15, 2005 at 11:21:41AM +0800, hx liu wrote: Error: /usr/local/apr/lib/libapr-1.so: undefined reference to `sock_is_ipv6' /usr/local/apr/lib/libapr-1.so: undefined reference to `find_if_index' collect2: ld returned 1 exit status make: *** [subversion/clients/cmdline/svn] Error 1 This is a bug in APR when configured with --disable-ipv6; if you rebuild without the flag it should be fine. Regards, joe
undefined reference to 'sock_is_ipv6'
OS: CentOS 4 u2 [EMAIL PROTECTED] subversion-1.2.3]# uname -a Linux mini.ajun.com 2.6.9-22.EL #1 Sat Oct 8 17:48:27 CDT 2005 i686 athlon i386 GNU/Linux Software: gcc 3.4.4 glibc 2.3.4 autoconf 2.54 libtool 1.5.20 apr 1.2.2, apr-util 1.2.2 subversion 1.2.3, swig 1.3.27, python 2.4.2 Problem: config subversion: ./configure --prefix=/usr/local/sub_new \ --with-apxs=/usr/local/apache2/bin/apxs \ --with-zlib --with-swig=/usr/local/swig_new \ --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr ===good=== make ... Error: /usr/local/apr/lib/libapr-1.so: undefined reference to `sock_is_ipv6' /usr/local/apr/lib/libapr-1.so: undefined reference to `find_if_index' collect2: ld returned 1 exit status make: *** [subversion/clients/cmdline/svn] Error 1 = It's a bug in apr or in subverion or in swig?And How to resolve it? Thanks for any good suggestions!! __ 赶快注册雅虎超大容量免费邮箱? http://cn.mail.yahoo.com