[omniORB] omniORB//v4//Compilation//NT4.0//VC6.0//Required Hints

Indranil Mukherjee Indranil.Mukherjee@ushacomm.co.in
Tue, 12 Mar 2002 19:12:29 +0530


--------------060109050400050609070402
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Paritally solving the FTp problem from my end, I downloaded one
snapshot.
I have tried to solve compilation with version -omniORB-20020308.tar.gz
and omnipython-x86_win32.zip. But facing Same error, but with more debug
message you mentioned earlier.
------------------------------------------------------------------------
-----------------
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

   Creating library shareddebug/omnithread30_rtd.lib and object
shareddebug/omnithread30_rtd.exp
+ install -c debug/omnithreadd.lib ../../../lib/x86_win32
+ install -c shareddebug/omnithread30_rtd.lib ../../../lib/x86_win32
+ install -c shareddebug/omnithread30_rtd.dll ../../../bin/x86_win32
make[2]: Leaving directory
`/cygdrive/e/DEVELOPMENT/omniorb/omni/src/lib/omnithread'
making export in src/lib/omniORB...
make[2]: Entering directory
`/cygdrive/e/DEVELOPMENT/omniorb/omni/src/lib/omniORB'
+ mkdir -p omniORB4
../../../bin/x86_win32/oidlwrapper.exe -gnuwin32 -T -bcxx -Wbh=.hh
-Wbs=SK.cc -Wba -p../../../src/li
b/omniORB -Wbdebug -v -ComniORB4 ../../../idl/bootstrap.idl
PYTHONPATH=(null)
..\..\..\bin\x86_win32\omniidl -T -bcxx -Wbh=.hh -Wbs=SK.cc -Wba
-p..\..\..\src\lib\omniORB -Wbdebug
 -v -ComniORB4 ..\..\..\idl\bootstrap.idl
omniidl: Importing back-end 'cxx'
omniidl: 'cxx' imported from
'..\..\..\src\lib\omniORB\omniidl_be\cxx\__init__.py'
omniidl: Preprocessing '..\..\..\idl\bootstrap.idl' with 'omnicpp
-lang-c++ -undef -D__OMNIIDL__=0x2
420 -D__OMNIIDL_CXX__ ..\..\..\idl\bootstrap.idl'
omniidl: cpp output to temporary file 'omniidl-tmp338.idl'
The name specified is not recognized as an
internal or external command, operable program or batch file.
omniidl: Error running preprocessor
make[2]: *** [omniORB4/bootstrap.hh] Error 1
make[2]: Leaving directory
`/cygdrive/e/DEVELOPMENT/omniorb/omni/src/lib/omniORB'
make[1]: *** [export] Error 2
make[1]: Leaving directory
`/cygdrive/e/DEVELOPMENT/omniorb/omni/src/lib'
make: *** [export] Error 2
------------------------------------------------------------------------
-----------------

Duncan Grisby wrote:


On Tuesday 26 February, Indranil Mukherjee wrote:


Can anyone provide me any hints regrading the compilation failure -
with follwing options -

Source version - "omniORB-20020221.tar.gz"
platform = x86_nt_4.0
#BuildDebugBinary = 1  // Tried with =0 , same error.


You certainly shouldn't set BuildDebugBinary to 1. It's broken at the
moment.

[...]

omniidl: Error running preprocessor


I don't know why it's failing. It works fine for me, although there
were a couple of recently introduced problems later on in the build.
I've just fixed them in CVS. The problem might be with using a pipe to
the C pre-processor. I've updated the make rules to use the -T option
to omniidl on Windows, which might solve your problem.

Can you try updating to the current CVS version, or tomorrow's
snapshot, and see if that helps?  Even if it doesn't, I've added a bit
more tracing to the omniidl execution, which might help track down
what's going wrong.

Cheers,

Duncan.




