[omniORB] _CORBA_MODULE_VAR _dyn_attr missing in .hh file

Michael omniorb at bindone.de
Mon Sep 21 14:55:21 BST 2009


Did you also compile and link the dynamic .cc file?

Amit Kumar wrote:
> 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
> 
>  
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list



More information about the omniORB-list mailing list