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

Re: Trouble building trunk: Undefined references to svn_repos_load_fs3() and svn_repos_get_fs_build_parser3()

From: noorul Islam. Kamal Malmiyoda <noorul_at_collab.net>
Date: Mon, 8 Nov 2010 08:15:55 +0530

On Nov 7, 2010, at 9:27 PM, Daniel Trebbien <dtrebbien_at_gmail.com> wrote:

> I am having trouble building trunk. The make process always fails when
> linking libsvn_repos-1:
>
> cd subversion/libsvn_repos && /usr/share/apr-1.0/build/libtool
> --tag=CC --silent --mode=link gcc -Wno-system-headers
> -Wold-style-definition -Wdeclaration-after-statement -Wpointer-arith
> -Wwrite-strings -Wshadow -ansi -Wall -Wformat=2 -Wunused
> -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wno-multichar -Wredundant-decls
> -Wnested-externs -Wunreachable-code -Winline -Wno-long-long -g
> -pthread -D_LARGEFILE64_SOURCE -DNE_LFS
> -Werror=implicit-function-declaration -DSVN_DEBUG -DAP_DEBUG -rpath
> /usr/local/stow/dtrebbien-subversion-HEAD/lib -Wl,--no-undefined -o
> libsvn_repos-1.la authz.lo commit.lo delta.lo deprecated.lo dump.lo
> fs-wrap.lo hooks.lo load.lo log.lo node_tree.lo notify.lo
> obliterate.lo replay.lo reporter.lo repos.lo rev_hunt.lo
> ../../subversion/libsvn_fs/libsvn_fs-1.la
> ../../subversion/libsvn_delta/libsvn_delta-1.la
> ../../subversion/libsvn_subr/libsvn_subr-1.la -laprutil-1 -lapr-1
> .libs/deprecated.o: In function `svn_repos_load_fs2':
> /home/daniel/projects/subversion/subversion/libsvn_repos/deprecated.c:720:
> undefined reference to `svn_repos_load_fs3'
> .libs/deprecated.o: In function `svn_repos_get_fs_build_parser2':
> /home/daniel/projects/subversion/subversion/libsvn_repos/deprecated.c:806:
> undefined reference to `svn_repos_get_fs_build_parser3'
> collect2: ld returned 1 exit status
> make: *** [subversion/libsvn_repos/libsvn_repos-1.la] Error 1
>
> Is anyone else experiencing this problem?

I think I faced similar problem. I am not sure whether they are related. I had previous installation in my prefix path. I removed that and ran make which made the compilation to work without any issues.

Thanks and Regards
Noorul
Received on 2010-11-08 03:46:55 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.