[omniORB] compile v2.7.1 under Solaris 2.6

Yu, Jeffrey (CICG - GELP DEV) jjyu@exchange.ml.com
Fri, 24 Sep 1999 09:43:45 -0400


I have successfully compiled this version under Solaris 2.6/gcc and
Linux2.0.36/gcc environment.  Now I want to use the native compiler
available to Solaris 2.6, which is the version 4.2 from SUN.

Soon after I issue "make export" in ./src directory, I got following 
errors:

CC -c -O -fpcc-struct-return -DDEBUG -I. -I../../../include -D__sparc__
-D__sunos__ -D__OSVERSION__=5 \
 -o include.o include.c
"include.c", line 39: Error: file is not defined.
"include.c", line 55: Warning: The variable include has not yet been
assigned a value.
..
"include.c", line 67: Error: Too many arguments in call to newinclude().
.....

Before I compile, I did go into ./mk/platforms/sun4_sosV_5.6.mk to replace
gcc with CC.  Do I have to have
gcc around in Sun5.6?  Please help!

--Jeffrey