You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Rafael Garcia-Suarez <ra...@hexaflux.com> on 2003/09/01 10:35:16 UTC

--enable-all-static broken on redhat

I'm trying to compile subversion 0.28.1 on a stock RedHat 9
with --enable-all-static, and linkage fails miserably, due
to thread symbols :

[...]
/home/svn/tmp/subversion-0.28.1/apr/.libs/libapr-0.a(thread.o)(.text+0x227): In function `apr_thread_detach':
/home/svn/tmp/subversion-0.28.1/apr/threadproc/unix/thread.c:223: undefined reference to `pthread_detach'
/home/svn/tmp/subversion-0.28.1/apr/.libs/libapr-0.a(thread.o)(.text+0x1b1): In function `apr_os_thread_current':
/home/svn/tmp/subversion-0.28.1/apr/threadproc/unix/thread.c:179: undefined reference to `pthread_self'
/home/svn/tmp/subversion-0.28.1/apr/.libs/libapr-0.a(thread.o)(.text+0x1bd): In function `apr_os_thread_equal':
/home/svn/tmp/subversion-0.28.1/apr/threadproc/unix/thread.c:185: undefined reference to `pthread_equal'
/home/svn/tmp/subversion-0.28.1/apr/.libs/libapr-0.a(thread.o)(.text+0x301): In function `apr_thread_once':
/home/svn/tmp/subversion-0.28.1/apr/threadproc/unix/thread.c:291: undefined reference to `pthread_once'
collect2: ld returned 1 exit status
make: *** [subversion/clients/cmdline/svn] Error 1

Any idea ?

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

Re: --enable-all-static broken on redhat

Posted by Rafael Garcia-Suarez <ra...@hexaflux.com>.
Justin Erenkrantz wrote:
> > I'm trying to compile subversion 0.28.1 on a stock RedHat 9
> > with --enable-all-static, and linkage fails miserably, due
> > to thread symbols :
> 
> Looks like you're getting bit by bugs within Debian's libtool, which is what 
> was used to create the 0.28.1 tarball.  Try re-running autogen.sh manually in 
> the extracted directory and see if that fixes it.  -- justin

That fixed it, thanks !

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

Re: --enable-all-static broken on redhat

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
--On Monday, September 1, 2003 12:35 PM +0200 Rafael Garcia-Suarez 
<ra...@hexaflux.com> wrote:

> I'm trying to compile subversion 0.28.1 on a stock RedHat 9
> with --enable-all-static, and linkage fails miserably, due
> to thread symbols :

Looks like you're getting bit by bugs within Debian's libtool, which is what 
was used to create the 0.28.1 tarball.  Try re-running autogen.sh manually in 
the extracted directory and see if that fixes it.  -- justin

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