[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-24 22:40:24 CEST

Dale Hirt wrote:

>So,
>
>When I run "python gen-make.py -t dsp", it seems to output correctly,
>however, when I go to build svn, it errors out with:
>
>Linking...
>libsvn_client.lib(diff.obj) : error LNK2001: unresolved external symbol
>_svn_diff_file_output_unified
>libsvn_client.lib(diff.obj) : error LNK2001: unresolved external symbol
>_svn_diff_contains_diffs
>libsvn_client.lib(diff.obj) : error LNK2001: unresolved external symbol
>_svn_diff_file_diff
>libsvn_client.lib(merge.obj) : error LNK2001: unresolved external symbol
>_svn_diff_contains_conflicts
>libsvn_client.lib(merge.obj) : error LNK2001: unresolved external symbol
>_svn_diff_file_output_merge
>libsvn_client.lib(merge.obj) : error LNK2001: unresolved external symbol
>_svn_diff_file_diff3
>..\..\..\Release\svn.exe : fatal error LNK1120: 6 unresolved externals
>Error executing link.exe.
>
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.

-- 
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 Thu Apr 24 22:42:32 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.