[omniORB] -wbdll_stubs not implemented?

Robert F. Gunion rfgunion at lbl.gov
Mon Jun 9 15:00:02 BST 2008


Hi all,

I'm using a project that requires multiple idl files, each in its own 
shared library.  On linux, everything works as expected.  On Windows XP, 
I get errors when I invoke _this() on a derived object, relating to an 
invalid reference to mymodule::myinterface::_PD_repoId.  I can see, 
through careful examination of the call stack, that this constant is 
being defined in each dll, rather than being defined and exported in 
just one dll and referenced as an external symbol in the others.

Chapter 12 of the omniORB 4.1.2 User's Guide ("Packaging stubs into 
DLLs") suggests using the -Wbdll_stubs flag to omniidl; however when I 
try it I get the message:

omniidl: Fatal error in C++ backend
omniidl:
omniidl: Argument "dll_stubs" is unknown

What am I missing?  Is this a deprecated feature, a not-yet-implemented 
feature, a documentation bug, or ...?

More detail on my configuration:
I am using the precompiled version of omniORB 4.1.2 for VS8 on Windows 
XP SP2, and VS8 (the full version, not the express edition), with SP1 
installed.

Thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rfgunion.vcf
Type: text/x-vcard
Size: 349 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20080609/de059f52/rfgunion.vcf


More information about the omniORB-list mailing list