From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Helgaas Date: Fri, 17 Jan 2003 16:05:33 +0000 Subject: Re: [Linux-ia64] Error compiling 2.4.20 for i386 Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org On Thursday 16 January 2003 5:42 pm, Bahnsen, Bruce wrote: > I applied the ia64 patch to the 2.4.20 kernel (all from kernel.org). If I > try to compile i386 using the default config, I get the following compile > error: If you want an i386 kernel, there is no reason to use the ia64 patch. I'll look at this for the 2.4.21 patch, but in general, I do not pay any attention to the i386 kernel when producing the ia64 patch. 2.4.20 has very old ACPI bits in it, so the ia64 patch contains a large ACPI update. The ia64-specific ACPI bits match, of course, but I don't bother to update the i386-specific ACPI bits. So it's likely that this is a result of that mismatch. > setup.c: In function `parse_cmdline_early': > setup.c:792: `enable_acpi_smp_table' undeclared (first use in this function) > I am getting errors compiling ia64 as well, such as: > ... > smpboot.c:92: conflicting types for `smp_threads_ready' Hmm... Obviously I don't see this error, but I'm using an old (2.96) gcc. Maybe newer ones are pickier. In any case, I've removed the "volatile" declaration of smp_threads_ready in smpboot.c, so this won't be an issue for 2.4.21. Bjorn