[omniORB] omniORBpy compile issue

Vincent Joseph vincent.joseph@usa.net
Mon, 17 Jan 2000 10:35:54 -0500


Hi,

I downloaded the omniORBpy files from CVS and am
trying to compile it on Solaris. I am using the
g++ compiler. However it appears that the make
files require the use of CC . Here is the output:

rm -f _omnipymodule.so.0.2; \
if (CC -V 2>&1 | grep '5\.[0-9]'); \
then CXX_RUNTIME=-lCrun; \
  else CXX_RUNTIME=-lC; \
        fi; \
        g++ -G -o _omnipymodule.so.0.2 -h _omnipymodule.so.0
-L../../../../../lib/sun4_sosV_5.6 \
         -R ../../../../../lib/sun4_sosV_5.6 \
         omnipy.o pyExceptions.o pyObjectRef.o pyMarshal.o pyTypeCode.o
pyProxyCallWrapper.o pyServant.o -lomniORB2 -lomnithread -lpthread
-lposix4  -lsocket -lnsl -ltcpwrapGK \
         $CXX_RUNTIME \
)
+ rm -f _omnipymodule.so.0.2 
+ CC -V 
/bin/sh: CC: not found
+ grep 5\.[0-9] 
CXX_RUNTIME=-lC
+ g++ -G -o _omnipymodule.so.0.2 -h _omnipymodule.so.0
-L../../../../../lib/sun4_sosV_5.6 -R ../../../../../lib/sun4_sosV_5.6
omnipy.o pyExceptions.o pyObjectRef.o pyMarshal.o pyTypeCode.o
pyProxyCallWrapper.o pyServant.o -lomniORB2 -lomnithread -lpthread
-lposix4 -lsocket -lnsl -ltcpwrapGK -lC 
ld: fatal: library -lC: not found
ld: fatal: File processing errors. No output written to
_omnipymodule.so.0.2
collect2: ld returned 1 exit status
make[2]: *** [_omnipymodule.so.0.2] Error 1
make[2]: Leaving directory
`/export/home/usr_addon/CORBA/omniORB_280/src/lib/omniORBpy/modules/omnipy'

Any ideas on how I can get around this without having to change 
compilers? The rest of omni was compiled using g++, so this problem
seems specific to the omniORBpy files.

Thanks,

Vincent
-- 
Water vapor gets together in a cloud. When it 
is big enough to be called a drop, it does.