[cvsnt] Link errors with WIN95 removed (to enable SERVER_SUPPORT)

Mike Henry MikeH at pixelworks.com
Fri Jun 10 07:59:36 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


I obtained the CVSNT source files today from http://www.cvsnt.com/cvspro/

Version: cvsnt-2.5.01.1976

I am using Visual Studio.NET 2003 to build the solution (cvsnt.sln). I setup all the
dependencies required to build CVS as recommended ().

I am able to successfully build the project for client use, however I get link errors
after removing the WIN95 define from the CVS95 project so I can build with server
support (SERVER_SUPPORT is defined in config.h), as shown below:

/* Define if you want CVS to be able to serve repositories to remote
   clients.  */
#if defined(CVS95)
#undef SERVER_SUPPORT
#else
#define SERVER_SUPPORT
#endif

Below are the link errors:

cvs95 error LNK2019: unresolved external symbol "void __cdecl nt_setuid_init(void)" (?nt_setuid_init@@YAXXZ) referenced in function _win32init
cvs95 error LNK2001: unresolved external symbol _IID_ICvsInfo4
cvs95 error LNK2001: unresolved external symbol _LIBID_CVSNT
cvs95 error LNK2019: unresolved external symbol "int __cdecl nt_s4u(wchar_t const *,wchar_t const *,void * *)" (?nt_s4u@@YAHPB_W0PAPAX at Z) referenced in function "int __cdecl trys4u(struct passwd const *,struct __unnamed * *)" (?trys4u@@YAHPBUpasswd@@PAPAU__unnamed@@@Z)
cvs95 error LNK2019: unresolved external symbol "int __cdecl nt_setuid(wchar_t const *,wchar_t const *,void * *)" (?nt_setuid@@YAHPB_W0PAPAX at Z) referenced in function "int __cdecl trytoken(struct passwd const *,struct __unnamed * *)" (?trytoken@@YAHPBUpasswd@@PAPAU__unnamed@@@Z)

Any help would be appreciated.

Mike Henry
Principal Architect
Pixelworks, Inc.
8100 SW Nyberg Rd.
Tualatin OR 97062
503-454-1750x1612




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook