hello
im writing a c program in ubuntu,
im using the function log2f(float)
float stands for a float value....
im getting the following error
neha@neha:~/midi$ gcc twinkle_formula .c
twinkle_formula .c: In function 'main':
twinkle_formula .c:129: warning: incompatible implicit declaration of
built-in function 'log2f'
/tmp/ccE68wDB.o: In function `main':twinkle_ formula.c:(.tex t+0x333):
undefined reference to `log2f'
collect2: ld returned 1 exit status
please help me out as soon as possible
im writing a c program in ubuntu,
im using the function log2f(float)
float stands for a float value....
im getting the following error
neha@neha:~/midi$ gcc twinkle_formula .c
twinkle_formula .c: In function 'main':
twinkle_formula .c:129: warning: incompatible implicit declaration of
built-in function 'log2f'
/tmp/ccE68wDB.o: In function `main':twinkle_ formula.c:(.tex t+0x333):
undefined reference to `log2f'
collect2: ld returned 1 exit status
please help me out as soon as possible
Comment