Re: [ACPI-sppt] Problems compiling kernel with acpi-20030730-2.4.22-pre8
Michael Ott <[email protected]>
| Newsgroups | gmane.linux.acpi.support |
|---|---|
| Message-ID | <[email protected]> |
Hallo Damien!
> Try 2.4.22-rc2. It has ACPI built in to it (no need to apply the patch).
Nearly the same output. Sorry! I cannot compile the kernel using 2.4.22-rc2
> > When I try to compile a new kernel (linux-2.4.21, patch-2.4.22-pre8,
> > acpi-20030730-2.4.22-pre8.diff) I got the following output:
> > make[2]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/lib'
> > make[1]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/lib'
> > make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.21/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 " -C arch/i386/math-emu
> > make[1]: Entering directory `/usr/src/linux-2.4.21/arch/i386/math-emu'
> > make all_targets
> > make[2]: Entering directory `/usr/src/linux-2.4.21/arch/i386/math-emu'
> > make[2]: Nothing to be done for `all_targets'.
> > make[2]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/math-emu'
> > make[1]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/math-emu'
> > ld -m elf_i386 -T /usr/src/linux-2.4.21/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
> > --start-group \
> > arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
> > drivers/acpi/acpi.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/drm/drm.o drivers/net/fc/fc.o drivers/atm/atm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o drivers/pnp/pnp.o drivers/video/video.o drivers/media/media.o crypto/crypto.o arch/i386/math-emu/math.o \
> > net/network.o \
> > /usr/src/linux-2.4.21/arch/i386/lib/lib.a /usr/src/linux-2.4.21/lib/lib.a /usr/src/linux-2.4.21/arch/i386/lib/lib.a \
> > --end-group \
> > -o vmlinux
> > arch/i386/kernel/kernel.o(.text.init+0x3cf4): In function `abit_apic_required':
> > : undefined reference to `enable_apic_up'
> > arch/i386/kernel/kernel.o(.text.init+0x3d32): In function `abit_apic_required':
> > : undefined reference to `enable_apic_up'
> > arch/i386/kernel/kernel.o(.text.init+0x4070): In function `force_apic':
> > : undefined reference to `enable_apic_up'
> > make: *** [vmlinux] Error 1
> >
> > The same error when i try with newer versions.
> >
> > But acpi-20030730-2.4.22-pre5 works great.
> >
> > Where is the error
.--.
|o_o |
||_/ |
CU // \ \
(| | )
Michael /'\_ _/`\
\___)=(___/
--
/-----------------------------------------------------\
| Michael Ott, Glockenhofstr. 29a, 90478 Nuernberg |
| e-mail: [email protected], Tel. +49 9 11 41 88 576 |
\-----------------------------------------------------/
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01