You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ask Bjørn Hansen <as...@develooper.com> on 2003/07/02 10:56:18 UTC
OS X: "ld: Undefined symbols: _svn_client_relocate"
Hi,
I am running OS X 10.2.6 with the december 2002 dev tools.
After updating to the current SVN sources, I get the the following
error when I compile. This is my configure settings:
"../subversion/configure" \
"--with-zlib" \
"--prefix=/usr/local/svn" \
"--with-editor=/usr/bin/vi" \
"--enable-maintainer-mode" \
"--without-berkeley-db"
Unrelated, the reason I am upgrading is that "svn co" with the version
I am using now (svn, version 0.23.0 (dev build) compiled Jun 6 2003,
02:37:44) doesn't actually check any files out:
$ svn co http://svn.develooper.com/test/
Checked out revision 22.
... but the "test" directory is empty apart from the .svn dir. It
worked weeks ago when I used it last; maybe before I upgraded to 10.2.6.
The server is old, running 0.22.1, so maybe it's time to update that as
well. :-)
- ask
gcc -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -g -Wall
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-DNEON_ZLIB -std=c89 -Wpointer-arith -Wwrite-strings -Wshadow
-DSVN_DEBUG -DAP_DEBUG -I../subversion/subversion/include -I.
-I/Users/ask/src/svn/subversion/neon/src -I/usr/local/svn/include/neon
-I/Users/ask/src/svn/obj/apr/include
-I/Users/ask/src/svn/subversion/apr/include
-I/Users/ask/src/svn/obj/apr-util/include
-I/Users/ask/src/svn/subversion/apr-util/include
-I/Users/ask/src/svn/obj/apr-util/xml/expat/lib -o
subversion/clients/cmdline/update-cmd.o -c
../subversion/subversion/clients/cmdline/update-cmd.c
gcc -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -g -Wall
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-DNEON_ZLIB -std=c89 -Wpointer-arith -Wwrite-strings -Wshadow
-DSVN_DEBUG -DAP_DEBUG -I../subversion/subversion/include -I.
-I/Users/ask/src/svn/subversion/neon/src -I/usr/local/svn/include/neon
-I/Users/ask/src/svn/obj/apr/include
-I/Users/ask/src/svn/subversion/apr/include
-I/Users/ask/src/svn/obj/apr-util/include
-I/Users/ask/src/svn/subversion/apr-util/include
-I/Users/ask/src/svn/obj/apr-util/xml/expat/lib -o
subversion/clients/cmdline/util.o -c
../subversion/subversion/clients/cmdline/util.c
cd subversion/clients/cmdline && /bin/sh /Users/ask/src/svn/obj/libtool
--silent --mode=link gcc -g -Wall -Wmissing-prototypes
-Wstrict-prototypes -Wmissing-declarations -DNEON_ZLIB -std=c89
-Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG
-L/Users/ask/src/svn/obj/apr-util/xml/expat/lib -rpath
/usr/local/svn/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 resolve-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
/Users/ask/src/svn/obj/apr-util/libaprutil-0.la
/Users/ask/src/svn/obj/apr-util/xml/expat/lib/libexpat.la
/Users/ask/src/svn/obj/apr/libapr-0.la
/Users/ask/src/svn/obj/neon/src/libneon.la -L/usr/local/svn/lib -lz -lz
ld: Undefined symbols:
_svn_client_relocate
make: *** [subversion/clients/cmdline/svn] Error 1
--
http://www.askbjoernhansen.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: OS X: "ld: Undefined symbols: _svn_client_relocate"
Posted by Ben Collins-Sussman <su...@collab.net>.
Ask Bjørn Hansen <as...@develooper.com> writes:
> It would be nice and probably get less people to feel that "svn is
> buggy!" if the client would notice when it's not in sync with the
> server and print out a big warning.
We have a written policy that if a client and server are more than one
release apart, they're not guaranteed to work together. That's the
nature of "alpha" software. People who seriously depend on svn at
this point should be aware of that policy... maybe it's not advertised
enough.
On the other hand, you're right, it would be nice if our network
protocols could exchange version numbers. (But then that leads into
the old debate about how "features" should be exchanged, not version
numbers, yada yada...)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: OS X: "ld: Undefined symbols: _svn_client_relocate"
Posted by Ask Bjørn Hansen <as...@develooper.com>.
On Wednesday, Jul 2, 2003, at 04:44 America/Los_Angeles, Garrett Rooney
wrote:
> The problem checking out is likely due to incompatabilities between
> old and new servers. It seems like your old combination (0.23 client,
> 0.22.1 server) should have worked, depending on when that dev build
> came from,
Yeah, I think that was the problem. Getting both server and client up
to the current version fixed it.
The Perl 5 sources are kept in a Perforce repository. A few people are
mirroring that into a private SVN repos. Later this month or early
August we will probably set such a "mirror" up on a public server.
It would be nice and probably get less people to feel that "svn is
buggy!" if the client would notice when it's not in sync with the
server and print out a big warning.
- ask
--
http://www.askbjoernhansen.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: OS X: "ld: Undefined symbols: _svn_client_relocate"
Posted by Garrett Rooney <ro...@electricjellyfish.net>.
Ask Bj wrote:
> Doh. Running autogen.sh fixed that part. However, co is still not
> doing anything useful. I'll update the server tomorrow and see if that
> helps and if not then I'll make some dumps of the stream.
Actually, all you needed to do was run gen-make.py to rebuild the
makefiles to take into account new files that were added in the meantime.
The problem checking out is likely due to incompatabilities between old
and new servers. It seems like your old combination (0.23 client,
0.22.1 server) should have worked, depending on when that dev build came
from, but the current sources are only backwards compatable one major
release, so you need a server at least 0.23.0 or newer to have them work.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: OS X: "ld: Undefined symbols: _svn_client_relocate"
Posted by Ask Bjørn Hansen <as...@develooper.com>.
On Wednesday, Jul 2, 2003, at 03:56 America/Los_Angeles, Ask Bjørn
Hansen wrote:
> expat/lib/libexpat.la /Users/ask/src/svn/obj/apr/libapr-0.la
> /Users/ask/src/svn/obj/neon/src/libneon.la -L/usr/local/svn/lib -lz
> -lz
> ld: Undefined symbols:
> _svn_client_relocate
> make: *** [subversion/clients/cmdline/svn] Error 1
Doh. Running autogen.sh fixed that part. However, co is still not
doing anything useful. I'll update the server tomorrow and see if that
helps and if not then I'll make some dumps of the stream.
- ask
--
http://www.askbjoernhansen.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org