Re: can't compile 2.2.18pre21
On Thu, 25 Jan 2001, Stefan Kluth wrote:
> 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'
Ok, I got rid of these errors by turning off support for ADB. Now it fails
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 -DMODULE -DMODVERSIONS -include
/usr/src/kernel-source-2.2.18pre21/include/linux/modversions.h -c -o
init.o init.c
In file included from init.c:33:
drmP.h: In function `__cmpxchg':
drmP.h:145: `LOCK_PREFIX' undeclared (first use in this function)
drmP.h:145: (Each undeclared identifier is reported only once
drmP.h:145: for each function it appears in.)
drmP.h:145: parse error before string constant
drmP.h:151: parse error before string constant
drmP.h:157: parse error before string constant
I am working on a clean potato system, got the debian kernel-source
package and use the kernel-package tools to do the compilation. Have I
missed something really silly?
Stefan
---Stefan Kluth---------------Wissenschaftlicher Mitarbeiter-----------
- MPI fuer Physik - phone: +49 89 32354 468 - OPAL& -
- Foehringer Ring 6 - fax: +49 89 32354 305 - ATLAS -
---D-80805 Munich, Germany----e-mail: skluth@mppmu.mpg.de--------------
Reply to: