On Tue, Oct 03, 2000 at 05:34:12PM -0700, Mike Pfleger wrote:
> the tarballs of previous posts that I've grabbed. When you say most of
> the time they don't match the running kernel; what do you mean exactly?
It means that libc was compiled on, for example, kernel 2.2.15. The headers
in /usr/include/linux will match kernel 2.2.15. If you are running a 2.2.15
kernel (normally the kernel that is shipped with is the one that libc is
compiled against -- but that isn't always the case), all is fine.
If you go and compile your own, they won't match. Unless you plan to recompile
libc as well, you should not change the headers in /usr/include/linux.
> kernel (at least not yet...) what _does_ match the running kernel? Are
Recompiling doesn't (for the most part) affect the header files.
> you referring to the contents of kernel-source-2.2.16-storm.tar.bz2 or
libc6-dev will match the kernel it was built against. kernel-source and
kernel-headers will match the version they say they do.
> kernel-source-2.2.16-storm-ide.tar.bz2? What's the deal with these two,
> anyway? I think I'm running the storm-ide kernel, but how do I find
> this out for sure?
uname -a. The -storm-ide kernel only gets chosen in the installer if you
boot off the IDE disk. The -storm-ide kernel contains Andre Hedrick's
IDE patches, which are required to see some UDMA/66 controllers and drives.
Unfortunately, they can also break non-udma/66 setups, which are still
very common, which is why the udma/66 is not used by default.
> I have read the instructions at the scyld.com site, for compiling the
> tulip driver. This expects there to be a bunch of headers in
> /usr/src/linux. There has been some talk of symlinking to the
Modify the makefile and add a -I/usr/src/kernel-headers-2.2.16-storm, and
install the kernel-headers-2.2.16-storm package. If you are using the ide
kernel, add -ide to the end.
> appropriate directories, but I'm afraid I don't know which directories
> are used for what in Debian.
/usr/include/linux -> what libc is compiled against. You should NOT
change this unless you are developing on the
kernel and/or libc.
/usr/src/linux -> common place that people unpack kernel trees to.
/usr/src/kernel-headers-#.#.## -> kernel headers installed from a
kernel headers package. Use these
for compiling third party add ons
that require kernel changes (vmware,
device driver modules, etc.)
--
Ryan Murray, Projects Manager, Stormix Technologies Inc., Debian Developer
Opinions expressed in this email are not necessarily those of my employer.
_______________________________________________
Stormlinux-users-list mailing list
[EMAIL PROTECTED]
http://www.stormix.com/community/lists/listinfo/stormlinux-users-list