[omniORB] Trouble building OmniOrb 4.1.4 on Linux
Igor Polonsky
polonsig at yahoo.com
Mon Apr 26 20:19:12 BST 2010
Hi All,
I'm a Windows developer with some old Solaris experience, but no Linux experience, so I am sorry in advance for any stupid questions.
I need to port a piece of software from Windows to Linux. It uses CORBA, but I can't use the same ORB vendor as we have on Windows. So I've decided to give OmniORB a try.
I have downloaded omniORB-4.1.4 for Linux. Following the instructions in README.unix, I've created a separate build directory and run the config command in it, as follows:
~/temp/omni/build> ../omniORB-4.1.4/configure --prefix=/Net/devuser/igor/temp/omni/install
It has detected the gcc/g++ compiler; there were no errors; and there were only a couple of benign-looking warnings:
config.status: WARNING: '../omniORB-4.1.4/mk/beforeauto.mk.in' seems to ignore the --datarootdir setting
config.status: WARNING: '../omniORB-4.1.4/contrib/pkgconfig/omniORB4.pc.in' seems to ignore the --datarootdir setting
config.status: WARNING: '../omniORB-4.1.4/contrib/pkgconfig/omniCOS4.pc.in' seems to ignore the --datarootdir setting
Then I tried to execute the "make" command with no arguments, following the example in README.unix. Unfortunately, it failed to compile. I get lots of warnings and errors, some of which are included below.
I would appreciate any pointers from experts. What additional steps should I make to diagnose and solve the problem?
Thanks,
Igor
gcc -c -O -DHAVE_CONFIG_H -I. -I. -I../../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/cccp -I../../../../../include -I../../../../../../omniORB-4.1.4/include -D__OSVERSION__=2 -D__linux__ -D__x86__ -o cexp.o ../../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/cccp/cexp.c
cexp.y: In function 'right_shift':
cexp.y:1035: warning: right shift count is negative
gcc -c -O -DHAVE_CONFIG_H -I. -I. -I../../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/cccp -I../../../../../include -I../../../../../../omniORB-4.1.4/include -D__OSVERSION__=2 -D__linux__ -D__x86__ -o cccp.o ../../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/cccp/cccp.c
../../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/cccp/cccp.c: In function 'main':
../../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/cccp/cccp.c:1377: warning: incompatible implicit declaration of built-in function 'bzero'
../../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/cccp/cccp.c:1448: warning: incompatible implicit declaration of built-in function 'strlen'
etc
g++ -c -O2 -Wall -Wno-unused -fexceptions -DIDLMODULE_VERSION="\"0x2630\"" -I/usr/include -DPYTHON_INCLUDE="<python2.2/Python.h>" -fPIC -I. -I../../../../../omniORB-4.1.4/src/tool/omniidl/cxx -I../../../../include -I../../../../../omniORB-4.1.4/include -D__OSVERSION__=2 -D__linux__ -D__x86__ -o y.tab.o ../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/y.tab.cc
In file included from ../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idlutil.h:62,
from ../../../../../src/tool/omniidl/cxx/idl.yy:102:
../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idlsysdep.h:113:3: error: #error "Can't map Long (32 bits) to a native type."
../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idlutil.h:67: error: 'IDL_ULong' does not name a type
../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idlutil.h:73: error: 'IDL_Double' does not name a type
../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idlutil.h:92: error: 'IdlIntLiteral' does not name a type
../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idlutil.h:93: error: 'IdlFloatLiteral' does not name a type
../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idltype.h:194: error: expected `)' before 'bound'
../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idltype.h:197: error: 'IDL_ULong' does not name a type
../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idltype.h:205: error: 'IDL_ULong' does not name a type
../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idltype.h: In member function 'virtual IDL_Boolean StringType::shouldDelete()':
../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idltype.h:198: error: 'bound_' was not declared in this scope
etc
More information about the omniORB-list
mailing list