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: "Adam Price" Subject: Re: compiling a C program under 4.0c Date: 1999/03/11 Message-ID: <921220326.11904.0.nnrp-04.c2deb51d@news.demon.co.uk>#1/1 X-Deja-AN: 454096676 Content-Transfer-Encoding: 7bit X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 References: <7c927r$kli$1@news.fsu.edu> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 921220326 nnrp-04:11904 NO-IDENT pappnase.demon.co.uk:194.222.181.29 Organization: none MIME-Version: 1.0 Newsgroups: comp.sys.dec Stephen W. Hodge wrote in message <7c927r$kli$1@news.fsu.edu>... >I have some C programs that compiled fine under 3.2 of Digital Unix. When >we upgraded to 4.0c, they will no longer compile. I get the following error >message: > >ld: >unresolved: >pow >sqrt > >The #include file is in the program (just as before). The listing >file shows they are there, but it will NOT compile. > >My guess is that the actual binary objects are not loaded on the system. > >Is there some product I have failed to load? > >Thanks >Stephen >shodge@opus.freac.fsu.edu > > These functions used to be in libc but now need to be loaded from libm. add -lm to your link line to fix.