[GENERAL] undefined symbols

2004-10-20 Thread Alexander Cohen
IM trying to build the ppostgres ODBC driver for MacOSX. I thought id 
try and build it as a bundle from XCode. All compiles no problem but 
then at the end of the compile i get an undefined symbols error, here 
it is:

ld: Undefined symbols:
_CurrentMemoryContext
_MemoryContextAlloc
_pfree
Any idea what might be causing this? How can i get rid of this?
thanks
Alex
---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
  http://www.postgresql.org/docs/faqs/FAQ.html


Re: [GENERAL] Undefined symbols: _poll

2004-10-01 Thread David Helgason
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
---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
  http://www.postgresql.org/docs/faqs/FAQ.html


[GENERAL] Undefined symbols: _poll

2004-09-30 Thread Joe Lester
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?

Thanks!
Joe

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
  http://www.postgresql.org/docs/faqs/FAQ.html


Re: [GENERAL] Undefined symbols: _poll

2004-09-30 Thread Tom Lane
Joe Lester [EMAIL PROTECTED] writes:
 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

poll() is a system function that seems to be in
/usr/lib/libSystem.B.dylib on my 10.3.5 machine.
Couldn't say why this isn't included automatically
in your program --- we certainly aren't doing anything
to explicitly link it into the standard PG programs
that use libpq.

regards, tom lane

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly