Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id GAA10636 for postgres-redist; Fri, 2 Sep 1994 06:43:32 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199409021343.GAA10636@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from monge.brunel.ac.uk (pp@monge.brunel.ac.uk [134.83.72.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id GAA10626 for <postgres@postgres.berkeley.edu>; Fri, 2 Sep 1994 06:43:26 -0700
Received: from tcws-03.brunel.ac.uk by monge.brunel.ac.uk with SMTP (PP) 
          id <21338-0@monge.brunel.ac.uk>; Fri, 2 Sep 1994 14:42:59 +0100
From: Tim Wadsworth <Tim.Wadsworth@brunel.ac.uk>
Message-Id: <972.9409021343@tcws-03.brunel.ac.uk>
Subject: Re: Undefined symbol in user function
To: postgres@postgres.Berkeley.EDU (Postgres mailing list)
Date: Fri, 2 Sep 1994 14:43:23 +0100 (BST)
X-Mailer: ELM [version 2.4 PL21]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 379
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Fri, 02 Sep 94 06:43:32 -0700
Resent-XMts: smtp

Vincent Schenkelaars writes:

> I'm getting a undefined symbol _sin error

I think you need to put a '-lm' option in your link directive, to
link with the math library.

Tim.

 ________________________________________________
|                                                |
| From Tim Wadsworth: Tim.Wadsworth@brunel.ac.uk |
|________________________________________________|

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
