AIX compilation problems (was Re: Proposal ...)

From: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
To: <pgsql-patches(at)postgresql(dot)org>
Cc: <pgsql-hackers(at)postgresql(dot)org>, <peter_e(at)gmx(dot)net>
Subject: AIX compilation problems (was Re: Proposal ...)
Date: 2002-09-30 11:59:54
Message-ID: 46C15C39FEB2C44BA555E356FBCD6FA4887A44@m0114.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


> > > > and mb conversions (pg_ascii2mic and pg_mic2ascii not
> > > > found in the postmaster and not included from elsewhere)
> >
> > shared libs on AIX need to be able to resolve all symbols at linkage time.
> > Those two symbols are in backend/utils/SUBSYS.o but not in the postgres
> > executable.
>
> They are defined in backend/utils/mb/conv.c and declared in
> include/mb/pg_wchar.h. They're also linked into the
> postmaster. I don't see anything unusual.

Attached is a patch to fix the mb linking problems on AIX. As a nice side effect
it reduces the duplicate symbol warnings to linking libpq.so and libecpg.so
(all shlibs that are not postmaster loadable modules).

Please apply to current (only affects AIX).

The _LARGE_FILES problem is unfortunately still open, unless Peter
has fixed it per his recent idea.

Thanx
Andreas

Attachment Content-Type Size
mb_link_patch4.gz application/x-gzip 1.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2002-09-30 12:29:26 Re: [SQL] arrays
Previous Message Martijn van Oosterhout 2002-09-30 09:55:26 Re: current_timestamp after queries

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-09-30 14:27:56 Re: Get constrrelid for fk constraints that lost it
Previous Message Stephan Szabo 2002-09-30 05:01:34 Get constrrelid for fk constraints that lost it