You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Bell <gr...@gmail.com> on 2011/12/16 02:57:11 UTC

Build error on 1.7.2 - undefined reference to `svn_fs__path_change_create_internal

Hi,

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'
collect2: ld returned 1 exit status
make: *** [subversion/svnadmin/svnadmin] Error 1

Config log and whatever else you need available upon request...

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

Posted by Julian Foad <ju...@btopenworld.com>.
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