I did not fully understand the error message, but tracked it down to this function. This is really just a work around to get compile to work. More in depth work needs to be done for XEmacs to resolve the compile issues "correctly".
Commented out function with offending code.
Compiles now and tests pass for XEmacs 21.5 (beta34) on CentOS 8.2
Tests Passed on XEmacs 21.5 (beta34) "kale" c0ed7ef9a5a1 [Lucid] (x86_64-redhat-linux, Mule) of Thu Jan 9 2020 on buildvm-23.phx2.fedoraproject.org
I did not fully understand the error message, but tracked it down to this function. This is really just a work around to get compile to work. More in depth work needs to be done for XEmacs to resolve the compile issues "correctly".
Ian