[ofw] Compilation errors in trunk rev 1227

Alex Naslednikov alexn at mellanox.co.il
Mon Jun 2 07:19:36 PDT 2008


Which version of SDK do you use ? 
When you have more than one SDK version installed, you have to set the
following env explicitly :
(an example : set PLATFORM_SDK_PATH=c:\PROGRA~1\MI2578~1\windows\v6.1)
That's because WDK uses SDK that should be compatible with it (latest
WDK <-> latest (Vista) SDK)
 
XaleX
 

________________________________

From: ofw-bounces at lists.openfabrics.org
[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Anatoly
Greenblatt
Sent: Monday, June 02, 2008 3:41 PM
To: ofw at lists.openfabrics.org
Subject: [ofw] Compilation errors in trunk rev 1227



Hi,

 

I'm unable to compile trunk rev 1227. There are errors in string.h when
compiling wsdinstall and printip.c:

Have anyone had this problem?

 

Thanks,

Anatoly.

 

1>Compiling - tests\ibat\user\printip.c

1>errors in directory c:\work\trunk\tests\ibat\user

1>c:\winddk\6001.18001\inc\crt\string.h(64) : error C2143: syntax error
: missing ')' before 'type'

1>warnings in directory c:\work\trunk\tests\ibat\user

1>c:\winddk\6001.18001\inc\crt\string.h(64) : warning C4131: '_strset' :
uses old-style declarator

1>c:\winddk\6001.18001\inc\crt\string.h(64) : error C2169: '_strset' :
intrinsic function, cannot be defined

1>c:\winddk\6001.18001\inc\crt\string.h(64) : error C2085: '_Str' : not
in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(64) : error C2059: syntax error
: 'type'

1>c:\winddk\6001.18001\inc\crt\string.h(64) : error C2059: syntax error
: ')'

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2143: syntax error
: missing ')' before '('

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2091: function
returns function

1>c:\winddk\6001.18001\inc\crt\string.h(65) : warning C4131: '_strset_s'
: uses old-style declarator

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2085: '_Dst' : not
in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2082: redefinition
of formal parameter 'size_t'

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2146: syntax error
: missing ',' before identifier '_DstSize'

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2059: syntax error
: 'type'

1>c:\winddk\6001.18001\inc\crt\string.h(65) : error C2059: syntax error
: ')'

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2143: syntax error
: missing ')' before '('

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2091: function
returns function

1>c:\winddk\6001.18001\inc\crt\string.h(67) : warning C4131: 'strcpy_s'
: uses old-style declarator

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2085: '_Dst' : not
in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2082: redefinition
of formal parameter 'rsize_t'

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2146: syntax error
: missing ',' before identifier '_DstSize'

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2085: '__in_z' :
not in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2143: syntax error
: missing ';' before 'const'

1>c:\winddk\6001.18001\inc\crt\string.h(67) : error C2059: syntax error
: ')'

1>c:\winddk\6001.18001\inc\crt\string.h(70) : error C2143: syntax error
: missing ')' before 'type'

1>c:\winddk\6001.18001\inc\crt\string.h(70) : warning C4131: 'strcpy' :
uses old-style declarator

1>c:\winddk\6001.18001\inc\crt\string.h(70) : error C2169: 'strcpy' :
intrinsic function, cannot be defined

1>c:\winddk\6001.18001\inc\crt\string.h(70) : error C2085: '_Dest' : not
in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(70) : error C2085: '__in_z' :
not in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(70) : error C2143: syntax error
: missing ';' before 'const'

1>c:\winddk\6001.18001\inc\crt\string.h(70) : error C2059: syntax error
: ')'

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2143: syntax error
: missing ')' before '('

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2091: function
returns function

1>c:\winddk\6001.18001\inc\crt\string.h(72) : warning C4131: 'strcat_s'
: uses old-style declarator

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2085: '_Dst' : not
in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2082: redefinition
of formal parameter 'rsize_t'

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2146: syntax error
: missing ',' before identifier '_DstSize'

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2085: '__in_z' :
not in formal parameter list

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2143: syntax error
: missing ';' before 'const'

1>c:\winddk\6001.18001\inc\crt\string.h(72) : error C2059: syntax error
: ')'

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080602/291f9a29/attachment.html>


More information about the ofw mailing list