Re: c function - undefined symbols - Mailing list pgsql-general

From Richard Huxton
Subject Re: c function - undefined symbols
Date
Msg-id 493F9842.5070404@archonet.com
Whole thread Raw
In response to c function - undefined symbols  (Steffn <steffn@gmx.at>)
Responses Re: c function - undefined symbols
List pgsql-general
Steffn wrote:
> Undefined symbols:
> "_Float8GetDatum", referenced from:
>    _add_one_float8 in foo.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
> Following the documentation I only added
> "/Library/PostgreSQL/8.3/include/**" to my header search path. What else
> do I need to configure?

I'm not a "C" hacker, but that's failing at the linking stage, not the
compiling stage. Are you missing the right lib to go with your headers?


--
  Richard Huxton
  Archonet Ltd

pgsql-general by date:

Previous
From: Steffn
Date:
Subject: c function - undefined symbols
Next
From: Richard Huxton
Date:
Subject: Re: quit milis