Please report new issues athttps://github.com/DOCGroup
When compiling TAO I get the following error in $ACE_ROOT/TAO/tao. CC -mt -g -library=iostream,no%Cstd -instances=explicit -noex -DACE_NO_INLINE -I/home/svranyes/ACE3/ACE_wrappers -DTAO_HAS_AMI=0 -DTAO_HAS_AMI_POLLER=0 -DTAO_HAS_AMI_CALLBACK=0 -DTAO_HAS_RT_CORBA=1 -DTAO_HAS_CORBA_MESSAGING=1 -I/home/svranyes/ACE3/ACE_wrappers/TAO -c -PIC -o .shobj/PolicyS.o PolicyS.cpp "ORB.cpp", line 1409: Error: Could not find a match for CORBA::ORB_init(int, char**, const char*, CORBA_Environment). "ORB.cpp", line 1417: Error: CORBA::ORB_init(int&, char**, const char*, CORBA_Environment&) already had a body defined. I looked in ORB.h and ORB_init is not defined there. There is something in corbafwd.h for ORB_init but when looking at what the preprocessor produces it substitutes in "extern ORB_ptr ORB_init" which is not what the compiler needs. I have tried this with two versions of ACE and they both fail in the same manner. $ACE_ROOT/ACE_wrappers/TAO/VERSION contains the line: This is TAO version 1.1, released Wed Mar 15 17:32:51 2000.
We compile on Solaris 7 with Sun C++ 5.0 several times a day. TAO 1.1 definitely compiled with this compiler/platform combination, too. Are you using a vanilla TAO 1.1 release? What compiler patch level are you using? Sun C++ 5.0 is really flaky. Successful compilation of TAO is very sensitive to the compiler patch level you have installed.
I'm not quite sure why this was assigned to me.
It wasn't assigned to you. :-) It's still assigned to tao-support.
We tried locally and TAO builds without problems. Furthermore the error messages reported by the compiler are bogus. In short, it looks like a compiler bug, that only manifests itself in certain compiler revisions.