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
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