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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>
Cc: PostgreSQL Development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: AIX compilation problems (was Re: Proposal ...)
Date: 2002-09-19 21:37:48
Message-ID: Pine.LNX.4.44.0209192029590.1307-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zeugswetter Andreas SB SD writes:

> configure somehow thinks it needs to #define _LARGE_FILES though, which
> then clashes with pg_config.h's _LARGE_FILES. I think the test needs to
> #include unistd.h .

_LARGE_FILES is defined because it's necessary to make off_t 64 bits. If
you disagree, please post compiler output.

> > > 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.
> My guess is, that they are eliminated by the linker ? Do they need an extern
> declaration ?

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.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-09-19 21:38:07 Re: BLOB
Previous Message Peter Eisentraut 2002-09-19 21:37:17 Re: [GENERAL] PGXLOG variable worthwhile?