bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making CVS 1.11.6 on Windows/C++.NET produces linker-error"unresolve


From: Derek Robert Price
Subject: Re: Making CVS 1.11.6 on Windows/C++.NET produces linker-error"unresolved external _locate_rcs"
Date: Fri, 06 Jun 2003 10:51:21 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02

Tobias Wirnsberger wrote:

Hi.
I am new to cvs and right now in charge of setting up a cvs environment
in my company, where we will be using a cvs server on SUN and Windows
clients.
I downloaded the latest stable release 1.11.6 and tried to build the
Windows-client using nmake /f cvsnt.mak  I have Visual Studio.NET 2003
installed on  Windows 2000. Compilation went all right, but the linker
failed on an unresolved external  "_locate_rcs". After looking around
for a while, I pasted the two functions locate_file_in_dir and
locate_rcs from the file .../src/filesubr.c to
.../windows-NT/filesubr.c. After this, the nmake ran without problems.
Also the cvs-client seems to be ok, although I havn't been able to test
it very thoroughly. If  this bugfix is correct, please include it in
your next release. Otherwise please let me know.
Thanks
Tobias

Your fix is not the final one I settled on, but it should work without problems. What I did instead was move the locate_rcs & locate_file_in_dir to src/rcs.c & src/subr.c where they would be shared with the Windows client, in the interests of easing maintenance.

Anyhow, this fix is already on the 1.11.x & 1.12.x branches.

Thanks for the report!

Derek

--
               *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
--
Instead of that liberty which takes root and growth in the progress of reason,
if recovered by mere force or accident, it becomes with an unprepared people a
tyranny still of the many, the few, or the one.

                        - Thomas Jefferson to Lafayette, 1815.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]