[omniORB] old question about cygwin

Jeffrey Yu jjyu@optonline.net
Thu Nov 28 15:36:01 2002


This is a multi-part message in MIME format.

--Boundary_(ID_S697g63v4Mh0YzS0P42u8w)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

Duncan,
 
I heard many times people can use cygwin to compile the source code.
However, I keep getting the same error each time when I try it.
 
Here is the more detail description of what happened and hope you can
help me out:
 
1.	the platform is win2k, vc6.0 sp3
2.	I downloaded the latest cygwin off www.cygwin.com
<http://www.cygwin.com/> 
3.	the source code I attempt to compile is version 3.04;
 
after I install cygwin, I change omni/config/config.mk, and the one
inside of the mk/platform directory;
then in omni/src, I did "make export",
 
shortly after that, here is the error message I captured:
 
making export in src/tool...
make[1]: Entering directory `/cygdrive/c/omni/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory `/cygdrive/c/omni/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
make[3]: Entering directory `/cygdrive/c/omni/src/tool/omniidl/cxx'
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory `/cygdrive/c/omni/src/tool/omniidl/cxx/cccp'
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD
-DHAVE_CONFIG_H -I. -I.  -I../../../../../include -D__WIN32__ -D__x86__
-D__NT__ -D__OSVERSION__=4 -Focexp.o cexp.c
Invalid argument
cl -c -O2 -MD -DHAVE_CONFIG_H -I. -I. -I..\..\..\..\..\include
-D__WIN32__ -D__x86__ -D__NT__ -D__OSVERSION__=4 -Focexp.o cexp.c
cl: make[4]: *** [cexp.o] Error 1
make[4]: Leaving directory `/cygdrive/c/omni/src/tool/omniidl/cxx/cccp'
make[3]: *** [export] Error 2
make[3]: Leaving directory `/cygdrive/c/omni/src/tool/omniidl/cxx'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/cygdrive/c/omni/src/tool/omniidl'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/omni/src/tool'
make: *** [export] Error 2
 
 
The cause of this problem could be very innocent.  Hope you can help me
to resolve this.
 
By the way, I have no problem to compile the same source code using the
"minimized version" of cygwin downloaded from at&t's website.   As it
works with the stripped down version, it should work with the full
version as well.
 
Thanks,
Jeff

--Boundary_(ID_S697g63v4Mh0YzS0P42u8w)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C296C9.773155B0">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:UseFELayout/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;
	mso-font-alt:\5B8B\4F53;
	mso-font-charset:134;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;
	mso-font-charset:134;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:3 135135232 16 0 262145 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:SimSun;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:windowtext;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:49109897;
	mso-list-type:hybrid;
	mso-list-template-ids:-1842209084 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>

<div class=Section1>

<p class=MsoNormal><st1:City><st1:place><font size=2 face=Arial><span
  style='font-size:10.0pt;font-family:Arial'>Duncan</span></font></st1:place></st1:City><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I heard many times people can use <span class=SpellE>cygwin</span>
to compile the source code.<span style='mso-spacerun:yes'>&nbsp; </span>However,
I keep getting the same error each time when I try it.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Here is the more detail description of what happened and
hope you can help me out:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<ol style='mso-margin-top-alt:0in' start=1 type=1>
 <li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'><font
     size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>the
     platform is win2k, vc6.0 sp3<o:p></o:p></span></font></li>
 <li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'><font
     size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I
     downloaded the latest <span class=SpellE>cygwin</span> off <a
     href="http://www.cygwin.com/">www.cygwin.com</a><o:p></o:p></span></font></li>
 <li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'><font
     size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>the
     source code I attempt to compile is version 3.04;<o:p></o:p></span></font></li>
</ol>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>after I install <span class=SpellE>cygwin</span>, I change
omni/<span class=SpellE>config/config.mk</span>, and the one inside of the <span
class=SpellE>mk</span>/platform directory<span class=GramE>;</span><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>then in omni/<span class=SpellE>src</span>, I did &#8220;make
export&#8221;,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>shortly after that, here is the error message I captured:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>making export in <span class=SpellE>src</span>/tool...</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>make[</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>1]: Entering
directory `/<span class=SpellE>cygdrive/c/omni/src/tool</span>'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>making export in <span class=SpellE>src/tool/omniidl</span>...</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>make[</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>2]: Entering
directory `/<span class=SpellE>cygdrive/c/omni/src/tool/omniidl</span>'<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>making export in <span class=SpellE>src/tool/omniidl/cxx</span>...</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>make[</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>3]: Entering
directory `/<span class=SpellE>cygdrive/c/omni/src/tool/omniidl/cxx</span>'<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>making export in <span class=SpellE>src/tool/omniidl/cxx/cccp</span>...</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>make[</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>4]: Entering
directory `/<span class=SpellE>cygdrive/c/omni/src/tool/omniidl/cxx/cccp</span>'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>../../../../..<span class=GramE>/bin/x86_win32/clwrapper
-gnuwin32 -c -O2 -MD -DHAVE_CONFIG_H -</span></span></font><st1:place><span
 class=GramE><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
 Arial'>I.</span></font></span></st1:place><span class=GramE><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> -I.</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><span
style='mso-spacerun:yes'>&nbsp; </span>-I<span class=GramE>..</span>/../../../../include
-D__WIN32__ -D__x86__ -D__NT__ -D__OSVERSION__=4 -<span class=SpellE>Focexp.o</span>
<span class=SpellE>cexp.c</span><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Invalid argument<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=SpellE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>cl</span></font></span><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> -c -O2 -MD
-DHAVE_CONFIG_H -I. -</span></font><st1:place><font size=2 face=Arial><span
 style='font-size:10.0pt;font-family:Arial'>I.</span></font></st1:place><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> -I<span
class=GramE>..</span>\..\..\..\..\include -D__WIN32__ -D__x86__ -D__NT__
-D__OSVERSION__=4 -<span class=SpellE>Focexp.o</span> <span class=SpellE>cexp.c</span><o:p></o:p></span></font></p>

<p class=MsoNormal><span class=SpellE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>cl</span></font></span><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>: <span
class=GramE>make[</span>4]: *** [<span class=SpellE>cexp.o</span>] Error 1<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>make[</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>4]: Leaving
directory `/<span class=SpellE>cygdrive/c/omni/src/tool/omniidl/cxx/cccp</span>'<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>make[</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>3]: ***
[export] Error 2<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>make[</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>3]: Leaving
directory `/<span class=SpellE>cygdrive/c/omni/src/tool/omniidl/cxx</span>'<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>make[</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>2]: ***
[export] Error 2<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>make[</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>2]: Leaving
directory `/<span class=SpellE>cygdrive/c/omni/src/tool/omniidl</span>'<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>make[</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>1]: ***
[export] Error 2<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>make[</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>1]: Leaving
directory `/<span class=SpellE>cygdrive/c/omni/src/tool</span>'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>make: *** [export] Error 2<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The cause of this problem could be very innocent. <span
style='mso-spacerun:yes'>&nbsp;</span>Hope you can help me to resolve this.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>By the way, I have no problem to compile the same source
code using the &#8220;minimized version&#8221; of <span class=SpellE>cygwin</span>
downloaded from <span class=SpellE>at&amp;t&#8217;s</span> website. <span
style='mso-spacerun:yes'>&nbsp;</span><span
style='mso-spacerun:yes'>&nbsp;</span>As it works with the stripped down
version, it should work with the full version as well.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Jeff<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p></o:p></span></font></p>

</div>

</body>

</html>

--Boundary_(ID_S697g63v4Mh0YzS0P42u8w)--