[omniORB] omniORB-4.0.3 omniNames compilation error

Tötterman Petri Petri.Totterman at novogroup.com
Fri Mar 5 14:55:57 GMT 2004


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:

/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
Error 187: "log.cc", line 381 # Referenced object 'attach' is not a member
of
    class basic_ofstream<char,std::char_traits<char> >
    ["/opt/aCC/include_std/fstream", line 373].
          logf.attach(fd);
               ^^^^^^
Error 187: "log.cc", line 533 # Referenced object 'attach' is not a member
of
    class basic_ofstream<char,std::char_traits<char> >
    ["/opt/aCC/include_std/fstream", line 373].
      logf.attach(fd);
           ^^^^^^
Error 187: "log.cc", line 657 # Referenced object 'attach' is not a member
of
    class basic_ofstream<char,std::char_traits<char> >
    ["/opt/aCC/include_std/fstream", line 373].
        ckpf.attach(fd);
             ^^^^^^
Error 187: "log.cc", line 778 # Referenced object 'attach' is not a member
of
    class basic_ofstream<char,std::char_traits<char> >
    ["/opt/aCC/include_std/fstream", line 373].
      logf.attach(fd);
           ^^^^^^
gmake[3]: *** [log.o] Error 2
gmake[3]: Leaving directory
`/devdata/public/tools/omniORB-4.0.3/src/appl/omniNames'
gmake[2]: *** [export] Error 1
gmake[2]: Leaving directory `/devdata/public/tools/omniORB-4.0.3/src/appl'
gmake[1]: *** [export] Error 1
gmake[1]: Leaving directory `/devdata/public/tools/omniORB-4.0.3/src'
gmake: *** [all] Error 1

I think I need the -AA flag to link with my own -AA code.
Any ideas what is wrong?

Petri Tötterman
Helsinki, Finland


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20040305/b32dda32/attachment.htm


More information about the omniORB-list mailing list