C++ compiler problem

From: Padiyath Kumar <Kumar.Padiyath_at_psi.ch>
Date: Tue, 03 Jul 2001 15:45:14 +0200

   Iam getting unsatisfied externals by the compilation of a C++ program:

 $cxx -V adip.cpp
Compaq C++ V6.3-002 for Compaq Tru64 UNIX V5.1 (Rev. 732)
Compiler Driver V6.3-002 (cxx) cxx Driver
$cxx adip.cpp
ld:
Unresolved:
sqrt

    OS = V5.1 with the latest patches installed

  sizer -v output:
  
  $/usr/sbin/sizer -v
Compaq Tru64 UNIX V5.1 (Rev. 732); Fri May 25 11:24:22 GMT 2001

     Any help is appreciated.

   Inside the program the statement look like this:

  b=sqrt(r[0]*r[0]+r[1]*r[1]+r[2]*r[2]);

   regards,
   Kumar
Received on Tue Jul 03 2001 - 13:46:02 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT