title: Why am I getting the error, "undefined reference to `pow' collect2: error: ld returned 1 exit status make: *** [p1] Error 1"?
body: <p>Here is my makefile:</p>
  
  <pre><code>CC=gcc 
  
  CFLAGS=-g
  
  LDFLAGS=-lm
  
  EXECS= p1
  
  
  all: $(EXECS)
  
  clean: 
      rm -f *.o $(EXECS)
  </code></pre>
  
  <p>14:32:16 **** Build of configuration Default for project CH3-Programs ****
  make p1 
  gcc  -g  -ggdb -lm  p1.c   -o p1
  /tmp/ccNTyUSA.o: In function <code>main':
  /home/bm5788/fromVM/Workspace/CH3-Programs//p1.c:28: undefined reference to</code>pow'
  collect2: error: ld returned 1 exit status
  make: *** [p1] Error 1
  : recipe for target 'p1' failed</p>