Operating System - HP-UX
1827479 Members
2936 Online
109965 Solutions
New Discussion

ANSI C compilation errors, IBM MQSeries header file cmqc.h, error 1004

 
SOLVED
Go to solution
Gibran
Occasional Contributor

ANSI C compilation errors, IBM MQSeries header file cmqc.h, error 1004

Trying to compile C/Pro*C application that includes cmqc.h IBM MQSeries header file. Application was running using gcc, now I am trying to get to compile using HP ANSI C compiler. I am not sure, but I think I am using the bundled ANSI C compiler (based on the error messages).

Any known limitations with HP ANSI C and IBM MQSeries? Will the bundled compiler work, or do I need the full blown ANSI C compiler?

Attached is the error messages.

Thanks in advance,
Gibran
Life is work, Work is not life...
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: ANSI C compilation errors, IBM MQSeries header file cmqc.h, error 1004

HI:

You are definitely using the bundled C compiler and it will not work. You need to make sure that cc is linked to the proper command. The ANSI C compiler should work as long as you are not using any C++.

Clay
If it ain't broke, I can fix that.
Gibran
Occasional Contributor

Re: ANSI C compilation errors, IBM MQSeries header file cmqc.h, error 1004

Thanks Clay, you are the man...

Gibran
Life is work, Work is not life...