[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libc6-dev and 2.5 linux-kernel-headers



Thomas T. Veldhouse wrote:
What programs require 2.4 headers?  The only program that "should" require
direct knowledge of kernel headers is glibc itself, with relatively few
exceptions.

Yup, I am also aware of this, The program I am trying to compile is samhain. It seems to use some files in include/linux

for eg:

In file included from /usr/include/linux/blockgroup_lock.h:8,
                 from /usr/include/linux/ext2_fs_sb.h:19,
                 from /usr/include/linux/ext2_fs.h:20,
                 from x_sh_unix.c:2486:

In file included from /usr/include/linux/smp.h:17,
                 from /usr/include/linux/percpu_counter.h:9,
                 from /usr/include/linux/ext2_fs_sb.h:20,
                 from /usr/include/linux/ext2_fs.h:20,
                 from x_sh_unix.c:2486:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: No such file or directory

I am not sure if samhain *really* requires access to those files, may be it requires it as it is a file integrity checker. Also I am not in a position to fix it, if it is indeed incorrect. All I am trying to is to compile it for my use. I have posted the same question to samhain list, but I guess some how it is easier to get the correct includes than changing the code.

raj



Reply to: