Differences between version 24 and predecessor to the previous major change of KernelNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 24 | Last edited on Sunday, May 28, 2006 7:34:18 am | by IanMcDonald | Revert |
Older page: | version 23 | Last edited on Saturday, May 27, 2006 10:34:20 pm | by AristotlePagaltzis | Revert |
@@ -4,13 +4,15 @@
__In file included from ide-cd.c:318:__
__ide-cd.h:440: error: long, short, signed or unsigned used invalidly for `slot_tablelen'__
</pre>
-This occurs if you're using a more recent compiler than the kernel can be compiled for, for example [GCC] 3.x to compile a kernel (kernels only work with < [GCC] 3). If you want to use eg. <tt>gcc-2.95</tt>, try:
+This occurs if you're using a more recent compiler than the kernel can be compiled for, for example [GCC] 3.x to compile a kernel (kernels used to
only work with < [GCC] 3). If you want to use eg. <tt>gcc-2.95</tt>, try:
<verbatim>
make CC=gcc-2.95 bzImage
</verbatim>
+
+NB Kernels from about 2.6.15 will not work with version 2.95 or earlier of gcc. Read the file <tt>Documentation/Changes</tt> to find the versions of compilers and other tools you need.
In <tt>/usr/src/linux/README</tt> (at least for kernel versions 2.4.x and below) you will find the following snippet:
<verbatim>