Re: Hacking PostgreSQL to work in Mac OS X 10.3 (Panther 7B85)

From: James Wilson <jwilson(at)lithiumcorp(dot)com>
To: Marko Karppinen <marko(at)karppinen(dot)fi>
Cc: pgsql-hackers(at)postgresql(dot)org, eric(at)opendarwin(dot)org, charlie(at)rubberduck(dot)com, swm(at)zipworld(dot)com(dot)au
Subject: Re: Hacking PostgreSQL to work in Mac OS X 10.3 (Panther 7B85)
Date: 2003-10-12 00:52:02
Message-ID: 4B1E1E7B-FC4E-11D7-92AB-000A9572970E@lithiumcorp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Marko,

I've done a checkout from CVS and performed a build under OS X Panther
7B85 with the non-hacked header files. The problem with the param.h
header file seems to be fixed, however the build is failing with
undefined symbols in libs:

make -C ecpglib all
gcc -no-cpp-precomp -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -bundle execute.o typename.o descriptor.o
data.o error.o prepare.o memory.o connect.o misc.o
-L../../../../src/port -L/opt/local/lib -L../pgtypeslib -lpgtypes
-L../../../../src/interfaces/libpq -lpq -lm -o libecpg.so.4.0
ld: Undefined symbols:
_PQfreemem
_PQresultErrorField
_PQsetNoticeReceiver
_last_path_separator

I noticed it's not linking with the "-undefined suppress" flag which
I've found it required when building 'bundles' for darwin.

Cheers,

On 12/10/2003, at 3:28 AM, Marko Karppinen wrote:

> James, we've spent some time lately with Mac OS X related changes to
> the code base. Please try this again with a fresh CVS copy of
> PostgreSQL and let us know if there are any further changes you think
> we'd need to work properly with Panther.
>
> Thanks,
> mk
>
> On 11.10.2003, at 04:32, James Wilson wrote:
>> After toying with a few builds of the up coming OS X 10.3 (Panther)
>> release, I've written a doc on how to get postgresql to build using
>> Panther build 7B85 and Xcode build 7B85 (which are rumored to be the
>> gold master and the builds that will be shipping later this month).
>
>
>
-------------------
James Wilson
CCIE #6662

LithiumCorp Pty Ltd

mobile: 0422 22 3742
email: jwilson(at)lithiumcorp(dot)com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-10-12 05:41:00 VARHDRSZ
Previous Message Andrew Dunstan 2003-10-11 23:03:13 Re: [PATCHES] fix for strict-alias warnings