[omniORB] Compilation error of latest 3.0.0pre CVS

David Riddoch djr@uk.research.att.com
Fri, 5 Nov 1999 10:35:53 +0000 (GMT)


Robert,

I suspect that you still have the old omniidl3 generated files in your
build tree.  Our makefiles are not clever enough to notice when the idl
compiler changes, so the generated files don't get rebuilt.  Do an
'rm <omniORB>/src/lib/omniORB2/*.hh' and try again.  You should also empty
the contents of the stub directory.

Cheers,
David


On Fri, 5 Nov 1999, Robert Graham Merkel wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> I have a Debian Linux system using kernel 2.2.13, glibc2.1.2,
> gcc 2.95.2, and libstdc++2.10 (included with gcc 2.95.2)/
> 
> I have just updated my CVS as of 10 minutes ago, and got the
> following error on recompilation:
> c++ -c -g -Wall -Wno-unused  -D_REENTRANT -I. -I./.. -I./../.. -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DUnixArchitecture -DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -I.  -I../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=2 -o bootstrapstub.o bootstrapstub.cc
> In file included from bootstrapstub.cc:30:
> ../bootstrapSK.cc: In function `static class _objref_CORBA_InitialReferences * CORBA_InitialReferences::_nil()':
> ../bootstrapSK.cc:68: no matching function for call to `omni_tracedmutex_lock::omni_tracedmutex_lock (omni_tracedmutex & (&)())'
> ../../../../include/omniORB3/tracedthread.h:113: candidates are: omni_tracedmutex_lock::omni_tracedmutex_lock(omni_tracedmutex &)
> ../../../../include/omniORB3/tracedthread.h:117:                 omni_tracedmutex_lock::omni_tracedmutex_lock(const omni_tracedmutex_lock &)
> make[3]: *** [bootstrapstub.o] Error 1
> make[3]: Leaving directory `/home/rgmerk/phd/software/omni/src/lib/omniORB2/orbcore'
> make[2]: *** [export] Error 1
> make[2]: Leaving directory `/home/rgmerk/phd/software/omni/src/lib/omniORB2'
> make[1]: *** [export] Error 1
> make[1]: Leaving directory `/home/rgmerk/phd/software/omni/src/lib'
> make: *** [export] Error 1
> 
> - ------------------------------------------------
> Robert Merkel		rgmerk@mira.net
> "Wirzenius wrote this portably.  Torvalds
> f****ed it up :-)" - linux/lib/vsprintf.c
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.0 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE4IhqEswIdT6exn5QRAnHqAKDubRaDXDTochefd9zLEZIITgyH5ACfcUBq
> hIQ6caEaY6aX+SFgJIBW3Jw=
> =2icf
> -----END PGP SIGNATURE-----
> 
>