[omniORB] Problem compiling 2.6.1 on HP-UX with aCC

Lai, Johnny jlai@uswest.com
Fri, 15 Jan 1999 12:40:07 -0700


I am having problem compiling 2.6.1 on HP-UX. When compiling posix.cc in the
src/lib/omnithread directory, aCC gave these errors:

aCC -c -g -I /opt/aCC/include -I /opt/HP-RT/usr/include +inst_v +DAportable
-D_CMA_NOWRAPPERS_
-D_REENTRANT -DPthreadDraftVersion=4 -I.  -I../../../include -D__hppa__
-D__hpux__ -D__OSVERSION
__=10 -ldir posix.cc -o posix.o
Error (future) 600: "/usr/include/stdio.h", line 79 # Type specifier is
omitted; "int" is no
    longer assumed.
           typedef int64_t fpos64_t; /* 32bit position inside a file */
           ^^^^^^^
Error 20: "/usr/include/stdio.h", line 79 # ',' expected before 'fpos64_t'.
           typedef int64_t fpos64_t; /* 32bit position inside a file */
                           ^^^^^^^^
....
....

The compile went fine until it got to the omnithread directory. Could this
be an incompatibility between our pthread and aCC? Our pthread came with
HP-RT developer's kit. Has anybody experienced similar problems? 

My system:
HP-UX			B.10.20 A 9000/829
HP aC++ Compiler S800	B3913DB A.01.07.01  
HP-RT Developer's Kit	B5487AA_APZ   A.03.01
libcma.1:			HP DCE/9000 1.5 Module: libcma.sl (Export)
Date: Apr 29 1996 22:11:24

Thanks
Johnny