Discussions  >  SharpSvn Development  >  Building SharpSvn with VS 2008

Back to topic list

Building SharpSvn with VS 2008

Author hellosticky (OCN Member)
Full name Samantha Beal
Date 2008-09-01 10:16:33 PDT
Message Hi, I got a new box with VS 2008 and I'd like to build SharpSvn from
source. I ran "nant build" from imports. First, some of the projects
required that I upgrade the vcproj files to the VS2008 format... which
I did. Then it got far but errored out on the following:

[exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(74):
 error C2146: syntax error : missing ')' before identifier 'salen'

See below...

build-svn:

     [exec] Build started 9/1/2008 1:14:27 PM.
     [exec] Project "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​bversion
\subversion_vcnet.sln" on node 0 (svn;svnadmin;svnmuc​c;svnversion;svnserv​e;svnsy
nc;svnlook;svnauthz-​validate;svn-populat​e-node-origins-index​ target(s)).
     [exec] Building solution configuration "Release|win32".
     [exec] libsvn_client:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_client_vcnet.tm​p_Release_Win32.vcpr​oj".

     [exec] libsvn_delta:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_delta_vcnet.tmp​_Release_Win32.vcpro​j".
     [exec] libsvn_diff:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_diff_vcnet.tmp_​Release_Win32.vcproj​".
     [exec] libsvn_fs:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_fs_vcnet.tmp_Re​lease_Win32.vcproj".​
     [exec] libsvn_fs_base:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_fs_base_vcnet.t​mp_Release_Win32.vcp​roj"
.
     [exec] libsvn_fs_fs:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_fs_fs_vcnet.tmp​_Release_Win32.vcpro​j".
     [exec] libsvn_fs_util:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_fs_util_vcnet.t​mp_Release_Win32.vcp​roj"
.
     [exec] libsvn_ra:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_ra_vcnet.tmp_Re​lease_Win32.vcproj".​
     [exec] libsvn_ra_local:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_ra_local_vcnet.​tmp_Release_Win32.vc​proj
".
     [exec] libsvn_ra_neon:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_ra_neon_vcnet.t​mp_Release_Win32.vcp​roj"
.
     [exec] libsvn_ra_serf:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_ra_serf_vcnet.t​mp_Release_Win32.vcp​roj"
.
     [exec] libsvn_ra_svn:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_ra_svn_vcnet.tm​p_Release_Win32.vcpr​oj".

     [exec] libsvn_repos:
     [exec] Deleting file "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\win32\su​
bversion\build\win​32\vcnet-vcproj\li​bsvn_repos_vcnet.tmp​_Release_Win32.vcpro​j".
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(74):
 error C2146: syntax error : missing ')' before identifier 'salen'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(74):
 error C2081: 'socklen_t' : name in formal parameter list illegal
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(74):
 error C2061: syntax error : identifier 'salen'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(74):
 error C2059: syntax error : ';'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(74):
 error C2059: syntax error : ','
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(79):
 error C2059: syntax error : ')'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(206)
: error C2027: use of undefined type 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(222)
: error C2037: left of 'ai_family' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(223)
: error C2037: left of 'ai_socktype' specifies undefined struct/union 'addrinfo'

     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(224)
: error C2037: left of 'ai_protocol' specifies undefined struct/union 'addrinfo'

     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(225)
: error C2037: left of 'ai_addrlen' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(226)
: error C2037: left of 'ai_addr' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(241)
: error C2065: 'NI_MAXHOST' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(241)
: error C2057: expected constant expression
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(241)
: error C2466: cannot allocate an array of constant size 0
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(287)
: error C2065: 'EAI_MEMORY' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(289)
: error C2037: left of 'ai_next' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(294)
: error C2065: 'NI_MAXHOST' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(294)
: error C2065: 'NI_MAXHOST' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(301)
: error C2065: 'EAI_NONAME' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(302)
: error C2065: 'EAI_AGAIN' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(303)
: error C2065: 'EAI_FAIL' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(304)
: error C2065: 'EAI_NODATA' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(305)
: error C2065: 'EAI_NONAME' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(347)
: error C2065: 'NI_MAXHOST' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(347)
: error C2057: expected constant expression
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(347)
: error C2466: cannot allocate an array of constant size 0
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(348)
: error C2065: 'NI_MAXHOST' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(348)
: error C2057: expected constant expression
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(348)
: error C2466: cannot allocate an array of constant size 0
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(352)
: error C2065: 'NI_MAXHOST' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(352)
: error C2065: 'NI_MAXHOST' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(375)
: error C2065: 'EAI_FAIL' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(385)
: error C2037: left of 'ai_canonname' specifies undefined struct/union 'addrinfo
'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(386)
: error C2037: left of 'ai_canonname' specifies undefined struct/union 'addrinfo
'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(387)
: error C2065: 'EAI_MEMORY' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(425)
: error C2037: left of 'ai_protocol' specifies undefined struct/union 'addrinfo'

     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(427)
