If the C compiler issues an error message like the following:
cc: "myprog.c", line 16: error 1588: "FE_ALL_EXCEPT" undefined. |
cc: "atanh.c", line 59: error 1588: "HUGE_VAL" undefined. |
make sure your program includes the fenv.h
and/or the math.h
header file. If it does, make sure you are compiling with the default
-Ae option or
with both the -Aa
and -D_HPUX_SOURCE
options. See “Scalar Math Libraries (libm and
libcl)” for details.
If the linker issues an error message like the following:
/usr/ccs/bin/ld: Unsatisfied symbols: log10 (code) sqrt (code) pow (code) |
you may have forgotten to link in a math library (-lm).
See “Scalar Math Libraries (libm and
libcl)” for
details. If the linker issues a similar message for a macro:
/usr/ccs/bin/ld: Unsatisfied symbols: isfinite (code) |
make sure your program includes the math.h
header file.
If the linker issues an error message like the following:
/usr/ccs/bin/ld: Illegal argument combination (/usr/lib/libm.a(cs_fabsf.o), fabsf) |
make sure you are compiling with the default -Ae
option or with both the -Aa
and -D_HPUX_SOURCE
options. See “Scalar Math Libraries (libm and
libcl)” for details.
If
you get these kinds of messages when you compile or link a C++ program,
make sure you are compiling with the +a1
and -D_HPUX_SOURCE
options.