[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't compile 2.2.18pre21



On Thu, Jan 25, 2001 at 06:22:45PM +0100, Stefan Kluth wrote:
> 
> Hello,
> 
> I tried to compile a 2.2.18pre21 kernel on a potato system but it failed
> like this:
> 
> ...
> 
> cc -D__KERNEL__ -I/usr/src/kernel-source-2.2.18pre21/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing
> -D__powerpc__ -fsigned-char -msoft-float -pipe -fno-builtin -ffixed-r2
> -Wno-uninitialized -mmultiple -mstring   -c -o mac_hid.o mac_hid.c
> mac_hid.c: In function `mac_hid_sysctl_keycodes':
> mac_hid.c:296: structure has no member named `ppc_kbd_sysrq_xlate'
> mac_hid.c:303: structure has no member named `ppc_kbd_sysrq_xlate'

At these positions, change 'ppc_kbd_sysrq_xlate' into 'kbd_sysrq_xlate'.

Seems to work.

C



Reply to: