Complex class in C++ V5.7 under Digital UNIX 4.0B

From: Andre Burgers <burgers_at_atom.msi.se>
Date: Tue, 24 Feb 1998 12:39:37 +0100

Hi.

I have recently installed Digital UNIX 4.0B and C++ V 5.7
on a DEC Alpha Station. I now have problems to run my old
C++ programs using complex maths (previously, I had UNIX 3.2):
/sbin/loader: Fatal Error: cannot map libcomplex.so
Compiling it using -lm -lcomplex flags results in
ld:
Can't locate file for: -lcomplex
using only -lm results in
ld:
Unresolved:
sqrt(const complex&)
operator /(const complex&, const complex&)
i.e. the complex library is not found. Where did it go?
Or is it now included in another library?
Which flags should I use when compiling?

Thanks in advance,

/Andre
Received on Tue Feb 24 1998 - 12:39:50 NZDT

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