[parisc-linux] hppa kernel-headers.deb and offset.h

Richard Hirst rhirst@linuxcare.com
Mon, 19 Nov 2001 21:08:11 +0000

Hi Bdale,
  Our kernel-headers debs are missing asm/offset.h, which is created
late on in a kernel build.  I only just noticed, when I tried to build
gdb.  I'm guessing that deb is created without doing a full kernel build,
so the file isn't created.  Note offset.h is different for 32 and 64 bit
kernels, and we want a 32 bit version in the kernel-headers deb.

Maybe the kernel should build offset.h as part of make dep, or something.

glibc build should use kernel-headers, but I guess libc6-dev_2.2.4-6
was built using some local kernel tree for the headers, and has picked
up a 64 bit offset.h.  so, anyone trying to build gdb will have to
replace their offset.h.