Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 38870

Summary: Kernel compile errors: Module build errors in linux-2.4.22-gentoo-r5 caused by duplicate definition of cmpxchg in drmP.h and via_drv.h
Product: Gentoo Linux Reporter: Jason Frank <jfrank>
Component: [OLD] Core systemAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 1.4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jason Frank 2004-01-20 19:43:24 UTC
Both drmP.h and via_drv.h (in drivers/char/drm) #define a symbol cmpxchg.  This causes a compile failure on the kernel modules.

Reproducible: Always
Steps to Reproduce:
Set up a fresh Gentoo system, and simply follow the install instructions.  This might require some special USE variables.  I have "X gtk gnome aalib apache2 bonobo cdr cups curl crypt dvd dvdr encode esd emacs evo ktj2 imap imagemagick imlib ipv6 jpef kde ldap mozilla mpeg oci8 pdflib perl png opengl oggvorbis readline samba snmp tcpd sdl ssl svgalib tiff truetype usb xml2 xmms xv zlib alsa"
Actual Results:  
Kernel modules falied to build

Expected Results:  
Kernel modules should have built

I'll update the bug later with the results of my changes.
Comment 1 Brian Jackson (RETIRED) gentoo-dev 2004-01-20 21:21:14 UTC

*** This bug has been marked as a duplicate of 38274 ***