|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Undefined Symbols for MQSeries |
« View previous topic :: View next topic » |
Author |
Message
|
sarath |
Posted: Fri Jun 10, 2005 7:06 am Post subject: Undefined Symbols for MQSeries |
|
|
Novice
Joined: 10 Jun 2005 Posts: 16
|
Hi All,
In my application i am using MQSeries(Version 5) and currently i am upgrading my application from forte 4.2 to forte 6.2.
At the time of compilation its throwing errors, undefined symbols. like,
unsigned char ImqQue::setDynamicQueueName(const char*)
short ImqStr::compare(const ImqStr&)const
operator new(unsigned int) /usr/lib/libimqb23ss.so
ImqBin::ImqBin()
void ImqMsg::setReplyToQueueName(const char*)
void ImqObj::openInformationDisperse()
.
.
.
.
.
i was able to resolve this
operator new(unsigned int) /usr/lib/libimqb23ss.so
problem by including the old libc library (i.e. libExbridge).
but couldn't able to resolve the rest..
ImqBoolean was defined in imqtypes.h as,
typedef unsigned char ImqBoolean;
(In forte 6.2 they introduced bool type.)
for setDynamicQueueName the original definition is like this,
ImqBoolean setDynamicQueueName ( const char * );
Infact whereever the Imq refering ImqBoolean, my application throwing this kind of errors.
How can i overcome this?
Awaiting quick response.
Thanks & Regards,
Sarath. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jun 10, 2005 7:13 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I would say you are not loading the right libraries, or in the right order.
Usually, when asking for help with c/c++ compilation, it is better to show the command you are using to compile. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
sarath |
Posted: Fri Jun 10, 2005 7:28 am Post subject: Undefined Symbols for MQSeries |
|
|
Novice
Joined: 10 Jun 2005 Posts: 16
|
Here is the Command :
CC -g0 -I. -I/opt/mqm/inc -I/opt/SUNWspro/include/CC -D_REENTRANT -library=rwtools7,iostream -o conn_t conn_t.o -Bstatic -lrwtool -Bstatic -lucb -Bdynamic -lgen -mt -limqb23ss -limqc23ss -lmqic -lmqmcs -lmqmzse -lsocket -lthread -lposix4 -lnsl -ldl -lExbridge
and the LD_LIBRARY_PATH is LD_LIBRARY_PATH= /usr/lib:/usr/ucblib:/opt/SUNWspro/lib:/opt/mqm/lib
I don't think the problem with pickingup the libraries, coz., same code is working fine in forte 4.2. When i am upgrading my application for forte 6.2 only i am facing this problem.
Regards,
Sarath. |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Jun 10, 2005 7:49 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
|
Back to top |
|
 |
sarath |
Posted: Fri Jun 10, 2005 9:51 am Post subject: |
|
|
Novice
Joined: 10 Jun 2005 Posts: 16
|
Thanks alot....
At the same time is it required for me to update/upgrade the patches for MQSeries, so that it will work for sun forte 6.2?
Regards,
Sarath. |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Jun 10, 2005 10:22 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
You might need to upgrade. If you'll check out the readme for the latest FixPack, it gives a list of what is fixed. You can search it to see if any of the fixes are related to compile problems. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|