John wrote:
Hi,
I'm reposting this question in openvpn.devel because no one responded in
openvpn.user to my question.
If the build procedure has changed between RC1 and RC4, can anybody explain
how to build OpenVPN 2.1RC4 on Windows?
make -f makefile.w32 was the the way that worked until RC1...
Thanx in advance,
John
I'm trying to build Openvpn-2.1RC4 on Windows and it failed.
C:\msys\1.0\src\openvpn-2.1_rc4>make -f makefile.w32
gcc -g -O2 -Wall -Wno-unused-function -Wno-unused-variable -mno-cygwin -I/c/msys
/1.0/src/openssl-0.9.7l/include -I/c/msys/1.0/src/lzo-2.02/include -c
base64.c -
o base64.o
In file included from base64.c:35:
config-win32.h:38:27: autodefs/defs.h: No such file or directory
make: *** [base64.o] Error 1
[ more stuff deleted ]
John,
Yes, there have been some changes in the Windows build procedure for the
2.1 beta series.
The ./domake-win script is now used to build OpenVPN on Windows (in the
MinGW/MSYS environment). This approach has a number of advantages,
including the ability to build a signed Windows installer from source in
a single step, and the consolidation of build-level configuration
parameters in a single file: install-win32/settings.in
Changes such as these that are of interest to developers are always
documented first in the subversion commit logs (use "svn log" to see them).
James