tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Padiyath Kumar <Kumar.Padiyath () psi ! ch>
To: tru64-unix-managers
Subject: SUMMARY: C++ compiler problem
Date: Tue, 03 Jul 2001 14:01:18 +0000	[thread overview]
Message-ID: <102653652421643.tru64-unix-managers.marc@archive.invalid> (raw)


  Many many thanks for all the replies. I got a lot of replies.
  Please excuse me if I donot mention the names ofthe people
  who sent the replies.

  The solution is very simple:

   cxx adip.cpp -lm

 My Question was:
==============

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

                 reply	other threads:[~2001-07-03 14:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox