-
Junior Member
registered user
Kernel compile problem
OK, now I need to compile the kernel because CMPXCHG is not defined in the generic Knoppix kernel since it was made for 386 processors. No problem, I do make xmenuconfig and change to Athlon. When I stat to compile I envetually get an error message
In file included from gamma_drv.c:34:
drmP.h:932: redefinition of `__cmpxchg'
/usr/src/kernel-source-2.4.22-xfs/include/asm/system.h:244: `__cmpxchg' previously defined here
make[4]: *** [gamma_drv.o] Error 1
make[4]: Leaving directory `/usr/src/kernel-source-2.4.22-xfs/drivers/char/drm'
make[3]: *** [_modsubdir_drm] Error 2
make[3]: Leaving directory `/usr/src/kernel-source-2.4.22-xfs/drivers/char'
make[2]: *** [_modsubdir_char] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.22-xfs/drivers'
make[1]: *** [_mod_drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.22-xfs'
make: *** [stamp-build] Error 2
I see a couple other people have seen this in the forum. Has anyone come up with a workaround for this? Based on a Google search, it looks like the 2.4 kernel was sort of transitioning where cmpxchg was to be defined so maybe it is stuck in two places.
Similar Threads
-
By cfish in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 04-25-2005, 07:31 AM
-
By davidwahlstedt in forum Customising & Remastering
Replies: 0
Last Post: 03-17-2005, 05:42 PM
-
By FelixDzerzhinsky in forum General Support
Replies: 12
Last Post: 08-26-2004, 04:04 AM
-
By davros4269 in forum General Support
Replies: 14
Last Post: 07-23-2004, 08:49 AM
-
By Nigel_Tufnel in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 10-20-2003, 01:09 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

Dell PowerEdge R730xd 12Bay3.5, 7x3tb w Trays, 32Gb, 2x12c V4, H730
$500.00

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$248.00

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores | 32gb | HBA330 | 2x 1...
$324.99

Dell PowerEdge R720 Server 2x Xeon E5-2670 2.6 GHz 64 GB RAM No OS No HDD Read-
$239.95