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

Re: Build error on 1.7.2 - undefined reference to `svn_fs__path_change_create_internal

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Fri, 16 Dec 2011 08:42:06 +0000 (GMT)

Hi Greg.

Greg Bell wrote:
> Receiving this when building 1.7.2.  I think I have all dependencies satisfied
> except BerkelyDB, which I couldn't find in Ubuntu's 11.10 repositories.
>
> /bin/bash /home/gbell/src/subversion/libtool --tag=CC --silent --mode=compile
> gcc -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -g -O2  -g -O2
> -pthread -Werror=implicit-function-declaration  -I./subversion/include
> -I./subversion -I/home/gbell/opt/include/apr-1 -I/home/gbell/opt/include/apr-1 
> -o subversion/svnadmin/main.lo -c subversion/svnadmin/main.c
> cd subversion/svnadmin && /bin/bash /home/gbell/src/subversion/libtool
> --tag=CC --silent --mode=link gcc  -g -O2  -g -O2 -pthread
> -Werror=implicit-function-declaration  -rpath /home/gbell/opt/lib  -o svnadmin 
> main.lo ../../subversion/libsvn_repos/libsvn_repos-1.la
> ../../subversion/libsvn_fs/libsvn_fs-1.la
> ../../subversion/libsvn_delta/libsvn_delta-1.la
> ../../subversion/libsvn_subr/libsvn_subr-1.la -L/home/gbell/opt/lib -laprutil-1
> -L/home/gbell/opt/lib -lapr-1
> ../../subversion/libsvn_fs/.libs/libsvn_fs-1.so: undefined reference to
> `svn_fs__path_change_create_internal'

This is the kind of error you get when the linker picks up some previously installed Subversion 1.6 libraries instead of the ones it's just built.  (That function is new in 1.7.)  Try deleting the installed libraries.

To try to keep the mailing lists focused, we ask that build questions be addressed to 'users@' instead of here; <http://subversion.apache.org/mailing-lists.html>.  Thank you.

- Julian
Received on 2011-12-16 09:42:42 CET

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.