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

Re: Building on Windows

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-05-10 10:55:31 CEST

D.J. Heap wrote:

>> You have to define that in the .dsp. The sections in build.conf should
>> get a new parameter that gets defined as "SVN_FILE_NAME".
> Ah, it could probably just be generated in the dsp template rather
> than a new build.conf parameter, though, like it is the output file name?

Oh, sorry; I mixed up SVN_FILE_NAME and SVN_FILE_DESCRIPTION. Yes,
SVN_FILE_NAME is just the name of the output file, so you can generate
that in the template. You can't generate the description, though; that
has to come from build.conf. (svn = "Subversion Client", svnadmin =
"Subversion Repository Administrator", ...)

>>> I also am still having problems building most of the tests due to the
>>> link error: "LINK : fatal error LNK1561: entry point must be defined",
>>> but I'm starting to think maybe that is just a conversion problem
>>> since no one else seems to be having trouble...
>> No, it's not a conversion problem. It happens to me, using VC6, too.
> I found that the shared svn_tests_main.c is not being added to the
> test projects that fail to build...so, like the linker message says,
> they are missing the entry point, heh.

Yes, I suspected something like that, although I see libsvn_test as a
dependency everywhere.

> It looks like another parameter for the tests that use the shared main
> will be needed in build.conf, since there are source files coming from
> different directories...or does the generator have a way to handle that?

Should be able to; but svn_test_main.c is in libsvn_test, which is
listed as a dependency of all those test programs; that's why I don't
understand what's going on.

>>> It appears that the conversion process just *drops* any source files
>>> that do not exist from the project. IE, getdate.c which is generated
>>> for libsvn_subr gets dropped from all projects that reference it
>> My original patch copied getdate.c and svn_private_config.h to the right
>> places before generating the .dsp's. I dunno if Greg committed that part
>> or not.
> It doesn't seem to be in HEAD at the moment. The __CONFIG__ project
> is doing it, but that is too late if VSNet converts the dsps, of course.

Both __CONFIG__ and the generator should be doing that; Dunno why Greg
didn't commit that part of my patch Greg?

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 Sat May 10 10:58:22 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.