[omniORB] does not compile under x86_win32_mingw

Филя Усков feelus.kov at gmail.com
Tue Sep 17 10:11:56 BST 2013


Hello

I install cigwin-lite
I unzip omnipython in <top>
I change <top>\config\config.mk
<top>\mk\platforms\x86_win32_mingw.mk requires no changes
I patch <top>\include\python1.5\config.h
I compile <top>\src\tool\omkdepend\ (successful)

and in compiling <top>\src\ a have next problem:

".." is not internal or external
command, operable program or batch file
omniidl: Error running preprocessor
make [2]:   ******   lonn iORB4/Naming . hh ]   Error 1
make Ell: ****** [export] Error 2
make: ****** [export] Error 2

full console log are attached to this message

I use mingw, wich provides with QtSDK (I add F:\QtSDK\mingw\bin in path)
(gcc version is 4.4.0)
What am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130917/73295db4/attachment.html>
-------------- next part --------------
making export in src/tool...
make[1]: Entering directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
make[3]: Entering directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool/omniidl/cxx'
../../../../bin/x86_win32/omkdepend -D__cplusplus -D__GNUG__ -D__GNUC__ -DIDLMODULE_VERSION="0x2630" -DMSDOS -DOMNIIDL_EXECUTABLE -Id:/work/corba/mingwomni/orb417/include -Id:/work/corba/mingwomni/orb417/PC -Id:/work/corba/mingwomni/orb417/include/python1.5 -DPYTHON_INCLUDE=<Python.h> -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 idlc.cc idlpython.cc idlfixed.cc idlconfig.cc idldump.cc idlvalidate.cc idlast.cc idlexpr.cc idlscope.cc idlrepoId.cc idltype.cc idlutil.cc idlerr.cc lex.yy.cc y.tab.cc
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool/omniidl/cxx/cccp'
gcc -c -O2 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -ocexp.o cexp.c
gcc -c -O2 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -occcp.o cccp.c
gcc -c -O2 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oconfig.o config.c
gcc -c -O2 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oalloca.o alloca.c
gcc -c -O2 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oindex.o index.c
(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: Cannot 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 changed."; else (set -x; install -c  $fullfile $dir); fi; done; )
make[4]: Leaving directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool/omniidl/cxx/cccp'
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oy.tab.o y.tab.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -olex.yy.o lex.yy.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oidlerr.o idlerr.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oidlutil.o idlutil.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oidltype.o idltype.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oidlrepoId.o idlrepoId.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oidlscope.o idlscope.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oidlexpr.o idlexpr.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oidlast.o idlast.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oidlvalidate.o idlvalidate.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oidldump.o idldump.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oidlconfig.o idlconfig.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oidlfixed.o idlfixed.cc
g++ -c -O2 -mthreads -DIDLMODULE_VERSION="\"0x2630\"" -DMSDOS -DOMNIIDL_EXECUTABLE -I"d:/work/corba/mingwomni/orb417"/include -I"d:/work/corba/mingwomni/orb417"/PC -I"d:/work/corba/mingwomni/orb417"/include/python1.5 -DPYTHON_INCLUDE="<Python.h>" -I. -I. -I../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oidlpython.o idlpython.cc
make[3]: Leaving directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool/omniidl/cxx'
making export in src/tool/omniidl/python...
make[3]: Entering directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool/omniidl/python'
making export in src/tool/omniidl/python/omniidl...
make[4]: Entering directory `/cygdrive/d/work/CORBA/mingwomni/orb417/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/d/work/CORBA/mingwomni/orb417/src/tool/omniidl/python/omniidl'
making export in src/tool/omniidl/python/omniidl_be...
make[4]: Entering directory `/cygdrive/d/work/CORBA/mingwomni/orb417/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 . ...
make[4]: Leaving directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool/omniidl/python/omniidl_be'
making export in src/tool/omniidl/python/scripts...
make[4]: Entering directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool/omniidl/python/scripts'
make[4]: Nothing to be done for `export'.
make[4]: Leaving directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool/omniidl/python/scripts'
make[3]: Leaving directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool/omniidl/python'
make[2]: Leaving directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool/omniidl'
make[1]: Leaving directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/tool'
making export in src/lib...
make[1]: Entering directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/lib'
making export in src/lib/omnithread...
make[2]: Entering directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/lib/omnithread'
../../../bin/x86_win32/omkdepend -D__cplusplus -D__GNUG__ -D__GNUC__ -I. -I. -I../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 nt.cc
g++ -c -O2  -D_WINSTATIC -mthreads  -I. -I. -I../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -ostatic/nt.o nt.cc
g++ -c  -O2 -mthreads  -I. -I. -I../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oshared/nt.o nt.cc
Creating library file: shared/libomnithread34_rt.a
g++ -c -g -mthreads  -D_WINSTATIC  -I. -I. -I../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -odebug/nt.o nt.cc
g++ -c   -g -mthreads  -I. -I. -I../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -oshareddebug/nt.o nt.cc
(namespec="omnithread _ 3 4" debug=1 extralibs=" " nodeffile=1; \
         set $namespec ; if [ $2 = "_" ] ; then set $1 "" $3 $4 ; fi; extrasuffix=${debug:+d}; targetdir=shareddebug; libname=$1$2$3$4_rt${extrasuffix:-}; dllname=$targetdir/$libname.dll; defname=$targetdir/$1$2${extrasuffix:-}.def; version=$3.$4; set -x; rm -f shareddebug/libomnithread34_rtd.a; g++ -shared -mthreads -Wl,-export-all -Wl,--dll -o$dllname -Wl,--out-implib,shareddebug/libomnithread34_rtd.a -Wl,--output-def,$defname -Wl,--enable-runtime-pseudo-reloc $extralinkoption -L../../../lib/x86_win32 shareddebug/nt.o $extralibs;)
Creating library file: shareddebug/libomnithread34_rtd.a
make[2]: Leaving directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/lib/omnithread'
making export in src/lib/omniORB...
make[2]: Entering directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/lib/omniORB'
/cygdrive/d/work/CORBA/mingwomni/orb417/bin/x86_win32/omnipython ../../../bin/scripts/distdate.py <../../../update.log >omniORB4/distdate.hh
../../../bin/x86_win32/omniidl -T -bcxx -Wbh=.hh -Wbs=SK.cc -p../../../src/lib/omniORB -Wbdebug -Wba -p../../../src/lib/omniORB -Wbdebug -v -ComniORB4 ../../../idl/Naming.idl
make[2]: Leaving directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/lib/omniORB'
make[1]: Leaving directory `/cygdrive/d/work/CORBA/mingwomni/orb417/src/lib'
-------------- next part --------------
+ rm ?f omnicpp.exe
+ gcc ?oomnicpp.exe ?mthreads ?Ul,?enable?runtime?pseudo?relo? ?L../.
/Iib/x86_win32 cexp.o cccp.o config.o alloca.o index.?
+ install -? omnicpp.exe ../../../../../bin/x86_win32
/usr/share/bison/bison.simple: In function * int yyparseO' :
/usr/share/bison/bison.simple:799: warning: deprecated conversion from string ??
nstant to * char**'
/usr/share/bison/bison.simple:924: warning: deprecated conversion from string ??
nstant to * char**'
In file included from d:/uork/corba/mingwomni/orb417/include/oroni0RB4/C0RBA_sysd
ep.hilll,
from ./idlsysdep.h:68,
from idlpython.cc:191-
d:/uork/corba/mingwomni/orh417/include/onni0RB4/C0RBfl_sysdep_trad.h:136:1: warni
ng: "HftUE_STRFTI??" redefined
In file included from d:/work/corba/mingwomni/orb417/include/pythonl-5/Python.h:
39,
from idlpython.cc:188:
:/work/corba/mingwomni/orb417/include/pythonl.5/config.h:1058:1: warning: this
is the location of the previous definition
+ rm -f omniidl.exe
+ g++ -oomniidl.exe ?mthreads ?Ml,?enable?runtime?pseudo?relo? ?Ld:/work/corba/
mingwomni/orb417/libs ?Ld-/work/corba/min gwo pini/orb417/lib/x86_win32 ?Ld:/work/c
orba/mingwomni/orb417/PCbuild ?L../../../../Iib/x86_win32 y.tab.o lex.yy.o idler
r.o idlutil.o idltype.o idlrepold.o idlscope.o idlexpr.o idlast.o idlvalidate.o
idldump.o idlconfig.o idlfixed.o idlpython.? ?lpythonl5
+ install ?? omniidl.exe ../../../../bin/x86_win32
+ rm -f static/libomnithread.a
+ ar cq static/libomnithread.a static/nt.o
+ rm -f sbared/libomn ithread34_rt. a
+ g++ ?shared ?mthreads ?Ml,?export?all ?Ml,?dll ?oshared/omnithread34_rt.dll -
Ml,?out-implib,shared/libomnithread34_rt.a ?Ml,?output-def,shared/omnithread.d
ef -Ml,?enable?runtime?pseudo?relo? ?L../../../Iib/x86_win32 shared/nt.o
+ install ?? static/libomnithread.a ../../../Iib/x86_win32
+ install ?? shared/libomnithread34_rt.a ../../../Iib/x86_win32
+ install ?? shared/omnithread34_rt.dll ../../../bin/x86_win32
+ rm -f debug/libomnithreadd.a
+ ar cq debug/libomnithreadd.a debug/nt.o
+ rm -f shareddebug/libomnithread34_rtd.a
+ g++ ?shared ?mthreads ?Ml,?export?all ?Ml,?dll ?oshareddebug/omnithread34_rtd
.dll ?Ml,?out?implib,shareddebug/libomnithread34_rtd.a ?Ml,?output?def,sharedd
ebug/omnithreadd.def ?Ml,?enable?runtime?pseudo?relo? ?L../../../Iib/x86_win32
shareddebug/nt.?
+ install ?? debug/libomnithreadd.a ../../../Iib/x86_win32
+ install ?? sbai'eddebug/libomnithread34_rtd.a ../../../Iib/x86_win32
+ install ?? shareddebug/omnithread34_rtd.dll ../../../bin/x86_win32
omniidl: Importing back?end 'cxx'
?nn iidl:   'cxx'    imported  from   '../../../src/lib/omn iORB\omn iidl_be\cxx\._.in it._..p
omniidl:  Preprocessing '../../../idl/Naming.idl' with '../../../bin/x86_win32Som
nicpp -lang-c++ -undef -D_OMNIIDL_=0x263Q -D_OMNIIDL_CXX_      "../../../idl/Nami
ng.idl"'
omniidl: cpp output to temporary file 'omniidl?tmp3264.idl'
".." is not internal or external
command, operable program or batch file
omniidl: Error running preprocessor
make [2]:   ******   lonn iORB4/Naming . hh ]   Error 1
make Ell: ****** [export] Error 2
make: ****** [export] Error 2


More information about the omniORB-list mailing list