public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Error compiling 2.4.20 for i386
@ 2003-01-17  0:42 Bahnsen, Bruce
  2003-01-17 16:05 ` Bjorn Helgaas
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Bahnsen, Bruce @ 2003-01-17  0:42 UTC (permalink / raw)
  To: linux-ia64

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:

gcc -D__KERNEL__ -I/home/bbahnsen/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -g
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-nostdinc -iwithprefix include -DKBUILD_BASENAME=setup  -c -o setup.o
setup.c
setup.c: In function `parse_cmdline_early':
setup.c:792: `enable_acpi_smp_table' undeclared (first use in this function)
setup.c:792: (Each undeclared identifier is reported only once
setup.c:792: for each function it appears in.)
setup.c: In function `setup_arch':
setup.c:1139: `enable_acpi_smp_table' undeclared (first use in this
function)
make[1]: *** [setup.o] Error 1
make[1]: Leaving directory `/home/bbahnsen/linux-2.4.20/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

Is there another patch I need (possibly acpi) or did I miss something?

I am getting errors compiling ia64 as well, such as:

gcc -D__KERNEL__ -I/home/bbahnsen/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -g
-fomit-frame-pointer -pipe  -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127
-falign-functions2 -frename-registers --param max-inline-insnsP00
-mconstant-gp  -nostdinc -iwithprefix include -DKBUILD_BASENAME=smpboot  -c
-o smpboot.o smpboot.c
smpboot.c:92: conflicting types for `smp_threads_ready'
/home/bbahnsen/linux-2.4.20/include/linux/smp.h:51: previous declaration of
`smp_threads_ready'
make[1]: *** [smpboot.o] Error 1
make[1]: Leaving directory `/home/bbahnsen/linux-2.4.20/arch/ia64/kernel'
make: *** [_dir_arch/ia64/kernel] Error 2

I did not have this trouble with 2.4.19.

Any advice you can give me would be appreciated. Thanks in advance.

Bruce Bahnsen



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-01-21 19:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-17  0:42 [Linux-ia64] Error compiling 2.4.20 for i386 Bahnsen, Bruce
2003-01-17 16:05 ` Bjorn Helgaas
2003-01-17 17:51 ` Bahnsen, Bruce
2003-01-17 21:19 ` Bjorn Helgaas
2003-01-17 22:01 ` Bahnsen, Bruce
2003-01-21 17:39 ` Bjorn Helgaas
2003-01-21 18:52 ` Bahnsen, Bruce
2003-01-21 19:11 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox