[omniORB] Compiling omniORB with Python 2.0

Harri Pasanen harri.pasanen@trema.com
Fri, 05 Jan 2001 15:38:42 +0100


Those are just omkdepend warnings, you can ignore those.

-Harri

vonWedel@lfpt.rwth-aachen.de wrote:
> 
> Hello,
> 
> we have upgraded from Python 1.5.2 to Python 2.0 and now I want to
> upgrade omniORB as well.
> I checked out the sources from the development branches for omniORB
> and omniORBpy this morning.
> Compiling starts with the following warnings which look somewhat
> strange to me:
> 
> ../../../../bin/sun4_sosV_5.7/omkdepend -D__SUNPRO_CC -D__cplusplus
> -DOMNIPY_MAJOR=0 -DOMNIPY_MINOR=5 -DOMNIORB_VERSION_STRING="3.0.2"
> -DOMNIORBPY_FOR_30 -I../../../../src/lib/omniORB2
> -I../../../../src/lib/omniORB2/orbcore -I/usr/local/include
> -DPYTHON_INCLUDE=<python2.0/Python.h>
> -DPYTHON_THREAD_INC=<python2.0/pythread.h> -I. -I../../../../include
> -D__sparc__ -D__sunos__ -D__OSVERSION__=5 common/pyomniFunc.cc
> common/pyThreadCache.cc common/pyTypeCode.cc common/pyMarshal.cc
> common/pyExceptions.cc omni30/pyServant.cc omni30/pyCallDescriptor.cc
> omni30/pyObjectRef.cc omni30/pyPOAManagerFunc.cc omni30/pyPOAFunc.cc
> omni30/pyORBFunc.cc omni30/omnipy.cc
> ../../../../bin/sun4_sosV_5.7/omkdepend: warning:  (from
> common/pyomniFunc.cc) /usr/local/include/python2.0/Python.h: 44: #
> error "Python.h requires that stdio.h define NULL."
> ../../../../bin/sun4_sosV_5.7/omkdepend: warning:  (from
> common/pyomniFunc.cc) /usr/local/include/python2.0/pyport.h: 390:
> #error "LONG_BIT definition appears wrong for platform (bad gcc
> config?)."
> ../../../../bin/sun4_sosV_5.7/omkdepend: warning:  (from
> common/pyMarshal.cc) common/pyMarshal.cc: 255: #    error "omniidl
> requires Python 1.5.2 or higher"
> making export in src/lib/omniORBpy/modules/omni30...
> 
> Are these actually omniORB problems? They look like a Python-related
> problem, to some extent...
> Anyone seen this before?
> 
> Lars