Discussion:
[omniORB] _CORBA_MODULE_VAR _dyn_attr missing in .hh file
Amit Kumar
2009-09-21 14:38:45 UTC
Permalink
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/0a54fe67/attachment.htm
Smits, Martin
2009-09-21 15:21:59 UTC
Permalink
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-***@omniorb-support.com [mailto:omniorb-list-***@omniorb-support.com] On Behalf Of Amit Kumar
Sent: maandag 21 september 2009 10:40
To: omniorb-***@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/98f40fbd/attachment.htm
Amit Kumar
2009-09-21 16:15:57 UTC
Permalink
Hello Martin,



Thank you very much for the help. J



Greetings,

Amit





From: Smits, Martin [mailto:***@task24.nl]
Sent: Monday, September 21, 2009 2:51 PM
To: Amit Kumar; omniorb-***@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-***@omniorb-support.com
[mailto:omniorb-list-***@omniorb-support.com] On Behalf Of Amit Kumar
Sent: maandag 21 september 2009 10:40
To: omniorb-***@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/9dd9994f/attachment.htm
Amit Kumar
2009-09-21 17:50:56 UTC
Permalink
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:***@task24.nl]
Sent: Monday, September 21, 2009 2:51 PM
To: Amit Kumar; omniorb-***@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-***@omniorb-support.com
[mailto:omniorb-list-***@omniorb-support.com] On Behalf Of Amit Kumar
Sent: maandag 21 september 2009 10:40
To: omniorb-***@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/0631d0b9/attachment.htm
Smits, Martin
2009-09-21 17:55:24 UTC
Permalink
Hi Amit

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

Greetings,
Martin

From: Amit Kumar [mailto:***@tarangtech.com]
Sent: maandag 21 september 2009 13:52
To: Smits, Martin; omniorb-***@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:***@task24.nl]
Sent: Monday, September 21, 2009 2:51 PM
To: Amit Kumar; omniorb-***@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-***@omniorb-support.com [mailto:omniorb-list-***@omniorb-support.com] On Behalf Of Amit Kumar
Sent: maandag 21 september 2009 10:40
To: omniorb-***@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
Michael
2009-09-21 17:55:51 UTC
Permalink
Did you also compile and link the dynamic .cc file?
Post by Amit Kumar
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
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;
Please help me to get this line after compilation.
Thanks & Regards,
Amit
------------------------------------------------------------------------
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
Amit Kumar
2009-09-21 18:58:07 UTC
Permalink
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 Kumar
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
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 Kumar
Please help me to get this line after compilation.
Thanks & Regards,
Amit
------------------------------------------------------------------------
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
Smits, Martin
2009-09-21 19:15:14 UTC
Permalink
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 Kumar
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
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 Kumar
Please help me to get this line after compilation.
Thanks & Regards,
Amit
------------------------------------------------------------------------
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
Amit Kumar
2009-09-21 20:26:36 UTC
Permalink
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 Kumar
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
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 Kumar
Please help me to get this line after compilation.
Thanks & Regards,
Amit
------------------------------------------------------------------------
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
Loading...