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 » General IBM MQ Support » Unable to create MQ Objects

Post new topic  Reply to topic
 Unable to create MQ Objects « View previous topic :: View next topic » 
Author Message
sagar
PostPosted: Tue Jan 22, 2002 4:08 am    Post subject: Reply with quote

Newbie

Joined: 21 Jan 2002
Posts: 1

Hi ,
I am working on Sun OS 5.7, MQ version 5.2.
I am facing a situation where in I am not able to compile programs
though I have all the required directories in my PATH variable along with correct ownership of the same by mqm user and mqm group. I have run the set up verification procedure successfully. But I am unable to compile my own programs. To be very specific I am not able to create objects of IMQ classes.
Also I could not see the cpp files anywhere in installation directories on the server.
The moment I try compilation of the following code.
#include <imqi.hpp>
#include <cmqc.h>
#define EXISTING_QUEUE "SYSTEM.DEFAULT.LOCAL.QUEUE"
#define BUFFER_SIZE 12
static char gpszhello[BUFFER_SIZE]="Hello World"
int main(int argc,char **argv)
{
ImqQueueManager manager;
}

I get compilation errors such as

Undefined first referenced
symbol in file
ImqMgr::ImqMgr() testmq1.o
ImqMgr::~ImqMgr() testmq1.o

Please help in solving this issue.
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 » General IBM MQ Support » Unable to create MQ Objects
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.