ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » [Solved] compilation error c++

Post new topic  Reply to topic
 [Solved] compilation error c++ « View previous topic :: View next topic » 
Author Message
starfish77
PostPosted: Tue Nov 25, 2003 11:42 am    Post subject: [Solved] compilation error c++ Reply with quote

Apprentice

Joined: 07 Nov 2003
Posts: 31
Location: USA

I am getting this error while compiling the sample program imqsput.cpp on AIX5.1 (32 bit) I am using MQ 5.3 with client connections and Visual Age C++

*************************************************************
ld: 0711-317 ERROR: Undefined symbol: .ImqChl::setHeartBeatInterval(long)
ld: 0711-317 ERROR: Undefined symbol: .ImqStr::cutOut(ImqStr&,char)
ld: 0711-317 ERROR: Undefined symbol: .ImqChl::setTransportType(long)
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::setOpenOptions(long)
ld: 0711-317 ERROR: Undefined symbol: .ImqCac::useEmptyBuffer(const char*,unsign
ed long)
ld: 0711-317 ERROR: Undefined symbol: .ImqCac::setMessageLength(unsigned long)
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
*************************************************************

I have included these libraries

libimqb23ia.a \
libimqc23ia.a \
libmqic.a \
libmqicb.a \
libmqmcs.a \
libmqmr.a \
libmqmzse.a

I am not sure if I need them all except first two.

I can compile this same program on W2K box.

I saw 1 post related to the same error but no resolution was found.

Any thoughts on whats missing.

Thanks,


Last edited by starfish77 on Tue Nov 25, 2003 12:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
JasonE
PostPosted: Tue Nov 25, 2003 12:32 pm    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

I think you need to use the option -qnamemangling=v5 during compilation for all C++ modules.

(http://www-3.ibm.com/software/integration/mqfamily/platforms/supported/wsmq_for_aix_5_3.html)
Back to top
View user's profile Send private message
starfish77
PostPosted: Tue Nov 25, 2003 12:51 pm    Post subject: [Solved]compilation error c++ Reply with quote

Apprentice

Joined: 07 Nov 2003
Posts: 31
Location: USA

Thanks JasonE!!! It worked....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » [Solved] compilation error c++
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.