You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by hx liu <ju...@yahoo.com.cn> on 2005/12/15 04:21:41 UTC

undefined reference to 'sock_is_ipv6'

OS: CentOS 4 u2
[root@mini 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

Re: undefined reference to 'sock_is_ipv6'

Posted by Joe Orton <jo...@redhat.com>.
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

Re: undefined reference to 'sock_is_ipv6'

Posted by Joe Orton <jo...@redhat.com>.
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org