Languages and Scripting

math.h compilation problems

 
SOLVED
Go to solution
dictum9
Super Advisor

math.h compilation problems


it is an Itanium 2620 running 11.23

Get a compilation error. Is there a patch for this?


Error at line 10, column 14 in file /usr/include/math.h
# include
.............1
PCC-S-02015, unable to open include file
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: math.h compilation problems

Hi:

There is a cumulative patch for the math library:

PHSS_36344

No reboot is required for installation.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: math.h compilation problems

What program is producing that PCC-S-02015 error? Is this some foreign devil preprocessor?

If so, it is broken and you must define the same -D values as HP's C compiler does.

You can see some of them by using "man cc" and looking under -D.
Dennis Handly
Acclaimed Contributor

Re: math.h compilation problems

While it is true that the patch mentioned by JRF may fix the problem, the real issue is in the foreign devil preprocessor's configuration.
Dennis Handly
Acclaimed Contributor

Re: math.h compilation problems

Checking the header file, this was "fixed" in PHSS_36344.