develooper Front page | perl.perl5.porters | Postings from August 2001

GCC problems on HP-UX, inet_ntoa broken.

Thread Next
From:
Arthur Bergman
Date:
August 29, 2001 05:25
Subject:
GCC problems on HP-UX, inet_ntoa broken.
Message ID:
B7B2ABAA.3642%arthur@contiller.se

The problem with multihome on GCC + 64bit HP-UX11 seems to be the fact that
inet_ntoa always returns 0.0.0.0.

One explanation for this MIGHT be similar to the problems GCC have with
returnvalues smaller than 8byte on 64bit IRIX. I am crossposting this to
gcc-bugs@gcc.gnu.org hoping for some help.

To gcc people, we have a trouble with a perfectly sane inet_ntoa call
returning 0.0.0.0 and nothing else. Is this a known issue?


p5p: 

I propose the following fix.

If we are on HP-UX 11 with 64bit turned on and compiled with gcc we do our
own inet_ntoa. Otherwise we use the system inet_ntoa.

-- 
Arthur


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About