Re: Undefined symbols: _poll

From: David Helgason <david(at)otee(dot)dk>
To: Joe Lester <joe_lester(at)sweetwater(dot)com>
Cc: postgres list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Undefined symbols: _poll
Date: 2004-09-30 20:26:34
Message-ID: 05CD0D0E-131F-11D9-96C9-000A9566DA8A@otee.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 30. sep 2004, at 21:35, Joe Lester wrote:
> I'm just moved my Postgres client project from Mac 10.2.8 to 10.3.5.
> It's an Objective-C program that links to libpq.a (the header file is
> libpq-fe.h). However, when I try to compile now I get the following
> linking error:
>
> ld: Undefined symbols: _poll
>
> Does this sound familiar to anyone? My guess is that _poll is
> referenced somewhere in libpq.a. Anyone have any ideas on how to get
> the linking happening on Mac OS 10.3.5?

We had the same problem. In our case the trick was to compile libpq on
OS X 10.3. The poll function was added in 10.3 (it's based on the
select function, but at least it exists).

Reading the description of your problem it sounds different.

d.
--
David Helgason,
Business Development et al.,
Over the Edge I/S (http://otee.dk)
Direct line +45 2620 0663
Main line +45 3264 5049

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2004-09-30 20:40:58 Re: postgres start problems with memory
Previous Message Joe Lester 2004-09-30 19:35:07 Undefined symbols: _poll