Subject: 2.5.69-bk13 compilation error

make bzImage modules gives me this. config atached.

ld -m elf_i386 -T arch/i386/vmlinux.lds.s arch/i386/kernel/head.o
arch/i386/kernel/init_task.o init/built-in.o --start-group
usr/built-in.o arch/i386/kernel/built-in.o arch/i386/mm/built-in.o
arch/i386/mach-default/built-in.o kernel/built-in.o mm/built-in.o
fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o
lib/lib.a arch/i386/lib/lib.a drivers/built-in.o sound/built-in.o
arch/i386/pci/built-in.o net/built-in.o --end-group -o .tmp_vmlinux1
arch/i386/kernel/built-in.o(.data+0x137a): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_esp'
arch/i386/kernel/built-in.o(.data+0x137f): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_eax'
arch/i386/kernel/built-in.o(.data+0x1385): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_ebx'
arch/i386/kernel/built-in.o(.data+0x138b): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_ecx'
arch/i386/kernel/built-in.o(.data+0x1391): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_edx'
arch/i386/kernel/built-in.o(.data+0x1397): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_ebp'
arch/i386/kernel/built-in.o(.data+0x139d): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_esi'
arch/i386/kernel/built-in.o(.data+0x13a3): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_edi'
arch/i386/kernel/built-in.o(.data+0x13aa): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_eflags'
arch/i386/kernel/built-in.o(.data+0x13ea): In function `ret_point':
: undefined reference to `saved_context_esp'
arch/i386/kernel/built-in.o(.data+0x13f0): In function `ret_point':
: undefined reference to `saved_context_ebp'
arch/i386/kernel/built-in.o(.data+0x13f5): In function `ret_point':
: undefined reference to `saved_context_eax'
arch/i386/kernel/built-in.o(.data+0x13fb): In function `ret_point':
: undefined reference to `saved_context_ebx'
arch/i386/kernel/built-in.o(.data+0x1401): In function `ret_point':
: undefined reference to `saved_context_ecx'
arch/i386/kernel/built-in.o(.data+0x1407): In function `ret_point':
: undefined reference to `saved_context_edx'
arch/i386/kernel/built-in.o(.data+0x140d): In function `ret_point':
: undefined reference to `saved_context_esi'
arch/i386/kernel/built-in.o(.data+0x1413): In function `ret_point':
: undefined reference to `saved_context_edi'
arch/i386/kernel/built-in.o(.data+0x141e): In function `ret_point':
: undefined reference to `saved_context_eflags'
arch/i386/kernel/built-in.o(.data+0x1432): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_esp'
arch/i386/kernel/built-in.o(.data+0x1437): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_eax'
arch/i386/kernel/built-in.o(.data+0x143d): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_ebx'
arch/i386/kernel/built-in.o(.data+0x1443): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_ecx'
arch/i386/kernel/built-in.o(.data+0x1449): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_edx'
arch/i386/kernel/built-in.o(.data+0x144f): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_ebp'
arch/i386/kernel/built-in.o(.data+0x1455): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_esi'
arch/i386/kernel/built-in.o(.data+0x145b): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_edi'
arch/i386/kernel/built-in.o(.data+0x1462): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_eflags'
make: *** [.tmp_vmlinux1] Error 1

--
Grzegorz Jaskiewicz <[email protected]>
K4 labs


Attachments:
.config (29.31 kB)

2003-05-19 12:22:00

by Mikael Pettersson

[permalink] [raw]
Subject: Re: 2.5.69-bk13 compilation error

On 19 May 2003 12:10:48 +0100, Grzegorz Jaskiewicz wrote:
>make bzImage modules gives me this. config atached.
>
> ld -m elf_i386 -T arch/i386/vmlinux.lds.s arch/i386/kernel/head.o
>arch/i386/kernel/init_task.o init/built-in.o --start-group
>usr/built-in.o arch/i386/kernel/built-in.o arch/i386/mm/built-in.o
>arch/i386/mach-default/built-in.o kernel/built-in.o mm/built-in.o
>fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o
>lib/lib.a arch/i386/lib/lib.a drivers/built-in.o sound/built-in.o
>arch/i386/pci/built-in.o net/built-in.o --end-group -o .tmp_vmlinux1
>arch/i386/kernel/built-in.o(.data+0x137a): In function
>`do_suspend_lowlevel':
>: undefined reference to `saved_context_esp'

A patch for this was posted last week. Search the LKML archives.