| Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | About BLU |
Do you link against -lm?
-derek
Mark Glassberg <mark_glassberg at valley.net> writes:
>
> I'm running linux on a 486 based pc, and trying to teach myself C. A program
> in a book I'm studying has the "#include <math.h>" line but gcc give an error
> that it doesn't understand the term "pow", which is supposed to be defined in
> the included file. Does anyone have an idea what's causing this problem?
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL N1NWH
warlord at MIT.EDU PGP key available