[omniORB] Tripping over omniORB non-ANSI code using Sun native v5.0 compile r

Sai-Lai Lo S.Lo@uk.research.att.com
10 Jul 1999 10:38:21 +0100


Please try omniORB 2.8.0 prerelease 1. This problem has been corrected.
Please read in the release the file README.SunC++5 on the essential patches
you have to apply to the compiler.


>>>>> Smith, Norman writes:

> I am trying to build omniORB source using native Sun Workshop v5.0 under
> Solaris 2.5 and 2.7 without success. The following error is produced when
> attempting to compile and build omniNames:
 
> -------------------------------------------------------
> CC -c -O2 -fsimple  -I. -D__OMNIORB2__ -I../../../stub -DUsePthread
> -D_REENTRANT -mt -DDEFAULT_LOGDIR='"\"/var/omninames\""' -I.
> -I../../../include -D__sparc__ -D__sunos__ -D__OSVERSION__=5 -o omniNames.o
> omniNames.cc
> "./NamingContext_i.h", line 39: Error: ")" expected instead of "boa".
> "./NamingContext_i.h", line 79: Error: Type name expected instead of "log".
> "./NamingContext_i.h", line 79: Error: No storage class or type for this
> declaration.
> "./NamingContext_i.h", line 79: Error: "," expected instead of "*".
> "./NamingContext_i.h", line 86: Error: Use ";" to terminate declarations.
> "omniNames.cc", line 144: Error: log is not defined.
> "omniNames.cc", line 144: Error: Cannot use char* to initialize int.
> "omniNames.cc", line 171: Error: Variable l is not a structure.
> "omniNames.cc", line 189: Error: Variable l is not a structure.
> 9 Error(s) detected.
> make: *** [omniNames.o] Error 9
> -----------------------------------------------------
 

-- 
Sai-Lai Lo                                   S.Lo@uk.research.att.com
AT&T Laboratories Cambridge           WWW:   http://www.uk.research.att.com 
24a Trumpington Street                Tel:   +44 1223 343000
Cambridge CB2 1QA                     Fax:   +44 1223 313542
ENGLAND