106 | | After setting up the directories, you should check ''win\settings.in'' file to see if any variables need modifications. Make sure to use a UNIX linefeed-capable editor such as ''wordpad'' to do this. |
| 106 | After setting up the directories, you should check ''win\settings.in'' file to see if any variables need modifications. Also, the build will fail unless you comment out a few lines from ''options.c'': |
| 107 | |
| 108 | {{{ |
| 109 | --- snip --- |
| 110 | |
| 111 | /* #include "configure.h" */ |
| 112 | |
| 113 | --- snip --- |
| 114 | |
| 115 | static void |
| 116 | usage_version (void) |
| 117 | { |
| 118 | msg (M_INFO|M_NOPREFIX, "%s", title_string); |
| 119 | msg (M_INFO|M_NOPREFIX, "Originally developed by James Yonan"); |
| 120 | msg (M_INFO|M_NOPREFIX, "Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>"); |
| 121 | |
| 122 | /* Begin commented section |
| 123 | |
| 124 | #ifndef ENABLE_SMALL |
| 125 | #ifdef CONFIGURE_CALL |
| 126 | msg (M_INFO|M_NOPREFIX, "\n%s\n", CONFIGURE_CALL); |
| 127 | #endif |
| 128 | msg (M_INFO|M_NOPREFIX, "Compile time defines: %s", CONFIGURE_DEFINES); |
| 129 | #endif |
| 130 | |
| 131 | End commented section */ |
| 132 | |
| 133 | openvpn_exit (OPENVPN_EXIT_STATUS_USAGE); /* exit point */ |
| 134 | |
| 135 | }}} |
| 136 | |
| 137 | |
| 138 | |
| 139 | Make sure to use a UNIX linefeed-capable editor such as ''wordpad'' to do this. |
| 140 | |
| 141 | |
| 142 | |