Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!sun-barr!decwrl!ucbvax!hplabs!hpda!hpcuhc!hpausla!brian From: brian@hpausla.aso.hp.com (Brian Coogan) Newsgroups: comp.lang.perl Subject: Re: Re: patch 7 /usr/include/utime.h - same problem under HP/UX Message-ID: <4080002@hpausla.aso.hp.com> Date: 3 Jan 90 07:38:42 GMT References: <4446@daimi.dk> Organization: HP Australian Software Operation Lines: 22 Bill Walker writes in comp.lang.perl: > which HP and which version of HP/UX. my utime.h did not give me any problems > through patchlevel 8. the only problem i have is with syscall(). HP/UX > version 7.0 is on the way, so maybe they got it right this time. *dir() > routines are still a bit flakey, haven't had the chance to track it down yet > (or get doug's dir stuff 8-)). You didn't say which version of HP-UX you have either. The way the patchlevel 8 Configure works, if you have a utime.h it is assumed that you also have acusec and modusec fields in your utime structure. You must not have a utime.h or you wouldn't have been able to compile without fixing it! :-) Later versions of HP-UX do have the utime.h file. If "doug's dir stuff" means Doug Gwyn's directory routines, these are unnecessary on later versions of HP-UX, as they are provided in libc. The syscall problem can be worked around by adding s800fix.a to the list of required libraries and creating s800fix with: ar xv /lib/libc.a cerror.o syscall.o ar cv s800fix.a cerror.o syscall.o This works around a bug in syscall.o (fixed in 7.0) on the s800 (a short jump target was used instead of a long one).