Compilation fails here for 2.5.59-bk9 and bk10. Last I tried was bk3
which compiled successfully. Please let me know if you need any more
information, or my .config file.
(Please CC me if you reply, I am not subscribed to the list. Thanks.)
Warren Togami
[email protected]
make -f scripts/Makefile.build obj=arch/i386/lib
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
gcc -Wp,-MD,init/.version.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon
-Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc
-iwithprefix include -DKBUILD_BASENAME=version
-DKBUILD_MODNAME=version -c -o init/.tmp_version.o init/version.c
ld -m elf_i386 -r -o init/built-in.o init/main.o init/version.o
init/mounts.o init/initramfs.o
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+0x169a): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_esp'
arch/i386/kernel/built-in.o(.data+0x169f): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_eax'
arch/i386/kernel/built-in.o(.data+0x16a5): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_ebx'
arch/i386/kernel/built-in.o(.data+0x16ab): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_ecx'
arch/i386/kernel/built-in.o(.data+0x16b1): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_edx'
arch/i386/kernel/built-in.o(.data+0x16b7): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_ebp'
arch/i386/kernel/built-in.o(.data+0x16bd): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_esi'
arch/i386/kernel/built-in.o(.data+0x16c3): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_edi'
arch/i386/kernel/built-in.o(.data+0x16ca): In function
`do_suspend_lowlevel':
: undefined reference to `saved_context_eflags'
arch/i386/kernel/built-in.o(.data+0x170a): In function `ret_point':
: undefined reference to `saved_context_esp'
arch/i386/kernel/built-in.o(.data+0x1710): In function `ret_point':
: undefined reference to `saved_context_ebp'
arch/i386/kernel/built-in.o(.data+0x1715): In function `ret_point':
: undefined reference to `saved_context_eax'
arch/i386/kernel/built-in.o(.data+0x171b): In function `ret_point':
: undefined reference to `saved_context_ebx'
arch/i386/kernel/built-in.o(.data+0x1721): In function `ret_point':
: undefined reference to `saved_context_ecx'
arch/i386/kernel/built-in.o(.data+0x1727): In function `ret_point':
: undefined reference to `saved_context_edx'
arch/i386/kernel/built-in.o(.data+0x172d): In function `ret_point':
: undefined reference to `saved_context_esi'
arch/i386/kernel/built-in.o(.data+0x1733): In function `ret_point':
: undefined reference to `saved_context_edi'
arch/i386/kernel/built-in.o(.data+0x173e): In function `ret_point':
: undefined reference to `saved_context_eflags'
arch/i386/kernel/built-in.o(.data+0x1752): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_esp'
arch/i386/kernel/built-in.o(.data+0x1757): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_eax'
arch/i386/kernel/built-in.o(.data+0x175d): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_ebx'
arch/i386/kernel/built-in.o(.data+0x1763): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_ecx'
arch/i386/kernel/built-in.o(.data+0x1769): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_edx'
arch/i386/kernel/built-in.o(.data+0x176f): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_ebp'
arch/i386/kernel/built-in.o(.data+0x1775): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_esi'
arch/i386/kernel/built-in.o(.data+0x177b): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_edi'
arch/i386/kernel/built-in.o(.data+0x1782): In function
`do_suspend_lowlevel_s4bios':
: undefined reference to `saved_context_eflags'
make: *** [.tmp_vmlinux1] Error 1
On Thu, May 15, 2003 at 06:21:16PM -1000, Warren Togami wrote:
> Compilation fails here for 2.5.59-bk9 and bk10. Last I tried was bk3
> which compiled successfully. Please let me know if you need any more
> information, or my .config file.
Please try 2.5.69-bk9.
-- wli
On Thu, May 15, 2003 at 06:21:16PM -1000, Warren Togami wrote:
> Compilation fails here for 2.5.59-bk9 and bk10. Last I tried was bk3
> which compiled successfully. Please let me know if you need any more
> information, or my .config file.
>
> (Please CC me if you reply, I am not subscribed to the list. Thanks.)
>
> Warren Togami
> [email protected]
>
> make -f scripts/Makefile.build obj=arch/i386/lib
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> gcc -Wp,-MD,init/.version.o.d -D__KERNEL__ -Iinclude -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=athlon
> -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=version
> -DKBUILD_MODNAME=version -c -o init/.tmp_version.o init/version.c
> ld -m elf_i386 -r -o init/built-in.o init/main.o init/version.o
> init/mounts.o init/initramfs.o
> 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+0x169a): In function
> `do_suspend_lowlevel':
> : undefined reference to `saved_context_esp'
>...
Known bug, fix by [email protected] below.
cu
Adrian
--- linux-2.5.69-bk9/arch/i386/kernel/suspend_asm.S.~1~ 2003-05-15 11:07:04.000000000 +0200
+++ linux-2.5.69-bk9/arch/i386/kernel/suspend_asm.S 2003-05-15 11:09:29.000000000 +0200
@@ -7,6 +7,12 @@
#include <asm/page.h>
.data
+ .align 4
+ .globl saved_context_eax, saved_context_ebx
+ .globl saved_context_ecx, saved_context_edx
+ .globl saved_context_esp, saved_context_ebp
+ .globl saved_context_esi, saved_context_edi
+ .globl saved_context_eflags
saved_context_eax:
.long 0
saved_context_ebx: