Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Floating-Point Guide: HP 9000 Computers > Appendix C Floating-Point Problem Checklist

Compiling and Linking Errors

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997 Hewlett-Packard Development Company, L.P.