develooper Front page | perl.vmsperl | Postings from June 2002

RE: [PATCH: RC2] add getppid() to vmsperl

Thread Previous | Thread Next
Craig A. Berry
June 25, 2002 10:11
RE: [PATCH: RC2] add getppid() to vmsperl
Message ID:
At 11:30 AM 6/25/2002 +0200, Martin Vorlaender wrote:
>In this round, I started building on Alpha. $@CONFIGURE "-des"
>was okay there, but subsequently bombed out on the VAX. I don't
>pretend to understand that...
>After applying Peter's patch, the VAX happily munched CONFIGURE, too.

OK, well a tiny bit of progress is still progress.

>The builds failed at the exact same positions as they had before.

I wonder if your Alpha build would go better with -"Uuseieee" passed to on the command line or answering no to the configuration 
question that asks if you want to use IEEE math.  I'm suspecting that the 
headers and/or the C RTL in pre-7.0 systems didn't have the kinks worked out 
of IEEE support.

Your VAX compile failure is in some ways more alarming.  This comment from 
stat.h on a syatem with OpenVMS Alpha 7.1, DEC C 5.2, may shed some light on 
the issue:

**  ISO POSIX-1 defines off_t to be a signed arithmetic type, and
**  requires the st_size field to be of type off_t.  DEC C V5.0
**  and prior declared the field as unsigned.

The compiler error you quoted did appear to have off_t declared as unsigned, 
which would suggest your headers are out-of-date with respect to your 
compiler.  This would really surprise me since I think you work your C 
compiler harder than most of us :-).  Do you by any chance have VAX C and 
DEC C both on the same system, or could there be some other problem with 
your header text libraries?

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About