Compiling in Fedora 36 worked for me by adding these two lines in the file cde-2.5.0/programs/dtksh/ksh93/src/cmd/ksh93/Mamfile right after line 15: setv mam_cc_FLAGS -lm setv mam_libm -lm
Ignore, this is a problem with the kernel shipped with Fedora, not with linuxconsoletools.
See the Fedora bug report here: https://bugzilla.redhat.com/show_bug.cgi?id=1963764 The problem occurs with the 5.12.5 and 5.12.6 kernels.