TITLE : Unresolved or undefined symbols error while using math.h OS LEVEL : AIX DATE : 10/03/99 VERSION : 1.1 ---------------------------------------------------------------------------- When compiling a program that includes an error simular to the example below is generated. The program is compiled (eg prog.o file is created) but not linked :- 0706-317 ERROR: Unresolved or undefined symbols detected: Symbols in error (followed by references) are dumped to the load map. The -bloadmap: option will create a load map. .sin This is because the executable has not been linked with the math library. Compile using with the -lm option which will link /usr/lib/libm.a to the executable :- cc prog.c -lm If /usr/lib/libm.a is not installed then install the following filesets using smit :- AIX 4.x, you need to install bos.adt.libm (Base application development math library) In AIX 3.2.5 the maths library is installed during standard installation and can be found in bos.obj