tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: C++ compiler problem
@ 2001-07-03 14:01 Padiyath Kumar
  0 siblings, 0 replies; only message in thread
From: Padiyath Kumar @ 2001-07-03 14:01 UTC (permalink / raw)
  To: tru64-unix-managers


  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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-03 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-03 14:01 SUMMARY: C++ compiler problem Padiyath Kumar

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