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 » How to compile sample C programs in WMQ v7.0

Post new topic  Reply to topic
 How to compile sample C programs in WMQ v7.0 « View previous topic :: View next topic » 
Author Message
rockravi
PostPosted: Wed Jul 06, 2011 10:14 pm    Post subject: How to compile sample C programs in WMQ v7.0 Reply with quote

Newbie

Joined: 30 Jun 2011
Posts: 7

Hi everyone....

I just try to compile amqsput0.c program with Turbo C compiler.....
I m getting sooo many errors because it is unable to include MQI header files.Exactly my problem is how to include these MQ specific header files in C compiler. Can any one pls help me how to compile sample C files in MQ software.

I checked path variable too ...all the entries r ther....still i m unable to compile those sample programs......pls help me out.....
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Jul 07, 2011 12:19 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

The documentation/manuals for your development suite will contain information in regard to referencing external resources/dependencies. Alternatively, you may wish to try Googling.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 07, 2011 5:05 am    Post subject: Re: How to compile sample C programs in WMQ v7.0 Reply with quote

Grand High Poobah

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

rockravi wrote:
Exactly my problem is how to include these MQ specific header files in C compiler


Use the compiler specific flags & options to include those header files.

rockravi wrote:
Can any one pls help me how to compile sample C files in MQ software.


Pedantically you don't compile C files in MQ software. You compile them in a compiler. The fact that they reference MQ software components doesn't make them any different from C code that references databases (for example).

You'll also find useful information here

rockravi wrote:
I checked path variable too ...all the entries r ther....


The fact that you think your compiler options and include path are controlled by the PATH environment variable shows an alarming lack of knowledge about the platform generally and your compiler software specifically.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Jul 07, 2011 10:45 am    Post subject: Re: How to compile sample C programs in WMQ v7.0 Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

There are instructions in the MQ Information Center. Just search Google for the 3 words: building mq application
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 » How to compile sample C programs in WMQ v7.0
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.