On Fri, 2013-07-05 at 13:05 +0000, M.C. Medina Gomez wrote: > /tmp/ccTpN0kH.o: In function `getkinship': > REAP_SOURCE.c:(.text+0x3206): undefined reference to `sqrt' > collect2: ld returned 1 exit status > make: *** [REAP] Error 1
> Could you tell me what is wrong This is not a bug in make; this error is being produced by the linker and is a result of an incorrect command line, so your makefile is wrong. If you're looking for help with writing makefiles it's best to ask on the help-m...@gnu.org mailing list. In your case if you want to use the math library (which is where the sqrt() function is provided) you need to add the "-lm" option to your link line. Since you don't provide any information about your makefile, we can't provide more direct help than that. _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make