1 Reply Latest reply: Sep 18, 2013 4:15 PM by 1629ef74-5ee4-4ebd-96ca-72fa3880e4d9 RSS

    Undefined reference to sqrt from math.h

    1629ef74-5ee4-4ebd-96ca-72fa3880e4d9

      Hi, everyone! I have included the math.h header in my C program, but when I compile from the command line, it says there is an undefined reference to sqrt. Do I have to specify some option for the cc compiler? Thanks in advance!