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

Re: gen-make.py oddness

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-04-25 22:14:10 CEST

Brandon Ehle wrote:

>> Yup, saw that myself.
>>> I traced it out to the fact that it seems that the only libs being
>>> linked to
>>> are "mswsock.lib ws2_32.lib advapi32.lib rpcrt4.lib shfolder.lib
>>> libdb40.lib" in every exe file.
>>> The generator seems to not be picking up any other subversion libs,
>>> when it
>>> parses build.conf.
>> It's not as simple as that. It does pick up all the libs and registers
>> them as project dependencies (in the .dsw file), which implies linking.
>> However, it's wrong in that it assumes that dependencies are transitive.
>> They're not.
>> The generator should be adding _all_ the dependencies it finds to the
>> project, not just the first level of the dependency DAG.
> The problem with that is that you get thousands of errors about
> duplicately defined symbols during linking if a project is somehow
> dependended upon twice by two different static libraries (though you
> are definitely right about shared libraries). Therefore we try to
> determine that a library is only dependended upon once by any given
> executable. Visual Studio .NET fixes this problem, but for Visual C++
> 6 we have to be smart about the dependency tree.

Have you looked at the patch I posted yesterday? Uh, this morning? It
fixes that particular problem. I just don't know what's going wrong with
the compiled execs.

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 25 22:14:58 2003

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.