lkml.org 
[lkml]   [1999]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.2.10 compilation problem
Date
From
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.184 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site