[omniORB] _CORBA_MODULE_VAR _dyn_attr missing in .hh file

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


Hi Amit

It is the same file I mentioned in my mail and it is generated when using the -Wba option with the omniidl.
The name is <some-prefix>DynSK.cc when you have the usual defaults for omniidl.
You must compile this file and link it to your application.

Greetings,
  Martin

-----Original Message-----
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 14:59
To: 'Michael'
Cc: omniorb-list at omniorb-support.com
Subject: RE: [omniORB] _CORBA_MODULE_VAR _dyn_attr missing in .hh file

No.
Actually I am a beginner and I don't have a slightest idea of this dynamic
file.
Could you please give me complete details of this dynamic .cc file and how
to use it?

-----Original Message-----
From: Michael [mailto:omniorb at bindone.de] 
Sent: Monday, September 21, 2009 5:25 PM
To: Amit Kumar
Cc: omniorb-list at omniorb-support.com
Subject: Re: [omniORB] _CORBA_MODULE_VAR _dyn_attr missing in .hh file

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


_______________________________________________
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