[stunnel-users] failed to build stunnel 4.25 under VS 2005

Ericdai pcix133 at hotmail.com
Thu Aug 28 18:00:56 CEST 2008


I try to build Stunnel 4.25 under VS2005 ,but failed 

         cl -MD -W3 -Ox -O2 -Ob2 -Gs0 -GF -Gy -GL -nologo
-I"..\..\ssl\inc32" -DUSE_WIN32 -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE -DHAVE_GETADDRINFO  -DHAVE_GETNAMEINFO -D_MBCS
/c stunnel.c

stunnel.c

prototypes.h(428) : error C2081: 'socklen_t' : name in formal parameter list
illegal

stunnel.c(206) : error C2065: 'socklen_t' : undeclared identifier

stunnel.c(206) : error C2146: syntax error : missing ';' before identifier
'addrlen'

stunnel.c(206) : error C2065: 'addrlen' : undeclared identifier

 

I use  nmake -f vc.mak to do it 

 

Anyone has build it successfully ,pls help me !

Another way ,is there a stunnel solution or project file ?

I also suggest build a windows client only version 

n  It only can be running on windows 

n  It only can act as a client 

n  I think it can reduce the code size and runtime footprice smaller 

 

 

Thanks and best regards

Eric dai  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20080829/6c8dccb4/attachment.html>


More information about the stunnel-users mailing list