<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:o =
"urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=634531214-02062008><FONT face=Arial color=#0000ff size=2><FONT
color=#000000>Which version of SDK do you use ?</FONT> </FONT></SPAN></DIV>
<DIV><SPAN class=634531214-02062008>
<DIV><FONT face=Arial size=2><SPAN class=443431812-26032008>When you have more
than one SDK version<SPAN class=634531214-02062008> installed</SPAN>,
you <SPAN class=634531214-02062008>have</SPAN> to set the following env
explicitly :</SPAN></FONT></DIV>
<DIV><SPAN class=443431812-26032008><FONT face=Arial><FONT size=2><SPAN
class=634531214-02062008>(an example : </SPAN>set
PLATFORM_SDK_PATH=c:\PROGRA~1\MI2578~1\windows\v6.1<SPAN
class=634531214-02062008>)</SPAN></FONT></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN class=443431812-26032008>That's because WDK
uses SDK<SPAN class=634531214-02062008> </SPAN><SPAN
class=634531214-02062008>that </SPAN>should be compatible with it (latest WDK
<-> latest<SPAN class=634531214-02062008>
(Vista)</SPAN> SDK)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=443431812-26032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=443431812-26032008><SPAN
class=634531214-02062008>XaleX</SPAN></SPAN></FONT></DIV></SPAN></DIV>
<DIV><SPAN class=634531214-02062008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ofw-bounces@lists.openfabrics.org
[mailto:ofw-bounces@lists.openfabrics.org] <B>On Behalf Of </B>Anatoly
Greenblatt<BR><B>Sent:</B> Monday, June 02, 2008 3:41 PM<BR><B>To:</B>
ofw@lists.openfabrics.org<BR><B>Subject:</B> [ofw] Compilation errors in trunk
rev 1227<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I’m unable to compile trunk rev
1227. There are errors in string.h when compiling wsdinstall and
printip.c:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Have anyone had this
problem?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Anatoly.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>Compiling -
tests\ibat\user\printip.c<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>errors in directory
c:\work\trunk\tests\ibat\user<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(64)
: error C2143: syntax error : missing ')' before
'type'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>warnings in directory
c:\work\trunk\tests\ibat\user<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(64)
: warning C4131: '_strset' : uses old-style
declarator<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(64)
: error C2169: '_strset' : intrinsic function, cannot be
defined<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(64)
: error C2085: '_Str' : not in formal parameter
list<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(64)
: error C2059: syntax error : 'type'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(64)
: error C2059: syntax error : ')'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(65)
: error C2143: syntax error : missing ')' before
'('<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(65)
: error C2091: function returns function<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(65)
: warning C4131: '_strset_s' : uses old-style
declarator<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(65)
: error C2085: '_Dst' : not in formal parameter
list<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(65)
: error C2082: redefinition of formal parameter
'size_t'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(65)
: error C2146: syntax error : missing ',' before identifier
'_DstSize'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(65)
: error C2059: syntax error : 'type'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(65)
: error C2059: syntax error : ')'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(67)
: error C2143: syntax error : missing ')' before
'('<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(67)
: error C2091: function returns function<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(67)
: warning C4131: 'strcpy_s' : uses old-style
declarator<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(67)
: error C2085: '_Dst' : not in formal parameter
list<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(67)
: error C2082: redefinition of formal parameter
'rsize_t'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(67)
: error C2146: syntax error : missing ',' before identifier
'_DstSize'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(67)
: error C2085: '__in_z' : not in formal parameter
list<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(67)
: error C2143: syntax error : missing ';' before
'const'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(67)
: error C2059: syntax error : ')'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(70)
: error C2143: syntax error : missing ')' before
'type'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(70)
: warning C4131: 'strcpy' : uses old-style
declarator<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(70)
: error C2169: 'strcpy' : intrinsic function, cannot be
defined<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(70)
: error C2085: '_Dest' : not in formal parameter
list<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(70)
: error C2085: '__in_z' : not in formal parameter
list<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(70)
: error C2143: syntax error : missing ';' before
'const'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(70)
: error C2059: syntax error : ')'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(72)
: error C2143: syntax error : missing ')' before
'('<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(72)
: error C2091: function returns function<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(72)
: warning C4131: 'strcat_s' : uses old-style
declarator<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(72)
: error C2085: '_Dst' : not in formal parameter
list<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(72)
: error C2082: redefinition of formal parameter
'rsize_t'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(72)
: error C2146: syntax error : missing ',' before identifier
'_DstSize'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(72)
: error C2085: '__in_z' : not in formal parameter
list<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(72)
: error C2143: syntax error : missing ';' before
'const'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">1>c:\winddk\6001.18001\inc\crt\string.h(72)
: error C2059: syntax error : ')'<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P></DIV></BODY></HTML>