du musst mit der option -lm libm.a dazu linken
vgl http://www.devrs.com/gba/files/gbadevfaqs.php

mfg EDH