Re: [orbitcpp-list] error compiling orbitcpp
Status: Beta
Brought to you by:
philipd
From: Sam C. <sa...@to...> - 2001-05-27 11:56:53
|
Antony Suter <an...@mi...> wrote: >=20 > Why am i getting these types of bugs when compiling? Because your build is screwy for some reason. See below. > I have gcc 2.96-0.52 from Mandrake Cooker. > Ignore the locale error unless it is relevant to the c++ error. It's not, that's just perl. > CosNaming.cc:352: redefinition of `void=20 > _orbitcpp::stub::CosNaming::NamingContext::bind (const Name &,=20 > CORBA::Object *)' > CosNaming.cc:66: `void _orbitcpp::stub::CosNaming::NamingContext::bind=20 > (const Name &, CORBA::Object *)' previously defined here > CosNaming.cc:384: redefinition of `void=20 > _orbitcpp::stub::CosNaming::NamingContext::rebind (const Name &,=20 > CORBA::Object *)' > CosNaming.cc:98: `void=20 > _orbitcpp::stub::CosNaming::NamingContext::rebind (const Name &,=20 > CORBA::Object *)' previously defined here > CosNaming.cc:411: redefinition of `void=20 > _orbitcpp::stub::CosNaming::NamingContext::bind_context (const Name &,=20 > _orbitcpp::stub::CosNaming::NamingContext *)' These errors are ocurring on lines that don't even exist in the file (at least, not in the one that I just generated). I'd say that somehow you've ended up with the file concatenated onto itself, or something equally screwy and confusing. Try doing a make clean (and make sure the CosNaming.cc and CosNaming.hh files get deleted), and make again. You'll only need to make clean from that directory to get it to work, but if that directory is messed up, maybe others are as well. --=20 Sam Couter | Internet Engineer | http://www.topic.com.au/ sa...@to... | tSA Consulting | OpenPGP key ID: DE89C75C, available on key servers OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C |