<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.82">
<TITLE>omniORB-4.0.3 omniNames compilation error</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=2 FACE="Arial">The system is an HP 9000 J 5000 running HP-UX 11i1. Compiling omniORB-4.0.3 from sources with aCC A3.50, I get the following error:</FONT></P>
<P><FONT SIZE=2 FACE="Courier">/opt/aCC/bin/aCC -c -O -AA -w +inst_v +DAportable +abi_3_33_compat -mt -I. -D__OMNIORB4__ -I../../../stub -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -DDEFAULT_LOGDIR='"/var/opt/omni4"' -I. -I. -I../../../include -I../../../include -D__OSVERSION__=11 -D__hpux__ -D__hppa__ -o log.o log.cc</FONT></P>
<P><FONT SIZE=2 FACE="Courier">Error 187: "log.cc", line 381 # Referenced object 'attach' is not a member of</FONT>
<BR><FONT SIZE=2 FACE="Courier"> class basic_ofstream<char,std::char_traits<char> ></FONT>
<BR><FONT SIZE=2 FACE="Courier"> ["/opt/aCC/include_std/fstream", line 373].</FONT>
<BR><FONT SIZE=2 FACE="Courier"> logf.attach(fd);</FONT>
<BR><FONT SIZE=2 FACE="Courier"> ^^^^^^</FONT>
<BR><FONT SIZE=2 FACE="Courier">Error 187: "log.cc", line 533 # Referenced object 'attach' is not a member of</FONT>
<BR><FONT SIZE=2 FACE="Courier"> class basic_ofstream<char,std::char_traits<char> ></FONT>
<BR><FONT SIZE=2 FACE="Courier"> ["/opt/aCC/include_std/fstream", line 373].</FONT>
<BR><FONT SIZE=2 FACE="Courier"> logf.attach(fd);</FONT>
<BR><FONT SIZE=2 FACE="Courier"> ^^^^^^</FONT>
<BR><FONT SIZE=2 FACE="Courier">Error 187: "log.cc", line 657 # Referenced object 'attach' is not a member of</FONT>
<BR><FONT SIZE=2 FACE="Courier"> class basic_ofstream<char,std::char_traits<char> ></FONT>
<BR><FONT SIZE=2 FACE="Courier"> ["/opt/aCC/include_std/fstream", line 373].</FONT>
<BR><FONT SIZE=2 FACE="Courier"> ckpf.attach(fd);</FONT>
<BR><FONT SIZE=2 FACE="Courier"> ^^^^^^</FONT>
<BR><FONT SIZE=2 FACE="Courier">Error 187: "log.cc", line 778 # Referenced object 'attach' is not a member of</FONT>
<BR><FONT SIZE=2 FACE="Courier"> class basic_ofstream<char,std::char_traits<char> ></FONT>
<BR><FONT SIZE=2 FACE="Courier"> ["/opt/aCC/include_std/fstream", line 373].</FONT>
<BR><FONT SIZE=2 FACE="Courier"> logf.attach(fd);</FONT>
<BR><FONT SIZE=2 FACE="Courier"> ^^^^^^</FONT>
<BR><FONT SIZE=2 FACE="Courier">gmake[3]: *** [log.o] Error 2</FONT>
<BR><FONT SIZE=2 FACE="Courier">gmake[3]: Leaving directory `/devdata/public/tools/omniORB-4.0.3/src/appl/omniNames'</FONT>
<BR><FONT SIZE=2 FACE="Courier">gmake[2]: *** [export] Error 1</FONT>
<BR><FONT SIZE=2 FACE="Courier">gmake[2]: Leaving directory `/devdata/public/tools/omniORB-4.0.3/src/appl'</FONT>
<BR><FONT SIZE=2 FACE="Courier">gmake[1]: *** [export] Error 1</FONT>
<BR><FONT SIZE=2 FACE="Courier">gmake[1]: Leaving directory `/devdata/public/tools/omniORB-4.0.3/src'</FONT>
<BR><FONT SIZE=2 FACE="Courier">gmake: *** [all] Error 1</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I think I need the -AA flag to link with my own -AA code.</FONT>
<BR><FONT SIZE=2 FACE="Arial">Any ideas what is wrong?</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">Petri Tötterman</FONT>
<BR><FONT SIZE=2 FACE="Courier">Helsinki, Finland</FONT>
</P>
<BR>
</BODY>
</HTML>