|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
C++ sample can not compile on AIX |
« View previous topic :: View next topic » |
Author |
Message
|
adder |
Posted: Wed Jan 11, 2006 7:20 am Post subject: C++ sample can not compile on AIX |
|
|
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 |
|
 |
wschutz |
Posted: Wed Jan 11, 2006 7:40 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
adder |
Posted: Wed Jan 11, 2006 8:12 am Post subject: |
|
|
Apprentice
Joined: 06 Dec 2005 Posts: 43
|
thank you very much, it works well |
|
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
|
|
|
|