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 Discussion » unresolved external symbol _MQDISC in IBM sample AMQSPUT0.c

Post new topic  Reply to topic
 unresolved external symbol _MQDISC in IBM sample AMQSPUT0.c « View previous topic :: View next topic » 
Author Message
sameer004
PostPosted: Tue Oct 25, 2005 2:27 pm    Post subject: unresolved external symbol _MQDISC in IBM sample AMQSPUT0.c Reply with quote

Newbie

Joined: 25 Oct 2005
Posts: 1

Hello I am trying to compile(Debug mode) the IBM sample code to connect to MQ. I have created a console application in Visual studia 6.0 and also included cmqc.h header file, its in external dependencies.
Program name: AMQSPUT0.c
Description: Sample C program that puts messages to

But getting the following error....... pls help me urgently.......

amqsput0.obj : error LNK2001: unresolved external symbol _MQDISC

ompiling...
amqsput0.c
Linking...
amqsput0.obj : error LNK2001: unresolved external symbol _MQDISC
amqsput0.obj : error LNK2001: unresolved external symbol _MQCLOSE
amqsput0.obj : error LNK2001: unresolved external symbol _MQPUT
amqsput0.obj : error LNK2001: unresolved external symbol _MQOPEN
amqsput0.obj : error LNK2001: unresolved external symbol _MQCONN
C:\source\vendor\dll/amqsput0.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.

amqsput0.exe - 6 error(s), 0 warning(s)


Thanks,
Sameer
Back to top
View user's profile Send private message Send e-mail
clindsey
PostPosted: Tue Oct 25, 2005 2:35 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

You need to link with mqm.lib if this is a local queue manager (bindings mode... same as amqsput.exe ) or with libmqic32 if connecting to a remote queue manager (same as amqsputc.exe).

Charlie
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 Discussion » unresolved external symbol _MQDISC in IBM sample AMQSPUT0.c
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.