-
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

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11
$62.50

LOT OF 2 SK Hynix 8GB 1Rx8 PC4-3200AA ECC HMA81GR7CJR8N-XN
$89.95

Lot Of 16Micron MTA36ASF2G72PZ-2G1A2IJ 16GB 2Rx4 PC4-2133P-RB0-10 ECC Server Ram
$960.00

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75

Micron 64GB 4DRX4 PC4-2400T-LE2-11 MTA72ASS8G72LZ-2G3B2MG DDR4 Server RAM KD313
$249.98

128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK
$799.00

SET OF 8 (64GB) - Micron MTA9ASF1G72PZ 8GB 1RX8 PC4-2666V-RD1-11 Memory
$225.00

Lot Of 8 Micron 8GB 2Rx8 PC4-2666V-RE2-11 ECC REG Server Ram MTA18ASF1G72PDZ-2G6
$210.00

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98