Re: AIX compilation problems (was Re: Proposal ...) - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: AIX compilation problems (was Re: Proposal ...)
Date
Msg-id Pine.LNX.4.44.0209192029590.1307-100000@localhost.localdomain
Whole thread Raw
In response to Re: AIX compilation problems (was Re: Proposal ...)  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
List 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@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [GENERAL] PGXLOG variable worthwhile?
Next
From: Peter Eisentraut
Date:
Subject: Re: BLOB