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

Undefined symbols

From: Dan Wilder <dan_at_ssc.com>
Date: 2002-02-05 21:48:31 CET

Attempting to track the subversion sources.
OS is Debian Linux 3.0 (woody)

Got the initial bootstrap .tgz, built, checked out current repository
sources, followed instructions re: neon, db, apr, built successfully
several times.

Have not gotten a successful build for a couple of weeks now,
and I'm wondering if anybody can spare me some wisdom.

Most recent update and build attempt was

Tue Feb 5 12:33:17 PST 2002 PST (-0700)

Failing procedure is:

cd /usr/local/src/svn

cd apr
cvs update
make clean

cd ../neon
make clean
cd ..

make distclean
./ssc/svn-works update
./configure --enable-maintainer-mode --disable-shared
make

[ clunks along for a while then halts at final link with
reports of undefined symbols ]

ssc/svn-works is my last working binary. It seems to run OK,
updating things and producing plausible messages.

  ssc/svn-works --version
  Subversion Client, version 0.8.0
     compiled Jan 23 2002, 15:15:32

  Copyright (C) 2000-2002 CollabNet.
  Subversion is open source software, see http://subversion.tigris.org/

  The following repository access (RA) modules are available:

  * ra_dav : Module for accessing a repository via WebDAV (DeltaV)
  * protocol.
    - handles 'http' schema
  * ra_local : Module for accessing a repository on local disk.
    - handles 'file' schema

Final link command and error messages, some wrapping and blank lines
added for readability (also added backslashes to command line):

cd subversion/clients/cmdline && /bin/sh /usr/local/src/svn/libtool \
--silent --mode=link \
gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 \
-D_BSD_SOURCE \
-D_SVID_SOURCE -g -g -Wall -Wmissing-prototypes -Wstrict-prototypes \
-Wmissing-declarations -pthread -DNEON_ZLIB -Wpointer-arith \
-Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG \
-I./subversion/include \
-I. -I/usr/local/src/svn/apr/include \
-I/include \
-I/usr/local/src/svn/neon/src \
-I./expat-lite \
-I/usr/local/src/svn/db/dist \
-rpath /usr/local/lib -o svn status.o \
update-cmd.o prompt.o util.o copy-cmd.o diff-cmd.o revert-cmd.o \
move-cmd.o checkout-cmd.o propset-cmd.o add-cmd.o cleanup-cmd.o \
propedit-cmd.o feedback.o main.o trace-commit.o status-cmd.o log-cmd.o \
propget-cmd.o trace-update.o proplist-cmd.o import-cmd.o mkdir-cmd.o \
propdel-cmd.o delete-cmd.o props.o switch-cmd.o commit-cmd.o help-cmd.o \
../../../subversion/libsvn_client/libsvn_client.la \
../../../subversion/libsvn_wc/libsvn_wc.la \
../../../subversion/libsvn_ra/libsvn_ra.la \
../../../subversion/libsvn_delta/libsvn_delt \a.la
../../../subversion/libsvn_subr/libsvn_subr.la \
/usr/local/src/svn/apr/libapr.la \
../../../expat-lite/libexpat.la -lm \
-lcrypt -lnsl -ldl

switch-cmd.o: In function `svn_cl__switch':

/usr/local/src/svn/subversion/clients/cmdline/switch-cmd.c:101:
undefined reference to `svn_client_switch'

../../../subversion/libsvn_client/.libs/libsvn_client.a(checkout.o):
In function `svn_client_checkout':

/usr/local/src/svn/subversion/libsvn_client/checkout.c:105:
undefined reference to `svn_client__get_revision_number'

../../../subversion/libsvn_client/.libs/libsvn_client.a(update.o):
In function `svn_client_update':

/usr/local/src/svn/subversion/libsvn_client/update.c:139:
undefined reference to `svn_client__get_revision_number'

../../../subversion/libsvn_client/.libs/libsvn_client.a(log.o):
In function `svn_client_log':

/usr/local/src/svn/subversion/libsvn_client/log.c:97:
undefined reference to `svn_client__get_revision_number'

/usr/local/src/svn/subversion/libsvn_client/log.c:99:
undefined reference to `svn_client__get_revision_number'

../../../subversion/libsvn_client/.libs/libsvn_client.a(copy.o):
In function `repos_to_repos_copy':

/usr/local/src/svn/subversion/libsvn_client/copy.c:187:
undefined reference to `svn_client__get_revision_number'

../../../subversion/libsvn_client/.libs/libsvn_client.a(copy.o):
/usr/local/src/svn/subversion/libsvn_client/copy.c:445:
more undefined references to `svn_client__get_revision_number' follow

/usr/local/src/svn/subversion/libsvn_fs/.libs/libsvn_fs.a(dag.o):
In function `txn_body_dag_init_fs':

/usr/local/src/svn/subversion/libsvn_fs/dag.c:323:
undefined reference to `svn_fs__stable_node'

/usr/local/src/svn/subversion/libsvn_fs/.libs/libsvn_fs.a(dag.o):
In function `stabilize_node':

/usr/local/src/svn/subversion/libsvn_fs/dag.c:1831:
undefined reference to `svn_fs__stable_node'

collect2: ld returned 1 exit status

-- 
-----------------------------------------------------------------
 Dan Wilder <dan@ssc.com>   Technical Manager & Editor
 SSC, Inc. P.O. Box 55549   Phone:  206-782-8808
 Seattle, WA  98155-0549    URL http://www.linuxjournal.com/
-----------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:04 2006

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.