[omniORB] OmniOrb 4.1.6 build problem on Win7: RelocateImage failed

Till Hoffmann till_hm at gmx.de
Fri Sep 28 00:24:10 BST 2012


I am using Visual Studio 2010 to build OmniOrb on a Windows 7 (32bit) machine. Visual Studio 2012 is also installed.

The build process exits with the error message

make[2]: Leaving directory `/cygdrive/c/omniORB/src/lib/omniORB'
(cd ../../bin/x86_win32; rebase.exe -b 0x68000000 -d *_rt.dll; )
REBASE: *** RelocateImage failed (*_rt.dll).  Image may be corrupted

REBASE: Total Size of mapping 0x0000000000000000
REBASE: Range 0x0000000068000000 -0x0000000068000000
make[1]: *** [export] Error 99
make[1]: Leaving directory `/cygdrive/c/omniORB/src/lib'
make: *** [export] Error 2

I would be very helpful for any pointers how to fix this problem. Thank you in advance!

Till

p.s. The full log is attached.
-------------- next part --------------
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>cd C:\omniORB\src

C:\omniORB\src>"C:\Program Files\Microsoft Visual Studio 10.0\vc\bin\vcvars32.ba
t"
Setting environment for using Microsoft Visual Studio 2010 x86 tools.

C:\omniORB\src>make export
making export in src/tool...
make[1]: Entering directory `/cygdrive/c/omniORB/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory `/cygdrive/c/omniORB/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
make[3]: Entering directory `/cygdrive/c/omniORB/src/tool/omniidl/cxx'
../../../../bin/x86_win32/omkdepend -D__cplusplus -D_MSC_VER -DIDLMODULE_VERSION
="0x2630" -DMSDOS -DOMNIIDL_EXECUTABLE -Ic:/python27/include -Ic:/python27/PC -I
c:/python27/include/python2.7 -DPYTHON_INCLUDE=<Python.h> -I. -I. -I../../../../
include -D__WIN32__ -D_WIN32_WINNT=0x0501 -D__x86__ -D__NT__ -D__OSVERSION__=4 -
D_CRT_SECURE_NO_DEPRECATE=1 idlc.cc idlpython.cc idlfixed.cc idlconfig.cc idldum
p.cc idlvalidate.cc idlast.cc idlexpr.cc idlscope.cc idlrepoId.cc idltype.cc idl
util.cc idlerr.cc lex.yy.cc y.tab.cc
../../../../bin/x86_win32/omkdepend: warning:  idlpython.cc, line 269: unknown d
irective == "#warning "Please use an up-to-date version of gcc! (>2.91 recommend
ed)""
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory `/cygdrive/c/omniORB/src/tool/omniidl/cxx/cccp'
(dir="../../../../../bin/x86_win32"; files="omnicpp.exe"; for file in $files; do
 if [ ! -d $dir ]; then (umask 002; set -x; mkdir -p $dir); fi; dirs='. .'; case
 "$file" in /*) fullfile="$file";; *) fullfile=""; for _dir in $dirs; do if [ -f
 $_dir/$file ]; then if [ "$_dir" = "." ]; then fullfile="$file"; else fullfile=
"$_dir/$file"; fi; break; fi; done; if [ ! "$fullfile" ]; then echo "ERROR: Cann
ot find $file in $dirs"; exit 1; fi;; esac; base=`basename $file`; if [ -f $dir/
$base ] && cmp $fullfile $dir/$base >/dev/null; then echo "File $base hasn't cha
nged."; else (set -x; install -c  $fullfile $dir); fi; done; )
File omnicpp.exe hasn't changed.
make[4]: Leaving directory `/cygdrive/c/omniORB/src/tool/omniidl/cxx/cccp'
File omniidl.exe hasn't changed.
make[3]: Leaving directory `/cygdrive/c/omniORB/src/tool/omniidl/cxx'
making export in src/tool/omniidl/python...
make[3]: Entering directory `/cygdrive/c/omniORB/src/tool/omniidl/python'
making export in src/tool/omniidl/python/omniidl...
make[4]: Entering directory `/cygdrive/c/omniORB/src/tool/omniidl/python/omniidl
'
File __init__.py hasn't changed.
File main.py hasn't changed.
File idlast.py hasn't changed.
File idltype.py hasn't changed.
File idlutil.py hasn't changed.
File idlvisitor.py hasn't changed.
File idlstring.py hasn't changed.
File output.py hasn't changed.
Listing . ...
make[4]: Leaving directory `/cygdrive/c/omniORB/src/tool/omniidl/python/omniidl'

making export in src/tool/omniidl/python/omniidl_be...
make[4]: Entering directory `/cygdrive/c/omniORB/src/tool/omniidl/python/omniidl
_be'
File __init__.py hasn't changed.
File dump.py hasn't changed.
File example.py hasn't changed.
File interactive.py hasn't changed.
Listing . ...
Listing .\cxx ...
Listing .\cxx\dynskel ...
Listing .\cxx\header ...
Listing .\cxx\impl ...
Listing .\cxx\skel ...
make[4]: Leaving directory `/cygdrive/c/omniORB/src/tool/omniidl/python/omniidl_
be'
making export in src/tool/omniidl/python/scripts...
make[4]: Entering directory `/cygdrive/c/omniORB/src/tool/omniidl/python/scripts
'
make[4]: Nothing to be done for `export'.
make[4]: Leaving directory `/cygdrive/c/omniORB/src/tool/omniidl/python/scripts'

make[3]: Leaving directory `/cygdrive/c/omniORB/src/tool/omniidl/python'
make[2]: Leaving directory `/cygdrive/c/omniORB/src/tool/omniidl'
make[1]: Leaving directory `/cygdrive/c/omniORB/src/tool'
making export in src/lib...
make[1]: Entering directory `/cygdrive/c/omniORB/src/lib'
making export in src/lib/omnithread...
make[2]: Entering directory `/cygdrive/c/omniORB/src/lib/omnithread'
+ rm -f static/omnithread.lib
+ ../../../bin/x86_win32/libwrapper -gnuwin32 static/omnithread.lib static/nt.o
lib /OUT:static\omnithread.lib static\nt.o
Microsoft (R) Library Manager Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

+ install -c static/omnithread.lib ../../../lib/x86_win32
File omnithread.pdb hasn't changed.
File omnithread34_rt.lib hasn't changed.
File omnithread_rt.lib hasn't changed.
ERROR: Cannot find shared/omnithread34_vc10_rt.dll in . .
+ rm -f debug/omnithreadd.lib
+ ../../../bin/x86_win32/libwrapper -gnuwin32 debug/omnithreadd.lib debug/nt.o
lib /OUT:debug\omnithreadd.lib debug\nt.o
Microsoft (R) Library Manager Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

+ install -c debug/omnithreadd.lib ../../../lib/x86_win32
File omnithreadd.pdb hasn't changed.
File omnithread34_rtd.lib hasn't changed.
File omnithread_rtd.lib hasn't changed.
ERROR: Cannot find shareddebug/omnithread34_vc10_rtd.dll in . .
make[2]: Leaving directory `/cygdrive/c/omniORB/src/lib/omnithread'
making export in src/lib/omniORB...
make[2]: Entering directory `/cygdrive/c/omniORB/src/lib/omniORB'
File distdate.hh hasn't changed.
File Naming.hh hasn't changed.
File corbaidl_defs.hh hasn't changed.
File corbaidl_operators.hh hasn't changed.
File corbaidl_poa.hh hasn't changed.
File ir_defs.hh hasn't changed.
File ir_operators.hh hasn't changed.
File ir_poa.hh hasn't changed.
File boxes_defs.hh hasn't changed.
File boxes_operators.hh hasn't changed.
File boxes_poa.hh hasn't changed.
File poa_enums_defs.hh hasn't changed.
File poa_enums_operators.hh hasn't changed.
File poa_enums_poa.hh hasn't changed.
File omniTypedefs.hh hasn't changed.
File bootstrap.hh hasn't changed.
File omniConnectionData.hh hasn't changed.
making export in src/lib/omniORB/omniidl_be...
make[3]: Entering directory `/cygdrive/c/omniORB/src/lib/omniORB/omniidl_be'
making export in src/lib/omniORB/omniidl_be/cxx...
make[4]: Entering directory `/cygdrive/c/omniORB/src/lib/omniORB/omniidl_be/cxx'

making export in src/lib/omniORB/omniidl_be/cxx/header...
make[5]: Entering directory `/cygdrive/c/omniORB/src/lib/omniORB/omniidl_be/cxx/
header'
File __init__.py hasn't changed.
File defs.py hasn't changed.
File opers.py hasn't changed.
File poa.py hasn't changed.
File tie.py hasn't changed.
File forward.py hasn't changed.
File marshal.py hasn't changed.
File tcstring.py hasn't changed.
File obv.py hasn't changed.
File template.py hasn't changed.
make[5]: Leaving directory `/cygdrive/c/omniORB/src/lib/omniORB/omniidl_be/cxx/h
eader'
making export in src/lib/omniORB/omniidl_be/cxx/skel...
make[5]: Entering directory `/cygdrive/c/omniORB/src/lib/omniORB/omniidl_be/cxx/
skel'
File __init__.py hasn't changed.
File main.py hasn't changed.
File poa.py hasn't changed.
File mangler.py hasn't changed.
File template.py hasn't changed.
make[5]: Leaving directory `/cygdrive/c/omniORB/src/lib/omniORB/omniidl_be/cxx/s
kel'
making export in src/lib/omniORB/omniidl_be/cxx/dynskel...
make[5]: Entering directory `/cygdrive/c/omniORB/src/lib/omniORB/omniidl_be/cxx/
dynskel'
File __init__.py hasn't changed.
File main.py hasn't changed.
File typecode.py hasn't changed.
File tcstring.py hasn't changed.
File template.py hasn't changed.
make[5]: Leaving directory `/cygdrive/c/omniORB/src/lib/omniORB/omniidl_be/cxx/d
ynskel'
making export in src/lib/omniORB/omniidl_be/cxx/impl...
make[5]: Entering directory `/cygdrive/c/omniORB/src/lib/omniORB/omniidl_be/cxx/
impl'
File __init__.py hasn't changed.
File main.py hasn't changed.
File template.py hasn't changed.
Listing . ...
make[5]: Leaving directory `/cygdrive/c/omniORB/src/lib/omniORB/omniidl_be/cxx/i
mpl'
File __init__.py hasn't changed.
File util.py hasn't changed.
File skutil.py hasn't changed.
File id.py hasn't changed.
File types.py hasn't changed.
File config.py hasn't changed.
File output.py hasn't changed.
File ast.py hasn't changed.
File iface.py hasn't changed.
File call.py hasn't changed.
File cxx.py hasn't changed.
File support.py hasn't changed.
File descriptor.py hasn't changed.
File mapping.py hasn't changed.
File value.py hasn't changed.
Listing cxx ...
Listing cxx\dynskel ...
Listing cxx\header ...
Listing cxx\impl ...
Listing cxx\skel ...
make[4]: Leaving directory `/cygdrive/c/omniORB/src/lib/omniORB/omniidl_be/cxx'
File __init__.py hasn't changed.
make[3]: Leaving directory `/cygdrive/c/omniORB/src/lib/omniORB/omniidl_be'
making export in src/lib/omniORB/orbcore...
make[3]: Entering directory `/cygdrive/c/omniORB/src/lib/omniORB/orbcore'
File omniORB4.lib hasn't changed.
+ install -c static/omniORB4.pdb ../../../../lib/x86_win32
File omniORB416_rt.lib hasn't changed.
File omniORB4_rt.lib hasn't changed.
ERROR: Cannot find shared/omniORB416_vc10_rt.dll in . .
File omniORB4d.lib hasn't changed.
+ install -c debug/omniORB4d.pdb ../../../../lib/x86_win32
File omniORB416_rtd.lib hasn't changed.
File omniORB4_rtd.lib hasn't changed.
ERROR: Cannot find shareddebug/omniORB416_vc10_rtd.dll in . .
File msvcstub.lib hasn't changed.
File msvcstubd.lib hasn't changed.
make[3]: Leaving directory `/cygdrive/c/omniORB/src/lib/omniORB/orbcore'
making export in src/lib/omniORB/dynamic...
make[3]: Entering directory `/cygdrive/c/omniORB/src/lib/omniORB/dynamic'
File omniDynamic4.lib hasn't changed.
File omniDynamic4.pdb hasn't changed.
File omniDynamic416_rt.lib hasn't changed.
File omniDynamic4_rt.lib hasn't changed.
ERROR: Cannot find shared/omniDynamic416_vc10_rt.dll in . .
File omniDynamic4d.lib hasn't changed.
File omniDynamic4d.pdb hasn't changed.
File omniDynamic416_rtd.lib hasn't changed.
File omniDynamic4_rtd.lib hasn't changed.
ERROR: Cannot find shareddebug/omniDynamic416_vc10_rtd.dll in . .
make[3]: Leaving directory `/cygdrive/c/omniORB/src/lib/omniORB/dynamic'
making export in src/lib/omniORB/codesets...
make[3]: Entering directory `/cygdrive/c/omniORB/src/lib/omniORB/codesets'
File omniCodeSets4.lib hasn't changed.
File omniCodeSets4.pdb hasn't changed.
File omniCodeSets416_rt.lib hasn't changed.
File omniCodeSets4_rt.lib hasn't changed.
ERROR: Cannot find shared/omniCodeSets416_vc10_rt.dll in . .
File omniCodeSets4d.lib hasn't changed.
File omniCodeSets4d.pdb hasn't changed.
File omniCodeSets416_rtd.lib hasn't changed.
File omniCodeSets4_rtd.lib hasn't changed.
ERROR: Cannot find shareddebug/omniCodeSets416_vc10_rtd.dll in . .
make[3]: Leaving directory `/cygdrive/c/omniORB/src/lib/omniORB/codesets'
making export in src/lib/omniORB/connections...
make[3]: Entering directory `/cygdrive/c/omniORB/src/lib/omniORB/connections'
File omniConnectionMgmt4.lib hasn't changed.
File omniConnectionMgmt4.pdb hasn't changed.
File omniConnectionMgmt416_rt.lib hasn't changed.
File omniConnectionMgmt4_rt.lib hasn't changed.
ERROR: Cannot find shared/omniConnectionMgmt416_vc10_rt.dll in . .
File omniConnectionMgmt4d.lib hasn't changed.
File omniConnectionMgmt4d.pdb hasn't changed.
File omniConnectionMgmt416_rtd.lib hasn't changed.
File omniConnectionMgmt4_rtd.lib hasn't changed.
ERROR: Cannot find shareddebug/omniConnectionMgmt416_vc10_rtd.dll in . .
make[3]: Leaving directory `/cygdrive/c/omniORB/src/lib/omniORB/connections'
make[2]: Leaving directory `/cygdrive/c/omniORB/src/lib/omniORB'
(cd ../../bin/x86_win32; rebase.exe -b 0x68000000 -d *_rt.dll; )
REBASE: *** RelocateImage failed (*_rt.dll).  Image may be corrupted

REBASE: Total Size of mapping 0x0000000000000000
REBASE: Range 0x0000000068000000 -0x0000000068000000
make[1]: *** [export] Error 99
make[1]: Leaving directory `/cygdrive/c/omniORB/src/lib'
make: *** [export] Error 2

C:\omniORB\src>


More information about the omniORB-list mailing list