[omniORB] Newbie: Compiling problems omniORB-4.0.5 using Cygwin, WinXP, MS VC7.0

Roland Goecke roland.goecke at anu.edu.au
Wed Feb 16 15:00:16 GMT 2005


On the danger of making a fool of myself, I still don't seem to be able 
to compile omniORB properly.

As Duncan suggested, I downloaded the latest omniORB tar ball, 
omniORB-4.0-latest.tar.gz, removed all previous copies on my hard drive 
and then set out to install it. This the compilation process stops at 
the linking of omnicpp.exe. Please see below for the output and error 
messages during this attempt.

I also tried what Yura had suggested but it didn't seem to make any 
difference, at least not to the current problem.

Any ideas what I should try next are appreciated.

Thanks,
Roland

-------------------------
Output during compilation
-------------------------

$ make export
making export in src/tool...
make[1]: Entering directory `/cygdrive/c/omniORB-4.0.5/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory `/cygdrive/c/omniORB-4.0.5/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
make[3]: Entering directory `/cygdrive/c/omniORB-4.0.5/src/tool/omniidl/cxx'
../../../../bin/x86_win32/omkdepend -D__cplusplus -D_MSC_VER 
-DIDLMODULE_VERSION="0x2420" -DMSDOS -DOMNIIDL_EXECUTABLE 
-Ic:/python24/include -Ic:/python24/PC -I
c:/python24/include/python2.4 -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
c:\omniORB-4.0.5\bin\x86_win32\omkdepend.exe: warning:  idlpython.cc, 
line 172: unknown directive == "#warning "Please use an up-to-date 
version of gcc! (>2.91 recommended)""
c:\omniORB-4.0.5\bin\x86_win32\omkdepend.exe: warning:  (from 
idlpython.cc) c:\python24\include\Python.h: 21: #error "Something's 
broken.  UCHAR_MAX should be defined in limits.h."
c:\omniORB-4.0.5\bin\x86_win32\omkdepend.exe: warning:  (from 
idlpython.cc) c:\python24\include\Python.h: 25: #error "Python's source 
code assumes C's unsigned char is an 8-bit type."
c:\omniORB-4.0.5\bin\x86_win32\omkdepend.exe: warning:  (from 
idlpython.cc) c:\python24\include\Python.h: 34: #   error "Python.h 
requires that stdio.h define NULL."
c:\omniORB-4.0.5\bin\x86_win32\omkdepend.exe: warning:  (from 
idlpython.cc) idlpython.cc: 367: #    error "omniidl requires Python 
1.5.2 or higher"
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory 
`/cygdrive/c/omniORB-4.0.5/src/tool/omniidl/cxx/cccp' 
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zd 
-nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ 
-D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -Focexp.o cexp.c
cl -c -O2 -MD -GS -GR -Zd -nologo -DHAVE_CONFIG_H -I. -I. -I. 
-I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ 
-D__NT__ -D__OSVERSION__=4 -Focexp.o cexp.c
cexp.c
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zd 
-nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ 
-D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -Focccp.o cccp.c
cl -c -O2 -MD -GS -GR -Zd -nologo -DHAVE_CONFIG_H -I. -I. -I. 
-I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ 
-D__NT__ -D__OSVERSION__=4 -Focccp.o cccp.c
cccp.c
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zd 
-nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ 
-D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -Foconfig.o 
config.c
cl -c -O2 -MD -GS -GR -Zd -nologo -DHAVE_CONFIG_H -I. -I. -I. 
-I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ 
-D__NT__ -D__OSVERSION__=4 -Foconfig.o config.c
config.c
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zd 
-nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ 
-D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -Foalloca.o 
alloca.c
cl -c -O2 -MD -GS -GR -Zd -nologo -DHAVE_CONFIG_H -I. -I. -I. 
-I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ 
-D__NT__ -D__OSVERSION__=4 -Foalloca.o alloca.c
alloca.c
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GS -GR -Zd 
-nologo -DHAVE_CONFIG_H -I. -I. -I. -I../../../../../include -D__WIN32__ 
-D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -Foindex.o 
index.c
cl -c -O2 -MD -GS -GR -Zd -nologo -DHAVE_CONFIG_H -I. -I. -I. 
-I..\..\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ 
-D__NT__ -D__OSVERSION__=4 -Foindex.o index.c
index.c
+ rm -f omnicpp.exe
+ ../../../../../bin/x86_win32/linkwrapper -gnuwin32 -out:omnicpp.exe 
-nologo -DEBUG -PDB:omnicpp.exe.pdb 
-libpath:../../../../../lib/x86_win32 cexp.o cccp.o config.o alloca.o 
index.o
link -out:omnicpp.exe -nologo -DEBUG -PDB:omnicpp.exe.pdb 
-libpath:..\..\..\..\..\lib\x86_win32 cexp.o cccp.o config.o alloca.o 
index.o
link: too many arguments
Try `link --help' for more information.
make[4]: *** [omnicpp.exe] Error 1
make[4]: Leaving directory 
`/cygdrive/c/omniORB-4.0.5/src/tool/omniidl/cxx/cccp'

make[3]: *** [export] Error 2
make[3]: Leaving directory `/cygdrive/c/omniORB-4.0.5/src/tool/omniidl/cxx'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/cygdrive/c/omniORB-4.0.5/src/tool/omniidl'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/omniORB-4.0.5/src/tool'
make: *** [export] Error 2




More information about the omniORB-list mailing list