On Tue, Apr 15, 2014 at 9:49 PM, Kent Brinkley <[email protected]>wrote:
> Trying to build OpenOCD 0.8.0-rc1 in Cygwin and received the following
> error messages:
>
>
>
> ./.libs/libopenocd.a(libocdjtagdrivers_la-ulink.o): In function
> `ulink_calculate_frequency':
>
> /home/kent.brinkley/openocd2/src/jtag/drivers/ulink.c:1389: undefined
> reference to `roundf'
>
>
>
> Any hints on solving this issue would be great.
>
>
Are you sure the toolchain you're using is working properly?
The following test program should compile link and run ok:
--- test.c --
#include <math.h>
float x = 1.57f;
int main(void)
{
return (int)roundf(x) != 2;
}
----------
gcc -std=gnu99 -o test test.c -lm
A workaround might be to disable the ulink driver, if you don't need it.
/Andreas
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel