Date: Tue, 09 Sep 2008 21:51:04 -0700 From: perryh@pluto.rain.com To: lists@rhavenn.net Cc: freebsd-questions@freebsd.org Subject: Re: rss-glx screen saver compilation fails? Message-ID: <48c75238.pxoyafLhc3qL6J9N%perryh@pluto.rain.com> In-Reply-To: <200809091442.20922.lists@rhavenn.net> References: <200809091442.20922.lists@rhavenn.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> spirographx.o(.text+0x30f): In function `getAll': > : undefined reference to `sincosf' Per Google, it's a gnu-ism: http://linux.die.net/man/3/sincosf void sincosf(float x, float *sin, float *cos); Several applications need sine and cosine of the same angle x. This function computes both at the same time, and stores the results via the given pointers. Probably a 10-liner by just calling sin() and cos() separately -- a bit more work to do it "properly" -- or just grab the gnu code if you don't need to be BSD-licensed.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48c75238.pxoyafLhc3qL6J9N%perryh>