--------------060109050400050609070402
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html>
<head>
</head>
<body>
Paritally solving the FTp problem from my end, I downloaded one snapshot.<br>
I have tried to solve compilation with version -omniORB-20020308.tar.gz and
omnipython-x86_win32.zip. But facing Same error, but with more debug message
you mentioned earlier.<br>
-----------------------------------------------------------------------------------------<br>
Microsoft (R) Incremental Linker Version 6.00.8168<br>
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.<br>
<br>
&nbsp;&nbsp; Creating library shareddebug/omnithread30_rtd.lib and object shareddebug/omnithread30_rtd.exp<br>
+ install -c debug/omnithreadd.lib ../../../lib/x86_win32<br>
+ install -c shareddebug/omnithread30_rtd.lib ../../../lib/x86_win32<br>
+ install -c shareddebug/omnithread30_rtd.dll ../../../bin/x86_win32<br>
make[2]: Leaving directory `/cygdrive/e/DEVELOPMENT/omniorb/omni/src/lib/omnithread'<br>
making export in src/lib/omniORB...<br>
make[2]: Entering directory `/cygdrive/e/DEVELOPMENT/omniorb/omni/src/lib/omniORB'<br>
+ mkdir -p omniORB4<br>
../../../bin/x86_win32/oidlwrapper.exe -gnuwin32 -T -bcxx -Wbh=.hh -Wbs=SK.cc
-Wba -p../../../src/li<br>
b/omniORB -Wbdebug -v -ComniORB4 ../../../idl/bootstrap.idl<br>
PYTHONPATH=(null)<br>
..\..\..\bin\x86_win32\omniidl -T -bcxx -Wbh=.hh -Wbs=SK.cc -Wba -p..\..\..\src\lib\omniORB
-Wbdebug<br>
&nbsp;-v -ComniORB4 ..\..\..\idl\bootstrap.idl<br>
omniidl: Importing back-end 'cxx'<br>
omniidl: 'cxx' imported from '..\..\..\src\lib\omniORB\omniidl_be\cxx\__init__.py'<br>
omniidl: Preprocessing '..\..\..\idl\bootstrap.idl' with 'omnicpp -lang-c++
-undef -D__OMNIIDL__=0x2<br>
420 -D__OMNIIDL_CXX__ ..\..\..\idl\bootstrap.idl'<br>
omniidl: cpp output to temporary file 'omniidl-tmp338.idl'<br>
The name specified is not recognized as an<br>
internal or external command, operable program or batch file.<br>
omniidl: Error running preprocessor<br>
make[2]: *** [omniORB4/bootstrap.hh] Error 1<br>
make[2]: Leaving directory `/cygdrive/e/DEVELOPMENT/omniorb/omni/src/lib/omniORB'<br>
make[1]: *** [export] Error 2<br>
make[1]: Leaving directory `/cygdrive/e/DEVELOPMENT/omniorb/omni/src/lib'<br>
make: *** [export] Error 2<br>
-----------------------------------------------------------------------------------------<br>
<br>
Duncan Grisby wrote:<br>
<blockquote type="cite" cite="mid:200202261500.PAA00632@pineapple.uk.research.att.com">
  <pre wrap="">On Tuesday 26 February, Indranil Mukherjee wrote:<br><br></pre>
  <blockquote type="cite">
    <pre wrap="">Can anyone provide me any hints regrading the compilation failure -<br>with follwing options -<br><br>Source version - "omniORB-20020221.tar.gz"<br>platform = x86_nt_4.0<br>#BuildDebugBinary = 1  // Tried with =0 , same error.<br></pre>
    </blockquote>
    <pre wrap=""><!----><br>You certainly shouldn't set BuildDebugBinary to 1. It's broken at the<br>moment.<br><br>[...]<br></pre>
    <blockquote type="cite">
      <pre wrap="">omniidl: Error running preprocessor<br></pre>
      </blockquote>
      <pre wrap=""><!----><br>I don't know why it's failing. It works fine for me, although there<br>were a couple of recently introduced problems later on in the build.<br>I've just fixed them in CVS. The problem might be with using a pipe to<br>the C pre-processor. I've updated the make rules to use the -T option<br>to omniidl on Windows, which might solve your problem.<br><br>Can you try updating to the current CVS version, or tomorrow's<br>snapshot, and see if that helps?  Even if it doesn't, I've added a bit<br>more tracing to the omniidl execution, which might help track down<br>what's going wrong.<br><br>Cheers,<br><br>Duncan.<br><br></pre>
      </blockquote>
      <br>
      </body>
      </html>

--------------060109050400050609070402--