Wolfgang Köbler wrote:
Hi,

I tried to compile a linux 2.4.26 kernel, but it failed in
/drivers/char/drm/r128_drv.c . I am able to compile a linux 2.4.25 kernel
with the same configuration. The linux kernels are from kernel.org.

The relevant part of the kernel-build-messages probably is:

make[3]: Entering directory `/usr/src/linux-2.4.26/drivers/char/drm'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes

-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.26/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=r128_drv -c -o r128_drv.o r128_drv.c

In file included from r128_drv.c:34:
drmP.h:180: redefinition of `__cmpxchg'
/usr/src/linux-2.4.26/include/asm/system.h:245: `__cmpxchg' previously

defined here

This is already fixed in 2.4.27pre1, you can get a fix from kernel.org.


Roland


------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to