On Thu, Sep 06, 2001 at 06:10:00PM +0200, Guillaume Rousse wrote:
> [..]
> Are you sure your kernel-headers package is the same as your currently 
> running kernel ?
> I had no problem compiling this driver from the tar.gz tarballs, with a 
> self-compiled kernel using latest 2.4.8-19mdk kernel-source.

Hmm, while speaking of the "kernel-headers" packet... Why does it
install in /usr/include after all?

Would it not be better to have static symlinks pointing:

/usr/include/asm -> /usr/src/linux/include/asm
/usr/include/linux -> /usr/src/linux/include/linux
/usr/include/scsi -> /usr/src/linux/include/scsi

while contents of kernel-headers-x.y.z-Xmdk install to
/usr/src/linux/linux-x.y.z-Xmdk/include/

and let some package upon -i or -U (or /etc/init.d/mandrake_everytime)
set the symlink /usr/src/linux -> /usr/src/linux-<correct-version>
when it does not exist? (/usr/src/linux -> /usr/src/linux-`uname -r`)

That may even be an dangling symlink when "kernel-headers-`uname -r`"
is not installed.

Christian

-- 
"Backups are for wimps. Real men upload their data to an FTP site and have
 everyone else mirror it."                                - Linus Torvalds

Reply via email to