What version of VA C++ 5 are you using? I would ensure you have the latest version (5.0.2 I think).
We successfully compile C++ applications using V5.0.2 (but I am not sure whether they use setOpenOptions). -----Original Message----- From: David C. Partridge [mailto:[EMAIL PROTECTED]] Sent: 21 November 2002 17:04 To: [EMAIL PROTECTED] Subject: Problem building C++ application on AIX A colleague has a problem building a C++ application on AIX using IBM VA C++ 5. He's using MQ 5.3 if that is relevant. He reports the problem as follows: The libraries are libimqb23ia.a libimqs23ia.a. When the program is compiled these errors are generated: ld: 0711-317 ERROR: Undefined symbol: .ImqObj::setOpenOptions(long) ld: 0711-317 ERROR: Undefined symbol: .ImqCac::read(unsigned long,char*&) The strange thing is that those two methods are present in the libraries, if I try to search inside them: > dump -HTv /usr/mqm/lib/libimqs23ia.a | c++filt | grep setOpenOptions I get: [134] 0x000013e4 .data EXP DS SECdef [noIMid] ImqObj::setOpenOptions(const long) And the same for the other method. I don't understand why those two methods are not found while the others are. I've tried to use openFor instead of setOpenOptions and open just to see what happened but event that method is not found. It seems like methods having MQLONG parameters are not found. Has anyone seen this? Regards, David C. Partridge Security Products Manager Primeur Group Tel: +44 (0)1926 511058 Mobile: +44 (0)7713 880197 Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive ********************************************************************** Click here to visit the Argos home page http://www.argos.co.uk The information contained in this message or any of its attachments may be privileged and confidential, and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you are not the intended addressee, any disclosure, reproduction, distribution, dissemination or use of this communication is not authorised. If you have received this message in error, please advise the sender by using your reply facility in youe e-mail software. All messages sent and received by Argos Ltd are monitored for virus, high risk file extensions, and inappropriate content. As a result users should be aware that mail maybe accessed. ********************************************************************** Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive