This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]