Re: 2.2.10 compilation problem

Thomas Speck (Thomas.Speck@univ-rennes1.fr)
Fri, 25 Jun 1999 16:52:40 +0000 ( )


> I get that same compilation error... Could it be that there is something
> wrong with the configuration script?

No, I checked it again. The kernel is all right.

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. Maybe you have done similar
things ... I've just removed the link an installed glibc-devel-2.1.1-6 and
the kernel again. I hope that's the only thing to adjust, and well I think
thats rather a workaround ...
However, why are there two scsi.h and sg.h ?

--
Thomas

> > You must have hosed your source tree. include/scsi/scsi.h contains > > #define TYPE_ENCLOSURE 0x0d /* Enclosure Services Device */ > > since 2.2.4. > > > > Cheers, > > Jakub > > ___________________________________________________________________ > > Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz > > Administrator of SunSITE Czech Republic, MFF, Charles University > > ___________________________________________________________________ > > UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/ > > Linux version 2.3.6 on a sparc64 machine (1343.49 BogoMips) > > ___________________________________________________________________ > >

- 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/