Compiling on HP-UX 10.20 fails

From: Andrew Chernow <ac(at)esilo(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Compiling on HP-UX 10.20 fails
Date: 2008-11-15 18:22:41
Message-ID: 491F1371.5030908@esilo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I am trying to compile libpq on HP-UX 10.20 using gcc 2.95.3, cpu is a
400MHz PA8500. I'm using the 8.3.5 tarball.

[full make output is attached]

Outside of the failure to build...

I am getting a huge amount of "implicit declaration of function"
warnings from gcc, mostly about 64-bit interface functions like
__getrlimit64, __stat64, __fstat64, etc...

I'm pretty sure, from a glance at the sys headers and google'n, that
this version of hp-ux has large file support. Although, it appears the
sys headers clash with older versions of gcc ... I think.

Has anyone seem this issue before? BTW, I didn't see any defines like
_LARGEFILE64_SOURCE or _FILE_OFFSET_BITS in the CFLAGS or CPPFLAGS. I
don't think libpq needs large file support so maybe that's why they are
not defined.

--
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/

Attachment Content-Type Size
make.out text/plain 74.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-15 18:43:41 Re: Compiling on HP-UX 10.20 fails
Previous Message KaiGai Kohei 2008-11-15 16:40:42 Re: Updates of SE-PostgreSQL 8.4devel patches (r1197)