Messages in this thread | | | Subject | Re: 2.2.10 compilation problem | Date | Fri, 25 Jun 1999 23:18:45 +0800 | From | David Luyer <> |
| |
> I think I figured out the problem (at least mine...) I am using an old > RedHat 4.2 here and I had a link in /usr/include/scsi pointing to > /usr/src/linux/include/scsi. So I installed the kernel source to > /usr/src/linux and _after_ that I upgrated to glibc-2.1.1 using redhat's > 6.0 version and glibc-devel-2.1.1-6 installs a certain files into > /usr/include/scsi namely scsi.h and sg.h ;-) > So kernel files are overwritten by this.
Then move to a distribution with proper install scripts and testing.
The pre-install script from Debian's libc6-dev package:
=== begin script === #!/bin/sh
set -e
# Remove old symlinks, if they exist if [ -L /usr/include/asm ] ; then rm -f /usr/include/asm ; fi if [ -L /usr/include/linux ] ; then rm -f /usr/include/linux ; fi if [ -L /usr/include/scsi ] ; then rm -f /usr/include/scsi ; fi === end script ===
There's really no excuse for being so sloppy with a distribution as to not test that upgrades work irrespective of the version you're coming from.
I guess you should report a bug against the RedHat 6.0 glibc-devel package.
David.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |