[2.19] hpux 11.31 does not ship sys/user.h (kernel header) any more

Nick Clifton nickc@redhat.com
Wed Nov 26 10:06:00 GMT 2008


Hi Michael,

> HP-UX 11.31 does not ship with <sys/user.h> (and others) any more,
> because it is a kernel header.
> 
> Any idea what to do with this error now on hppa2.0w-hp-hpux11.31?
> 
>         binutils-2.19/bfd/hpux-core.c", line 69: error 4036: Can't open include file 'sys/user.h'.

What is needed from this file ?  ie if you leave it out, does 
hpux-core.c fail to compile ?  Assuming that it does, can the values and 
definitions that it needs be found in other header files ?

Assuming that the values and definitions are not available elsewhere 
then it will be necessary to remove HP-UX corefile support from builds 
of the toolchain on HP-UX 11.31 installations.  Have a look at the code 
in bfd/configure.in that initialises the COREFILE variable.  This will 
need to be adapted for the HP-UX 11.31 (and presumably later releases as 
well ?)

Cheers
   Nick




More information about the Binutils mailing list