Re: HELP!! 2.6.x build problem with make xconfig

From: Krzysztof Halasa
Date: Sun Jan 11 2004 - 17:04:17 EST


Valdis.Kletnieks@xxxxxx writes:

>> cd /usr/include
>> rm asm linux scsi
>> ln -fs /usr/src/linux/include/asm-i386 asm
>> ln -fs /usr/src/linux/include/linux linux
>> ln -fs /usr/src/linux/include/scsi scsi
>
> Don't do that.
>
> Use what's in the glibc-kernheaders RPM for userspace, and let the kernel
> provide its own headers for its use.

GNU libc doesn't have (nor need) its own "kernel" headers and uses the
kernel ones.
You may live with "glibc-kernheaders" package only if it matches your
system. If you're using a different (newer, modified etc) kernel then
you need the symlinks or a copy (example: new ioctls + programs using
them).

You may need to recompile the libc as well, if the libc-kernel (binary)
interface has changed.
--
Krzysztof Halasa, B*FH
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/