[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-devel] Re: [Openvpn-users] Problem while compiling openvpn


  • Subject: [Openvpn-devel] Re: [Openvpn-users] Problem while compiling openvpn
  • From: "James Yonan" <jim@xxxxxxxxx>
  • Date: Tue, 27 Jan 2004 15:01:32 -0000

PremKumar Jayaram <premkumarjayaram@xxxxxxxxxxx> said:

> Hello Everybody,
> 
> I need to compile the opnevpn code on windows 2000. Using Win DDK I was able 
> to compile the driver code, but I am not able to compile the openvpn.c and 
> other files. I tired to compile using VC++ 6.0 but there where few header 
> files under openvpn's "sys" folder which was not defined in VC++.
> 
> In build.w32 file header I saw some instructions of compiling the code using 
> MingW compiler. Is the code supposed to be compiled only with MingW or can I 
> do with VC++ compiler also ?

OpenVPN needs the MinGW compiler to build openvpn.exe on Windows.  There would
probably be some porting work involved to get it to build under VC++.  I've
heard reports that VC++ doesn't like GNU or ISO C99 vararg-style macros, which
OpenVPN depends on heavily.

James



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-devel