[omniORB] omniORBpy compile error [20020201 snapshot[

Nick Murtagh murtaghn@tcd.ie
Sat, 2 Feb 2002 00:51:48 +0000


Hi,

I get an error when compiling omniORBpy from omniORBpy-20020201.tar.gz.
It seems pyContext.cc can't find TRANSIENT_PythonExceptionInORB, which
is mentioned in <omniORB4/minorCode.h>.  Any ideas?

Thanks,
Nick

/usr/bin/g++ -c -O2  -Wall -Wno-unused -fpic -DOMNI_CONFIG_TRADITIONAL 
-DOMNIPY_MAJOR=2 -DOMNIPY_MINOR=0 -DOMNIORB_VERSION_STRING=\"4.0.0\" 
-I../../../../src/lib/omniORB/include -I/usr/include 
-DPYTHON_INCLUDE="<python2.1/Python.h>" 
-DPYTHON_THREAD_INC="<python2.1/pythread.h>" -D__OMNIORB4__ 
-I../../../../stub -D_REENTRANT -I. -I. -I../../../../include -D__x86__ 
-D__linux__ -D__OSVERSION__=2 -o pyContext.o pyContext.cc
pyContext.cc: In function `void omniPy::marshalContext (cdrStream &,
PyObject *, PyObject *)':
pyContext.cc:112: `TRANSIENT_PythonExceptionInORB' undeclared (first
use this function)
pyContext.cc:112: (Each undeclared identifier is reported only once for
each function it appears in.)
make: *** [pyContext.o] Error 1