[omniORB] [omniORB]Does omni works under Solaris/Sparc 8

Mohan rmohan@ice-com.com
Thu Aug 1 07:51:03 2002


Hi,
 I have successfully build and installed omni under Solaris/Intel 7. But not
able to build under Solaris/Sparc 8. The following are the compiler &
interpretor information that I am using under Solaris/Sparc 8
gcc 3.1
python 2.1

when I am type make export, I see in the command window
make[3]: Entering directory `/home/ram/devlop/omni/src/tool/omniidl/cxx'
../../../../bin/sun4_sosV_5.7/omkdepend -D__cplusplus -D__GNUG__ -D__GNUC__ 
-DIDLMODULE_VERSION="0x2301" -I/usr/local/include -DPYTHON_INCLUDE=<python2.
1/Python.h> -I. -I../../../../include -D__sparc__ -D__sunos__ -D__OSVERSION_
_=5 idlc.cc idlpython.cc idlconfig.cc idldump.cc idlvalidate.cc idlast.cc
idlexpr.cc idlscope.cc idlrepoId.cc idltype.cc idlutil.cc idlerr.cc
lex.yy.cc y.tab.cc
../../../../bin/sun4_sosV_5.7/omkdepend: warning:  (from idlpython.cc)
/usr/local/include/python2.1/Python.h: 44: #   error "Python.h requires that
stdio.h define NULL."
../../../../bin/sun4_sosV_5.7/omkdepend: warning:  (from idlpython.cc)
/usr/local/include/python2.1/pyport.h: 422: #error "LONG_BIT definition
appears wrong for platform (bad gcc/glibc config?)."
../../../../bin/sun4_sosV_5.7/omkdepend: warning:  (from idlpython.cc)
idlpython.cc: 308: #    error "omniidl requires Python 1.5.2 or higher"
R ../../../../lib/sun4_sosV_5.7 -shared -o
_omniidlmodule.so.0.1 -Wl-soname,_omniidlmodule.so.0 -L../../../../lib/sun4_
sosV_5.7 y.tab.o lex.yy.o idlerr.o idlutil.o idltype.o idlrepoId.o
idlscope.o idlexpr.o idlast.o idlvalidate.o idldump.o idlconfig.o
idlpython.o
../../../../lib/sun4_sosV_5.7: could not read symbols: File format not
recognized
collect2: ld returned 1 exit status
make[3]: *** [_omniidlmodule.so.0.1] Error 1
make[3]: Leaving directory `/home/ram/devlop/omni/src/tool/omniidl/cxx'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/home/ram/devlop/omni/src/tool/omniidl'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/home/ram/devlop/omni/src/tool'
make: *** [export] Error 2
$ warning:  (from idlpython.cc) /usr/local/include/python2.1/Python.h: 44: #
error "Python.h requires that stdio.h define NULL."
syntax error: `warning:' unexpected
$ $ ../../../../bin/sun4_sosV_5.7/omkdepend: warning:  (from idlpython.cc)
/usr/local/include/python2.1/pyport.h: 422: #error "LONG_BIT definition
appears wrong for platform (bad gcc/glibc config?)."
syntax error: `(' unexpected
$ syntax error: `(' unexpected
$

When I entered to /omni/lib, I found sun4_sosV_5.7 as file where it should
be a directory.
Looks like something is going wrong. Can someone explain me why it is not
working?
I am doing this on a remote computer where I have user logon.

Thanks,

Ram