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

Gary D. Duzan gdd0@gte.com
Fri, 15 Jan 1999 15:12:33 -0500


   Just a guess from a quick look at the docs, but try adding the "-ext"
flag to the compiler options. That may allow int64_t to be typedefed
correctly.

					Gary Duzan
					GTE Laboratories



In Message <93E5AA4FDA9FD011A53E00805FA74D430167F029@OMAEX01.mrg.uswest.com> ,
   "Lai, Johnny" <jlai@uswest.com> wrote:

=>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
=>
=>