From owner-freebsd-questions@FreeBSD.ORG Wed Sep 10 05:02:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7E861065670 for ; Wed, 10 Sep 2008 05:02:09 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 83F148FC25 for ; Wed, 10 Sep 2008 05:02:09 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id m8A528a5087749 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 9 Sep 2008 22:02:08 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id m8A528BV087748; Tue, 9 Sep 2008 22:02:08 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA07465; Tue, 9 Sep 08 21:49:04 PDT Date: Tue, 09 Sep 2008 21:51:04 -0700 From: perryh@pluto.rain.com To: lists@rhavenn.net Message-Id: <48c75238.pxoyafLhc3qL6J9N%perryh@pluto.rain.com> References: <200809091442.20922.lists@rhavenn.net> In-Reply-To: <200809091442.20922.lists@rhavenn.net> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: rss-glx screen saver compilation fails? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2008 05:02:09 -0000 > 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.