: error C2037: left of 'ai_addr' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(427)
: error C2198: 'WspiapiNewAddrInfo' : too few arguments for call
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(432)
: error C2037: left of 'ai_next' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(432)
: error C2037: left of 'ai_next' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(433)
: error C2037: left of 'ai_next' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(434)
: error C2037: left of 'ai_next' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(438)
: error C2065: 'EAI_MEMORY' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(465)
: error C2037: left of 'ai_canonname' specifies undefined struct/union 'addrinfo
'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(466)
: error C2037: left of 'ai_canonname' specifies undefined struct/union 'addrinfo
'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(466)
: error C2198: 'free' : too few arguments for call
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(468)
: error C2037: left of 'ai_addr' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(469)
: error C2037: left of 'ai_addr' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(469)
: error C2198: 'free' : too few arguments for call
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(471)
: error C2037: left of 'ai_next' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(529)
: error C2065: 'EAI_NONAME' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(536)
: error C2037: left of 'ai_addrlen' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(537)
: error C2037: left of 'ai_canonname' specifies undefined struct/union 'addrinfo
'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(538)
: error C2037: left of 'ai_addr' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(539)
: error C2037: left of 'ai_next' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(541)
: error C2065: 'EAI_FAIL' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(550)
: error C2037: left of 'ai_flags' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(551)
: error C2065: 'AI_CANONNAME' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(552)
: error C2065: 'EAI_BADFLAGS' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(555)
: error C2037: left of 'ai_family' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(557)
: error C2065: 'EAI_FAMILY' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(560)
: error C2037: left of 'ai_socktype' specifies undefined struct/union 'addrinfo'

     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(565)
: error C2065: 'EAI_SOCKTYPE' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(568)
: error C2037: left of 'ai_protocol' specifies undefined struct/union 'addrinfo'

     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(605)
: error C2065: 'EAI_SERVICE' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(605)
: error C2065: 'EAI_NONAME' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(631)
: error C2065: 'AI_PASSIVE' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(640)
: error C2065: 'EAI_MEMORY' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(646)
: error C2037: left of 'ai_flags' specifies undefined struct/union 'addrinfo'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(646)
: error C2065: 'AI_NUMERICHOST' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(649)
: error C2065: 'AI_CANONNAME' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(651)
: error C2037: left of 'ai_canonname' specifies undefined struct/union 'addrinfo
'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(653)
: error C2037: left of 'ai_canonname' specifies undefined struct/union 'addrinfo
'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(654)
: error C2065: 'EAI_MEMORY' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(662)
: error C2065: 'AI_NUMERICHOST' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(664)
: error C2065: 'EAI_NONAME' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(676)
: error C2065: 'AI_CANONNAME' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(701)
: error C2146: syntax error : missing ')' before identifier 'tSocketLength'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(701)
: error C2081: 'socklen_t' : name in formal parameter list illegal
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(701)
: error C2061: syntax error : identifier 'tSocketLength'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(701)
: error C2059: syntax error : ';'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(701)
: error C2059: syntax error : ','
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(706)
: error C2059: syntax error : ')'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(902)
: error C2065: 'WspiapiLegacyGetNameInfo' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(902)
: error C2099: initializer is not a constant
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(902)
: warning C4047: 'initializing' : 'FARPROC' differs in levels of indirection fro
m 'char [13]'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(902)
: warning C4047: 'initializing' : 'const char *' differs in levels of indirectio
n from 'FARPROC'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(907)
: error C2065: 'WspiapiLegacyGetNameInfo' : undeclared identifier
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(1022
): error C2146: syntax error : missing ')' before identifier 'salen'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(1022
): error C2081: 'socklen_t' : name in formal parameter list illegal
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(1022
): error C2061: syntax error : identifier 'salen'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(1022
): error C2059: syntax error : ';'
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(1022
): error C2059: syntax error : ','
     [exec] C:\Program Files\Microsoft SDKs\Windows\v6.0A​\include\wspiapi.h​(1027
): error C2059: syntax error : ')'
     [exec] Done Building Project "C:\work\sharpsvn​co\sharpsvn\impor​ts\build\wi
n32\subversion\sub​version_vcnet.sln" (svn;svnadmin;svnmuc​c;svnversion;svnserv​e;s
vnsync;svnlook;svnau​thz-validate;svn-pop​ulate-node-origins-i​ndex target(s)) -- F
AILED.
     [exec]
     [exec] Build FAILED.


Thanks!

« Previous message in topic | 1 of 4 | Next message in topic »

Messages

Show all messages in topic

Building SharpSvn with VS 2008 hellosticky (OCN Member) Samantha Beal 2008-09-01 10:16:33 PDT
     RE: Building SharpSvn with VS 2008 rhuijben (OCN Member) Bert Huijben 2008-09-01 13:27:07 PDT
         RE: Building SharpSvn with VS 2008 hellosticky (OCN Member) Samantha Beal 2008-09-01 19:54:16 PDT
             RE: Building SharpSvn with VS 2008 rhuijben (OCN Member) Bert Huijben 2008-09-02 01:28:23 PDT
Messages per page: