Changes between Version 36 and Version 37 of BuildingOnWindows


Ignore:
Timestamp:
11/11/10 18:38:17 (13 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnWindows

    v36 v37  
    104104 * ''C:\openvpn-build\signtool''. a directory containing ''signtool.exe''. This tool can be found from the Microsoft SDK directory (e.g. ''C:\Program Files\Microsoft SDKs\Windows\V6.0A\bin'').
    105105
    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.
     106After 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
     115static void
     116usage_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
     131End commented section */
     132
     133  openvpn_exit (OPENVPN_EXIT_STATUS_USAGE); /* exit point */
     134
     135}}}
     136
     137
     138
     139Make sure to use a UNIX linefeed-capable editor such as ''wordpad'' to do this.
     140
     141
     142
    107143
    108144Next fire up a console/MS DOS prompt and go to the ''win'' directory and start the build: