[omniORB] OmniORBpy build problem
Steffen Ries
steffen.ries@sympatico.ca
Mon Oct 7 23:56:01 2002
Hi,
I was trying to build omniORB-4.0 and omniORBpy 2.0 both on Solaris 7
and Solaris 8, using gcc-2.95.3
I ran into the problem, that "import CORBA" failed with a runtime
error message: "symbol truncate64__CQ25CORBA5FixedUs: referenced
symbol not found"
After digging around I found that /usr/include/unistd.h has:
#define truncate truncate64
which interferes with the definition of method truncate in
CORBA::Fixed
I worked around the problem by putting
#ifdef truncate
#undef truncate
#endif
Is this a known problem?
/steffen
--
steffen.ries@sympatico.ca <> Gravity is a myth -- the Earth sucks!