From: ab@captblood.armstrong.edu ()
Subject: Alsys Ada and math package.
Date: 7 Feb 1995 21:12:27 GMT
Date: 1995-02-07T21:12:27+00:00 [thread overview]
Message-ID: <3h8nnr$6nb@solar.Armstrong.EDU> (raw)
Using Alsys Risc Ada (on Sun SS10, Solaris 2.3), how
do you make the math package available for use?
The following compiles fine but fails at link time:
with math_library; use math_library;
with TEXT_IO; use TEXT_IO;
procedure t is
package REAL_IO is new FLOAT_IO(FLOAT); use REAL_IO;
package new_math is new math(FLOAT); use new_math;
begin
put(asinh(sqrt(6.25)),1,4,0);
new_line;
end t;
% ada t.ada ; ald t
Undefined first referenced
symbol in file
tan C/double_precision_math.o
log C/double_precision_math.o
log10 C/double_precision_math.o
sinh C/double_precision_math.o
tanh C/math_lib_support.tanh_rad_s.o
sqrt C/double_precision_math.o
exp C/double_precision_math.o
asin C/double_precision_math.o
acos C/double_precision_math.o
atan C/math_lib_support.atan_deg_s.o
sin C/double_precision_math.o
cosh C/double_precision_math.o
cos C/double_precision_math.o
ld: fatal: Symbol referencing errors. No output written to ../t
with thanks for your help,
ab
--
Dr. A.Bykat
Fuller E. Callaway Professor
next reply other threads:[~1995-02-07 21:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-02-07 21:12 ab [this message]
1995-02-09 14:39 ` Alsys Ada and math package David Wheeler
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox