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

Re: Cygwin build issue (circular dependency?)

From: David Rothenberger <daveroth_at_acm.org>
Date: Sun, 11 May 2008 15:58:47 -0700

On 4/5/2008 9:56 AM, David James wrote:
> On Sat, Apr 5, 2008 at 9:19 AM, David James <james_at_cs.toronto.edu> wrote:
>> On Mon, Mar 10, 2008 at 11:55 AM, Nathan Hamilton <nehamilton_at_gmail.com> wrote:
>> > A clean checkout and autogen.sh -> configure -> make of both the 1.5.x
>> > branch and trunk is terminating with the following error on cygwin:
>> >
>> > /c/dev/subversion-1.5.x/subversion/libsvn_fs_fs/tree.c:3017: undefined
>> > reference to `_svn_fs_root_fs'
>> >
>> > Some further investigation shows the following possible circular dependency:
>> >
>> > subversion/libsvn_fs_fs/tree.c:3017: svn_fs_root_fs ->
>> > subversion/libsvn_fs/fs-loader.c
>> > subversion/libsvn_fs/fs-loader.c:71: svn_fs_fs__init ->
>> > subversion/libsvn_fs_fs/fs.c
>> >
>> > Cygwin seems to be the only platform that has a problem with circular
>> > dependencies for linking. Is there something I'm doing wrong or have others
>> > had trouble building on cygwin recently?
>>
>> Hi Nathan,
>>
>> You're absolutely right -- there's a circular dependency here in
>> Subversion 1.5 (since r27741). I committed a fix to trunk in r30340.
>> Can you try building trunk again with my fix?
>
> (NOTE: I fixed a few more circular dependencies in r30342. So try with
> that rev instead)

Thanks for these fixes.

I'm trying to build 1.5.0-rc5 under Cygwin with support for ra_serf. I
found a similar issue in lib_svn_ra_serf/log.c -- svn_ra_has_capability
needs to be replaced with a call to svn_ra_serf__has_capability.

-- 
David Rothenberger  ----  daveroth_at_acm.org
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
                 -- Benjamin Franklin, 1759
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-12 01:05:23 CEST

This is an archived mail posted to the Subversion Dev mailing list.