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.
MSI H81M-P33 Desktop Motherboard Intel MicroATX Socket LGA1150 USB 3.0 W/IO
$26.99
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3
$23.99
Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard (No I/O Plate)
$39.99
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$33.41
Asus PRIME Z370-A LGA 1151 ATX DDR4 DIMM HDMI Intel Motherboard Only | White
$74.99
ASUS H87I-PLUS, LGA 1150, Intel Motherboard w/ IO Shield
$39.00
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$54.99
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$107.30
Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard with I/O Plate
$49.99