From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,729fb18f0d705774,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-02-07 13:12:27 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!gw1.att.com!csn!magnus.acs.ohio-state.edu!math.ohio-state.edu!uwm.edu!lll-winken.llnl.gov!noc.near.net!paperboy.wellfleet.com!news-feed-1.peachnet.edu!gatech!pirates!captblood!ab From: ab@captblood.armstrong.edu () Newsgroups: comp.lang.ada Subject: Alsys Ada and math package. Date: 7 Feb 1995 21:12:27 GMT Organization: Armstrong State College, Savannah, GA Message-ID: <3h8nnr$6nb@solar.Armstrong.EDU> NNTP-Posting-Host: captblood.armstrong.edu Date: 1995-02-07T21:12:27+00:00 List-Id: 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