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

Michael Haubenwallner michael.haubenwallner@salomon.at
Wed Nov 26 13:25:00 GMT 2008


On Wed, 2008-11-26 at 10:04 +0000, Nick Clifton wrote:
> 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 ?

Indeed!
Simply dropping this line works, have successfully built binutils-2.19
on hppa2.0w-hp-hpux11.31 now.

Using HP-cc also requires this patch:
http://sourceware.org/ml/binutils/2008-10/msg00254.html

Thanks!

/haubi/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hpux1131.patch
Type: text/x-patch
Size: 353 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20081126/d1d86480/attachment.bin>


More information about the Binutils mailing list