[omniORB] Installation error caused by including iostream (maybe)
Kaneiwa Tomohide
kaneiwa at nagoya.ydc.co.jp
Tue Jun 3 22:56:01 BST 2008
Hi.
I've been troubled with error that occured during installation of
omniORB-4.1.2.
The error messages is below.
---------------------------------
../../../bin/omniidl -bcxx -p../../../src/lib/omniORB -Wbdebug -Wba
-p../../../src/lib/omn
iORB -Wbdebug -v -ComniORB4 ../../../idl/Naming.idl
omniidl: ERROR!
omniidl: Could not open IDL compiler module _omniidlmodule.so
---------------------------------
( I attach more detail messages in this mail's last parts.)
I thought _omniidlmodule.so is something wrong , so I tried to changed
object file into 4.1.1's sorce code one by one.
Then I resulted that the error comes from idlast.o, and
solved by removing "#include <iostream>" from idlast.cc, line 166.
I completed instaration without "#include <iostream>" in idlast.cc.
My question is
Why "#include <iostream>" is in idlast.cc ?
Is it necessary?
And Why does using <iostream> in idlast.cc cause installation error ?
My environments is below.
OS: UP-UX B.11.31
Compiler: HP C/aC++ for Integrity Servers B3910B A.06.16
Python: 2.5.1
Any advise is very appreciated.
Thanx.
T.Kaneiwa.
-----------------------------------------------------------
aCC +DD64 -AA -g -D_REENTRANT -D_RWSTD_MULTI_THREAD -D_RW_MULTI_THREAD
-D_THREAD_SAFE -D_POSIX_C_SOURCE=199506L -DHP11 -D_HPUX_SOURCE
-D__HPACC_STRICTER_ANSI__ -D_HP_NAMESPACE_STD
-c +Z -O -w +inst_v -mt -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L
-DPthreadDraftVersion=10
-I. -I. -I../../../include -I../../../include -D__OSVERSION__=11
-D__hpux__ -D__ia64__ -o
shared/posix.o posix.cc
+ rm -f shared/libomnithread.so.3.3
+ aCC +DD64 -AA -g -D_REENTRANT -D_RWSTD_MULTI_THREAD -D_RW_MULTI_THREAD
-D_THREAD_SAFE -D_POSIX_C_SOURCE=199506L -DHP11 -D_HPUX_SOURCE
-D__HPACC_STRICTER_ANSI__ -D_HP_NAMESPACE_STD -b
-Wl,+hlibomnithread.so.3 -Wl,+s -lstd -lCsup -o
shared/libomnithread.so.3.3 -L../../../lib -L../../../lib shared/posix.o
-lpthread -lstream
+ ../../../bin/scripts/install-sh -c -m 0755 static/libomnithread.a
../../../lib
+ ../../../bin/scripts/install-sh -c -m 0755 shared/libomnithread.so.3.3
../../../lib
+ cd ../../../lib
+ rm -f libomnithread.so.3
+ ln -s libomnithread.so.3.3 libomnithread.so.3
+ rm -f libomnithread.so
+ ln -s libomnithread.so.3 libomnithread.so
gmake[3]: Leaving directory
`/home/cat2/kaneiwa/work/omniORB-4.1.2_tmp/src/lib/omnithread'
making export in src/lib/omniORB...
gmake[3]: Entering directory
`/home/cat2/kaneiwa/work/omniORB-4.1.2_tmp/src/lib/omniORB'
+ ../../../bin/scripts/omkdirhier omniORB4
/usr/local/Python-2.5.1/build/bin/python
../../../bin/scripts/distdate.py <../../../update
.log >omniORB4/distdate.hh
../../../bin/omniidl -bcxx -p../../../src/lib/omniORB -Wbdebug -Wba
-p../../../src/lib/omniORB -Wbdebug -v -ComniORB4 ../../../idl/Naming.idl
omniidl: ERROR!
omniidl: Could not open IDL compiler module _omniidlmodule.so
omniidl: Please make sure it is in directory
/home/cat2/kaneiwa/work/omniORB-4.1.2_tmp/lib
omniidl: (or set the PYTHONPATH environment variable)
omniidl: (The error was 'Failed to load
/home/cat2/kaneiwa/work/omniORB-4.1.2_tmp/lib/_omn
iidlmodule.so')
gmake[3]: *** [omniORB4/Naming.hh] Error 1
More information about the omniORB-list
mailing list