cURL / Mailing Lists / curl-users / Single Mail

curl-users

Building Curl on Windows using MSVC command line

From: Manish Marathe <mmarathe_at_spikesource.com>
Date: Tue, 07 Feb 2006 11:30:08 -0800

Hello,

I am trying to build curl on Windows 2003 server using MSVC command line
option. I ran the batch file VCVARS32.bat of Visual Studio to set-up the
environment and then executed:

nmake vc

I am getting the following error for the undefined structure
'sockaddr_storage':

<!------------------------------------------------------------

.\sockaddr.h(30) : error C2079: 'buffer' uses undefined struct
'sockaddr_storage'
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
\VC98\Bin\nmake.exe"' : return code '0x2'
Stop.

------------------------------------------------------------->

Any insight, help would be highly appreciated.

Thanks

-Manish
Received on 2006-02-07