<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;}
p.externalclass346f6f258e694ccbbdfa4d3f6d6fc8c5, li.externalclass346f6f258e694ccbbdfa4d3f6d6fc8c5, div.externalclass346f6f258e694ccbbdfa4d3f6d6fc8c5
        {mso-style-name:externalclass346f6f258e694ccbbdfa4d3f6d6fc8c5;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.ms-rtethemeforecolor-9-0
        {mso-style-name:ms-rtethemeforecolor-9-0;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:850607285;
        mso-list-template-ids:1722183018;}
@list l1
        {mso-list-id:1485928696;
        mso-list-template-ids:832109826;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l2
        {mso-list-id:1558054723;
        mso-list-template-ids:-1695676286;}
@list l1:level3 lfo3
        {mso-level-start-at:0;
        mso-level-number-format:arabic;
        mso-level-numbering:continue;
        mso-level-text:"%3\.";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;}
@list l1:level3 lfo4
        {mso-level-start-at:0;
        mso-level-numbering:continue;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1:level2 lfo5
        {mso-level-start-at:0;
        mso-level-number-format:arabic;
        mso-level-numbering:continue;
        mso-level-text:"%2\.";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:0in;
        text-indent:0in;}
@list l1:level3 lfo5
        {mso-level-start-at:0;
        mso-level-numbering:continue;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText">The root cause may be cygwin’s link is appearing before Microsoft Visual Studio’s link…<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Here are the steps I use to build omniORB with vs2008.<o:p></o:p></p>
<ol start="1" type="1">
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l2 level1 lfo6">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Open a DOS prompt.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l2 level1 lfo6">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Type vcvars32 to setup access to cl.exe, the Microsoft compiler.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l2 level1 lfo6">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Now that the environment variables are set in this DOS window, fork a child DOS window that is a cygwin window<br>
c:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico -</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;margin-bottom:12.0pt;mso-list:l2 level1 lfo6">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Edit /etc/profile to re-order the default cygwin path so that Microsoft's Visual Studio link.exe will appear in the path before /usr/bin/link.<br>
vi /etc/profile<br>
change from<br>
PATH="/usr/local/bin:/usr/bin${PATH:+:${PATH}}"<br>
to<br>
PATH="${PATH:+:${PATH}}:/usr/local/bin:/usr/bin:/bin"<br>
Note that in addition to the reordering a : (colon) path seprator was added between ${PATH:${PATH}} and /usr/local/bin. Also /bin was added to path.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l2 level1 lfo6">
<span style="font-size:12.0pt;font-family:"Arial",sans-serif">Exit this cygwin session and restart a new one.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l2 level1 lfo6">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">$ exit<br>
c:> C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico -</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l2 level1 lfo6">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Verify that Microsoft's Visual Studio link.exe appears first in the PATH:<br>
$ which link<br>
/cygdrive/c/rw_apps/Program Files (x86)/Microsoft Visual Studio 9.0/VC/BIN/link</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li></ol>
<p class="MsoPlainText" style="margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo6">
<![if !supportLists]><span style="mso-list:Ignore">8.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>For completeness, here is the complete set of instructions I follow to use vs2008 to build 32-bit omniORB with the SSL transport enabled on Windows 7 64-bit Cygwin...<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">For completeness, here is the complete set of instructions I follow to use vs2008 to build 32-bit omniORB with the SSL transport enabled on Windows 7 64-bit Cygwin. These steps are somewhat specific to our product’s build environment.
Our product is primarily a Java product built with Apache maven but we have some C and C++ components. In addition to maven, you’ll see gradle referenced which is a recent experimental addition to our build setup.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Beware some times I’ve experienced introduction of weird white-space when copy and pasting the steps around step #15 that caused the filenames get generated incorrectly. I’m guessing it had something to do with copying and pasting into
a Cygwin terminal window on a windows machine, crossing character encodings.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#444444">Building omniORB 4.1.7 on Windows Microsoft Visual Studio 2008</span></b><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:7.5pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#444444">omniORB calls MSVC++ 2008 "vs9".</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444"><o:p></o:p></span></p>
<ol start="1" type="1">
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Setup the build environment with maven and gradle.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Build MaxView<br>
mvn clean install</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Install MSVC++ 2008.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Install cygwin.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span>
<ul type="circle">
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Install cygwin Devel/make 3.x or 4.x</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Install cygwin Devel/patch 2.7.x</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li></ul>
</li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Install python 2.x. 3.x broke a lot of python scripts, so avoid for omniORB 4.1.7.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Open a DOS prompt.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Type vcvars32 to setup access to cl.exe, the Microsoft compiler.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Now that the environment variables are set in this DOS window, fork a child DOS window that is a cygwin window<br>
c:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico -</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;margin-bottom:12.0pt;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Edit /etc/profile to re-order the default cygwin path so that Microsoft's Visual Studio link.exe will appear in the path before /usr/bin/link.<br>
vi /etc/profile<br>
change from<br>
PATH="/usr/local/bin:/usr/bin${PATH:+:${PATH}}"<br>
to<br>
PATH="${PATH:+:${PATH}}:/usr/local/bin:/usr/bin:/bin"<br>
Note that in addition to the reordering a : (colon) path seprator was added between ${PATH:${PATH}} and /usr/local/bin. Also /bin was added to path.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:12.0pt;font-family:"Arial",sans-serif">Exit this cygwin session and restart a new one.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">$ exit<br>
c:> C:\rw_apps\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico -</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Verify that Microsoft's Visual Studio link.exe appears first in the PATH:<br>
$ which link<br>
/cygdrive/c/rw_apps/Program Files (x86)/Microsoft Visual Studio 9.0/VC/BIN/link</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Download omniORB-4.1.7.tar.bz2.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">In a cygwin shell, bunzip2 omniORB-4.1.7.tar.bz2</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Build omniORB from source</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span>
<ul type="circle">
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Prepare the raw patch with your MAVEN_LOCAL_REPO environment variable value.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span>
<ul type="square">
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level3 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">export MAXVIEW_SRC=/cygdrive/c/dev/mvtrunk</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level3 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">cd $MAXVIEW_SRC/thirdparty/omniORB/win32</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level3 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Check that the cooked patch filename in the next section, still matches the omniORB version specified in trunk/pom.xml. If they're different, edit filename in these wiki instructions prior to executing
the commands.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;margin-bottom:12.0pt;mso-list:l1 level3 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Then execute these commands.<br>
# Get ready to build by creating the patch working folder<br>
mkdir -p target/cooked-patches<br>
# using cygpath --mixed which is like --windows, but with regular slashes (C:/WINNT)<br>
# This path will eventually be passed to the MSVC++ console applications<br>
# cl.exe and link.exe; these apps will want a path like c:/ (--mixed) rather than /cygdrive/c (--unix).<br>
TEMP1=`cygpath --mixed "$MAVEN_LOCAL_REPO"`<br>
# sed tips<br>
# s means search and replace<br>
# | means literal whereas / means regular expression<br>
cat src/main/patches/omniORB-4.1.7-set-vs-py-openssl_raw.patch | sed 's|REPLACE_WITH_MAVEN_LOCAL_REPO|'"$TEMP1"'|' > target/cooked-patches/omniORB-4.1.7-2-set-vs-py-openssl_cooked.patch</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li></ul>
</li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">In a cygwin shell to preserve original line endings<br>
tar xvf omniORB-4.1.7.tar<br>
This should create </span><span style="font-size:12.0pt;font-family:"Arial",sans-serif">$trunk_src</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif">/thirdparty/omniORB/win32/omniORB-4.1.7.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">In a cygwin shell, run these commands in order to get omniORB ready to build on MSVC++ 2008 with OpenSSL support.<br>
# update patch file again, this time with third party version numbers from trunk pom.xml<br>
# and also patch the makefiles in the extracted omniORB source tarball<br>
mvn process-resources</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Verify that the output contains a line like<br>
</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif">[INFO] --- maven-patch-plugin:1.1.1:apply (patch) @ omniORB ---<br>
[INFO] Applying patch: omniORB-4.1.7-1-set-vs-py-openssl_cooked.patch<br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif">output like the following means the patching failed...</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li></ul>
</li></ol>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in">
<span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444">[INFO] --- maven-patch-plugin:1.1.1:apply (patch) @ omniORB ---<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in">
<span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444">[INFO] Skipping patch: omniORB-4.1.7-2-set-vs-py-openssl_cooked.patch listed in the parameter "patches"; it is missing.<o:p></o:p></span></p>
<ol start="15" type="1">
<ul type="circle">
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo2">
<span style="font-size:12.0pt;font-family:"Arial",sans-serif">Now build omniORB..</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">cd omniorb-4.1.7/src<br>
make export</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Build takes about 10 minutes on a fast laptop with Intel i7-3720QM CPU @ 2.60GHz, Windows 7 64-bit, 8GB memory, solid state drive.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo2">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#ED0033">If a failure occurs and </span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#ED0033">you try to re-run without re-extracting the source from TAR, you'll get
strange errors like:<br>
make[3]: *** No rule to make target '/c/python26/include/Python.h', needed by 'idlpython.o'. Stop.<br>
So if you encouter a build failure start back over with at the top of the "Build omniORB from source" steps.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:red">So to correct a failure you must:</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li></ul>
</ol>
<ol start="15" type="1">
<ul type="circle">
<ol start="1" type="1">
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level3 lfo3">
<span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:red">Run mvn clean.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level3 lfo3">
<span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:red">Re-extract the TAR file.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level3 lfo3">
<span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:red">Correct any errors.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level3 lfo3">
<span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:red">Repeat all the steps in this section again to re-create the cooked patch and re-apply the cooked patch to the omniORB source.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level3 lfo3">
<span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:red">Try building omniORB again.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li></ol>
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo3">
<span style="font-size:12.0pt;font-family:"Arial",sans-serif">If all goes well:</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li></ul>
</ol>
<ol start="15" type="1">
<ul type="circle">
<ul type="square">
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level3 lfo4">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">The executables and DLLs will be installed into<br>
trunk_src/thirdparty/omniORB/omniORB-4.1.7/bin/x86_win32/</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level3 lfo4">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">The libraries will be installed into<br>
trunk_src/thirdparty/omniORB/omniORB-4.1.7/lib/x86_win32/</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li></ul>
</ul>
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo4">
<span style="font-size:12.0pt;font-family:"Arial",sans-serif">Setup gradle and and setup maven repo setting by creating a gradle.properties file in $HOME.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span>
<ul type="circle">
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo4">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Download gradle and install it.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo4">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">mkdir $HOME/.gradle</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo4">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">vi $HOME/.gradle/gradle.properties</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo4">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Put the following in gradle.properties<br>
# </span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><a href="http://www.gradle.org/docs/current/userguide/build_environment.html"><span style="font-family:"Arial",sans-serif;color:#663399;text-decoration:none">http://www.gradle.org/docs/current/userguide/build_environment.html</span></a><br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif"># </span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><a href="http://stackoverflow.com/questions/12749225/where-to-put-gradle-configuration-i-e-credentials-that-should-not-be-committe"><span style="font-family:"Arial",sans-serif;color:#663399;text-decoration:none">http://stackoverflow.com/questions/12749225/where-to-put-gradle-configuration-i-e-credentials-that-should-not-be-committe</span></a><br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif">mavenUser=your-artifactory-user<br>
mavenPassword=your-artifactory-password<br>
<br>
# speed up gradle<br>
# </span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><a href="http://stackoverflow.com/questions/17324849/android-studio-gradle-build-speed-up"><span style="font-family:"Arial",sans-serif;color:#663399;text-decoration:none">http://stackoverflow.com/questions/17324849/android-studio-gradle-build-speed-up</span></a><br>
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif">org.gradle.daemon=true</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li></ul>
</li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo4">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">If applicable, rev the omniORB version</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li></ol>
<ol start="17" type="1">
<ol start="1" type="1">
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo5">
<span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif">Edit </span><span style="font-size:12.0pt;font-family:"Arial",sans-serif">trunk_src/thirdparty/omniORB</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif">/build.gradle<o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level2 lfo5">
<span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif">Change the appropriate version property values e.g.<br>
omniORB_version_major=4<br>
omniORB_version_minor=1.7<br>
omniORBmaxview_package_version=2<o:p></o:p></span></li></ol>
<li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo5">
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">From the trunk_src/thirdparty/omniORB folder, execute 'gradle publish'.</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif"><o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo5">
<span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif">Update the omniORB version in the maven </span><span style="font-size:12.0pt;font-family:"Arial",sans-serif">trunk_src</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif">/pom.xml to
match the build.gradle setting.<o:p></o:p></span></li><li class="MsoNormal" style="color:#444444;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo5">
<span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif">Update the omniORB version in Visual Studio project files (</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif">trunk_src/</span><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif">msvc-global.vsprops and .vcproj)
for app1, app2, and lib1.<o:p></o:p></span></li></ol>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#444444">Reference</span></b><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#444444"><a href="http://jungels.net/articles/diff-patch-ten-minutes.html"><span style="font-family:"Arial",sans-serif;color:#663399;text-decoration:none">http://jungels.net/articles/diff-patch-ten-minutes.html</span></a><o:p></o:p></span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Here’s the current patch I use to target OpenSSL-FIPS 1.0.1L. This patch is applied in step #15. We store the patch here
<span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#444444">src/main/patches/omniORB-4.1.7-set-vs-py-openssl_raw.patch.</span><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">C:\dev\mvtrunk\thirdparty\omniORB\win32>svn propset svn:keywords "Id" src\main\patches\omniORB-4.1.7-set-vs-py-openssl_raw.patch<o:p></o:p></p>
<p class="MsoPlainText">property 'svn:keywords' set on 'src\main\patches\omniORB-4.1.7-set-vs-py-openssl_raw.patch'<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">C:\dev\mvtrunk\thirdparty\omniORB\win32>svn status<o:p></o:p></p>
<p class="MsoPlainText">? omniORB-4.1.7<o:p></o:p></p>
<p class="MsoPlainText">? omniORB-4.1.7.orig<o:p></o:p></p>
<p class="MsoPlainText">MM src\main\patches\omniORB-4.1.7-set-vs-py-openssl_raw.patch<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">C:\dev\mvtrunk\thirdparty\omniORB\win32><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">$Id: omniORB-4.1.7-set-vs-py-openssl_raw.patch 69281 2015-03-16 16:43:27Z Brian.Brooks $<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">This patch:<o:p></o:p></p>
<p class="MsoPlainText">1. Edits <top>\config\config.mk to set MSVC++ 2008<o:p></o:p></p>
<p class="MsoPlainText"> platform = x86_win32_vs_9<o:p></o:p></p>
<p class="MsoPlainText">2. Edits <top>\mk\platforms\x86_win32_vs_9 to set PYTHON and OPEN_SSL_ROOT paths.<o:p></o:p></p>
<p class="MsoPlainText">3. In sslContext.cc force OpenSSL FIPS_mode_set ON.<o:p></o:p></p>
<p class="MsoPlainText">4. RSA key exchange is not a FIPS approved algorithm which prevented<o:p></o:p></p>
<p class="MsoPlainText">the omniORB 4.1.x SSL transport initialization to fail when<o:p></o:p></p>
<p class="MsoPlainText">OpenSSL is run with FIPS mode enabled. Fix by backporting an omniORB 4.2.0 change
<o:p></o:p></p>
<p class="MsoPlainText">to disable set_ephemeralRSA.<o:p></o:p></p>
<p class="MsoPlainText">http://sourceforge.net/p/omniorb/svn/6101/<o:p></o:p></p>
<p class="MsoPlainText">Revision: 6101<o:p></o:p></p>
<p class="MsoPlainText">Author: dgrisby<o:p></o:p></p>
<p class="MsoPlainText">Date: Tuesday, August 14, 2012 5:54:26 AM<o:p></o:p></p>
<p class="MsoPlainText">Message:<o:p></o:p></p>
<p class="MsoPlainText">No longer set low-grade ephemeral RSA keys. Fix SSL example error messages.<o:p></o:p></p>
<p class="MsoPlainText">----<o:p></o:p></p>
<p class="MsoPlainText">Modified : /trunk/omniORB/src/lib/omniORB/orbcore/ssl/sslContext.cc<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">History:<o:p></o:p></p>
<p class="MsoPlainText">02/03/2015 BEB Added changes to sslContext.cc for OpenSSL FIPS_mode_set.<o:p></o:p></p>
<p class="MsoPlainText">04/29/2014 BEB Created.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">diff -rupN omniORB-4.1.7.orig/config/config.mk omniORB-4.1.7/config/config.mk<o:p></o:p></p>
<p class="MsoPlainText">--- omniORB-4.1.7.orig/config/config.mk 2010-10-28 19:05:18.000000000 -0400<o:p></o:p></p>
<p class="MsoPlainText">+++ omniORB-4.1.7/config/config.mk 2014-04-28 16:42:12.000000000 -0400<o:p></o:p></p>
<p class="MsoPlainText">@@ -58,7 +58,7 @@<o:p></o:p></p>
<p class="MsoPlainText">#platform = x86_win32_vs_6<o:p></o:p></p>
<p class="MsoPlainText">#platform = x86_win32_vs_7<o:p></o:p></p>
<p class="MsoPlainText">#platform = x86_win32_vs_8<o:p></o:p></p>
<p class="MsoPlainText">-#platform = x86_win32_vs_9<o:p></o:p></p>
<p class="MsoPlainText">+platform = x86_win32_vs_9<o:p></o:p></p>
<p class="MsoPlainText">#platform = x86_win32_vs_10<o:p></o:p></p>
<p class="MsoPlainText">#platform = x86_win32_mingw<o:p></o:p></p>
<p class="MsoPlainText">#platform = x86_win32_dmc<o:p></o:p></p>
<p class="MsoPlainText">diff -rupN omniORB-4.1.7.orig/mk/platforms/x86_win32_vs_9.mk omniORB-4.1.7/mk/platforms/x86_win32_vs_9.mk<o:p></o:p></p>
<p class="MsoPlainText">--- omniORB-4.1.7.orig/mk/platforms/x86_win32_vs_9.mk 2012-12-03 12:59:59.000000000 -0500<o:p></o:p></p>
<p class="MsoPlainText">+++ omniORB-4.1.7/mk/platforms/x86_win32_vs_9.mk 2014-04-28 16:43:16.000000000 -0400<o:p></o:p></p>
<p class="MsoPlainText">@@ -24,7 +24,7 @@ ABSTOP = $(shell cd $(TOP); pwd)<o:p></o:p></p>
<p class="MsoPlainText"># In that case, uncomment the first line below.<o:p></o:p></p>
<p class="MsoPlainText"><o:p></o:p></p>
<p class="MsoPlainText"> #PYTHON = $(ABSTOP)/$(BINDIR)/omnipython<o:p></o:p></p>
<p class="MsoPlainText">-#PYTHON = /cygdrive/c/Python26/python<o:p></o:p></p>
<p class="MsoPlainText">+PYTHON = /cygdrive/c/Python27/python<o:p></o:p></p>
<p class="MsoPlainText"><o:p></o:p></p>
<p class="MsoPlainText"> <o:p></o:p></p>
<p class="MsoPlainText"> # Use the following set of flags to build and use multithreaded DLLs<o:p></o:p></p>
<p class="MsoPlainText">@@ -76,7 +76,7 @@ OMNINAMES_LOG_DEFAULT_LOCATION = C:\\tem<o:p></o:p></p>
<p class="MsoPlainText"># the top level directory of the openssl library. The default is to disable<o:p></o:p></p>
<p class="MsoPlainText"># the build.<o:p></o:p></p>
<p class="MsoPlainText">#<o:p></o:p></p>
<p class="MsoPlainText">-#OPEN_SSL_ROOT = /cygdrive/c/openssl<o:p></o:p></p>
<p class="MsoPlainText">+OPEN_SSL_ROOT = REPLACE_WITH_MAVEN_LOCAL_REPO/NativeThirdParty/OpenSSL/OpenSSL-${OpenSSLVersion}-${osfamily.classifier}<o:p></o:p></p>
<p class="MsoPlainText">#<o:p></o:p></p>
<p class="MsoPlainText"><o:p></o:p></p>
<p class="MsoPlainText"> OPEN_SSL_CPPFLAGS = -I$(OPEN_SSL_ROOT)/include<o:p></o:p></p>
<p class="MsoPlainText">--- omniORB-4.1.7.orig/src/lib/omniORB/orbcore/ssl/sslContext.cc 2013-04-10 13:09:25.000000000 -0400<o:p></o:p></p>
<p class="MsoPlainText">+++ omniORB-4.1.7/src/lib/omniORB/orbcore/ssl/sslContext.cc 2015-03-04 15:18:03.349139200 -0500<o:p></o:p></p>
<p class="MsoPlainText">@@ -152,6 +152,19 @@ sslContext::internal_initialise() {<o:p></o:p></p>
<p class="MsoPlainText"> SSL_library_init();<o:p></o:p></p>
<p class="MsoPlainText"> set_cipher();<o:p></o:p></p>
<p class="MsoPlainText"> SSL_load_error_strings();<o:p></o:p></p>
<p class="MsoPlainText">+<o:p></o:p></p>
<p class="MsoPlainText">+ // BEB 12/12/2014 Turn "ON" FIPS mode for both client sockets and server sockets.<o:p></o:p></p>
<p class="MsoPlainText">+ // "Currently FIPS_mode_set param values other than zero enable FIPS mode. In the future other values<o:p></o:p></p>
<p class="MsoPlainText">+ // may specify additional actions beyond enabling FIPS mode, such as a value of 2 to<o:p></o:p></p>
<p class="MsoPlainText">+ // designate an additional restriction to Suite B algorithms. To avoid further<o:p></o:p></p>
<p class="MsoPlainText">+ // compatibility issues, a program is encouraged to call FIPS_mode_set() with<o:p></o:p></p>
<p class="MsoPlainText">+ // a ONOFF value of 1 (rather than an arbitrary non-zero value)."<o:p></o:p></p>
<p class="MsoPlainText">+ // http://wiki.openssl.org/index.php/FIPS_mode_set%28%29<o:p></o:p></p>
<p class="MsoPlainText">+ if (0 == (FIPS_mode_set(1))) {<o:p></o:p></p>
<p class="MsoPlainText">+ report_error();<o:p></o:p></p>
<p class="MsoPlainText">+ OMNIORB_THROW(INITIALIZE,INITIALIZE_TransportError,<o:p></o:p></p>
<p class="MsoPlainText">+ CORBA::COMPLETED_NO);<o:p></o:p></p>
<p class="MsoPlainText">+ }<o:p></o:p></p>
<p class="MsoPlainText"> }<o:p></o:p></p>
<p class="MsoPlainText"><o:p></o:p></p>
<p class="MsoPlainText"> pd_ctx = SSL_CTX_new(set_method());<o:p></o:p></p>
<p class="MsoPlainText">@@ -372,7 +385,11 @@ sslContext::set_DH() {<o:p></o:p></p>
<p class="MsoPlainText">/////////////////////////////////////////////////////////////////////////<o:p></o:p></p>
<p class="MsoPlainText">void<o:p></o:p></p>
<p class="MsoPlainText">sslContext::set_ephemeralRSA() {<o:p></o:p></p>
<p class="MsoPlainText">+ // Default implementation does nothing. To support low-grade<o:p></o:p></p>
<p class="MsoPlainText">+ // ephemeral RSA key exchange, use a subclass with code like the<o:p></o:p></p>
<p class="MsoPlainText">+ // following:<o:p></o:p></p>
<p class="MsoPlainText"><o:p></o:p></p>
<p class="MsoPlainText">+#if 0<o:p></o:p></p>
<p class="MsoPlainText"> RSA *rsa;<o:p></o:p></p>
<p class="MsoPlainText"><o:p></o:p></p>
<p class="MsoPlainText"> rsa = RSA_generate_key(512,RSA_F4,NULL,NULL);<o:p></o:p></p>
<p class="MsoPlainText">@@ -381,6 +398,7 @@ sslContext::set_ephemeralRSA() {<o:p></o:p></p>
<p class="MsoPlainText"> OMNIORB_THROW(INITIALIZE,INITIALIZE_TransportError,CORBA::COMPLETED_NO);<o:p></o:p></p>
<p class="MsoPlainText"> }<o:p></o:p></p>
<p class="MsoPlainText"> RSA_free(rsa);<o:p></o:p></p>
<p class="MsoPlainText">+#endif<o:p></o:p></p>
<p class="MsoPlainText">}<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">From: Sendil_Natarajan@amat.com [mailto:Sendil_Natarajan@amat.com]
<o:p></o:p></p>
<p class="MsoPlainText">Sent: Friday, March 27, 2015 8:53 AM<o:p></o:p></p>
<p class="MsoPlainText">To: omniorb-list@omniorb-support.com<o:p></o:p></p>
<p class="MsoPlainText">Subject: [omniORB] omni make error<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hi All,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I’m trying to build the omni service.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I get the below error while doing so. Please let me know how to resolve this. I’m building this using Cygwin in VS2012. The Cygwin has configured with corresponding information to use the correct Visual Studio.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">$ make export<o:p></o:p></p>
<p class="MsoPlainText">making export in src/tool...<o:p></o:p></p>
<p class="MsoPlainText">make[1]: Entering directory '/cygdrive/c/omniORB-4.1.6/src/tool'<o:p></o:p></p>
<p class="MsoPlainText">making export in src/tool/omniidl...<o:p></o:p></p>
<p class="MsoPlainText">make[2]: Entering directory '/cygdrive/c/omniORB-4.1.6/src/tool/omniidl'<o:p></o:p></p>
<p class="MsoPlainText">making export in src/tool/omniidl/cxx...<o:p></o:p></p>
<p class="MsoPlainText">make[3]: Entering directory '/cygdrive/c/omniORB-4.1.6/src/tool/omniidl/cxx'<o:p></o:p></p>
<p class="MsoPlainText">Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoPlainText"> File "<string>", line 1, in <module><o:p></o:p></p>
<p class="MsoPlainText">AttributeError: 'module' object has no attribute 'lower'<o:p></o:p></p>
<p class="MsoPlainText">making export in src/tool/omniidl/cxx/cccp...<o:p></o:p></p>
<p class="MsoPlainText">make[4]: Entering directory '/cygdrive/c/omniORB-4.1.6/src/tool/omniidl/cxx/ccc<o:p></o:p></p>
<p class="MsoPlainText">'<o:p></o:p></p>
<p class="MsoPlainText">+ rm -f omnicpp.exe<o:p></o:p></p>
<p class="MsoPlainText">+ ../../../../../bin/x86_win32/linkwrapper -gnuwin32 -out:omnicpp.exe -nologo -<o:p></o:p></p>
<p class="MsoPlainText">anifest -DEBUG -PDB:omnicpp.exe.pdb -libpath:../../../../../lib/x86_win32 cexp.<o:p></o:p></p>
<p class="MsoPlainText">cccp.o config.o alloca.o index.o<o:p></o:p></p>
<p class="MsoPlainText">link -out:omnicpp.exe -nologo -manifest -DEBUG -PDB:omnicpp.exe.pdb -libpath:..<o:p></o:p></p>
<p class="MsoPlainText">..\..\..\..\lib\x86_win32 cexp.o cccp.o config.o alloca.o index.o<o:p></o:p></p>
<p class="MsoPlainText">link: unknown option -- o<o:p></o:p></p>
<p class="MsoPlainText">Try 'link --help' for more information.<o:p></o:p></p>
<p class="MsoPlainText">+ mt.exe '/outputresource:omnicpp.exe;#1' /manifest omnicpp.exe.manifest<o:p></o:p></p>
<p class="MsoPlainText">Microsoft (R) Manifest Tool version 6.3.9600.17298<o:p></o:p></p>
<p class="MsoPlainText">Copyright (c) Microsoft Corporation 2012.<o:p></o:p></p>
<p class="MsoPlainText">All rights reserved.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">omnicpp.exe.manifest : general error c1010070: Failed to load and parse the man<o:p></o:p></p>
<p class="MsoPlainText">fest. The system cannot find the file specified.<o:p></o:p></p>
<p class="MsoPlainText">dir.mk:55: recipe for target 'omnicpp.exe' failed<o:p></o:p></p>
<p class="MsoPlainText">make[4]: *** [omnicpp.exe] Error 31<o:p></o:p></p>
<p class="MsoPlainText">make[4]: Leaving directory '/cygdrive/c/omniORB-4.1.6/src/tool/omniidl/cxx/cccp<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">dir.mk:21: recipe for target 'export' failed<o:p></o:p></p>
<p class="MsoPlainText">make[3]: *** [export] Error 1<o:p></o:p></p>
<p class="MsoPlainText">make[3]: Leaving directory '/cygdrive/c/omniORB-4.1.6/src/tool/omniidl/cxx'<o:p></o:p></p>
<p class="MsoPlainText">dir.mk:15: recipe for target 'export' failed<o:p></o:p></p>
<p class="MsoPlainText">make[2]: *** [export] Error 1<o:p></o:p></p>
<p class="MsoPlainText">make[2]: Leaving directory '/cygdrive/c/omniORB-4.1.6/src/tool/omniidl'<o:p></o:p></p>
<p class="MsoPlainText">dir.mk:22: recipe for target 'export' failed<o:p></o:p></p>
<p class="MsoPlainText">make[1]: *** [export] Error 1<o:p></o:p></p>
<p class="MsoPlainText">make[1]: Leaving directory '/cygdrive/c/omniORB-4.1.6/src/tool'<o:p></o:p></p>
<p class="MsoPlainText">dir.mk:26: recipe for target 'export' failed<o:p></o:p></p>
<p class="MsoPlainText">make: *** [export] Error 1<o:p></o:p></p>
</div>
</body>
</html>