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 » IBM MQ Installation/Configuration Support » Missing hdr files for includes on Linux: cmqc.h & cmqxc.

Post new topic  Reply to topic
 Missing hdr files for includes on Linux: cmqc.h & cmqxc. « View previous topic :: View next topic » 
Author Message
RatherBeGolfing
PostPosted: Fri Sep 28, 2007 8:07 am    Post subject: Missing hdr files for includes on Linux: cmqc.h & cmqxc. Reply with quote

Centurion

Joined: 12 Nov 2002
Posts: 118
Location: Syracuse, NY, USA

Newly installed MQ v6.0.2.1 on Linux 32bit Intel running Redhat 4.0. I have searched the entire file system for these 2 header files which I'm trying to include in a c script and have not found them. Could the Unix admin who installed MQ left off an installation option or parameter? Or, do they not exist in Linux?

I did find cmqzc.h in /opt/mqm/inc - not sure if that is the same header, replacing the other 2 from Solaris? Seems unlikely, altho I haven't compared the contents yet.

I'm not a c developer, just a Windows/zOS MQ admin who is trying to recompile an old (but still used) message exit so that it will run on Linux.

Any and all suggestions GREATLY appreciated!!
_________________
Cheers,
Larry
MQ Certifiable
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 28, 2007 1:54 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

/opt/mqm/inc should be the includes, yes.

Best bet for how to compile any MQ thing on any platform is the Application Programming Guide. Specific instructions are found there.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RatherBeGolfing
PostPosted: Thu Oct 04, 2007 9:34 am    Post subject: Reply with quote

Centurion

Joined: 12 Nov 2002
Posts: 118
Location: Syracuse, NY, USA

The manual doesn't tell me where to find the cmqc.h and cmqxc.h files if they weren't included in the installation. I'm trying to find somewhere to download them from, but haven't had any success yet. I tried copying the files from a Solaris installation of v5.3, but I'm still getting a load of compiler errors with the gcc compiler. We're running 32-bit RedHat v4.

I have opened ticket PMR 46545 with IBM, buth have had no response yet.
If I do resolve this, I'll post the solution here, to assist others in the future.
_________________
Cheers,
Larry
MQ Certifiable
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 04, 2007 9:36 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

On Linux, these are included in the MQSeriesSDK RPM

You should always expect issues copying include and header files between platforms.

You're going to have issues compiling and running WMQ v6 on any RedHat built on FC4.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RatherBeGolfing
PostPosted: Thu Oct 04, 2007 10:58 am    Post subject: Reply with quote

Centurion

Joined: 12 Nov 2002
Posts: 118
Location: Syracuse, NY, USA

Jeff, okay...you've officially spooked me! Assuming I can get our Linux Admin to extract those files from the SDK RPM, exactly what kind of troubles do you think I might have either compiling or running this exit on Redhat v4.5 ???? I'm not sure what you mean by FC4 ??
_________________
Cheers,
Larry
MQ Certifiable
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 04, 2007 11:06 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

FC v4 is "Fedora Core version 4". It's a release of the Fedora project that RedHat is based on.

I don't know if RedHat v4 is based on that version of Fedora or not.

You do not want to do anything with the SDK RPM other than install it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RatherBeGolfing
PostPosted: Thu Oct 04, 2007 1:37 pm    Post subject: Reply with quote

Centurion

Joined: 12 Nov 2002
Posts: 118
Location: Syracuse, NY, USA

THANK YOU very much for your help Jeff. This issue has been resolved. As you mentioned, we had failed to install the MQSeriesSDK....RPM during initial MQ setup. After the Linux admin did this, the /inc folder was populated with the missing .h files and I was able to compile and run my message exit. It is a very simple program, so I'm hoping that I don't see any runtime bugs. Thanks again!
_________________
Cheers,
Larry
MQ Certifiable
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 » IBM MQ Installation/Configuration Support » Missing hdr files for includes on Linux: cmqc.h & cmqxc.
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.