[omniORB] _CORBA_MODULE_VAR _dyn_attr missing in .hh file

Smits, Martin martin.smits at task24.nl
Mon Sep 21 14:54:50 BST 2009


Hi Amit

You might have forgotten to link the xxxDynSK.o file to your application.

Greetings,
  Martin

From: Amit Kumar [mailto:amitk at tarangtech.com]
Sent: maandag 21 september 2009 13:52
To: Smits, Martin; omniorb-list at omniorb-support.com
Subject: RE: [omniORB] _CORBA_MODULE_VAR _dyn_attr missing in .hh file

Hi Martin,

While linking, I am getting this error

    "undefined reference to myModule::_tc_ProxyPushConsumer"

Where, myModule is the module in IDL file and ProxyPushConsumer is an interface in this module.
Could you please help me out once again.
Anybody else who can solve this problem?

Greetings,
Amit

From: Smits, Martin [mailto:martin.smits at task24.nl]
Sent: Monday, September 21, 2009 2:51 PM
To: Amit Kumar; omniorb-list at omniorb-support.com
Subject: RE: [omniORB] _CORBA_MODULE_VAR _dyn_attr missing in .hh file

Hello Amit

For getting the TypeCode definitions in your .hh files, you should include the -Wba option in your call for omniidl.
So: "omniidl -bcxx -Wba myfile.idl"

Greetz,
  Martin

From: omniorb-list-bounces at omniorb-support.com [mailto:omniorb-list-bounces at omniorb-support.com] On Behalf Of Amit Kumar
Sent: maandag 21 september 2009 10:40
To: omniorb-list at omniorb-support.com
Subject: [omniORB] _CORBA_MODULE_VAR _dyn_attr missing in .hh file

Hi,

I am compiling my IDL file using the command
   "omniidl -bcxx myfile.idl".
I have an interface ProxyPushConsumer.

But sadly, in the myfile.hh file, following line is missing.


_CORBA_MODULE_VAR _dyn_attr const CORBA::TypeCode_ptr _tc_ProxyPushConsumer;


Please help me to get this line after compilation.

Thanks & Regards,
Amit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20090921/0ddc0819/attachment.htm


More information about the omniORB-list mailing list