On Tue, 11 Mar 2014 11:38:40 -0400, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> We normally avoid that problem by defining _XOPEN_SOURCE_EXTENDED
> (see src/template/hpux, though you should check your build log to
> make sure that symbol actually got passed to cc). I wonder though
> if the Perl environment is somehow causing the other getsockopt
> prototype to be called. Are you *sure* it's a 64-bit Perl build?
> Was Perl itself built with _XOPEN_SOURCE_EXTENDED?
Just to make sure, building postgres with that define removed does NOT
make it pass the tests. So I might be warnocked here. Rebuilding perl
from scratch is - right now - not an option.
I'll check if adding it will build perl at all (and still pass all
tests). If so, the next thing would be to check if Oracle still works
with *that* perl. If it doesn't even rebuilding perl and all modules is
not an option.
--
H.Merijn Brand merijn@procura.nl (072) 567 13 51
PROCURA B.V. http://www.procura.nl KvK 37140650
Ban de e-mail disclaimers: http://tinyurl.com/kmne65