oatmeal3000/pi2fm

Can't build

Opened this issue · 1 comments

After executing command gcc -lm -std=c99 -g pi2fm.c -o pi2fm I'm getting error:

/tmp/ccpOEuyt.o: In function `playWav':
/home/pi2/pi2fm/pi2fm.c:119: undefined reference to `floor'
collect2: error: ld returned 1 exit status

This error occurs on RPi2 with Ubuntu 16.04.