Thanks again Martin.
I am able to link now.
-----Original Message-----
From: Smits, Martin [mailto:***@task24.nl]
Sent: Monday, September 21, 2009 6:45 PM
To: Amit Kumar
Cc: omniorb-***@omniorb-support.com
Subject: RE: [omniORB] _CORBA_MODULE_VAR _dyn_attr missing in .hh file
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-***@omniorb-support.com
[mailto:omniorb-list-***@omniorb-support.com] On Behalf Of Amit Kumar
Sent: maandag 21 september 2009 14:59
To: 'Michael'
Cc: omniorb-***@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:***@bindone.de]
Sent: Monday, September 21, 2009 5:25 PM
To: Amit Kumar
Cc: omniorb-***@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?
Post by Amit KumarHi 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
Sent: Monday, September 21, 2009 2:51 PM
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
Sent: maandag 21 september 2009 10:40
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;
Post by Amit KumarPlease help me to get this line after compilation.
Thanks & Regards,
Amit
------------------------------------------------------------------------
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list