Re: [orbitcpp-list] Compile Error
Status: Beta
Brought to you by:
philipd
|
From: Phil D. <ph...@us...> - 2000-04-17 19:12:26
|
Mark Gunn wrote: > > All, > > I downloaded the new Orbitcpp release, but I am unable > to compile it. I suspect that I didn't install the > patched Orbit correctly. Do I need to uninstall/remove > the previous version of Orbit? If so, how do I go > about doing this? > > I'm assuming that Orbitcpp looks uses certain files > from Orbit. How do I ensure that it is looking in the > right place? > > The error I get is: > > In file included from orbitcpp_poa.cc:30: > ../orb/orbitcpp_poa.hh:49: template-id `operator > new<>' for > `::_orbitcpp::::_orbitcpp::SequenceTmpl<unsigned > char,::_orbitcpp::c::PortableServer_sequence_octet>::operator > new<>(ULong)' does not match any template declaration > ../orb/orbitcpp_poa.hh:49: confused by earlier errors, > bailing out > make: *** [orbitcpp_poa.lo] Error 1 > > Thanks, > Mark > Aha! - this looks like the 'operator new doesn't work with templates with gcc version < 2.95.2' compiler bug. I'm afraid the fix is to upgrade to gcc version 2.95.2. I upgraded mine using the rpms from the rawhide section of the redhat ftp site. Hope this helps, Phil. |