Hi
>> Undefined first referenced
>> symbol in file
>> pthread_mutex_consistent_np
>> /shared/misc/software/sources/subversion-0.28.1/apr/.libs/libapr-0.so
>> pthread_mutexattr_setrobust_np
>> /shared/misc/software/sources/subversion-0.28.1/apr/.libs/libapr-0.so
>> ld: fatal: Symbol referencing errors. No output written to .libs/svn
>> collect2: ld returned 1 exit status
>> make: *** [subversion/clients/cmdline/svn] Error 1
>
>The configure script for apr is responsible for determining if your
>system has pthread_mutexattr_setrobust_np. If you look at the
>generated file apr/include/arch/unix/apr_private.h do you see a
>#define for HAVE_PTHREAD_MUTEXATTR_SETROBUST_NP?
>
>There should be a generated apr-config script in the apr/ dir. What
>is the output from './apr-config --libs'?
the output is: -lsendfile -lrt -lm -lsocket -lnsl -lresolv -ldl
>If you take the libtool link command that failed, and rerun it by hand
>without the --silent option then libtool will print the gcc command
>that is run to link. What does that show?
output is:
% cd subversion/clients/cmdline && /bin/bash
/shared/misc/software/sources/subversion-0.28.1/libtool --mode=link gcc
-g -O2 -pthreads -DNEON_ZLIB
-L/shared/misc/software/sources/subversion-0.28.1/apr-util/xml/expat/lib
-rpath /usr/local/lib -o svn add-cmd.o cat-cmd.o checkout-cmd.o
cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o
feedback.o help-cmd.o import-cmd.o info-cmd.o log-cmd.o ls-cmd.o main.o
merge-cmd.o mkdir-cmd.o move-cmd.o prompt.o propdel-cmd.o propedit-cmd.o
propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o
revert-cmd.o status-cmd.o status.o switch-cmd.o update-cmd.o util.o
../../../subversion/libsvn_client/libsvn_client-1.la
../../../subversion/libsvn_wc/libsvn_wc-1.la
../../../subversion/libsvn_ra/libsvn_ra-1.la
../../../subversion/libsvn_delta/libsvn_delta-1.la
../../../subversion/libsvn_subr/libsvn_subr-1.la
/shared/misc/software/sources/subversion-0.28.1/apr-util/libaprutil-0.la
-ldb
/shared/misc/software/sources/subversion-0.28.1/apr-util/xml/expat/lib/libexpat.la
/shared/misc/software/sources/subversion-0.28.1/apr/libapr-0.la -lsendfile
-lrt -lm -lsocket -lnsl -lresolv -ldl
/shared/misc/software/sources/subversion-0.28.1/neon/src/libneon.la
-L/usr/local/lib -lnsl -lsocket -lz -lsocket
gcc -g -O2 -DNEON_ZLIB -o .libs/svn add-cmd.o cat-cmd.o checkout-cmd.o
cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o
feedback.o help-cmd.o import-cmd.o info-cmd.o log-cmd.o ls-cmd.o main.o
merge-cmd.o mkdir-cmd.o move-cmd.o prompt.o propdel-cmd.o propedit-cmd.o
propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o
revert-cmd.o status-cmd.o status.o switch-cmd.o update-cmd.o util.o
-L/shared/misc/software/sources/subversion-0.28.1/apr-util/xml/expat/lib
../../../subversion/libsvn_client/.libs/libsvn_client-1.so
/shared/misc/software/sources/subversion-0.28.1/subversion/libsvn_wc/.libs/libsvn_wc-1.so
/shared/misc/software/sources/subversion-0.28.1/subversion/libsvn_ra/.libs/libsvn_ra-1.so
-L/usr/local/lib ../../../subversion/libsvn_wc/.libs/libsvn_wc-1.so
/shared/misc/software/sources/subversion-0.28.1/subversion/libsvn_diff/.libs/libsvn_diff-1.so
../../../subversion/libsvn_ra/.libs/libsvn_ra-1.so
/shared/misc/software/sources/subversion-0.28.1/subversion/libsvn_ra_dav/.libs/libsvn_ra_dav-1.so
/shared/misc/software/sources/subversion-0.28.1/subversion/libsvn_ra_svn/.libs/libsvn_ra_svn-1.so
/shared/misc/software/sources/subversion-0.28.1/subversion/libsvn_delta/.libs/libsvn_delta-1.so
../../../subversion/libsvn_delta/.libs/libsvn_delta-1.so
/shared/misc/software/sources/subversion-0.28.1/subversion/libsvn_subr/.libs/libsvn_subr-1.so
../../../subversion/libsvn_subr/.libs/libsvn_subr-1.so
/shared/misc/software/sources/subversion-0.28.1/apr-util/.libs/libaprutil-0.so
-ldb
/shared/misc/software/sources/subversion-0.28.1/apr-util/xml/expat/lib/.libs/libexpat.so
/shared/misc/software/sources/subversion-0.28.1/apr/.libs/libapr-0.so
-lsendfile -lrt -lm -lresolv -ldl
/shared/misc/software/sources/subversion-0.28.1/neon/src/.libs/libneon.so
-lnsl -lz -lsocket -R/usr/local/lib -R/usr/local/apr/lib
ld: warning: file ../../../subversion/libsvn_wc/.libs/libsvn_wc-1.so:
linked to
/shared/misc/software/sources/subversion-0.28.1/subversion/libsvn_wc/.libs/libsvn_wc-1.so:
attempted multiple inclusion of file
ld: warning: file ../../../subversion/libsvn_ra/.libs/libsvn_ra-1.so:
linked to
/shared/misc/software/sources/subversion-0.28.1/subversion/libsvn_ra/.libs/libsvn_ra-1.so:
attempted multiple inclusion of file
ld: warning: file
../../../subversion/libsvn_delta/.libs/libsvn_delta-1.so: linked to
/shared/misc/software/sources/subversion-0.28.1/subversion/libsvn_delta/.libs/libsvn_delta-1.so:
attempted multiple inclusion of file
ld: warning: file ../../../subversion/libsvn_subr/.libs/libsvn_subr-1.so:
linked to
/shared/misc/software/sources/subversion-0.28.1/subversion/libsvn_subr/.libs/libsvn_subr-1.so:
attempted multiple inclusion of file
Undefined first referenced
symbol in file
pthread_mutex_consistent_np
/shared/misc/software/sources/subversion-0.28.1/apr/.libs/libapr-0.so
pthread_mutexattr_setrobust_np
/shared/misc/software/sources/subversion-0.28.1/apr/.libs/libapr-0.so
ld: fatal: Symbol referencing errors. No output written to .libs/svn
collect2: ld returned 1 exit status
any help would be appreciated
greetz
achim
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 1 09:14:41 2003