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 » Build after changes in "amqsget0.c"

Post new topic  Reply to topic
 Build after changes in "amqsget0.c" « View previous topic :: View next topic » 
Author Message
Anju
PostPosted: Thu May 31, 2007 6:11 am    Post subject: Build after changes in "amqsget0.c" Reply with quote

Newbie

Joined: 31 May 2007
Posts: 1

Hello,

This is my first message to the forum and also i am very new to MQ series.

My problem is i was getting "2080" error while reading messages using "amqsget". I read somewhere that it's solution is changing buffer size in “amqsget0.c". After making changes, i don't know how to compile but read some where that following command has to be issued:

$ c89 +e -D_HPUX_SOURCE -D_PTHREADS_DRAFT4 -o amqsget0 amqsget0.c -lmqic_d -ld4r -lcma
/usr/ccs/bin/ld: Can't find library: "mqic_d"

IT WOULD BE OF Great HELP...if someone would answer this.....
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Vitor
PostPosted: Thu May 31, 2007 6:17 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

You'll find detailed instructions on compiling and linking C code in the Application Programming Guide. This will enable you to tailor the command to your environment; I suspect you have a path problem with the current command.

And yes, 2080 does mean the buffer is too small. 100 bytes in the sample code IIRC.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Build after changes in "amqsget0.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.