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

Yura Smolsky info at altervision.biz
Wed Feb 16 14:00:47 GMT 2005


Hello, Roland.

I think you need to start vcvars32.bat or somehow add path to MSVC++
link program, so link program from MS VC++ will be used.

I had problem that vcvars32.bat did not add PATH and other VC
variables to the environment. And I had to add them manually.

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

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

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

RG> Any ideas what I should try next are appreciated.

RG> Thanks,
RG> Roland

RG> -------------------------
RG> Output during compilation
RG> -------------------------

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

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


RG> _______________________________________________
RG> omniORB-list mailing list
RG> omniORB-list at omniorb-support.com
RG> http://www.omniorb-support.com/mailman/listinfo/omniorb-list




Yura Smolsky.





More information about the omniORB-list mailing list