problemi con il compilatore c
Inviato: mer 3 mar 2004, 11:28
quando compilo un sorgente che include una funzione della libreria math.h, per esempio sin(x), mi sputa il seguente errore:
<BR>
<BR>/tmp/ccRhbaik.o(.text+0x13a): In function `main´:
<BR>: undefined reference to `sin´
<BR>collect2: ld returned 1 exit status
<BR>
<BR>Cosa devo fare?
<BR><br>
<BR>
<BR>/tmp/ccRhbaik.o(.text+0x13a): In function `main´:
<BR>: undefined reference to `sin´
<BR>collect2: ld returned 1 exit status
<BR>
<BR>Cosa devo fare?
<BR><br>