Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38870 - 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
Summary: Kernel compile errors: Module build errors in linux-2.4.22-gentoo-r5 caused b...
Status: RESOLVED DUPLICATE of bug 38274
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-20 19:43 UTC by Jason Frank
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***