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 » C++ sample can not compile on AIX

Post new topic  Reply to topic
 C++ sample can not compile on AIX « View previous topic :: View next topic » 
Author Message
adder
PostPosted: Wed Jan 11, 2006 7:20 am    Post subject: C++ sample can not compile on AIX Reply with quote

Apprentice

Joined: 06 Dec 2005
Posts: 43

I want to write some MQ application using C++ on AIX, so I compile sample code(imqsget.cpp,imqsput.cpp)first. I follow the instruction of redbook "WebSphere MQ Using C++", compile command is as following:

32-bit unthreaded application
xlC -o imqsput_32 imqsput.cpp -qchars=signed -I/usr/mqm/inc -L/usr/mqm/lib -limqs23ia -limqb23ia -lmqm
32-bit threaded application
xlC_r -o imqsput_32_r imqsput.cpp -qchars=signed -I/usr/mqm/inc -L/usr/mqm/lib -limqs23ia_r -limqb23ia_r -lmqm_r

I have try both unthreaded application and threaded application, and get same error, like following:
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*,unsig
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.

are there somebody can help me, thanks!
Back to top
View user's profile Send private message MSN Messenger
wschutz
PostPosted: Wed Jan 11, 2006 7:40 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

What about this:
http://www.developer.ibm.com/isv/tech/faq/individual.jsp?oid=1:83752
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
adder
PostPosted: Wed Jan 11, 2006 8:12 am    Post subject: Reply with quote

Apprentice

Joined: 06 Dec 2005
Posts: 43

thank you very much, it works well
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » C++ sample can not compile on AIX
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.