Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!sol.ctr.columbia.edu!destroyer!mudos.pc.cc.cmu.edu!mudos.pc.cc.cmu.edu!not-for-mail From: mju@mudos.pc.cc.cmu.edu (Marc Unangst) Newsgroups: comp.os.386bsd.bugs Subject: Re: Serious bug in NetBSD 0.9 floating-point emulator Date: 8 Sep 1993 12:49:24 -0400 Organization: The Programmers' Pit Stop, Ann Arbor MI Lines: 12 Message-ID: <26l2ek$abt@mudos.pc.cc.cmu.edu> References: <26jrb8$89i@mudos.pc.cc.cmu.edu> <1993Sep8.131632.14169@news.weeg.uiowa.edu> NNTP-Posting-Host: localhost.pc.cc.cmu.edu jboggs@umaxc.weeg.uiowa.edu (John D. Boggs) writes: >On *my* machine it prints > > "/var/tmp/cc0001971.o: Undefined symbol _sqrt referenced from text segment" That's because you didn't link with the math library. Compile it like "cc -o test test.c -lm", and it should link fine. -- Marc Unangst, N8VRH | "Free software is NOT the same thing as mju@mudos.pc.cc.cmu.edu | free beer." | -Philip Knapp in comp.os.linux