From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c2d979e49bc23f82 X-Google-Attributes: gid1164f8,public From: Jeff Sullivan Subject: Re: compiling a C program under 4.0c Date: 1999/03/11 Message-ID: <36E82C24.626FA377@zk3.dec.com>#1/1 X-Deja-AN: 453929238 Content-Transfer-Encoding: 7bit References: <7c927r$kli$1@news.fsu.edu> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Compaq Computer Corporation Mime-Version: 1.0 Newsgroups: comp.sys.dec I believe that you need to link with the math library. Add -lm to your compile command, as in the testcase below. % cc t.c ld: Unresolved: pow sin % cc t.c -lm % -Jeff -- Jeff Sullivan | Compaq Computer Corp | mailto:jps@zk3.dec.com DEC C and C++ | Nashua, NH ZK3-2/X29 | Jeff.Sullivan@compaq.com