[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

--enable-all-static broken on redhat

From: Rafael Garcia-Suarez <raphel.garcia-suarez_at_hexaflux.com>
Date: 2003-09-01 12:35:16 CEST

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
Received on Mon Sep 1 12:43:31 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.