2004-11-11 19:52:08

by Alexander Rauth

[permalink] [raw]
Subject: [alpha] linux-2.6.10-rc1-bk20 compile error


error appears with linux-2.6.10-rc1-bk20:

CC arch/alpha/kernel/setup.o
arch/alpha/kernel/setup.c: In function `setup_arch':
arch/alpha/kernel/setup.c:597: warning: implicit declaration of function
`__sysrq_get_key_op'
arch/alpha/kernel/setup.c:597: warning: initialization makes pointer
from integer without a cast
make[1]: *** [arch/alpha/kernel/setup.o] Error 1
make: *** [arch/alpha/kernel] Error 2

--
Alexander Rauth <[email protected]>
Pro/Motion Industrie-Elektronik GmbH


2004-11-15 21:11:17

by lapinlam

[permalink] [raw]
Subject: Re: [alpha] linux-2.6.10-rc1-bk20 compile error

On Thu, Nov 11, 2004 at 08:49:30PM +0100, Alexander Rauth wrote:
>
> error appears with linux-2.6.10-rc1-bk20:
>
> CC arch/alpha/kernel/setup.o
> arch/alpha/kernel/setup.c: In function `setup_arch':
> arch/alpha/kernel/setup.c:597: warning: implicit declaration of function
> `__sysrq_get_key_op'
> arch/alpha/kernel/setup.c:597: warning: initialization makes pointer
> from integer without a cast
> make[1]: *** [arch/alpha/kernel/setup.o] Error 1
> make: *** [arch/alpha/kernel] Error 2
>

Hi,

This issue is still present in 2.6.10-rc2.

drivers/char/sysrq.c no longer exports __sysrq_get_key_op which
is required by arch/alpha/kernel/setup.c.

Tomi