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 » Help compiling AMQSGETC windows

Post new topic  Reply to topic
 Help compiling AMQSGETC windows « View previous topic :: View next topic » 
Author Message
mktgurutsm
PostPosted: Thu Jun 16, 2005 11:12 am    Post subject: Help compiling AMQSGETC windows Reply with quote

Novice

Joined: 08 Jan 2004
Posts: 21
Location: New York

I am using a Miracle C compiler on Windows 2000. I have the sample AMQSGETC c code from the MQClient 5.3.0.6 install. All of the (.h) members were copied into the include library for the compiler (for example, the AMQSGETC program uses the cmqc.h include).

When it is compiled however, it finds the cmqc.h file, but gives the following errors:
Miracle C Compiler (r3.2), written by bts.
line 3077, C:\Program Files\Miracle C\include\cmqc.h: File ends inside range of #ifdef.
Compiling c:\program files\ibm\websphere mq\tools\c\samples\amqsget0.c
main

c:\program files\ibm\websphere mq\tools\c\samples\amqsget0.c: line 70: variable 'od' not found
'od = {MQOD_DEFAULT}'
aborting compile


Anyone have any idea's or advise on what is required to compile this?
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Thu Jun 16, 2005 11:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Good luck with this compiler. It's not an officially supported IBM compiler.

Also, you can download the VC++ 2003 Toolkit for free these days from MSDN.

Thirdly, the proper procedure for compiling C MQSeries applications is detailed extensively in the Application Programming Guide, in a section called "Preparing C Programs" in Chapter 32 "Building your application in Windows".
_________________
I am *not* the model of the modern major general.
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 » Help compiling AMQSGETC windows
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.