Re: can't compile 2.2.18pre21
Stefan Kluth wrote:
> 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
Disable DRM.
Michel
--
Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast \ XFree86 and DRI project member
Reply to: