util-linux 2.12a fails, headers = kernel 2.6.6
renato at rbr.no-ip.com
Mon May 31 14:24:44 PDT 2004
I had the same problem. To make it work I've edited the file
mount/my_dev_t.h and changed the line from:
#define my_dev_t __kernel_dev_t
#define my_dev_t int
I know that it isn't the right way to fix, but as I'm not a hacker or c
If someone have a better ideia please tell me.
When compiling util-linux-2.12a a file included from mount.c (loop.h)
include my_dev_t.h (or whatever), which #define's my_dev_t (or
whatever) to be __kernel_dev_t. But this doesn't seem to work at all.
I'm using GCC 3.3.2 with the 2.6.6 kernel headers. I had to use sed
to do an extra search and replace, to replace /usr/lib with
/tools/lib. Would that have broken it? I wonder if it's even looking
for the correct kernel headers? Should I add
kernel-2.6.6/include/whatever-has-kernel_dev_t to that file to fix it?
More information about the lfs-support