|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Help compiling AMQSGETC windows |
« View previous topic :: View next topic » |
Author |
Message
|
mktgurutsm |
Posted: Thu Jun 16, 2005 11:12 am Post subject: Help compiling AMQSGETC windows |
|
|
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 |
|
 |
jefflowrey |
Posted: Thu Jun 16, 2005 11:15 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|